diff --git a/src/components/ebiz/customer/formBlock.vue b/src/components/ebiz/customer/formBlock.vue index e68c08c59..15d941c11 100644 --- a/src/components/ebiz/customer/formBlock.vue +++ b/src/components/ebiz/customer/formBlock.vue @@ -464,7 +464,7 @@ export default { }, homeNameInfo() { let area = [{ code: this.userInfo.homeProvince }, { code: this.userInfo.homeCity }, { code: this.userInfo.homeArea }] - this.homeName = getAreaName(area, 'new') + this.homeName = getAreaName(area) }, //弹框选择 toSelect(pickerType, valueKey) { diff --git a/src/views/ebiz/sale/InsuredPerson.vue b/src/views/ebiz/sale/InsuredPerson.vue index 0732e2c54..76e58aa23 100644 --- a/src/views/ebiz/sale/InsuredPerson.vue +++ b/src/views/ebiz/sale/InsuredPerson.vue @@ -628,7 +628,7 @@ export default { this.userInfo.idType = '1' //国家/地区 this.userInfo.nativeplace = '1' - if (this.$route.query.isShow) { + // if (this.$route.query.isShow) { //户籍 if (insuredPersonInfo.householdProvince.length) { this.census = getAreaName([{ code: insuredPersonInfo.householdProvince }, { code: insuredPersonInfo.householdCity }]) @@ -664,7 +664,7 @@ export default { // { code: saleInsuredPersonInfo.homeCity }, // { code: saleInsuredPersonInfo.homeArea } // ]) //家庭地址 - } + // } } } else { return this.$toast(res.resultMessage) @@ -1310,6 +1310,7 @@ export default { // let age = utilsAge.getAge(this.userInfo.birthday, new Date()) // this.userInfo.age = age // localStorage.saleInsuredPersonInfo = JSON.stringify(this.userInfo) + localStorage.relationToAppnt = this.userInfo.relationToAppnt localStorage.isFrom = 'sale' //清理计时器 window.clearInterval(this.timeId) @@ -1338,7 +1339,7 @@ export default { // this.areaShow = false // break case '2': //家庭地址 - this.homeName = getAreaName(area, 'new') + this.homeName = getAreaName(area) ;[this.userInfo.homeProvince, this.userInfo.homeCity, this.userInfo.homeArea] = [area[0].code, area[1].code, area[2].code] this.homeShow = false break