diff --git a/src/views/ebiz/proposal/ProposalInfo.vue b/src/views/ebiz/proposal/ProposalInfo.vue index 216fcba85..d0850f53c 100644 --- a/src/views/ebiz/proposal/ProposalInfo.vue +++ b/src/views/ebiz/proposal/ProposalInfo.vue @@ -201,14 +201,28 @@
{{ moneyItem.contentLabel }}
-
- {{ moneyItem.value | numFormat2 }}{{ moneyItem.content | productRateUnit }} +
+
+ {{ moneyItem.value | numFormat3 }}{{ moneyItem.content | productRateUnit }} +
+
+ {{ moneyItem.value | numFormatNo }}{{ moneyItem.content | productRateUnit }} +
-
- {{ moneyItem.value | numFormatNo }}{{ moneyItem.content | productRateUnit }} +
+
+ {{ moneyItem.value | numFormat2 }}{{ moneyItem.content | productRateUnit }} +
+
+ {{ moneyItem.value | numFormatNo }}{{ moneyItem.content | productRateUnit }} +
+ +
@@ -444,7 +458,8 @@ export default { time: 5, proposalNo: '', mainRiskName: '', - ispremshow: true // 是否展示保额 + ispremshow: true, // 是否展示保额 + specialCode: '', } }, filters: { @@ -465,6 +480,13 @@ export default { return '-' } }, + numFormat3(str) { + if (str) { + return Number(str.replace(/,/g, '')).toFixed(1) + } else { + return '-' + } + }, numFormatNo(str) { if (str) { return Number(str.replace(/,/g, '')).toFixed(0) @@ -791,6 +813,7 @@ export default { this.pageShowInfo.appntDTO = res.content.orderDTO.appntDTO this.pageShowInfo.insuredDTOs = res.content.orderDTO.insuredDTOs this.pageShowInfo.showInsuredDTO = this.pageShowInfo.insuredDTOs[0] + this.specialCode = this.pageShowInfo.showInsuredDTO.riskDTOLst[0].mainRiskCode let mainRiskNameList = [] that.pageShowInfo.insuredDTOs.forEach((item) => { item.riskDTOLst.forEach((item01) => {