From ecf10aca225855dc32c2fceb585343600bf15d0c Mon Sep 17 00:00:00 2001 From: dwq <15731277156@163.com> Date: Wed, 7 Jul 2021 16:29:38 +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=E8=A2=AB?= =?UTF-8?q?=E4=BF=9D=E4=BA=BA=E9=87=8D=E7=96=BEB=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/common/AddRiskList.vue | 10 ++++ src/views/ebiz/common/CalculatePremium.vue | 53 +++++++++++++++++++--- src/views/ebiz/product/ProductDetail.vue | 4 ++ src/views/ebiz/proposal/ProposalInfo.vue | 2 +- 4 files changed, 62 insertions(+), 7 deletions(-) diff --git a/src/views/ebiz/common/AddRiskList.vue b/src/views/ebiz/common/AddRiskList.vue index f3fe0b8c6..52bb386db 100644 --- a/src/views/ebiz/common/AddRiskList.vue +++ b/src/views/ebiz/common/AddRiskList.vue @@ -188,6 +188,16 @@ export default { // } /********start 附加险选择限制 start******/ + //判断被保 八桂D + /* let mainRisk = JSON.parse(this.$CacheUtils.getLocItem('chooseProducts'))[0]; + let mainRiskCode = mainRisk.productCode; + let addRiskCodes = localStorage.addRiskCodes && JSON.parse(localStorage.addRiskCodes) + if(mainRiskCode =='GFRS_M0044'||mainRiskCode =='GFRS_M0051'){ + if(this.result.productCode=='GFRS_A0010'&&(addRiskCodes.length==0||addRiskCodes[0]=='GFRS_A0010')){ + this.$toast('当前未投保其他长险附加险,不可附加该险种!') + return true + } + }*/ //豁免险与其他附加险年龄险种 if (resultData.productTrialInfoDTO.isRemit == '0' && resultData.productTrialInfoDTO.remitType == '0') { if (riskRules.ageLimit(resultData, this, 1)) { diff --git a/src/views/ebiz/common/CalculatePremium.vue b/src/views/ebiz/common/CalculatePremium.vue index f4a6a2443..6a73834fd 100644 --- a/src/views/ebiz/common/CalculatePremium.vue +++ b/src/views/ebiz/common/CalculatePremium.vue @@ -77,13 +77,13 @@