From 5e3624b0f7d95aee0dbf3e8c5797b5205c41bc21 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 19 十一月 2025 11:40:56 +0800
Subject: [PATCH] 1.金鹰黄金-汇总页面可以看到每个设备的每个月的金额,也可以选择看每年的金额

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