From 252320f72318ccee0f02c66dfa1ce7fa61df0f58 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期一, 26 一月 2026 16:51:47 +0800
Subject: [PATCH] fix: 流转卡直接打印
---
src/api/inventoryManagement/stockManage.js | 66 +++++++++++++++++++++++++++++---
1 files changed, 59 insertions(+), 7 deletions(-)
diff --git a/src/api/inventoryManagement/stockManage.js b/src/api/inventoryManagement/stockManage.js
index b7f0052..8278be3 100644
--- a/src/api/inventoryManagement/stockManage.js
+++ b/src/api/inventoryManagement/stockManage.js
@@ -3,19 +3,37 @@
// 鏌ヨ搴撳瓨淇℃伅鍒楄〃
export const getStockManagePage = (params) => {
return request({
- url: "/stockmanagement/page",
+ url: "/stockin/listPageCopy",
method: "get",
params,
});
};
-export const getStockManageOutPage = (params) => {
+// 鏌ヨ鐢熶骇鍏ュ簱搴撳瓨淇℃伅鍒楄〃
+export const getStockManagePageByProduction = (params) => {
return request({
- url: "/stockmanagement/stockoutpage",
+ url: "/stockin/listPageCopyByProduction",
method: "get",
params,
});
};
+// 鏌ヨ鎴愬搧搴撳瓨淇℃伅鍒楄〃
+export const getStockManageProduction = (params) => {
+ return request({
+ url: "/stockin/listPageProductionStock",
+ method: "get",
+ params,
+ });
+};
+// 鏌ヨ鑷畾涔夊叆搴撳簱瀛樹俊鎭垪琛�
+export const getStockManagePageByCustom = (params) => {
+ return request({
+ url: "/stockin/listPageCopyByCustom",
+ method: "get",
+ params,
+ });
+};
+
// 淇敼搴撳瓨淇℃伅
export const updateStockManage = (data) => {
@@ -29,8 +47,8 @@
// 鍒犻櫎搴撳瓨淇℃伅
export function delStockManage(ids) {
return request({
- url: '/stockmanagement/del',
- method: 'delete',
+ url: '/stockin/del',
+ method: 'post',
data: ids
})
}
@@ -45,7 +63,7 @@
})
}
-//鍑哄簱鎺ュ彛
+// 鍑哄簱绠$悊-棰嗙敤鎺ュ彛
export const stockOut = (data) => {
return request({
url: '/stockmanagement/stockout',
@@ -62,4 +80,38 @@
})
}
-//
\ No newline at end of file
+// 閲囪喘鍏ュ簱-搴撳瓨绠$悊-鍐荤粨涓嶅悎鏍间骇鍝�
+export function frozenQuality(ids) {
+ return request({
+ url: '/stockin/frozenStorageQuality',
+ method: 'post',
+ data: ids
+ })
+}
+
+// 閲囪喘鍏ュ簱-搴撳瓨绠$悊-瑙e喕涓嶅悎鏍间骇鍝�
+export function thawQuality(ids) {
+ return request({
+ url: '/stockin/thawStorageQuality',
+ method: 'post',
+ data: ids
+ })
+}
+
+// 鎴愬搧鍏ュ簱-搴撳瓨绠$悊-鍐荤粨涓嶅悎鏍间骇鍝�
+export function frozenFinishedQuality(ids) {
+ return request({
+ url: '/stockin/frozenFinishedQuality',
+ method: 'post',
+ data: ids
+ })
+}
+
+// 鎴愬搧鍏ュ簱-搴撳瓨绠$悊-瑙e喕涓嶅悎鏍间骇鍝�
+export function thawFinishedQuality(ids) {
+ return request({
+ url: '/stockin/thawFinishedQuality',
+ method: 'post',
+ data: ids
+ })
+}
\ No newline at end of file
--
Gitblit v1.9.3