|
|
@ -553,8 +553,8 @@ |
|
|
|
this.submitData.mailing_address = res.Response.Address; |
|
|
|
this.submitData.extension.legal_person_name = res.Response.Person; |
|
|
|
this.submitData.agency_code = res.Response.RegNum; |
|
|
|
const t = this.company_types.find(item => item.label === res.Response.Type); |
|
|
|
this.submitData.extension.company_type = t.value; |
|
|
|
// const t = this.company_types.find(item => item.label === res.Response.Type); |
|
|
|
// this.submitData.extension.company_type = t.value; |
|
|
|
if (res.Response.Capital) { |
|
|
|
const num = res.Response.Capital.split('元')[0] |
|
|
|
this.submitData.extension.registered_capital = this.chineseToNumber(num) |
|
|
@ -583,9 +583,16 @@ |
|
|
|
return item |
|
|
|
} |
|
|
|
}); |
|
|
|
// console.log("t", t) |
|
|
|
if(t){ |
|
|
|
this.submitData.extension.company_type = t.value |
|
|
|
this.company_type_index = _index |
|
|
|
this.company_type_show = this.company_types_arr[_index] |
|
|
|
util.showNone("信息已填充,请二次确认证件信息") |
|
|
|
}else{ |
|
|
|
console.log("OCR对应的企业类型无法匹配:",this.company_types, res.Response.Type) |
|
|
|
util.showNone("请手动选择[企业类型],并二次确认证件信息") |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
this.submitData.extension.business_id_card = res.Response.IdNum |
|
|
|