mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 12:46:43 +08:00
【孝心保B款】根据年龄对应年龄段的投保规则,在MainRiskList脚本构建险种因子列表方法中修改
This commit is contained in:
@@ -489,7 +489,10 @@ export default {
|
||||
//按年龄选择
|
||||
if (productTrialInfoDTO[item.code] != null) {
|
||||
productTrialInfoDTO[item.code].forEach(factor => {
|
||||
// item = Object.assign(item, factor)
|
||||
if(JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).age >= Number(factor.minAge) && JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).age <= Number(factor.maxAge)){
|
||||
item = Object.assign(item, factor)
|
||||
}
|
||||
})
|
||||
if (item.code == 'inputPrem') {
|
||||
item['inputPrem'] = Number(item.minPrem) * Number(item.moneyUnit)
|
||||
|
||||
Reference in New Issue
Block a user