li.shaoyi 2 سال پیش
والد
کامیت
e21d59eabc

+ 1 - 1
src/packages/mobile/views/bank/sign/components/edit/Index.vue

@@ -12,7 +12,7 @@
                                 :optionProps="{ label: 'bankname', value: 'bankid' }" />
                         </template>
                     </Field>
-                    <Field name="BankNo" label="银行卡号" v-model="formData.BankAccountNo" placeholder="请输入银行卡账号"
+                    <Field name="BankNo" label="银行卡号" v-model.trim="formData.BankAccountNo" placeholder="请输入银行卡账号"
                         :rules="formRules.BankAccountNo" />
                     <Field name="AccountName" label="姓名" readonly v-model="formData.AccountName" placeholder="请输入银行卡账户名"
                         :rules="formRules.AccountName" />

+ 2 - 2
src/packages/qxst/views/account/certification/Index.vue

@@ -72,7 +72,7 @@ const { componentRef, componentId, openComponent, closeComponent } = useComponen
     router.back()
 })
 
-const isReadonly = computed(() => userESignRecords.value.every((e) => e.templatetype === 1 && e.recordstatus === 3))
+const isReadonly = computed(() => userESignRecords.value.some((e) => e.templatetype === 1 && e.recordstatus === 3))
 
 /// 查询记录
 const { loading: buttonLoading, dataList: userESignRecords, run: getUserESignRecord } = useRequest(queryUserESignRecord, {
@@ -182,7 +182,7 @@ const onCheckCardNum = () => {
 }
 
 const onSubmit = () => {
-    if (userESignRecords.value.every((e) => e.templatetype === 1 && e.recordstatus === 1)) {
+    if (userESignRecords.value.some((e) => e.templatetype === 1 && e.recordstatus === 1)) {
         formRef.value?.submit()
     } else {
         openComponent('certification-next')