From a9709acb9a3f8d64fa933ed3282b0a1762116abb Mon Sep 17 00:00:00 2001 From: liyuetong Date: Fri, 28 May 2021 18:13:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E6=97=B6=E5=8F=96?= =?UTF-8?q?=E4=BA=A4=E8=B4=B9=E6=9C=9F=E9=97=B4=E7=9A=84=E5=80=BC=EF=BC=8C?= =?UTF-8?q?=E5=80=BC=E5=86=8D=E5=8E=BB=E5=AF=B9=E5=BA=94productTrialYearDT?= =?UTF-8?q?OS=E4=B8=AD=E7=9A=84=E7=AC=AC=E5=87=A0=E6=9D=A1=E8=A7=84?= =?UTF-8?q?=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/common/CalculatePremium.vue | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/src/views/ebiz/common/CalculatePremium.vue b/src/views/ebiz/common/CalculatePremium.vue index 099f30833..6ade3124c 100644 --- a/src/views/ebiz/common/CalculatePremium.vue +++ b/src/views/ebiz/common/CalculatePremium.vue @@ -27,7 +27,7 @@
{{ riskFactor.name + '(' + riskFactor.suffix + ')' }} {{ riskFactor.name }}       - +
- +
@@ -450,6 +450,7 @@ export default { //初始化数据 init() { // 获取是否从建议书过来的 + let that = this this.isFrom = localStorage.isFrom //获取投保人信息 if (this.$CacheUtils.getLocItem('saleInsuredInfo')) { @@ -473,14 +474,25 @@ export default { } }) } + + let payEndYearVal //初始化时交费期间为一次性交清时,在就是中介渠道, 附加险GFRS_A0007,GFRS_A0009去掉后,附加险list就为空--隐藏’附‘icon item.calFactorLst.map(i => { if (i.code == 'payEndYear') { if (i.payEndYear == '1000' && i.payEndYearFlag == 'Y') { this.isEnterAddtionRiskListFunc() } + //初始化时取交费期间的值 + payEndYearVal = i.showContent } }) + //初始化时取交费期间的值,值再去对应productTrialYearDTOS中的第几条规则 + item.productTrialYearDTOS.forEach((item, index) => { + if (payEndYearVal == item.yearWay + '年交') { + that.payEndYearColumnsIndex = index + } + }) + // if (item.productCode == 'GFRS_A0003') { // //该附加险的责任保额=主险的保费 // item.calFactorLst.map(v => { @@ -1241,7 +1253,7 @@ export default { this.chooseProducts.map(item => { item.calFactorLst.map(i => { if (i.code == 'payEndYear') { - payEndYearVal = code.showContent + payEndYearVal = i.showContent } }) })