【豁免险重大疾病险需求】 增加被保险人产品

This commit is contained in:
dwq
2021-06-25 09:39:43 +08:00
parent fbf575eede
commit 4c84416200
2 changed files with 9 additions and 8 deletions

View File

@@ -76,7 +76,7 @@ export default {
if ( if (
currentMainRiskInfo.mainRiskPayEndYearFlag == 'Y' && currentMainRiskInfo.mainRiskPayEndYearFlag == 'Y' &&
currentMainRiskInfo.mainRiskPayEndYear == '1000' && currentMainRiskInfo.mainRiskPayEndYear == '1000' &&
(item.productCode == 'GFRS_A0007' || item.productCode == 'GFRS_A0009') (item.productCode == 'GFRS_A0007' || item.productCode == 'GFRS_A0009'|| item.productCode == 'GFRS_A0010')
) { ) {
item.isHidden = 1 item.isHidden = 1
} }
@@ -329,7 +329,7 @@ export default {
//国富人寿附加豁免保险费重大疾病保险B款 GFRS_A0009 //国富人寿附加豁免保险费重大疾病保险B款 GFRS_A0009
//国富人寿鑫享年年终身寿险--只针对这款产品 //国富人寿鑫享年年终身寿险--只针对这款产品
if (this.mainRiskCode == 'GFRS_M0036') { if (this.mainRiskCode == 'GFRS_M0036') {
if (this.branchTypeVal == 'Z' && (productCode == 'GFRS_A0007' || productCode == 'GFRS_A0009')) { if (this.branchTypeVal == 'Z' && (productCode == 'GFRS_A0007' || productCode == 'GFRS_A0009'|| productCode == 'GFRS_A0010')) {
if (relationToAppnt == 1) { if (relationToAppnt == 1) {
this.$toast('投被同人不能选取此款险种!') this.$toast('投被同人不能选取此款险种!')
return true return true

View File

@@ -484,7 +484,8 @@ export default {
} }
} }
let payEndYearVal let payEndYearVal
//初始化时交费期间为一次性交清时,在就是中介渠道, 附加险GFRS_A0007GFRS_A0009去掉后附加险list就为空--隐藏icon //初始化时交费期间为一次性交清时,在就是中介渠道, 附加险GFRS_A0007
// 去掉后附加险list就为空--隐藏icon
item.calFactorLst.map(i => { item.calFactorLst.map(i => {
if (i.code == 'payEndYear') { if (i.code == 'payEndYear') {
if (i.payEndYear == '1000' && i.payEndYearFlag == 'Y') { if (i.payEndYear == '1000' && i.payEndYearFlag == 'Y') {
@@ -750,7 +751,7 @@ export default {
if (this.chooseProducts[productIndex].productCode === 'GFRS_A0004') return if (this.chooseProducts[productIndex].productCode === 'GFRS_A0004') return
// 008险种其他验证方式 // 008险种其他验证方式
if (this.chooseProducts[productIndex].productCode === 'GFRS_A0008') return if (this.chooseProducts[productIndex].productCode === 'GFRS_A0008') return
if (this.chooseProducts[productIndex].productCode === 'GFRS_A0003' || this.chooseProducts[productIndex].productCode === 'GFRS_A0009') { if (this.chooseProducts[productIndex].productCode === 'GFRS_A0003' || this.chooseProducts[productIndex].productCode === 'GFRS_A0009'|| this.chooseProducts[productIndex].productCode === 'GFRS_A0010') {
this.getTrial() this.getTrial()
return return
} }
@@ -894,7 +895,7 @@ export default {
isClearAddtionRiskListFunc() { isClearAddtionRiskListFunc() {
let chooseProductsNew = [] let chooseProductsNew = []
this.chooseProducts.forEach(item01 => { this.chooseProducts.forEach(item01 => {
if (item01.productCode != 'GFRS_A0007' && item01.productCode != 'GFRS_A0009') { if (item01.productCode != 'GFRS_A0007' && item01.productCode != 'GFRS_A0009'&& item01.productCode != 'GFRS_A0010') {
chooseProductsNew.push(item01) chooseProductsNew.push(item01)
} }
}) })
@@ -1094,7 +1095,7 @@ export default {
if (addtionRiskLst) { if (addtionRiskLst) {
let list = []; let list = [];
addtionRiskLst.forEach((item, index) => { addtionRiskLst.forEach((item, index) => {
if (item.productCode != 'GFRS_A0007' && item.productCode != 'GFRS_A0009') { if (item.productCode != 'GFRS_A0007' && item.productCode != 'GFRS_A0009'&& item.productCode != 'GFRS_A0010') {
list.push(item) list.push(item)
} }
}) })
@@ -1266,7 +1267,7 @@ export default {
item.moneyUnit = 1 item.moneyUnit = 1
item.suffix = '元' item.suffix = '元'
} }
if (this.chooseProducts[itemRemitIndex].productCode == 'GFRS_A0003' || this.chooseProducts[itemRemitIndex].productCode == 'GFRS_A0009') { if (this.chooseProducts[itemRemitIndex].productCode == 'GFRS_A0003' || this.chooseProducts[itemRemitIndex].productCode == 'GFRS_A0009'|| this.chooseProducts[itemRemitIndex].productCode == 'GFRS_A0010') {
//此附加险的缴费期间=主险缴费期间;保险期间=主险保险期间 //此附加险的缴费期间=主险缴费期间;保险期间=主险保险期间
if (item.code == 'insuYear') { if (item.code == 'insuYear') {
item.hasFlag = '1' item.hasFlag = '1'
@@ -1936,7 +1937,7 @@ export default {
this.trialInfos[index].amt = this.trialList[0].standPrem this.trialInfos[index].amt = this.trialList[0].standPrem
} }
if (item.productCode == 'GFRS_A0003' || item.productCode == 'GFRS_A0009') { if (item.productCode == 'GFRS_A0003' || item.productCode == 'GFRS_A0009'|| item.productCode == 'GFRS_A0010') {
this.trialInfos[index].amt = this.trialList[index].amt this.trialInfos[index].amt = this.trialList[index].amt
} }