【世纪无忧重疾交费至60/70周岁时,不可附加两全险】重新调用保额变化后的规则,规则不通过的话,就不继续执行

This commit is contained in:
li.yuetong
2022-03-17 15:05:58 +08:00
parent 91fb03be77
commit 28217fbd3d
2 changed files with 31 additions and 8 deletions

View File

@@ -484,7 +484,9 @@ export default {
//按年龄选择
if (productTrialInfoDTO[item.code] != null) {
productTrialInfoDTO[item.code].forEach(factor => {
item = Object.assign(item, 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)
}
})
if (item.code == 'inputPrem') {
item['inputPrem'] = Number(item.minPrem) * Number(item.moneyUnit)