From ab3cb96ebe3b3134e897b002d1c0b3576f8aaa37 Mon Sep 17 00:00:00 2001
From: 吴羡 <16976746+Xian-TT3@user.noreply.gitee.com>
Date: 星期五, 18 九月 2026 15:23:45 +0800
Subject: [PATCH] Merge branch 'dev_天津_君歌化工new' of http://114.132.189.42:9002/r/product-inventory-management into dev_天津_君歌化工new
---
src/views/reportAnalysis/PSIDataAnalysis/components/left-bottom.vue | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/views/reportAnalysis/PSIDataAnalysis/components/left-bottom.vue b/src/views/reportAnalysis/PSIDataAnalysis/components/left-bottom.vue
index 65a72fe..b48f96a 100644
--- a/src/views/reportAnalysis/PSIDataAnalysis/components/left-bottom.vue
+++ b/src/views/reportAnalysis/PSIDataAnalysis/components/left-bottom.vue
@@ -29,6 +29,8 @@
import { rawMaterialPurchaseAmountRatio } from '@/api/viewIndex.js'
import { useChartBackground } from '@/hooks/useChartBackground.js'
+const dateRange = inject('psiDateRange', null)
+
const pieWrapperRef = ref(null)
const pieBackgroundRef = ref(null)
@@ -181,7 +183,7 @@
})
const fetchData = () => {
- rawMaterialPurchaseAmountRatio()
+ rawMaterialPurchaseAmountRatio(dateRange?.value || undefined)
.then((res) => {
if (res.code === 200 && Array.isArray(res.data)) {
const items = res.data
--
Gitblit v1.9.3