受益人页面同投保人按钮 关联出婚姻状态代码逻辑修改

This commit is contained in:
liu.xiaofeng@ebiz-digits.com
2023-07-10 18:13:34 +08:00
parent caf6ce2296
commit c64641be7f

View File

@@ -1228,6 +1228,15 @@ export default {
if(this.userInfo.marriage == 1){
this.userInfo.marriageStatus = '已婚'
}
else if(this.userInfo.marriage == 2){
this.userInfo.marriageStatus = '未婚'
}
else if(this.userInfo.marriage == 3){
this.userInfo.marriageStatus = '离异'
}
else if(this.userInfo.marriage == 4){
this.userInfo.marriageStatus = '丧偶'
}
let age = utilsAge.getAge(insuredDetail.birthday, new Date())
this.effectiveDateTypeAble = age <= 45
if (age > 45) {