mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-13 07:16:43 +08:00
【国富人寿】试算页面 下一步在职业码表中赋值与入参的健康等级与寿险等级
This commit is contained in:
@@ -230,4 +230,3 @@ export default {
|
||||
522732:'三都水族自治县'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -364,6 +364,7 @@ import { trial } from '@/api/ebiz/common/common'
|
||||
import { saveOrUpdateOrderInfo, getOrderDetail,orderTrial } from '@/api/ebiz/sale/sale'
|
||||
import { saveProposal,saveOrUpdateTrialRecordInfo,getTrialRecordInfo } from '@/api/ebiz/proposal/proposal.js'
|
||||
import { getAgentInfo } from '@/api/ebiz/my/my.js'
|
||||
import occupationList from '@/components/ebiz/occipation/data/occupation'
|
||||
|
||||
//险种GFRS_M0016的责任的验证规则
|
||||
//默认 最低基本保险金额min 10000 整数倍要求mutiple 1000
|
||||
@@ -2773,6 +2774,21 @@ export default {
|
||||
}
|
||||
|
||||
let resultData
|
||||
let collect = (data,itemData) => {
|
||||
data.forEach(item => {
|
||||
if (item.code == itemData.occupationCode) {
|
||||
itemData.healthGrade = item.healthGrade
|
||||
itemData.lifeGrade = item.lifeGrade
|
||||
} else {
|
||||
if (item.subs && item.subs.length != 0) {
|
||||
collect(item.subs,itemData)
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
params.orderDTO.insuredDTOs.forEach(item => {
|
||||
collect(occupationList,item.occupationCode)
|
||||
})
|
||||
if (localStorage.isFrom == 'proposal') {
|
||||
// 从建议书进入, 豁免险保费空值特殊处理
|
||||
let prdCodes = ['GFRS_A0001', 'GFRS_A0007']
|
||||
|
||||
Reference in New Issue
Block a user