From 37365129e44f48cbcafbadeb31ae61cceab6ec94 Mon Sep 17 00:00:00 2001 From: "tian.guangyuan" Date: Wed, 13 May 2020 13:45:22 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90fix=E3=80=91=20=E7=90=86=E8=B5=94?= =?UTF-8?q?=E7=94=B3=E8=AF=B7=E4=B8=AD=EF=BC=8C=E5=9C=A8=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E5=85=B3=E7=B3=BB=E9=A1=B5=E9=9D=A2=EF=BC=8C=E5=A6=82=E6=9E=9C?= =?UTF-8?q?=E7=94=B3=E8=AF=B7=E6=97=B6=E9=80=89=E6=8B=A9=E4=BA=86=E6=9C=AC?= =?UTF-8?q?=E4=BA=BA=EF=BC=8C=E5=B0=86=E7=9C=81=E5=B8=82=E5=8E=BF=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E6=8B=BC=E6=8E=A5=E5=88=B0=E8=AF=A6=E7=BB=86=E5=9C=B0?= =?UTF-8?q?=E5=9D=80=E4=B9=8B=E5=89=8D=EF=BC=8C=E5=B0=86=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E5=AE=A2=E6=88=B7=E5=90=8E=E7=9A=84=E8=AF=A6=E7=BB=86=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E5=88=A0=E9=99=A4=E2=80=98-=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/claims/ApplyInfo.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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-是