From 01bd8d7b18b84843e53432d8405ff325def10b94 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期四, 15 十月 2026 09:08:51 +0800
Subject: [PATCH] feat: 更新金额格式化功能,统一使用四舍五入到两位小数并去掉多余的零

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