From c054059c05608b1c7235e18b3da0dfa095ebfe4d Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期五, 22 九月 2023 10:45:18 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/web/WMS

---
 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