【建议书优化需求】建议书拷贝功能

This commit is contained in:
lyt
2023-04-20 18:20:51 +08:00
committed by liu.xiaofeng@ebiz-digits.com
parent 89e426ffe2
commit 4c51a95b01
6 changed files with 8 additions and 7 deletions

View File

@@ -49,9 +49,9 @@ export default {
tips = '投保人年龄不适合此款险种,请选择其他险种!'
} else {
if(riskProductCode == 'GFRS_M0061'){
age = utilsAge.getAge29(this.getSaleInsuredPersonInfo().birthday, new Date())
age = this.getSaleInsuredPersonInfo().birthday?utilsAge.getAge29(this.getSaleInsuredPersonInfo().birthday, new Date()):this.getSaleInsuredPersonInfo().insuredAge
}else{
age = utilsAge.getAgeByValue(this.getSaleInsuredPersonInfo().birthday, new Date())
age = this.getSaleInsuredPersonInfo().birthday?utilsAge.getAgeByValue(this.getSaleInsuredPersonInfo().birthday, new Date()):this.getSaleInsuredPersonInfo().insuredAge
}
tips = '被保险人年龄不适合此款险种,请选择其他险种!'
}