diff --git a/src/views/ebiz/cardList/CardTotreasure.vue b/src/views/ebiz/cardList/CardTotreasure.vue index c95e13faf..37f30555d 100644 --- a/src/views/ebiz/cardList/CardTotreasure.vue +++ b/src/views/ebiz/cardList/CardTotreasure.vue @@ -450,10 +450,14 @@ export default { } // 团险产品团险产品显示多个被保人姓名 if(orderItem.insuredDTOs.length == 1){ - orderObj.riskName = orderItem.insuredDTOs[0].riskDTOLst[0].riskName + if(orderItem.insuredDTOs[0].riskDTOLst && orderItem.insuredDTOs[0].riskDTOLst.length){ + orderObj.riskName = orderItem.insuredDTOs[0].riskDTOLst[0].riskName + } orderObj.insuredName = orderItem.insuredDTOs[0].name }else if((orderItem.insuredDTOs.length > 1)){ - orderObj.riskName = orderItem.insuredDTOs[0].riskDTOLst[0].riskName + if(orderItem.insuredDTOs[0].riskDTOLst && orderItem.insuredDTOs[0].riskDTOLst.length){ + orderObj.riskName = orderItem.insuredDTOs[0].riskDTOLst[0].riskName + } orderObj.insuredName = '' orderItem.insuredDTOs.forEach((item, index) => { if(index == orderItem.insuredDTOs.length -1){ diff --git a/src/views/ebiz/cardList/GroupAppntInfo.vue b/src/views/ebiz/cardList/GroupAppntInfo.vue index 64f07ceaf..ee2a45671 100644 --- a/src/views/ebiz/cardList/GroupAppntInfo.vue +++ b/src/views/ebiz/cardList/GroupAppntInfo.vue @@ -322,7 +322,6 @@ export default { customerShowPicker2: false, occupationShowPicker: false, timeId: null, - chooseProducts: JSON.parse(localStorage.chooseProducts), pdf: ['', '', ''], insureType: '', pickerIndex: 0, @@ -376,10 +375,6 @@ export default { }, 100) // 筛选按钮的点击事件 window.appCallBack = this.appCallBack - // 2516--除万福卡,投保人、被保险人年收入,默认为0,允许修改 - if (this.itemProductDTOS.productCode != 'GFRS_M0032') { - this.userInfo.averageAnnualIncome = '0' - } if (this.$route.query.cardOrderNo) { this.cardOrderNo = this.$route.query.cardOrderNo //根据后台数据来展示 @@ -728,13 +723,8 @@ export default { this.userInfo.occupationType = '' this.userInfo.lifeGrade = '' this.userInfo.healthGrade = '' - this.userInfo.averageAnnualIncome = this.itemProductDTOS.productCode == 'GFRS_M0032' ? data.averageYearlyIncome : '0' //平均年收入 - //2516--三个学平险--被保险人国籍默认中国,允许修改 - if (this.itemProductDTOS.productCode == 'GFRS_M0048' || this.itemProductDTOS.productCode == 'GFRS_M0049' || this.itemProductDTOS.productCode == 'GFRS_M0050') { - this.userInfo.nativeplace = '1' - } else { - this.userInfo.nativeplace = data.country - } + this.userInfo.averageAnnualIncome = data.averageYearlyIncome //平均年收入 + this.userInfo.nativeplace = data.country this.userInfo.marriage = data.marryStatus // 计算年龄 let age = utilsAge.getAge(this.userInfo.birthday, new Date())