From 8efd0d1ed41c3b55a8ae13d383bd02e40eea8155 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期四, 02 四月 2026 14:57:20 +0800
Subject: [PATCH] 设备台账去掉品牌字段和存放位置
---
src/api/inventoryManagement/stockIn.js | 30 +++++++++++++++++++++++++++---
1 files changed, 27 insertions(+), 3 deletions(-)
diff --git a/src/api/inventoryManagement/stockIn.js b/src/api/inventoryManagement/stockIn.js
index 53ee074..358d4e2 100644
--- a/src/api/inventoryManagement/stockIn.js
+++ b/src/api/inventoryManagement/stockIn.js
@@ -9,10 +9,19 @@
});
};
-// 淇敼搴撳瓨淇℃伅
+// 淇敼鍏ュ簱瀛樹俊鎭�
export const updateStockIn = (data) => {
return request({
url: "/stockin/update",
+ method: "post",
+ data,
+ });
+};
+
+// 淇敼搴撳瓨淇℃伅
+export const updateManagement = (data) => {
+ return request({
+ url: "/stockin/updateManagement",
method: "post",
data,
});
@@ -31,7 +40,7 @@
export function delStockIn(ids) {
return request({
url: '/stockin/del',
- method: 'delete',
+ method: 'post',
data: ids
})
}
@@ -55,5 +64,20 @@
}
-//
+//鏌ヨ搴撳瓨鍥捐〃鏁版嵁
+export function getStockInChartData() {
+ return request({
+ url: '/stockin/listReport',
+ method: 'get'
+ })
+}
+
+// 鏂板鍟嗗搧鍏ュ簱淇℃伅
+export function addProduct(data) {
+ return request({
+ url: '/stockin/addProduct',
+ method: 'post',
+ data: data
+ })
+}
\ No newline at end of file
--
Gitblit v1.9.3