From c87a6f7310ca992d7f058a8f286b095c9a632c90 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期四, 21 九月 2023 16:51:58 +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