【国富人寿】卡单万福卡保障方案年龄限制逻辑添加

(cherry picked from commit 96a18a2125)
This commit is contained in:
liu.xiaofeng@ebiz-digits.com
2023-05-25 17:33:34 +08:00
parent 362adfca61
commit 774bfc937d

View File

@@ -2053,6 +2053,20 @@ export default {
return this.$toast('被保险人的年龄不可以超过65周岁')
}
}
else if (this.itemProductDTOS.productCode === 'GFRS_M0071') {
console.log(this.proSchemeCode)
if (this.proSchemeCode == '068645010198') {
if (insuredAge < 10) {
return this.$toast('被保险人的年龄需要大于10岁')
}
}
if (insuredAge < 0) {
return this.$toast('被保险人的年龄需要大于28天')
}
if (insuredAge > 65) {
return this.$toast('被保险人的年龄不可以超过65周岁')
}
}
//投保人需大于等于 18 周岁
// if (age < 18) {