mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-24 23:02:52 +08:00
【fix】 理赔申请中,在选择关系页面,如果申请时选择了本人,将省市县信息拼接到详细地址之前,将选择客户后的详细信息删除‘-’
This commit is contained in:
@@ -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-是
|
||||
|
||||
Reference in New Issue
Block a user