From 765dbf07a0ba2cadb7ca0ad6174601e67ac60ccc Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期二, 13 十月 2026 16:16:15 +0800
Subject: [PATCH] feat: 优化数值展示格式,去掉多余的结尾 0,统一金额和数量格式化

---
 src/views/reportAnalysis/PSIDataAnalysis/components/center-bottom.vue |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/views/reportAnalysis/PSIDataAnalysis/components/center-bottom.vue b/src/views/reportAnalysis/PSIDataAnalysis/components/center-bottom.vue
index f4e49b6..3a06632 100644
--- a/src/views/reportAnalysis/PSIDataAnalysis/components/center-bottom.vue
+++ b/src/views/reportAnalysis/PSIDataAnalysis/components/center-bottom.vue
@@ -132,8 +132,11 @@
   },
 }
 
+const dateRange = inject('psiDateRange', null)
+
 const fetchData = () => {
-  productInOutAnalysis({ type: productType.value })
+  const params = { type: productType.value, ...(dateRange?.value || {}) }
+  productInOutAnalysis(params)
     .then((res) => {
       if (res.code === 200 && Array.isArray(res.data)) {
         const list = res.data

--
Gitblit v1.9.3