From b439d99d55f594cd56cf06463a9f328812e25df4 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期二, 20 十月 2026 00:25:39 +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