From a499fc3e1359e1516da49d877fba8f5c910fcbe2 Mon Sep 17 00:00:00 2001 From: dwq <15731277156@163.com> Date: Tue, 13 Jul 2021 09:48:12 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=B8=AD=E4=BB=8B=E6=B8=A0=E9=81=93-?= =?UTF-8?q?=E5=85=AB=E6=A1=82=E6=97=A0=E5=BF=A7D=E3=80=91=20=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E9=99=84=E5=8A=A0=E9=95=BF=E9=99=A9=EF=BC=8C=E4=BF=AE?= =?UTF-8?q?=E6=94=B9-=E4=BC=9A=E6=9C=89=E5=BC=B9=E7=AA=97=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/common/CalculatePremium.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/ebiz/common/CalculatePremium.vue b/src/views/ebiz/common/CalculatePremium.vue index 1fc0ec3db..2d3c95fbb 100644 --- a/src/views/ebiz/common/CalculatePremium.vue +++ b/src/views/ebiz/common/CalculatePremium.vue @@ -1443,7 +1443,7 @@ export default { if (risks[i].calFactorLst[j].code === 'insuYear') { if (((risks[i].calFactorLst[j].insuYearFlag == 'Y' && risks[i].calFactorLst[j].insuYear > 1) || risks[i].calFactorLst[j].insuYearFlag == 'A') - &&risks[i].productCode!='GFRS_A0009'&&risks[i].productCode!='GFRS_A0010') { + &&risks[i].productCode!='GFRS_A0010') { longRisks.push(risks[i].productCode); } } @@ -1451,7 +1451,7 @@ export default { } if((this.chooseProducts.length==2&&this.chooseProducts[1].productCode=='GFRS_A0010') ||(this.chooseProducts.length==3&&JSON.stringify(this.chooseProducts).includes("GFRS_A0010")&&JSON.stringify(this.chooseProducts).includes("GFRS_A0009")) - ||longRisks.length<=0){ + ||(longRisks.length<=0&&this.chooseProducts.length>1)){ Dialog.alert({ title: '提示', message: '当前未投保其他长险附加险,将删除该险种重新选择附加险!' @@ -1464,12 +1464,12 @@ export default { // this.nextStepFlag = true } if(this.chooseProducts.length==3&&JSON.stringify(this.chooseProducts).includes("GFRS_A0010")&&JSON.stringify(this.chooseProducts).includes("GFRS_A0009") - ||longRisks.length<=0){ + ||(longRisks.length<=0&&this.chooseProducts.length>1)){ this.$toast('当前未投保其他长险附加险,请删除该险种重新选择附加险!') this.nextStepFlag = true this.chooseProducts.splice(1, 2) - localStorage.chooseProducts = JSON.stringify(this.chooseProducts) - this.getTrial() + localStorage.chooseProducts = JSON.stringify(this.chooseProducts) + // this.getTrial() } } localStorage.chooseProducts = JSON.stringify(this.chooseProducts)