Handy_Cao 1 年間 前
コミット
973824a048

+ 1 - 1
public/config/appconfig.json

@@ -3,7 +3,7 @@
   "appName": "多元世纪",
   "version": "1.0.5",
   "versionCode": "10005",
-  "apiUrl": "http://192.168.31.204:8080/cfg?key=test_204",
+  "apiUrl": "http://192.168.31.205:8080/cfg?key=test_205",
   "tradeChannel": "ws",
   "modules": [
     "register",

+ 2 - 2
src/business/bank/index.ts

@@ -430,7 +430,7 @@ export function useDoYJF_WithholdInApply() {
 
     /// 判断是否有签约信息
     queryBankAccountSign().then((res) => {
-        bankaccountno.value = res.data.filter(obj => { return ![SignStatus.Rescinded].includes(obj.signstatus) })[0].bankaccountno
+        bankaccountno.value = res.data.filter(obj => { return [SignStatus.Signed].includes(obj.signstatus) })[0].bankaccountno
     })
 
     const onSubmit = async () => {
@@ -500,7 +500,7 @@ export function useDoYJFGetWithholdSignInSMSVCode() {
 
     /// 判断是否有签约信息
     queryBankAccountSign().then((res) => {
-        bankaccountno.value = res.data.filter(obj => { return ![SignStatus.Rescinded].includes(obj.signstatus) })[0].bankaccountno
+        bankaccountno.value = res.data.filter(obj => { return [SignStatus.Signed].includes(obj.signstatus) })[0].bankaccountno
     })
 
     const onSubmit = async () => {

+ 8 - 6
src/packages/pc/views/account/holdsign/components/sign/index.vue

@@ -21,13 +21,13 @@
                 @visible-change="visibleChange" @calendar-change="calendarChange" :rules="formRules.Xydqrq" />
             </el-form-item>
             <el-form-item label="一次扣费限额" prop="Yckfxe">
-                <el-input type="number" name="Yckfxe" placeholder="请输入一次扣费限额" v-model="Yckfxe" :rules="formRules.Yckfxe" />
+                <el-input-number :precision="2" :step="0.01" name="Yckfxe" placeholder="请输入一次扣费限额" v-model="Yckfxe" :rules="formRules.Yckfxe" />
             </el-form-item>
             <el-form-item label="扣费周期内扣款限额" prop="Kkzqnkfxe">
-                <el-input type="number" name="Kkzqnkfxe" placeholder="请输入扣费周期内扣款限额" v-model="Kkzqnkfxe" :rules="formRules.Kkzqnkfxe" />
+                <el-input-number :precision="2" :step="0.01" name="Kkzqnkfxe" placeholder="请输入扣费周期内扣款限额" v-model="Kkzqnkfxe" :rules="formRules.Kkzqnkfxe" />
             </el-form-item> 
             <el-form-item label="扣费周期内限制笔数" prop="Kkzqnxzbs">
-                <el-input type="number" name="Kkzqnxzbs" placeholder="请输入扣费周期内限制笔数" v-model="formData.Kkzqnxzbs" :rules="formRules.Kkzqnxzbs" />
+                <el-input-number :precision="0" :step="1" name="Kkzqnxzbs" placeholder="请输入扣费周期内限制笔数" v-model="Kkzqnxzbs" :rules="formRules.Kkzqnxzbs" />
             </el-form-item> 
             <el-form-item label="手机号码" prop="Lxdh">
                 <el-input type="number" name="Lxdh" maxlength="50" placeholder="请输入手机号码" v-model="formData.Lxdh" :rules="formRules.Lxdh" />
@@ -64,8 +64,9 @@ const show = ref(true)
 const refresh = ref(false)
 const formRef = ref<FormInstance>()
 const Kksjdw = ref('')
-const Kkzqnkfxe = ref('0.00')
-const Yckfxe = ref('0.00')
+const Kkzqnkfxe = ref(0.00)
+const Yckfxe = ref(0.00)
+const Kkzqnxzbs = ref(0)
 
 const formRules: FormRules = {
     Yckfxe: [{
@@ -101,7 +102,7 @@ const formRules: FormRules = {
     Kkzqnxzbs: [{
         message: '请输入扣费周期内限制笔数',
         validator: () => {
-            return !!formData.Kkzqnxzbs
+            return !!Kkzqnxzbs.value
         }
     }],
     Lxdh: [{
@@ -142,6 +143,7 @@ const formSubmit = () => {
             formData.Kksjdw = Kksjdw.value.toString()
             formData.Yckfxe = formatDecimal(Yckfxe.value)
             formData.Kkzqnkfxe = formatDecimal(Kkzqnkfxe.value)
+            formData.Kkzqnxzbs = formatDecimal(Kkzqnxzbs.value, 0)
 
             onSubmit().then(() => {
                 ElMessageBox.prompt('请输入验证码', '验证码', {