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 @@ + + +