diff --git a/src/views/ebiz/cardList/GroupAppntInfo.vue b/src/views/ebiz/cardList/GroupAppntInfo.vue index 16b72d2ed..1df493851 100644 --- a/src/views/ebiz/cardList/GroupAppntInfo.vue +++ b/src/views/ebiz/cardList/GroupAppntInfo.vue @@ -721,11 +721,17 @@ export default { this.userInfo.homeName = getAreaName([{ code: data.homeProvince }, { code: data.homeCity }, { code: data.homeArea }]) //家庭地址 } this.userInfo.homeAddress = data.homeAddress //家庭详细地址 - this.userInfo.occupationCode = data.occupationCode - this.userInfo.occupationName = data.occupationName - this.userInfo.occupationType = data.lifeGrade - this.userInfo.lifeGrade = data.lifeGrade - this.userInfo.healthGrade = data.healthGrade + // this.userInfo.occupationCode = data.occupationCode + // this.userInfo.occupationName = data.occupationName + // this.userInfo.occupationType = data.lifeGrade + // this.userInfo.lifeGrade = data.lifeGrade + // this.userInfo.healthGrade = data.healthGrade + //惠桂保的职业要设置给客户做选择,因之前未保存寿险等级,职业一律清空,重新选择 + this.userInfo.occupationCode = '' + this.userInfo.occupationName = '' + 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') { diff --git a/src/views/ebiz/cardList/GroupInsuredInfo.vue b/src/views/ebiz/cardList/GroupInsuredInfo.vue index 973d9f7b1..d0a14a3bd 100644 --- a/src/views/ebiz/cardList/GroupInsuredInfo.vue +++ b/src/views/ebiz/cardList/GroupInsuredInfo.vue @@ -1119,25 +1119,16 @@ export default { this.effectiveDateTypeAbleInsured = true // this.isInsuredCertiexpiredate = false }else{ - // this.isInsuredCertiexpiredate = true - // 因为学平险产品 和 少儿卡单 被保人证件类型只有身份证和户口本 所以回显被保人信息时 如果不是身份证和户口本 就隐藏被保人证件类型 - if ((this.itemProductDTOS.productCode == 'GFRS_M0048' || this.itemProductDTOS.productCode == 'GFRS_M0049' || this.itemProductDTOS.productCode == 'GFRS_M0050' || this.itemProductDTOS.productCode == 'GFRS_M0052') - && data.customerIdType != 1) { - this.insuredInfo.idType = '' + // this.isInsuredCertiexpiredate = true + if (data.idEffectEndDate == '9999-01-01') { this.insuredInfo.certiexpiredate = '' + this.insuredInfo.effectiveDateType = true //是否长期 + this.effectiveDateTypeAbleInsured = true + } else { + this.insuredInfo.certiexpiredate = data.idEffectEndDate //证件截止日期 this.insuredInfo.effectiveDateType = false; this.effectiveDateTypeAbleInsured = false - }else{ - if (data.idEffectEndDate == '9999-01-01') { - this.insuredInfo.certiexpiredate = '' - this.insuredInfo.effectiveDateType = true //是否长期 - this.effectiveDateTypeAbleInsured = true - } else { - this.insuredInfo.certiexpiredate = data.idEffectEndDate //证件截止日期 - this.insuredInfo.effectiveDateType = false; - this.effectiveDateTypeAbleInsured = false - } - } + } } this.insuredInfo.email = data.email //电子邮箱 this.insuredInfo.mobile = data.customerPhone //移动电话 @@ -1149,28 +1140,21 @@ export default { } this.insuredInfo.homeAddress = data.homeAddress //家庭详细地址 this.insuredInfo.medical = data.socialSecurity //有无社保 - //2516--三个学平险--被保险人职业类别默认学生,允许修改。 - if (this.itemProductDTOS.productCode == 'GFRS_M0048' || this.itemProductDTOS.productCode == 'GFRS_M0049' || this.itemProductDTOS.productCode == 'GFRS_M0050') { - this.insuredInfo.occupationCode = '2099907' - this.insuredInfo.occupationName = '一般学生' - } else { - this.insuredInfo.occupationCode = data.occupationCode - this.insuredInfo.occupationName = data.occupationName - } - this.insuredInfo.occupationType = data.lifeGrade - this.insuredInfo.lifeGrade = data.lifeGrade - this.insuredInfo.healthGrade = data.healthGrade + // this.insuredInfo.occupationCode = data.occupationCode + // this.insuredInfo.occupationName = data.occupationName + // this.insuredInfo.occupationType = data.lifeGrade + // this.insuredInfo.lifeGrade = data.lifeGrade + // this.insuredInfo.healthGrade = data.healthGrade + //惠桂保的职业要设置给客户做选择,因之前未保存寿险等级,职业一律清空,重新选择 + this.insuredInfo.occupationCode = '' + this.insuredInfo.occupationName = '' + this.insuredInfo.occupationType = '' + this.insuredInfo.lifeGrade = '' + this.insuredInfo.healthGrade = '' //除万福卡,投保人、被保险人年收入填写项去掉,默认为0,卡产品不满足反洗钱识别线 this.insuredInfo.averageAnnualIncome = this.itemProductDTOS.productCode == 'GFRS_M0032' ? data.averageYearlyIncome : '0' //平均年收入 - //2516--三个学平险--被保险人婚姻默认未婚,允许修改 - //2516--三个学平险--被保险人国籍默认中国,允许修改 - if (this.itemProductDTOS.productCode == 'GFRS_M0048' || this.itemProductDTOS.productCode == 'GFRS_M0049' || this.itemProductDTOS.productCode == 'GFRS_M0050') { - this.insuredInfo.marriage = '2' - this.insuredInfo.nativeplace = '1' - } else { - this.insuredInfo.marriage = data.marryStatus - this.insuredInfo.nativeplace = data.country - } + this.insuredInfo.marriage = data.marryStatus + this.insuredInfo.nativeplace = data.country // 计算年龄 let age = utilsAge.getAge(this.insuredInfo.birthday, new Date()) if (this.itemProductDTOS.productCode != 'GFRS_M0052') {