mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 13:56:44 +08:00
【国富惠桂保团体医疗保险产品上线金掌桂投保开发需求】卡单列表不显示,惠桂保投保人报错问题
This commit is contained in:
@@ -450,10 +450,14 @@ export default {
|
|||||||
}
|
}
|
||||||
// 团险产品团险产品显示多个被保人姓名
|
// 团险产品团险产品显示多个被保人姓名
|
||||||
if(orderItem.insuredDTOs.length == 1){
|
if(orderItem.insuredDTOs.length == 1){
|
||||||
|
if(orderItem.insuredDTOs[0].riskDTOLst && orderItem.insuredDTOs[0].riskDTOLst.length){
|
||||||
orderObj.riskName = orderItem.insuredDTOs[0].riskDTOLst[0].riskName
|
orderObj.riskName = orderItem.insuredDTOs[0].riskDTOLst[0].riskName
|
||||||
|
}
|
||||||
orderObj.insuredName = orderItem.insuredDTOs[0].name
|
orderObj.insuredName = orderItem.insuredDTOs[0].name
|
||||||
}else if((orderItem.insuredDTOs.length > 1)){
|
}else if((orderItem.insuredDTOs.length > 1)){
|
||||||
|
if(orderItem.insuredDTOs[0].riskDTOLst && orderItem.insuredDTOs[0].riskDTOLst.length){
|
||||||
orderObj.riskName = orderItem.insuredDTOs[0].riskDTOLst[0].riskName
|
orderObj.riskName = orderItem.insuredDTOs[0].riskDTOLst[0].riskName
|
||||||
|
}
|
||||||
orderObj.insuredName = ''
|
orderObj.insuredName = ''
|
||||||
orderItem.insuredDTOs.forEach((item, index) => {
|
orderItem.insuredDTOs.forEach((item, index) => {
|
||||||
if(index == orderItem.insuredDTOs.length -1){
|
if(index == orderItem.insuredDTOs.length -1){
|
||||||
|
|||||||
@@ -322,7 +322,6 @@ export default {
|
|||||||
customerShowPicker2: false,
|
customerShowPicker2: false,
|
||||||
occupationShowPicker: false,
|
occupationShowPicker: false,
|
||||||
timeId: null,
|
timeId: null,
|
||||||
chooseProducts: JSON.parse(localStorage.chooseProducts),
|
|
||||||
pdf: ['', '', ''],
|
pdf: ['', '', ''],
|
||||||
insureType: '',
|
insureType: '',
|
||||||
pickerIndex: 0,
|
pickerIndex: 0,
|
||||||
@@ -376,10 +375,6 @@ export default {
|
|||||||
}, 100)
|
}, 100)
|
||||||
// 筛选按钮的点击事件
|
// 筛选按钮的点击事件
|
||||||
window.appCallBack = this.appCallBack
|
window.appCallBack = this.appCallBack
|
||||||
// 2516--除万福卡,投保人、被保险人年收入,默认为0,允许修改
|
|
||||||
if (this.itemProductDTOS.productCode != 'GFRS_M0032') {
|
|
||||||
this.userInfo.averageAnnualIncome = '0'
|
|
||||||
}
|
|
||||||
if (this.$route.query.cardOrderNo) {
|
if (this.$route.query.cardOrderNo) {
|
||||||
this.cardOrderNo = this.$route.query.cardOrderNo
|
this.cardOrderNo = this.$route.query.cardOrderNo
|
||||||
//根据后台数据来展示
|
//根据后台数据来展示
|
||||||
@@ -728,13 +723,8 @@ export default {
|
|||||||
this.userInfo.occupationType = ''
|
this.userInfo.occupationType = ''
|
||||||
this.userInfo.lifeGrade = ''
|
this.userInfo.lifeGrade = ''
|
||||||
this.userInfo.healthGrade = ''
|
this.userInfo.healthGrade = ''
|
||||||
this.userInfo.averageAnnualIncome = this.itemProductDTOS.productCode == 'GFRS_M0032' ? data.averageYearlyIncome : '0' //平均年收入
|
this.userInfo.averageAnnualIncome = data.averageYearlyIncome //平均年收入
|
||||||
//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.nativeplace = data.country
|
||||||
}
|
|
||||||
this.userInfo.marriage = data.marryStatus
|
this.userInfo.marriage = data.marryStatus
|
||||||
// 计算年龄
|
// 计算年龄
|
||||||
let age = utilsAge.getAge(this.userInfo.birthday, new Date())
|
let age = utilsAge.getAge(this.userInfo.birthday, new Date())
|
||||||
|
|||||||
Reference in New Issue
Block a user