From d83859a85a6ed04d37fece3cd7462f2e1edc3333 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=87=E5=AE=BD=20=E5=8F=B2?= Date: Tue, 11 Jun 2024 09:43:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=93=E4=BD=8D,=E9=98=B6=E6=AE=B5=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/warehouse/location.js | 17 + src/api/warehouse/stagingCode.js | 13 + src/views/modules/warehouse/location.vue | 303 +++++----- src/views/modules/warehouse/stagingCode.vue | 593 ++++++++++++++++++++ 4 files changed, 780 insertions(+), 146 deletions(-) create mode 100644 src/api/warehouse/location.js create mode 100644 src/api/warehouse/stagingCode.js create mode 100644 src/views/modules/warehouse/stagingCode.vue 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 @@