diff --git a/src/api/warehouse/location.js b/src/api/warehouse/location.js new file mode 100644 index 0000000..a7d658f --- /dev/null +++ b/src/api/warehouse/location.js @@ -0,0 +1,17 @@ +import { createAPI } from "@/utils/httpRequest.js"; + +//新增 +export const saveLocation= data => createAPI(`/location/info/append`,'post',data) + +//查询 +export const findLocation= data => createAPI(`/location/info/findAll`,'post',data) +export const findByWarehouse= data => createAPI(`/warehouse/info/findAll`,'post',data)//查询仓库信息 + + +//修改 +export const updateLocation= data => createAPI(`/location/info/amend`,'post',data) + +//删除 +export const deleteLocation= data => createAPI(`/location/info/deleteById`,'post',data) + + diff --git a/src/api/warehouse/stagingCode.js b/src/api/warehouse/stagingCode.js new file mode 100644 index 0000000..dcf4415 --- /dev/null +++ b/src/api/warehouse/stagingCode.js @@ -0,0 +1,13 @@ +import { createAPI } from "@/utils/httpRequest.js"; + +//新增 +export const saveStagingCode= data => createAPI(`/stag/code/append`,'post',data) + +//查询 +export const findStagingCode= data => createAPI(`stag/code/findAll`,'post',data) + +//修改 +export const updateStagingCode= data => createAPI(`stag/code/amend`,'post',data) + +//删除 +export const deleteStagingCode= data => createAPI(`/stag/code/deleteById`,'post',data) diff --git a/src/views/modules/warehouse/location.vue b/src/views/modules/warehouse/location.vue index f4d2312..dea8a4b 100644 --- a/src/views/modules/warehouse/location.vue +++ b/src/views/modules/warehouse/location.vue @@ -1,39 +1,51 @@