更改代码bug

This commit is contained in:
皮伟
2019-11-25 09:55:50 +08:00
parent c96651c8b9
commit 3eeabcec98

View File

@@ -97,12 +97,14 @@ export default {
let resultData = await calculatePremium({ productCodes: [riskProductCode], platform: 'app', type: '1' })
if (resultData.result == 0) {
resultData = resultData.trialDTOS[0]
if (resultData.productTrialInfoDTO.dutyGroup != null) {
resultData.productTrialInfoDTO.dutyGroup.map(item => {
if (item.dutyName == '意外身故/伤残保险金') {
item.defaultDutyAmt = '50'
}
})
}
resultData.productTrialInfoDTO.dutyGroup.map(item => {
if (item.dutyName == '意外身故/伤残保险金') {
item.defaultDutyAmt = '50'
}
})
/********start 主险选择限制 start******/
if (riskRules.ageLimit(resultData, this)) {