From cc3001ab9e0ab8ce673b812a22ebea1edd332f2a Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期六, 14 三月 2026 15:38:33 +0800
Subject: [PATCH] fix: 完成仓储物流的功能开发
---
src/api/inventoryManagement/stockInventory.js | 64 ++++++++++++++++++++++++++++++++
1 files changed, 64 insertions(+), 0 deletions(-)
diff --git a/src/api/inventoryManagement/stockInventory.js b/src/api/inventoryManagement/stockInventory.js
new file mode 100644
index 0000000..d9743f6
--- /dev/null
+++ b/src/api/inventoryManagement/stockInventory.js
@@ -0,0 +1,64 @@
+import request from '@/utils/request'
+
+// 鍚堟牸搴撳瓨-鍒嗛〉鏌ヨ
+export const getStockInventoryListPage = (params) => {
+ return request({
+ url: '/stockInventory/pagestockInventory',
+ method: 'GET',
+ params
+ })
+}
+
+// 鏂板鍚堟牸搴撳瓨
+export const createStockInventory = (data) => {
+ return request({
+ url: '/stockInventory/addstockInventory',
+ method: 'POST',
+ data
+ })
+}
+
+// 鍑哄簱锛堝噺灏戝簱瀛橈級
+export const subtractStockInventory = (data) => {
+ return request({
+ url: '/stockInventory/subtractStockInventory',
+ method: 'POST',
+ data
+ })
+}
+
+// 鍐荤粨搴撳瓨
+export const frozenStockInventory = (data) => {
+ return request({
+ url: '/stockInventory/frozenStock',
+ method: 'POST',
+ data
+ })
+}
+
+// 瑙e喕搴撳瓨
+export const thawStockInventory = (data) => {
+ return request({
+ url: '/stockInventory/thawStock',
+ method: 'POST',
+ data
+ })
+}
+
+// 搴撳瓨鎶ヨ〃-鏃ユ姤/鏈堟姤
+export const getStockInventoryReportList = (params) => {
+ return request({
+ url: '/stockInventory/stockInventoryPage',
+ method: 'GET',
+ params
+ })
+}
+
+// 搴撳瓨鎶ヨ〃-杩涘嚭瀛�
+export const getStockInventoryInAndOutReportList = (params) => {
+ return request({
+ url: '/stockInventory/stockInAndOutRecord',
+ method: 'GET',
+ params
+ })
+}
--
Gitblit v1.9.3