From 3eeabcec98cf8c025983ee0cf10ea597c988d736 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9A=AE=E4=BC=9F?= Date: Mon, 25 Nov 2019 09:55:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E4=BB=A3=E7=A0=81bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/common/MainRiskList.vue | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/views/ebiz/common/MainRiskList.vue b/src/views/ebiz/common/MainRiskList.vue index 84d39775b..1eb3a64fc 100644 --- a/src/views/ebiz/common/MainRiskList.vue +++ b/src/views/ebiz/common/MainRiskList.vue @@ -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)) {