From 9aae2af6f3937a7d99ec619b51f457002cef969f Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 03 十一月 2025 14:29:37 +0800
Subject: [PATCH] 档案管理-添加导出功能

---
 src/api/inventoryManagement/stockReport.js |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/src/api/inventoryManagement/stockReport.js b/src/api/inventoryManagement/stockReport.js
index 580933b..6d1a3ce 100644
--- a/src/api/inventoryManagement/stockReport.js
+++ b/src/api/inventoryManagement/stockReport.js
@@ -3,16 +3,15 @@
 // 鑾峰彇搴撳瓨鏃ユ姤缁熻
 export const getStockDailyReport = (params) => {
     return request({
-        url: "/stockreport/daily",
+        url: "/stockin/getReportList",
         method: "get",
         params,
     });
 };
-
 // 鑾峰彇搴撳瓨鏈堟姤缁熻
 export const getStockMonthlyReport = (params) => {
     return request({
-        url: "/stockreport/monthly",
+        url: "/stockin/getReportList",
         method: "get",
         params,
     });
@@ -21,7 +20,7 @@
 // 鑾峰彇浣滀笟鎶ヨ〃缁熻
 export const getWorkReport = (params) => {
     return request({
-        url: "/stockreport/work",
+        url: "/stockin/getReportList",
         method: "get",
         params,
     });
@@ -30,7 +29,7 @@
 // 鑾峰彇搴撳瓨杩涘嚭瀛樼粺璁�
 export const getStockInOutReport = (params) => {
     return request({
-        url: "/stockreport/inout",
+        url: "/stockin/getReportList",
         method: "get",
         params,
     });
@@ -39,8 +38,8 @@
 // 瀵煎嚭搴撳瓨鎶ヨ〃
 export const exportStockReport = (params) => {
     return request({
-        url: "/stockreport/export",
-        method: "get",
+        url: "/stockin/exportCopy",
+        method: "post",
         params,
         responseType: 'blob'
     });

--
Gitblit v1.9.3