diff --git a/src/views/ebiz/common/CalculatePremium.vue b/src/views/ebiz/common/CalculatePremium.vue index c7f267817..059857046 100644 --- a/src/views/ebiz/common/CalculatePremium.vue +++ b/src/views/ebiz/common/CalculatePremium.vue @@ -401,11 +401,15 @@ export default { console.log('currentFactor', currentFactor) console.log('currentEle', currentEle) - currentEle['columns'].forEach((item, index) => { - if (item.value == value.value) { - this.payEndYearColumnsIndex = index - } - }) + //如果需要填写的保费/保额校验规则跟缴费期间挂钩,当改变缴费期间时,将输入框的值恢复默认值1 + if (currentEle.code == 'payEndYear') { + currentEle['columns'].forEach((item, index) => { + if (item.value == value.value) { + this.payEndYearColumnsIndex = index + } + }) + this.defalutAmt = 1 + } console.log('payEndYearColumnsIndex == ', this.payEndYearColumnsIndex) if (currentEle.showContent != value.text) { @@ -1006,7 +1010,7 @@ export default { //万能型产品保费赋值给保额 //增加判断是否是从建议书跳转过来了的 if (localStorage.isFrom != 'proposal') { - if (this.trialList[index].productCode == 'GFRS_M0003' || 'GFRS_M0015') { + if (this.trialList[index].productCode == ('GFRS_M0003' || 'GFRS_M0015')) { // console.log('2222222222') riskItem['amt'] = this.trialList[index].prem } diff --git a/src/views/ebiz/sale/InsuranceInformation.vue b/src/views/ebiz/sale/InsuranceInformation.vue index 584f6c9f1..07ada33c5 100644 --- a/src/views/ebiz/sale/InsuranceInformation.vue +++ b/src/views/ebiz/sale/InsuranceInformation.vue @@ -273,7 +273,7 @@ export default { } }) } else { - url = this.productCode == 'GFRS_M0003' || 'GFRS_M0015' ? 'productTip' : 'insuranceTip' + url = this.productCode == ('GFRS_M0003' || 'GFRS_M0015') ? 'productTip' : 'insuranceTip' this.$jump({ flag: 'h5', extra: { @@ -407,7 +407,7 @@ export default { url = 'SignatureConfirmation' } else { // url = this.productCode == 'GFRS_M0003' ? 'productTip' : this.productCode == 'GFRS_M0015' ? 'productTip' : 'insuranceTip' - url = this.productCode == 'GFRS_M0003' || 'GFRS_M0015' ? 'productTip' : 'insuranceTip' + url = this.productCode == ('GFRS_M0003' || 'GFRS_M0015') ? 'productTip' : 'insuranceTip' } this.$jump({ flag: 'h5',