From 7e0ac356959af6c0264a257fa57bc8f0e1318c71 Mon Sep 17 00:00:00 2001
From: yaowanxin <3588231647@qq.com>
Date: 星期二, 30 十二月 2025 18:02:08 +0800
Subject: [PATCH] 区分入库管理,出库管理的成品出库导出

---
 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