Handy_Cao 2 jaren geleden
bovenliggende
commit
5b8fc20d24

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

@@ -34,6 +34,20 @@
                                 </template>
                                 </template>
                             </Field>
                             </Field>
                         </template>
                         </template>
+                        <template v-else-if="(item.fieldcode === 'bank_branch_name')">
+                            <Field v-if="(item.usabletype === 1) ||
+                                (item.usabletype === 2 && userStore.userInfo?.userinfotype === 2) ||
+                                (item.usabletype === 3 && userStore.userInfo?.userinfotype === 1)" name="OpenBankName"
+                                :label="item.fieldname"
+                                v-model="item.value" maxlength="50" :placeholder="`请输入${item.fieldname}`" :rules="formRules.OpenBankName"/>
+                        </template>
+                        <template v-else-if="(item.fieldcode === '100')">
+                            <Field v-if="(item.usabletype === 1) ||
+                                (item.usabletype === 2 && userStore.userInfo?.userinfotype === 2) ||
+                                (item.usabletype === 3 && userStore.userInfo?.userinfotype === 1)" name="OpenBankNo"
+                                :label="item.fieldname"
+                                v-model="item.value" maxlength="50" :placeholder="`请输入${item.fieldname}`" :rules="formRules.OpenBankNo"/>
+                        </template>
                         <template v-else>
                         <template v-else>
                             <Field v-if="(item.usabletype === 1) ||
                             <Field v-if="(item.usabletype === 1) ||
                                 (item.usabletype === 2 && userStore.userInfo?.userinfotype === 2) ||
                                 (item.usabletype === 2 && userStore.userInfo?.userinfotype === 2) ||
@@ -132,10 +146,24 @@ const formRules: { [key in keyof Proto.t2bBankSignReq]?: FieldRule[] } = {
         required: true,
         required: true,
         message: '请输入银行卡账户名',
         message: '请输入银行卡账户名',
     }],
     }],
+    MobilePhone: [{
+        required: true,
+        message: '请输入手机号码',
+        validator: (val) => {
+            if (validateRules.phone.validate(val)) {
+                return true
+            }
+            return validateRules.phone.message
+        }
+    }],
     OpenBankName: [{
     OpenBankName: [{
         required: true,
         required: true,
-        message: '请输入银行卡支行名称',
+        message: '请输入开户行支行名称',
     }],
     }],
+    OpenBankNo: [{
+        required: true,
+        message: '请输入开户行支行号',
+    }]
 }
 }
 
 
 const formSubmit = () => {
 const formSubmit = () => {

+ 35 - 0
src/packages/pc/views/account/sign/components/sign/index.vue

@@ -36,6 +36,22 @@
                         </el-input>
                         </el-input>
                     </el-form-item>
                     </el-form-item>
                     </template>
                     </template>
+                    <template v-else-if="(item.fieldcode === 'bank_branch_name')">
+                        <el-form-item :label="item.fieldname" prop="OpenBankName"
+                                v-if="(item.usabletype === 1) || 
+                                    (item.usabletype === 2 && userStore.userInfo?.userinfotype === 2) || 
+                                    (item.usabletype === 3 && userStore.userInfo?.userinfotype === 1)">
+                            <el-input maxlength="50" :name="item.fieldcode" placeholder="请必须输入" v-model="item.value" />
+                        </el-form-item>
+                    </template>
+                    <template v-else-if="(item.fieldcode === '100')">
+                        <el-form-item :label="item.fieldname" prop="OpenBankNo"
+                                v-if="(item.usabletype === 1) || 
+                                    (item.usabletype === 2 && userStore.userInfo?.userinfotype === 2) || 
+                                    (item.usabletype === 3 && userStore.userInfo?.userinfotype === 1)">
+                            <el-input maxlength="50" :name="item.fieldcode" placeholder="请必须输入" v-model="item.value" />
+                        </el-form-item>
+                    </template>
                 <template v-else>
                 <template v-else>
                     <el-form-item :label="item.fieldname" :prop="item.fieldcode"
                     <el-form-item :label="item.fieldname" :prop="item.fieldcode"
                             v-if="(item.usabletype === 1) || 
                             v-if="(item.usabletype === 1) || 
@@ -82,9 +98,28 @@ const formRules: FormRules = {
             }
             }
         }
         }
     }],
     }],
+    MobilePhone: [{
+        required: true,
+        message: '请输入手机号码',
+        validator: (rule, value, callback) => {
+            if (validateRules.phone.validate(value)) {
+                callback()
+            } else {
+                callback(new Error(validateRules.phone.message))
+            }
+        }
+    }],
     AccountName: [{
     AccountName: [{
         required: true,
         required: true,
         message: '请输入行卡账户名',
         message: '请输入行卡账户名',
+    }],
+    OpenBankName: [{
+        required: true,
+        message: '请输入开户行支行名称',
+    }],
+    OpenBankNo: [{
+        required: true,
+        message: '请输入开户行支行号',
     }]
     }]
 }
 }
 
 

+ 1 - 1
src/packages/tjmd/views/mine/Index.vue

@@ -80,7 +80,7 @@
                 </Cell>
                 </Cell>
                 <Cell is-link :to="{ name: 'account-protocol', query: { memberUserId: getMemberUserId()} }" v-if="userStore.userType != 2 && authStatus === AuthStatus.Certified">
                 <Cell is-link :to="{ name: 'account-protocol', query: { memberUserId: getMemberUserId()} }" v-if="userStore.userType != 2 && authStatus === AuthStatus.Certified">
                     <template #title>
                     <template #title>
-                        <Iconfont icon="g-icon-sign">合同签署</Iconfont>
+                        <Iconfont icon="g-icon-order--line">合同签署</Iconfont>
                     </template>
                     </template>
                 </Cell>
                 </Cell>
                 <Cell is-link :to="{ name: 'mine-profile' }">
                 <Cell is-link :to="{ name: 'mine-profile' }">