update 修复驳回审核checkboxList 字段
This commit is contained in:
parent
8a358f4121
commit
828b07fd88
@ -57,10 +57,10 @@ const certificate = [
|
||||
key: 'license_image',
|
||||
label: '许可证图片',
|
||||
},
|
||||
// {
|
||||
// key: 'legal_person_mobile',
|
||||
// label: '法人手机号',
|
||||
// },
|
||||
{
|
||||
key: 'legal_person_mobile',
|
||||
label: '法人手机号',
|
||||
},
|
||||
{
|
||||
key: 'legalPersonOCR',
|
||||
label: '法人身份证OCR识别',
|
||||
@ -116,7 +116,7 @@ const bankInfo = [
|
||||
// },
|
||||
]
|
||||
|
||||
const formConfig = [
|
||||
const enterpriseCheckBoxList = [
|
||||
{
|
||||
key: 'contact_name',
|
||||
label: '联系人',
|
||||
@ -138,11 +138,11 @@ const formConfig = [
|
||||
label: '详细地址',
|
||||
},
|
||||
{
|
||||
key: 'storefrontImg',
|
||||
key: 'front_facade_image',
|
||||
label: '门脸图',
|
||||
},
|
||||
{
|
||||
key: 'surroundingsImg',
|
||||
key: 'environment_image',
|
||||
label: '环境图',
|
||||
},
|
||||
{
|
||||
@ -217,9 +217,21 @@ const formConfig = [
|
||||
key: 'account_holder_name',
|
||||
label: '收款账户姓名',
|
||||
},
|
||||
{
|
||||
key: 'businessLicenseOCR',
|
||||
label: '营业执照OCR识别',
|
||||
},
|
||||
{
|
||||
key: 'legalPersonOCR',
|
||||
label: '法人身份证OCR识别',
|
||||
},
|
||||
{
|
||||
key: 'bankOCR',
|
||||
label: '银行OCR',
|
||||
},
|
||||
]
|
||||
|
||||
const formConfig2 = [
|
||||
const personCheckBoxList = [
|
||||
{
|
||||
key: 'contact_name',
|
||||
label: '联系人',
|
||||
@ -246,12 +258,12 @@ const formConfig2 = [
|
||||
placeholder: '详细地址:如:人民大道205号2楼213',
|
||||
},
|
||||
{
|
||||
key: 'storefrontImg',
|
||||
key: 'front_facade_image',
|
||||
label: '门脸图',
|
||||
placeholder: '',
|
||||
},
|
||||
{
|
||||
key: 'surroundingsImg',
|
||||
key: 'environment_image',
|
||||
label: '环境图',
|
||||
placeholder: '',
|
||||
},
|
||||
@ -290,11 +302,20 @@ const formConfig2 = [
|
||||
key: 'account_holder_name',
|
||||
label: '收款账户姓名',
|
||||
},
|
||||
{
|
||||
key: 'personOCR',
|
||||
label: '身份证OCR',
|
||||
placeholder: '地图地址',
|
||||
},
|
||||
{
|
||||
key: 'bankOCR',
|
||||
label: '银行OCR',
|
||||
},
|
||||
]
|
||||
|
||||
export default {
|
||||
formConfig,
|
||||
formConfig2,
|
||||
enterpriseCheckBoxList,
|
||||
personCheckBoxList,
|
||||
baseInfo,
|
||||
addressInfo,
|
||||
certificate,
|
||||
|
||||
@ -949,20 +949,20 @@ export default {
|
||||
}
|
||||
// 企业营业执照驳回
|
||||
if(e.includes('businessLicenseOCR')){
|
||||
this.checkboxList = ['biz_license_image','biz_license_company','legal_person_name','biz_license_number',...this.checkboxList]
|
||||
this.checkboxList = ['biz_license_image','biz_license_company','legal_person_name','biz_license_number','',...this.checkboxList]
|
||||
}
|
||||
|
||||
},
|
||||
handleCheckAllChange(val) {
|
||||
if (this.form.entity_type == 1) {
|
||||
this.checkboxList = val
|
||||
? this.formConfig.formConfig.map((item) => {
|
||||
? this.formConfig.enterpriseCheckBoxList.map((item) => {
|
||||
return item.key
|
||||
})
|
||||
: []
|
||||
} else {
|
||||
this.checkboxList = val
|
||||
? this.formConfig.formConfig2.map((item) => {
|
||||
? this.formConfig.personCheckBoxList.map((item) => {
|
||||
return item.key
|
||||
})
|
||||
: []
|
||||
|
||||
Loading…
Reference in New Issue
Block a user