From 1c06a22fd79e05fbeaf01c0c2f27aef1b1f3febd Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 05 一月 2026 10:37:17 +0800
Subject: [PATCH] 双奇点 1.首页环状图应收款金额展示错误
---
src/views/index.vue | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/views/index.vue b/src/views/index.vue
index b71caa1..8292b85 100644
--- a/src/views/index.vue
+++ b/src/views/index.vue
@@ -366,7 +366,11 @@
})
}
const formattedNumber = (row, column, cellValue) => {
- return parseFloat(cellValue).toFixed(2);
+ // 濡傛灉鍙紶浜嗕竴涓弬鏁帮紝鐩存帴鏍煎紡鍖栬鍙傛暟
+ if (column === undefined && cellValue === undefined) {
+ return parseFloat(row).toFixed(2)
+ }
+ return parseFloat(cellValue).toFixed(2)
};
// 鍚堝悓閲戦
const analysisCustomer = () => {
--
Gitblit v1.9.3