From 30ed83a8c22c549161087ac620f618f1b3af0c19 Mon Sep 17 00:00:00 2001 From: zwq Date: Thu, 13 Jun 2024 09:14:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/oth/equipmentList.js | 68 +++++++ src/api/oth/equipmentType.js | 68 +++++++ .../asrs/equipmentList/add-or-updata.vue | 108 +++++++++++ src/views/asrs/equipmentList/index.vue | 169 ++++++++++++++++++ .../asrs/equipmentType/add-or-updata.vue | 69 +++++++ src/views/asrs/equipmentType/index.vue | 157 ++++++++++++++++ 6 files changed, 639 insertions(+) create mode 100644 src/api/oth/equipmentList.js create mode 100644 src/api/oth/equipmentType.js create mode 100644 src/views/asrs/equipmentList/add-or-updata.vue create mode 100644 src/views/asrs/equipmentList/index.vue create mode 100644 src/views/asrs/equipmentType/add-or-updata.vue create mode 100644 src/views/asrs/equipmentType/index.vue diff --git a/src/api/oth/equipmentList.js b/src/api/oth/equipmentList.js new file mode 100644 index 0000000..a4f0c3b --- /dev/null +++ b/src/api/oth/equipmentList.js @@ -0,0 +1,68 @@ +/* + * @Author: zwq + * @Date: 2023-08-22 14:50:15 + * @LastEditors: zwq + * @LastEditTime: 2024-06-11 14:48:15 + * @Description: + */ +import request from '@/utils/request' + +// 创建立库仓库 +export function createEquipment(data) { + return request({ + url: '/asrs/equipment/create', + method: 'post', + data: data + }) +} + +// 更新立库仓库 +export function updateEquipment(data) { + return request({ + url: '/asrs/equipment/update', + method: 'put', + data: data + }) +} + +// 获得仓库code +export function getCode() { + return request({ + url: '/asrs/equipment/getCode', + method: 'post' + }) +} +// 删除立库仓库 +export function deleteEquipment(id) { + return request({ + url: '/asrs/equipment/delete?id=' + id, + method: 'delete' + }) +} + +// 获得立库仓库 +export function getEquipment(id) { + return request({ + url: '/asrs/equipment/get?id=' + id, + method: 'get' + }) +} + +// 获得立库仓库分页 +export function getEquipmentPage(query) { + return request({ + url: '/asrs/equipment/page', + method: 'get', + params: query + }) +} + +// 导出立库仓库 Excel +export function exportEquipmentExcel(query) { + return request({ + url: '/asrs/equipment/export-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} diff --git a/src/api/oth/equipmentType.js b/src/api/oth/equipmentType.js new file mode 100644 index 0000000..50a919e --- /dev/null +++ b/src/api/oth/equipmentType.js @@ -0,0 +1,68 @@ +/* + * @Author: zwq + * @Date: 2023-08-22 14:50:15 + * @LastEditors: zwq + * @LastEditTime: 2024-06-11 14:48:15 + * @Description: + */ +import request from '@/utils/request' + +// 创建立库仓库 +export function createEquipmentType(data) { + return request({ + url: '/asrs/equipment-type/create', + method: 'post', + data: data + }) +} + +// 更新立库仓库 +export function updateEquipmentType(data) { + return request({ + url: '/asrs/equipment-type/update', + method: 'put', + data: data + }) +} + +// 获得仓库code +export function getCode() { + return request({ + url: '/asrs/equipment-type/getCode', + method: 'post' + }) +} +// 删除立库仓库 +export function deleteEquipmentType(id) { + return request({ + url: '/asrs/equipment-type/delete?id=' + id, + method: 'delete' + }) +} + +// 获得立库仓库 +export function getEquipmentType(id) { + return request({ + url: '/asrs/equipment-type/get?id=' + id, + method: 'get' + }) +} + +// 获得立库仓库分页 +export function getEquipmentTypePage(query) { + return request({ + url: '/asrs/equipment-type/page', + method: 'get', + params: query + }) +} + +// 导出立库仓库 Excel +export function exportEquipmentTypeExcel(query) { + return request({ + url: '/asrs/equipment-type/export-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} diff --git a/src/views/asrs/equipmentList/add-or-updata.vue b/src/views/asrs/equipmentList/add-or-updata.vue new file mode 100644 index 0000000..e6ea3e0 --- /dev/null +++ b/src/views/asrs/equipmentList/add-or-updata.vue @@ -0,0 +1,108 @@ + + + + diff --git a/src/views/asrs/equipmentList/index.vue b/src/views/asrs/equipmentList/index.vue new file mode 100644 index 0000000..8d04988 --- /dev/null +++ b/src/views/asrs/equipmentList/index.vue @@ -0,0 +1,169 @@ + + + diff --git a/src/views/asrs/equipmentType/add-or-updata.vue b/src/views/asrs/equipmentType/add-or-updata.vue new file mode 100644 index 0000000..f9b1fdf --- /dev/null +++ b/src/views/asrs/equipmentType/add-or-updata.vue @@ -0,0 +1,69 @@ + + + + diff --git a/src/views/asrs/equipmentType/index.vue b/src/views/asrs/equipmentType/index.vue new file mode 100644 index 0000000..6d1a8c8 --- /dev/null +++ b/src/views/asrs/equipmentType/index.vue @@ -0,0 +1,157 @@ + + +