From 04489cc3864aa38fde8b539aee6c4c9eed6ab1d4 Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期四, 28 九月 2023 14:35:35 +0800
Subject: [PATCH] 解决产品列表报错
---
src/api/warehouseManage/warehouse.js | 41 +++++++++++++++++++++++++++++++++++++++++
1 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/src/api/warehouseManage/warehouse.js b/src/api/warehouseManage/warehouse.js
index b68f3f9..8e67a72 100644
--- a/src/api/warehouseManage/warehouse.js
+++ b/src/api/warehouseManage/warehouse.js
@@ -61,3 +61,44 @@
data
})
}
+// 浣嶇疆 鍒楄〃
+export function getLocationList(data) {
+ return request({
+ url: "/api-wms/v1/location/getLocationList",
+ method: "post",
+ data
+ })
+}
+// 鍒涘缓浣嶇疆
+export function addLocation(data) {
+ return request({
+ url: "/api-wms/v1/location/addLocation",
+ method: "post",
+ data
+ })
+}
+// 鍒犻櫎浣嶇疆
+export function deleteLocation(data) {
+ return request({
+ url: "/api-wms/v1/location/deleteLocation/"+data.id,
+ method: "delete",
+ data
+ })
+}
+// 浣嶇疆 璇︽儏
+export function getLocationDetails(data) {
+ return request({
+ url: "/api-wms/v1/location/getLocationDetails/"+data.id,
+ method: "get",
+ data
+ })
+}
+// 鏇存柊浣嶇疆
+export function updateLocation(data) {
+ return request({
+ url: "/api-wms/v1/location/updateLocation",
+ method: "post",
+ data
+ })
+}
+
--
Gitblit v1.8.0