GFRS-729【0326】国富人寿国富民安重大疾病保险(2020版) 责任校验处理 --提交人:阳华祥

This commit is contained in:
阳华祥
2020-03-11 17:25:10 +08:00
parent f6f458d968
commit 28df6cec0a

View File

@@ -1164,6 +1164,24 @@ export default {
}
}
}
//GFRS_A0004需要验证责任
for (let m = 0; m < this.chooseProducts.length; m++) {
if (this.chooseProducts[m].productCode == 'GFRS_A0004') {
let showHint = this.chooseProducts[m].hint
let calFactorLst = this.chooseProducts[m].calFactorLst
for (let i = 0; i < calFactorLst.length; i++) {
if (calFactorLst[i].code === 'dutyGroup') {
let duties = calFactorLst[i].rules
for (let j = 0; j < duties.length; j++) {
let item = duties[j]
if (!this.valiA0004Duty(item.defaultDutyAmt, showHint, item)) {
return
}
}
}
}
}
}
//组装险种提交数据
let [mainRiskCode, riskDTOLst] = ['', []]