diff --git a/src/api/system/post/index.ts b/src/api/system/post/index.ts
index 405db387e..b5f99bfc0 100644
--- a/src/api/system/post/index.ts
+++ b/src/api/system/post/index.ts
@@ -44,3 +44,17 @@ export const deletePost = async (id: number) => {
export const exportPost = async (params) => {
return await request.download({ url: '/system/post/export', params })
}
+
+// 库位树状图
+export const getPostAreaTreeList = async () => {
+ return await request.get({ url: '/wms/warehouse/treeLocation' })
+}
+// 根据id获取已选择节点
+export const getByPostId = async (id) => {
+ return await request.get({ url: '/system/post-location/getByPostId?postId=' + id })
+}
+//提交选择的节点
+export const updatePostLocation = async (data) => {
+ return await request.post({ url: '/system/post-location/updatePostLocation',data})
+}
+
diff --git a/src/views/system/post/PostAreaPermissionForm.vue b/src/views/system/post/PostAreaPermissionForm.vue
new file mode 100644
index 000000000..7466759fe
--- /dev/null
+++ b/src/views/system/post/PostAreaPermissionForm.vue
@@ -0,0 +1,167 @@
+
+
+
+
+
diff --git a/src/views/system/post/index.vue b/src/views/system/post/index.vue
index a53b5ac4e..f8389611a 100644
--- a/src/views/system/post/index.vue
+++ b/src/views/system/post/index.vue
@@ -46,8 +46,12 @@
-
+
+
+
+ 库区权限
+
编辑
@@ -66,6 +70,7 @@
+