From 5022e805982370412c16d3b630780595fe9f6cb1 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 05 一月 2026 09:51:27 +0800
Subject: [PATCH] 双奇点 1.修改采购、销售相关字段
---
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