[FIX]富娃娃万能险-修改缴费期间后,将输入保费恢复默认值

This commit is contained in:
yuweiqi
2020-01-20 16:25:48 +08:00
parent e4c4bf738e
commit 88dcc8f3e6
2 changed files with 12 additions and 8 deletions

View File

@@ -401,11 +401,15 @@ export default {
console.log('currentFactor', currentFactor)
console.log('currentEle', currentEle)
//如果需要填写的保费/保额校验规则跟缴费期间挂钩当改变缴费期间时将输入框的值恢复默认值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
}

View File

@@ -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',