From 570cc88b30c2a7576e14cc70a73347565fabe97a Mon Sep 17 00:00:00 2001 From: "liu.xiaofeng@ebiz-digits.com" Date: Sun, 24 Dec 2023 15:12:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AC=E4=BA=A7=E5=93=81=E5=BB=BA=E8=AE=AE?= =?UTF-8?q?=E2=80=9C=E4=BF=9D=E8=87=B370=E5=91=A8=E5=B2=81=E2=80=9D?= =?UTF-8?q?=E7=9A=84=E6=96=B9=E6=A1=8820=E4=B8=87=E4=BF=9D=E9=A2=9D?= =?UTF-8?q?=E8=B5=B7=E6=8A=95=EF=BC=9B=E2=80=9C=E4=BF=9D=E8=87=B3=E7=BB=88?= =?UTF-8?q?=E8=BA=AB=E2=80=9D=E7=9A=84=E6=96=B9=E6=A1=8810=E4=B8=87?= =?UTF-8?q?=E4=BF=9D=E9=A2=9D=E8=B5=B7=E6=8A=95=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/common/CalculatePremium.vue | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/src/views/ebiz/common/CalculatePremium.vue b/src/views/ebiz/common/CalculatePremium.vue index 59e004bfc..3b655c7af 100644 --- a/src/views/ebiz/common/CalculatePremium.vue +++ b/src/views/ebiz/common/CalculatePremium.vue @@ -1050,11 +1050,41 @@ }, //确认选择字段 async onConfirm(value) { + console.log(value) this.columns = [] this.popupShow = false // let productCode = this.chooseProducts[this.productIndex].productCode let currentFactor = this.chooseProducts[this.productIndex].calFactorLst let currentEle = currentFactor[this.calFactorIndex] + console.log(currentEle.code) + if(currentEle.code == 'insuYear'){ + if(value.value == '70') { + console.log(this.chooseProducts) + this.chooseProducts.forEach((item, index) => { + if (item.mainRiskCode == 'GFRS_M0086') { + item.calFactorLst.forEach((i) => { + if (i.code == "inputAmt") { + console.log(i) + i.displayAmount = 20 + i.defaultValue = 20 + } + }) + } + }) + } else if(value.value == '106') { + this.chooseProducts.forEach((item, index) => { + if (item.mainRiskCode == 'GFRS_M0086') { + item.calFactorLst.forEach((i) => { + if (i.code == "inputAmt") { + console.log(i) + i.displayAmount = 10 + i.defaultValue = 10 + } + }) + } + }) + } + } // let sex = this.saleInsuredPersonInfo.sex //0男 1女 // //特殊设置:如果需要填写的保费/保额校验规则跟缴费期间挂钩,当改变缴费期间时,将输入框的值恢复默认值1