From ed04d8f5026068b02b86903bd499dce950b1d4fc Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期二, 03 二月 2026 15:50:39 +0800
Subject: [PATCH] 合格库存增加产品图片、价格等显示
---
src/api/inventoryManagement/stockInventory.js | 46 +++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 45 insertions(+), 1 deletions(-)
diff --git a/src/api/inventoryManagement/stockInventory.js b/src/api/inventoryManagement/stockInventory.js
index c677ebf..f3fd1e7 100644
--- a/src/api/inventoryManagement/stockInventory.js
+++ b/src/api/inventoryManagement/stockInventory.js
@@ -13,7 +13,7 @@
return request({
url: "/stockInventory/addstockInventory",
method: "post",
- params,
+ data: params,
});
};
@@ -22,6 +22,50 @@
return request({
url: "/stockInventory/subtractStockInventory",
method: "post",
+ data: params,
+ });
+};
+
+export const getStockInventoryReportList = (params) => {
+ return request({
+ url: "/stockInventory/stockInventoryPage",
+ method: "get",
params,
});
};
+
+export const getStockInventoryInAndOutReportList = (params) => {
+ return request({
+ url: "/stockInventory/stockInAndOutRecord",
+ method: "get",
+ params,
+ });
+};
+
+// 鍐荤粨搴撳瓨璁板綍
+export const frozenStockInventory = (params) => {
+ return request({
+ url: "/stockInventory/frozenStock",
+ method: "post",
+ data: params,
+ });
+};
+
+// 瑙e喕搴撳瓨璁板綍
+export const thawStockInventory = (params) => {
+ return request({
+ url: "/stockInventory/thawStock",
+ method: "post",
+ data: params,
+ });
+};
+
+// 鑾峰彇浜у搧澶х被鐨剆elect鍒楄〃
+// /basic/product/listProduct
+export const getProductList = (params) => {
+ return request({
+ url: "/basic/product/listProduct",
+ method: "get",
+ params,
+ });
+};
\ No newline at end of file
--
Gitblit v1.9.3