mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 19:06:43 +08:00
【世纪无忧重疾交费至60/70周岁时,不可附加两全险】重新调用保额变化后的规则,规则不通过的话,就不继续执行
This commit is contained in:
@@ -980,10 +980,32 @@ export default {
|
|||||||
if (currentEle.hasFlag) {
|
if (currentEle.hasFlag) {
|
||||||
currentEle[name + 'Flag'] = value.flag
|
currentEle[name + 'Flag'] = value.flag
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let riskFactor,riskFactorIndex
|
||||||
|
let productIndex = 0 //写死主险
|
||||||
|
this.chooseProducts[0].calFactorLst.forEach((item,index) => {
|
||||||
|
if(item.code == 'inputAmt'){
|
||||||
|
riskFactor = item
|
||||||
|
riskFactorIndex = index
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
//重新调用保额变化后的规则,规则不通过的话,就不继续执行
|
||||||
|
let isContinue = this.stepperChange(
|
||||||
|
riskFactor.displayAmount,
|
||||||
|
productIndex,
|
||||||
|
riskFactorIndex,
|
||||||
|
riskFactor.minAmt || riskFactor.minPrem,
|
||||||
|
riskFactor.maxAmt || riskFactor.maxPrem,
|
||||||
|
riskFactor
|
||||||
|
)
|
||||||
|
|
||||||
|
if(isContinue != false){
|
||||||
// this.hiddenPayEndYear(currentEle)
|
// this.hiddenPayEndYear(currentEle)
|
||||||
//特殊规则:设置豁免险
|
//特殊规则:设置豁免险
|
||||||
this.getTrial()
|
this.getTrial()
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
//交费期间为一次性交清时,清空豁免险GFRS_A0007,GFRS_A0009,GFRS_A0010并更新localStorage
|
//交费期间为一次性交清时,清空豁免险GFRS_A0007,GFRS_A0009,GFRS_A0010并更新localStorage
|
||||||
isClearAddtionRiskListFunc() {
|
isClearAddtionRiskListFunc() {
|
||||||
@@ -1029,7 +1051,7 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
//重新调用保额变化后的规则TODO
|
//重新调用保额变化后的规则,规则不通过的话,就不继续执行
|
||||||
let isContinue = this.stepperChange(
|
let isContinue = this.stepperChange(
|
||||||
riskFactor.displayAmount,
|
riskFactor.displayAmount,
|
||||||
productIndex,
|
productIndex,
|
||||||
@@ -1039,9 +1061,7 @@ export default {
|
|||||||
riskFactor
|
riskFactor
|
||||||
)
|
)
|
||||||
|
|
||||||
console.log(isContinue,'isContinue')
|
|
||||||
if(isContinue != false){
|
if(isContinue != false){
|
||||||
console.log("验证责任")
|
|
||||||
this.valiAndSend(dutyItem, productIndex)
|
this.valiAndSend(dutyItem, productIndex)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -2344,6 +2364,7 @@ export default {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (Number(defalutValue) < Number(min) || Number(defalutValue) > Number(max)) {
|
if (Number(defalutValue) < Number(min) || Number(defalutValue) > Number(max)) {
|
||||||
|
// 54
|
||||||
this.$toast(showHint)
|
this.$toast(showHint)
|
||||||
this.nextStepFlag = true
|
this.nextStepFlag = true
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -484,7 +484,9 @@ export default {
|
|||||||
//按年龄选择
|
//按年龄选择
|
||||||
if (productTrialInfoDTO[item.code] != null) {
|
if (productTrialInfoDTO[item.code] != null) {
|
||||||
productTrialInfoDTO[item.code].forEach(factor => {
|
productTrialInfoDTO[item.code].forEach(factor => {
|
||||||
|
if(JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).age >= factor.minAge && JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).age <= factor.maxAge){
|
||||||
item = Object.assign(item, factor)
|
item = Object.assign(item, factor)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
if (item.code == 'inputPrem') {
|
if (item.code == 'inputPrem') {
|
||||||
item['inputPrem'] = Number(item.minPrem) * Number(item.moneyUnit)
|
item['inputPrem'] = Number(item.minPrem) * Number(item.moneyUnit)
|
||||||
|
|||||||
Reference in New Issue
Block a user