From af144a360c3acabd024f2fb0f42ca68a6ae69528 Mon Sep 17 00:00:00 2001 From: xuxingjun Date: Wed, 25 Dec 2024 16:12:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BB=BA=E8=AE=AE=E4=B9=A6=E9=A2=84=E8=A7=88?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/proposal/ProposalInfo.vue | 37 +++++++++++++++++++----- 1 file changed, 30 insertions(+), 7 deletions(-) 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) => {