mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 08:06:44 +08:00
【建议书优化需求】修改年龄 职业的话不会有任何提示 也不会删除险种
This commit is contained in:
@@ -76,6 +76,7 @@ import getAge from '@/assets/js/utils/age.js'
|
||||
import beforeDate from '@/assets/js/utils/getBeforeDate.js'
|
||||
import { checkSex, checkRelation } from './rule'
|
||||
import utils from '@/assets/js/utils/date-utils'
|
||||
import CacheUtils from '@/assets/js/utils/cacheUtils'
|
||||
|
||||
export default {
|
||||
data() {
|
||||
@@ -196,6 +197,11 @@ export default {
|
||||
let sex = this.insured.sex == '0'?'男':'女'
|
||||
this.insured.name = sex+this.insured.insuredAge+'岁'
|
||||
}
|
||||
let chooseProductCodes = []
|
||||
this.insured.riskDTOLst.forEach(item => {
|
||||
chooseProductCodes.push(item.mainRiskCode)
|
||||
})
|
||||
CacheUtils.setLocItem('chooseProductCodes',JSON.stringify(chooseProductCodes))
|
||||
}
|
||||
},
|
||||
// //设置被保险人年龄显示 如果this.insured.age为 -1时显示为空,不为1时显示为正常输入值
|
||||
|
||||
Reference in New Issue
Block a user