【建议书优化需求】不输入生日及姓名 试算界面无法反显产品

This commit is contained in:
lyt
2023-04-26 09:09:59 +08:00
committed by liu.xiaofeng@ebiz-digits.com
parent 9e7a8f29e0
commit e2c3ba5aa8

View File

@@ -533,7 +533,7 @@ export default {
appntDTO = res.orderDTO.appntDTO
insuredDTO = res.orderDTO.insuredDTOs[0]
}
let age = utilsAge.getAge(appntDTO.birthday, new Date())
let age = appntDTO.birthday?utilsAge.getAge(appntDTO.birthday, new Date()):appntDTO.age
CacheUtils.setLocItem('saleInsuredInfo',
JSON.stringify({
workcompany: appntDTO.workcompany,