From 79ba105fc2452a1c5ff6d4c496bb689d7d80bd72 Mon Sep 17 00:00:00 2001
From: zhang_nuo <zhang_12370@163.com>
Date: 星期二, 25 八月 2026 17:36:37 +0800
Subject: [PATCH] feat[reportManagement]: 移除半成品相关展示模块

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

diff --git a/src/views/reportAnalysis/PSIDataAnalysis/components/center-center.vue b/src/views/reportAnalysis/PSIDataAnalysis/components/center-center.vue
index 6e39eb1..916c089 100644
--- a/src/views/reportAnalysis/PSIDataAnalysis/components/center-center.vue
+++ b/src/views/reportAnalysis/PSIDataAnalysis/components/center-center.vue
@@ -31,6 +31,8 @@
 import Echarts from '@/components/Echarts/echarts.vue'
 import { productTurnoverDays } from '@/api/viewIndex.js'
 
+const dateRange = inject('psiDateRange', null)
+
 const chartStyle = { width: '100%', height: '100%' }
 const grid = { left: '3%', right: '4%', bottom: '3%', top: '4%', containLabel: true }
 const barLegend = { show: false, textStyle: { color: '#B8C8E0' }, data: ['鍛ㄨ浆澶╂暟'] }
@@ -69,7 +71,7 @@
 const yAxis1 = [{ type: 'value', axisLabel: { color: '#B8C8E0' } }]
 
 const fetchData = () => {
-  productTurnoverDays()
+  productTurnoverDays(dateRange?.value || undefined)
     .then((res) => {
       if (res.code === 200 && Array.isArray(res.data)) {
         const list = res.data

--
Gitblit v1.9.3