diff --git a/src/views/ebiz/proposal/ProposalInfo.vue b/src/views/ebiz/proposal/ProposalInfo.vue index aaf823e0a..057ca348d 100644 --- a/src/views/ebiz/proposal/ProposalInfo.vue +++ b/src/views/ebiz/proposal/ProposalInfo.vue @@ -66,26 +66,26 @@ -
养老计划
-
-
+
养老计划
+
+
投保险种
养老保险金开始领取年龄
养老保险金领取方式
保证给付期
每次养老保险金(元)
-
-
+
+
{{ riskItem.riskName }}
{{ riskItem.pensionAge}} 周岁
{{ riskItem.receivePensionWay == '0' ? '年领':'月领'}}
{{ riskItem.guaranteedYear}} 年
- {{ yearPension }} + {{ riskItem.amt}}
- {{ monthPension }} + {{ riskItem.amt | fillNumber }}
@@ -381,9 +381,6 @@ export default { mainRiskCodes: [], time: 5, proposalNo:'', - isPension: false, //是否是养老年金 - monthPension: 0, //月领养老金额 - yearPension: 0,//年领养老金额 } }, filters: { @@ -403,7 +400,11 @@ export default { } else { return '-' } - } + }, + fillNumber(val) { + // 小于10,在前面补0 + return Number(val*0.085).toFixed(2) + }, }, mounted() { setTimeout(() => { @@ -653,6 +654,7 @@ export default { orderDTO.insuredDTOs.forEach(v => { //根据数据字典 获取当前值 v.age = getAge.getAge(v.birthdayLabel, new Date()) + v.riskDTOLstNew = [] v.riskDTOLst.forEach(risk => { if (risk.isMainRisk == '0') { that.mainRiskCodes.push(risk.riskCode) @@ -677,11 +679,7 @@ export default { } // todo责任显示处理 if(risk.riskCode == 'GFRS_M0053'){ - this.isPension = true; - //计算养老金领取金额 - this.monthPension = Number(risk.amt*0.085).toFixed(2); //月领养老金额 - - this.yearPension = risk.amt;//年领养老金额 + v.riskDTOLstNew.push(risk) } }) })