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/api/wms/warehouse/index.ts b/src/api/wms/warehouse/index.ts index 4d98aaeea..5a12e0f3b 100644 --- a/src/api/wms/warehouse/index.ts +++ b/src/api/wms/warehouse/index.ts @@ -22,6 +22,18 @@ export const getWarehousePage = async (params) => { } } +// 查询仓库列表 +export const getWarehouseByBusinessTypeSenior = async (params) => { + delete params.isSearch + const data = {...params} + return request.post({ url: '/wms/warehouse/getWarehouseByBusinessTypeSenior', data }) +} + +// 查询仓库列表 +export const getWarehouseByBusinessTypePage = async (params) => { + return await request.get({ url: `/wms/warehouse/getWarehouseByBusinessTypePage`, params }) +} + // 校验仓库 export const verifyWarehouse = async (params) => { return await request.get({ url: `/wms/warehouse/ListByCode`, params }) diff --git a/src/components/ImportForm/src/ImportFormPlanCSV.vue b/src/components/ImportForm/src/ImportFormPlanCSV.vue new file mode 100644 index 000000000..b38c14e3a --- /dev/null +++ b/src/components/ImportForm/src/ImportFormPlanCSV.vue @@ -0,0 +1,381 @@ + + + + + diff --git a/src/views/system/post/PostAreaPermissionForm.vue b/src/views/system/post/PostAreaPermissionForm.vue new file mode 100644 index 000000000..a8138d537 --- /dev/null +++ b/src/views/system/post/PostAreaPermissionForm.vue @@ -0,0 +1,179 @@ + + + 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 @@ - +