From ee7fba89fc1fd19a1c6da054b2796fdaeecff145 Mon Sep 17 00:00:00 2001 From: "liu.xiaofeng@ebiz-digits.com" Date: Tue, 21 Nov 2023 16:20:21 +0800 Subject: [PATCH] =?UTF-8?q?=E9=91=AB=E7=AE=A1=E5=AE=B6B=E6=AC=BE=E7=BB=88?= =?UTF-8?q?=E8=BA=AB=E5=AF=BF=E9=99=A9=EF=BC=88=E4=B8=87=E8=83=BD=E5=9E=8B?= =?UTF-8?q?=EF=BC=89=E6=B8=85=E7=A9=BA=E5=85=B3=E8=81=94=E7=9A=84=E4=BF=9D?= =?UTF-8?q?=E5=8D=95=E6=97=B6=20=E9=87=8D=E7=BD=AE=E4=BF=9D=E8=B4=B9?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/common/CalculatePremium.vue | 23 +++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/src/views/ebiz/common/CalculatePremium.vue b/src/views/ebiz/common/CalculatePremium.vue index ed9c2e362..d2bc56dc9 100644 --- a/src/views/ebiz/common/CalculatePremium.vue +++ b/src/views/ebiz/common/CalculatePremium.vue @@ -2004,6 +2004,27 @@ //试算 async getTrial() { let that = this + let productCode = localStorage.trialList == '' ? '' : JSON.parse(localStorage.trialList)[0].productCode + if(productCode == 'GFRS_M0083'){ + if(!that.policyNo){ + that.chooseProducts.forEach(item=>{ + item.calFactorLst.forEach(ii=>{ + if(ii.type == 1 && ii.displayAmount <5) { + ii.minPrem = 5 + ii.displayAmount = 5 + } + }) + }) + } else { + that.chooseProducts.forEach(item=>{ + item.calFactorLst.forEach(ii=>{ + if(ii.type == 1) { + ii.minPrem = 0.01 + } + }) + }) + } + } this.nextStepFlag = true this.$toast.clear() this.$toast.loading({ @@ -2660,7 +2681,7 @@ if(!this.policyNo && defalutValue < 5) { this.$toast('单独投保,保费为大于等于50000元') currentEle['minPrem'] = 5 - } else if(this.policyNo) { + } else if(this.policyNo && defalutValue < 0.01) { this.$toast('与其他主险关联投保时保费要求:保费大于等于100元') currentEle['minPrem'] = 0.01 }