Handy_Cao 3 tahun lalu
induk
melakukan
575e158b73

+ 0 - 1
src/business/bank/index.ts

@@ -266,7 +266,6 @@ export function useDoBankSign() {
 
     /// 托管银行信息
     const cusSignBank = shallowRef<Model.CusBankSignBankRsp>()
-
     /// 查询签约银行信息
     const request = queryCusBankSignBank({
         success: (res) => {

+ 6 - 6
src/packages/mobile/views/bank/sign/components/edit/index.vue

@@ -50,12 +50,12 @@ const formRules: { [key in keyof Proto.t2bBankSignReq]?: FieldRule[] } = {
     BankAccountNo: [{
         required: true,
         message: '请输入银行卡账号',
-        validator: (val) => {
-            if (validateRules.bankcardno.validate(val)) {
-                return true
-            }
-            return validateRules.bankcardno.message
-        }
+        // validator: (val) => {
+        //     if (validateRules.bankcardno.validate(val)) {
+        //         return true
+        //     }
+        //     return validateRules.bankcardno.message
+        // }
     }],
     BankAccountName: [{
         required: true,

+ 2 - 1
src/packages/mobile/views/home/components/mine/index.vue

@@ -150,7 +150,8 @@ const doInOutMoney = (tab: string) => {
       getBankAccountList().then(() => {
         hideLoading()
         const { signstatus } = bankInfo.value ?? {}
-        if (signstatus && signstatus !== 1) {
+        /// 只有已签约的情况下才可以进行出入金
+        if (signstatus && signstatus === 4) {
           router.push({ name: 'bank-wallet', query: { tab } })
         } else {
           dialog('请先添加签约账户信息。', {