diff --git a/src/views/ebiz/claims/ApplyInfo.vue b/src/views/ebiz/claims/ApplyInfo.vue index 2dd56ea94..c24d0fadb 100644 --- a/src/views/ebiz/claims/ApplyInfo.vue +++ b/src/views/ebiz/claims/ApplyInfo.vue @@ -427,6 +427,7 @@ import BankCardScan from '@/components/ebiz/sale/BankCardScan' import { getBankList } from '@/api/ebiz/sale/sale' import { getIdentityInfo, onDateConfirm, effectiveDataTypeChange } from '../sale/js/methods' import occupationList from '@/components/ebiz/occipation/data/occupation' +import getAreaName from '@/assets/js/utils/get-area-name' export default { name: 'applyInfo', @@ -662,7 +663,7 @@ export default { this.userInfo.applyerNationatlity = Detail[0][0].nationality this.userInfo.applyerEmail = Detail[0][0].customerEmail this.userInfo.applyerMobile = Detail[0][0].customerMobile - this.userInfo.applyerAddr = Detail[0][0].homeAddress + this.userInfo.applyerAddr = Detail[0][0].homeAddress.replace(/-/g,'') this.userInfo.applyerOccuCode = Detail[0][0].occuCode //职业编码 let result = this.showOccuName(Detail[0][0].occuCode) this.userInfo.applyerOccuName = result.applyerOccuName //职业名称 @@ -773,7 +774,8 @@ export default { this.userInfo.applyerOccuName = applicant.insuredOccuName //被保险人职业名称 this.userInfo.applyerSex = applicant.insuredSex //被保险人性别 this.userInfo.applyerBirthday = applicant.insuredBirthday //被保险人生日 - this.userInfo.applyerAddr = applicant.insuredAddr //被保险人联系地址详细地址 + let tempStr = getAreaName([{ code: applicant.insuredProvince }, { code: applicant.insuredCity }, { code: applicant.insuredCounty }]) + this.userInfo.applyerAddr = tempStr.replace(/-/g,'') + applicant.insuredAddr //被保险人联系地址详细地址 this.effectiveDateType = applicant.certiTypeEndDate == '9999-09-09' //是否长期 this.userInfo.applyerCertiEndDate = applicant.certiTypeEndDate == '9999-09-09' ? '' : applicant.certiTypeEndDate //截止日期 this.userInfo.certiIsLong = applicant.certiTypeEndDate == '9999-09-09' ? '1' : '0' //是否长期 0-否,1-是