From 3d4355d8791c7e990377c7a2abc5ce238e752e91 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 26 一月 2026 17:36:05 +0800
Subject: [PATCH] 进销存-升级 1.销售台账页面代码重构 2.发货台账页面联调 3.采购台账代码重构,采购模版添加修改和删除,逻辑完善 4.采购审批页面逻辑修改完善 5.采购台账、销售台账导入和下载模版修改

---
 src/api/inventoryManagement/stockManage.js |   30 ++++++++++++++++++++++++------
 1 files changed, 24 insertions(+), 6 deletions(-)

diff --git a/src/api/inventoryManagement/stockManage.js b/src/api/inventoryManagement/stockManage.js
index b7f0052..e2a4ebf 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',

--
Gitblit v1.9.3