[FIX]电投优化-投/被保人国籍、身份证类型页面初始化或从接口获取

This commit is contained in:
yuweiqi
2020-03-25 12:00:18 +08:00
parent 5afb2054b7
commit 2a62cb0f9f
2 changed files with 4 additions and 2 deletions

View File

@@ -503,6 +503,8 @@ export default {
localStorage.setItem('salePageFlag', this.salePageFlag)
} else {
//从导航栏进入
this.idType = res.orderDTO.appntDTO.idType//证件类型
this.nativeplace = res.orderDTO.appntDTO.nativeplace//国家地区
this.homeName = getAreaName([
{ code: res.orderDTO.appntDTO.homeProvince },
{ code: res.orderDTO.appntDTO.homeCity },

View File

@@ -629,9 +629,9 @@ export default {
//设为联系地址
// this.userInfo.addressStatus = '0'
//证件类型
this.userInfo.idType = '1'
this.idType = insuredPersonInfo.idType
//国家/地区
this.userInfo.nativeplace = '1'
this.userInfo.nativeplace = insuredPersonInfo.nativeplace
// if (this.$route.query.isShow) {
//户籍
if (insuredPersonInfo.householdProvince.length) {