【国富惠桂保团体医疗保险产品上线金掌桂投保开发需求】卡单列表不显示,惠桂保投保人报错问题

This commit is contained in:
li.yuetong
2022-10-13 23:23:13 +08:00
parent 19255f9ccd
commit 722c159594
2 changed files with 8 additions and 14 deletions

View File

@@ -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){

View File

@@ -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())