From 9d787c0f551bbf0dd096ebcbb79b8b69caaaddd7 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期五, 16 一月 2026 11:44:29 +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