From 600d741431308365cfe4387ae5305d945bcd9eca Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期五, 24 四月 2026 13:30:32 +0800
Subject: [PATCH] fix: 库存管理厚度字段回显
---
src/api/inventoryManagement/stockInventory.js | 39 +++++++++++++++++++++++++++++++++++++--
1 files changed, 37 insertions(+), 2 deletions(-)
diff --git a/src/api/inventoryManagement/stockInventory.js b/src/api/inventoryManagement/stockInventory.js
index c677ebf..4225227 100644
--- a/src/api/inventoryManagement/stockInventory.js
+++ b/src/api/inventoryManagement/stockInventory.js
@@ -2,7 +2,7 @@
// 鍒嗛〉鏌ヨ搴撳瓨璁板綍鍒楄〃
export const getStockInventoryListPage = (params) => {
return request({
- url: "/stockInventory/pagestockInventory",
+ url: "/stockInventory/pageListCombinedStockInventory",
method: "get",
params,
});
@@ -13,7 +13,7 @@
return request({
url: "/stockInventory/addstockInventory",
method: "post",
- params,
+ data: params,
});
};
@@ -22,6 +22,41 @@
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,
+ });
+};
+
--
Gitblit v1.9.3