From da0646b1b5ff07c2c95473adef23d11e98dac954 Mon Sep 17 00:00:00 2001
From: liyuetong
Date: Thu, 30 Sep 2021 14:20:01 +0800
Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E6=97=B6=E4=BA=A4?=
=?UTF-8?q?=E8=B4=B9=E6=9C=9F=E9=97=B4=E4=B8=BA=E4=B8=80=E6=AC=A1=E6=80=A7?=
=?UTF-8?q?=E4=BA=A4=E6=B8=85=E6=97=B6=EF=BC=8C=E5=9C=A8=E5=B0=B1=E6=98=AF?=
=?UTF-8?q?=E4=B8=AD=E4=BB=8B=E6=B8=A0=E9=81=93,=20=E9=99=84=E5=8A=A0?=
=?UTF-8?q?=E9=99=A9GFRS=5FA0007=EF=BC=8CGFRS=5FA0009=EF=BC=8CGFRS=5FA0010?=
=?UTF-8?q?=E5=8E=BB=E6=8E=89=E5=90=8E=EF=BC=8C=E9=99=84=E5=8A=A0=E9=99=A9?=
=?UTF-8?q?list=E5=B0=B1=E4=B8=BA=E7=A9=BA--=E9=9A=90=E8=97=8F=E9=99=84ico?=
=?UTF-8?q?n?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/ebiz/common/AddRiskList.vue | 2 +-
src/views/ebiz/common/CalculatePremium.vue | 18 +++++++++++-------
2 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/src/views/ebiz/common/AddRiskList.vue b/src/views/ebiz/common/AddRiskList.vue
index 595265cb7..64147d118 100644
--- a/src/views/ebiz/common/AddRiskList.vue
+++ b/src/views/ebiz/common/AddRiskList.vue
@@ -76,7 +76,7 @@ export default {
if (
currentMainRiskInfo.mainRiskPayEndYearFlag == 'Y' &&
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
}
diff --git a/src/views/ebiz/common/CalculatePremium.vue b/src/views/ebiz/common/CalculatePremium.vue
index e182082d8..0be402404 100644
--- a/src/views/ebiz/common/CalculatePremium.vue
+++ b/src/views/ebiz/common/CalculatePremium.vue
@@ -533,7 +533,7 @@ export default {
}
}
let payEndYearVal
- //初始化时交费期间为一次性交清时,在就是中介渠道, 附加险GFRS_A0007,GFRS_A0009去掉后,附加险list就为空--隐藏’附‘icon
+ //初始化时交费期间为一次性交清时,在就是中介渠道, 附加险GFRS_A0007,GFRS_A0009,GFRS_A0010去掉后,附加险list就为空--隐藏’附‘icon
item.calFactorLst.map((i) => {
if (i.code == 'payEndYear') {
if (i.payEndYear == '1000' && i.payEndYearFlag == 'Y') {
@@ -869,10 +869,10 @@ export default {
})
this.defalutAmt = 1
}
- //中介渠道,交费期间为一次性交清时,附加险GFRS_A0007,GFRS_A0009去掉后,附加险list就为空--隐藏’附‘icon
+ //中介渠道,交费期间为一次性交清时,附加险GFRS_A0007,GFRS_A0009,GFRS_A0010去掉后,附加险list就为空--隐藏’附‘icon
if (currentEle.code == 'payEndYear' && value.value == '1000') {
this.isEnterAddtionRiskListFunc()
- //交费期间为一次性交清时,清空豁免险GFRS_A0007,GFRS_A0009,并更新localStorage
+ //交费期间为一次性交清时,清空豁免险GFRS_A0007,GFRS_A0009,GFRS_A0010,并更新localStorage
this.isClearAddtionRiskListFunc()
} else if (this.chooseProducts[this.productIndex].mainRiskCode == 'GFRS_M0046') {
if (this.saleInsuredPersonInfo.relationToAppnt == 1) {
@@ -944,11 +944,11 @@ export default {
this.popupShow = false
},
- //交费期间为一次性交清时,清空豁免险GFRS_A0007,GFRS_A0009,并更新localStorage
+ //交费期间为一次性交清时,清空豁免险GFRS_A0007,GFRS_A0009,GFRS_A0010并更新localStorage
isClearAddtionRiskListFunc() {
let chooseProductsNew = []
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)
}
})
@@ -1141,13 +1141,13 @@ export default {
return false
}
},
- //中介渠道,交费期间为一次性交清时,附加险GFRS_A0007,GFRS_A0009去掉后,附加险list就为空--隐藏’附‘icon
+ //中介渠道,交费期间为一次性交清时,附加险GFRS_A0007,GFRS_A0009,GFRS_A0010去掉后,附加险list就为空--隐藏’附‘icon
isEnterAddtionRiskListFunc() {
let addtionRiskLst = JSON.parse(localStorage.addtionRiskLst)
if (addtionRiskLst) {
let list = []
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)
}
})
@@ -1475,7 +1475,11 @@ export default {
} else if (item.productCode == 'GFRS_A0010') {
//(被保险人)国富人寿附加豁免保险费重大疾病保险(B款)GFRS_A0010
//投被同人,不同人:被保人豁免险搭配两全时,可选责任为必选,豁免两全保费
+ if (showPrem001) {
showPrem = Number(showPrem001)
+ }else{
+ showPrem = Number(that.trialList[0].showPrem)
+ }
}
item.calFactorLst.map((item2) => {
if (item2.code == 'dutyGroup') {