From 12b411cd617a1f8d4ef7d03b2d0677f23515ce2f Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 30 十二月 2025 13:30:45 +0800
Subject: [PATCH] 1.双奇点-bug修改

---
 src/views/index.vue |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/views/index.vue b/src/views/index.vue
index 748fb14..b71caa1 100644
--- a/src/views/index.vue
+++ b/src/views/index.vue
@@ -287,7 +287,7 @@
 	formatter: function (params) {
 		// 鍔ㄦ�佺敓鎴愭彁绀轰俊鎭紝鍩轰簬鏁版嵁椤圭殑 name 灞炴��
 		const description = params.name === '鏈湀鍥炴閲戦' ? '鏈湀鍥炴閲戦' : '搴旀敹娆鹃噾棰�';
-		return `${description} ${formatNumber(params.value)}鍏� ${params.percent}%`;
+		return `${description} ${formattedNumber(params.value)}鍏� ${params.percent}%`;
 	},
 	position: 'right'
 })
@@ -365,6 +365,9 @@
 		businessInfo.value = {...res.data}
 	})
 }
+const formattedNumber = (row, column, cellValue) => {
+	return parseFloat(cellValue).toFixed(2);
+};
 // 鍚堝悓閲戦
 const analysisCustomer = () => {
 	analysisCustomerContractAmounts().then((res) => {

--
Gitblit v1.9.3