|
@@ -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 = () => {
|