【2022版学平险三款产品】校验主合同被保险人寿险职业等级

This commit is contained in:
li.yuetong
2022-05-25 17:38:41 +08:00
parent c9f88e1355
commit a9991d8db2
2 changed files with 42 additions and 1 deletions

View File

@@ -95,6 +95,16 @@ export default {
}
return false
},
//寿险等级对附加险的影响 标识--卡单
lifeGradeLimitCard(resultData, vm ,cuttentLifeGrade) {
let lifeGrade = resultData.productInsuredDTO.lifeGrade
if (lifeGrade == 0) return false
if (Number(cuttentLifeGrade) > Number(lifeGrade)) {
vm.$toast('寿险职业等级不适合此款险种,请选择其他险种!')
return true
}
return false
},
// 福宝宝产品寿险等级对主险影响
lifeGradeLimitForBaby(resultData, vm) {
let cuttentLifeGrade = this.getSaleInsuredInfo().lifeGrade