From 501fc9805cc9f3c66a311e09a46e3aa102a72667 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 11 十二月 2025 11:25:52 +0800
Subject: [PATCH] 1.南洋电缆-质量统计过程检台账有数据但是BI大屏没有数据(改成月份统计和合格率) 2.南洋电缆-再加两个统计内容:产品合格率(%)、库存周转率BI展示

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