【关于开发惠桂保续保新方案系统的申请】被保人录入页面投被不同人时,被保人信息无家庭地址时同投保人

This commit is contained in:
lyt
2023-02-15 14:31:38 +08:00
parent 118809442d
commit 6ff9027c56

View File

@@ -1056,9 +1056,9 @@ export default {
}
this.insuredInfo.email = data.email //电子邮箱
this.insuredInfo.mobile = data.customerPhone //移动电话
this.insuredInfo.homeProvince = data.homeProvince //家庭省
this.insuredInfo.homeCity = data.homeCity //家庭市
this.insuredInfo.homeArea = data.homeArea //家庭区
this.insuredInfo.homeProvince = data.homeProvince?data.homeProvince:this.userInfo.homeProvince//家庭省
this.insuredInfo.homeCity = data.homeCity?data.homeCity:this.userInfo.homeCity //家庭市
this.insuredInfo.homeArea = data.homeArea?data.homeArea:this.userInfo.homeArea //家庭区
if (data.homeProvince && data.homeCity && data.homeArea) {
this.insuredInfo.homeName = getAreaName([{ code: data.homeProvince }, { code: data.homeCity }, { code: data.homeArea }]) //家庭地址
}