diff --git a/src/views/ebiz/proposal/ProposalInfo.vue b/src/views/ebiz/proposal/ProposalInfo.vue index adcd1178c..2d34a5e42 100644 --- a/src/views/ebiz/proposal/ProposalInfo.vue +++ b/src/views/ebiz/proposal/ProposalInfo.vue @@ -199,7 +199,11 @@
{{ moneyItem.contentLabel }}
-
+
+ {{ moneyItem.value | numFormat2 }}{{ moneyItem.content | productRateUnit }} +
+
{{ moneyItem.value | numFormatNo }}{{ moneyItem.content | productRateUnit }}
@@ -395,6 +399,13 @@ export default { numFormat(str) { return str.replace(/\.00/, '') }, + numFormat2(str) { + if (str) { + return Number(str.replace(/,/g, '')).toFixed(2) + } else { + return '-' + } + }, numFormatNo(str) { if (str) { return Number(str.replace(/,/g, '')).toFixed(0)