From 5cfebd7e46c0c53f79b5fb4a917e926194ab4398 Mon Sep 17 00:00:00 2001
From: 张诺 <zhang_12370@163.com>
Date: 星期五, 24 四月 2026 14:19:14 +0800
Subject: [PATCH] feat(生产订单): 完善绑定工艺路线弹窗功能及文件预览组件
---
src/views/reportAnalysis/financialAnalysis/components/center-top.vue | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/views/reportAnalysis/financialAnalysis/components/center-top.vue b/src/views/reportAnalysis/financialAnalysis/components/center-top.vue
index 85f4928..741778e 100644
--- a/src/views/reportAnalysis/financialAnalysis/components/center-top.vue
+++ b/src/views/reportAnalysis/financialAnalysis/components/center-top.vue
@@ -157,15 +157,15 @@
const formatAmountWanNumber = (val) => {
const num = Number(val) || 0
if (Math.abs(num) >= 10000) {
- return (num / 10000).toFixed(2)
+ return (num / 10000).toFixed(3)
}
- return num.toFixed(2)
+ return num.toFixed(3)
}
const formatPercent = (val) => {
const num = Number(val) || 0
// 鐧惧垎姣斿睍绀哄缁堢敤缁濆鍊硷紝灏忔暟淇濈暀涓や綅
- return `${Math.abs(num).toFixed(2)}%`
+ return `${Math.abs(num).toFixed(3)}%`
}
const metricClass = (metric) => {
--
Gitblit v1.9.3