|
|
@@ -36,6 +36,22 @@
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</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>
|
|
|
<el-form-item :label="item.fieldname" :prop="item.fieldcode"
|
|
|
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: [{
|
|
|
required: true,
|
|
|
message: '请输入行卡账户名',
|
|
|
+ }],
|
|
|
+ OpenBankName: [{
|
|
|
+ required: true,
|
|
|
+ message: '请输入开户行支行名称',
|
|
|
+ }],
|
|
|
+ OpenBankNo: [{
|
|
|
+ required: true,
|
|
|
+ message: '请输入开户行支行号',
|
|
|
}]
|
|
|
}
|
|
|
|