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