From e817328f2151ab7e32b24fb0ac504111affad27a Mon Sep 17 00:00:00 2001 From: star <2755454208@qq.com> Date: Fri, 1 Nov 2024 17:01:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E5=B7=A5=E8=A3=85=E5=AE=9A?= =?UTF-8?q?=E6=A3=80=E7=BB=93=E6=9E=9C=20=E5=BA=93=E6=88=BF=E3=80=81?= =?UTF-8?q?=E5=BA=93=E4=BD=8D=E3=80=81=E5=BA=93=E5=8C=BA=E8=BD=AF=E5=88=A0?= =?UTF-8?q?=E9=99=A4=20=E5=BA=93=E6=88=BF=E3=80=81=E5=BA=93=E4=BD=8D?= =?UTF-8?q?=E3=80=81=E5=BA=93=E5=8C=BA=E5=92=8C=E5=B7=A5=E8=A3=85=E5=AE=9A?= =?UTF-8?q?=E6=A3=80=E7=BB=93=E6=9E=9C=E8=A1=A8=E5=8D=95=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mes/dv/inventoryRequest.js | 52 ++ src/api/mes/dv/inventoryTask.js | 8 + src/components/wm/InOutTypeCmps.vue | 100 ++++ src/components/wm/InventoryCmps.vue | 115 ++++ src/components/wm/SelecAreaCmps.vue | 28 +- src/components/wm/SelecLocationCmps.vue | 25 +- src/components/wm/SelectWareHouseCmps.vue | 25 +- .../mes/dv/Inventory/InventoryRequest.vue | 500 ++++++++++++++++++ .../{qc => dv}/Inventory/InventoryTask.vue | 71 ++- src/views/mes/wm/area/index.vue | 12 +- src/views/mes/wm/location/index.vue | 7 +- src/views/mes/wm/warehouse/index.vue | 20 +- 12 files changed, 903 insertions(+), 60 deletions(-) create mode 100644 src/api/mes/dv/inventoryRequest.js create mode 100644 src/components/wm/InOutTypeCmps.vue create mode 100644 src/components/wm/InventoryCmps.vue create mode 100644 src/views/mes/dv/Inventory/InventoryRequest.vue rename src/views/mes/{qc => dv}/Inventory/InventoryTask.vue (90%) diff --git a/src/api/mes/dv/inventoryRequest.js b/src/api/mes/dv/inventoryRequest.js new file mode 100644 index 0000000..002a002 --- /dev/null +++ b/src/api/mes/dv/inventoryRequest.js @@ -0,0 +1,52 @@ +import request from '@/utils/request' +// 查询设备点检结果列表 +export function listRequest(query) { + return request({ + url: 'inventoryRequestController/list', + method: 'get', + params: query + }) +} + +// 新增计划 +export function addRequest(data) { + return request({ + url: 'inventoryRequestController/save', + method: 'post', + data: data + }) +} + +// 查询结果细 +export function getRequest(RequestId) { + return request({ + url: 'inventoryRequestController/' + RequestId, + method: 'get' + }) +} + +// 修改计划 +export function updateRequest(data) { + return request({ + url: 'inventoryRequestController/', + method: 'put', + data: data + }) +} + +// 删除设备 +export function delRequest(RequestId) { + return request({ + url: 'inventoryRequestController/' + RequestId, + method: 'delete' + }) +} + +// 批量删除设备 +export function delRequests(RequestId) { + return request({ + url: 'inventoryRequestController/del/' + RequestId, + method: 'delete' + }) +} + diff --git a/src/api/mes/dv/inventoryTask.js b/src/api/mes/dv/inventoryTask.js index 1dfd157..d70db3c 100644 --- a/src/api/mes/dv/inventoryTask.js +++ b/src/api/mes/dv/inventoryTask.js @@ -50,3 +50,11 @@ export function delMachinerys(machineryId) { }) } +// 重新定检任务 +export function rechecklMachinerys(machineryId) { + return request({ + url: 'InventoryTaskController/recheck/' + machineryId, + method: 'delete' + }) +} + diff --git a/src/components/wm/InOutTypeCmps.vue b/src/components/wm/InOutTypeCmps.vue new file mode 100644 index 0000000..2b5115e --- /dev/null +++ b/src/components/wm/InOutTypeCmps.vue @@ -0,0 +1,100 @@ + + + + + diff --git a/src/components/wm/InventoryCmps.vue b/src/components/wm/InventoryCmps.vue new file mode 100644 index 0000000..48f2476 --- /dev/null +++ b/src/components/wm/InventoryCmps.vue @@ -0,0 +1,115 @@ + + + + + diff --git a/src/components/wm/SelecAreaCmps.vue b/src/components/wm/SelecAreaCmps.vue index 6718321..1228cf9 100644 --- a/src/components/wm/SelecAreaCmps.vue +++ b/src/components/wm/SelecAreaCmps.vue @@ -22,14 +22,13 @@ - - + @@ -51,8 +50,17 @@ export default { // 新增弹窗控制 addVisible: false, total: 0, - pagination: { - currentPage: 1 + queryParams: { + pageNum: 1, + pageSize: 10, + areaCode: null, + areaName: null, + locationId: null, + area: null, + maxLoa: null, + positionX: null, + positionY: null, + positionZ: null, }, multipleSelection: [], tableData: [], diff --git a/src/components/wm/SelecLocationCmps.vue b/src/components/wm/SelecLocationCmps.vue index a962552..84c6078 100644 --- a/src/components/wm/SelecLocationCmps.vue +++ b/src/components/wm/SelecLocationCmps.vue @@ -16,14 +16,13 @@ - - + @@ -45,8 +44,14 @@ export default { // 新增弹窗控制 addVisible: false, total: 0, - pagination: { - currentPage: 1 + queryParams: { + pageNum: 1, + pageSize: 10, + locationCode: null, + locationName: null, + warehouseId: null, + area: null, + areaFlag: null, }, multipleSelection: [], tableData: [], diff --git a/src/components/wm/SelectWareHouseCmps.vue b/src/components/wm/SelectWareHouseCmps.vue index f4a931e..63eef6e 100644 --- a/src/components/wm/SelectWareHouseCmps.vue +++ b/src/components/wm/SelectWareHouseCmps.vue @@ -18,14 +18,13 @@ - - + @@ -45,8 +44,14 @@ export default { // 新增弹窗控制 addVisible: false, total: 0, - pagination: { - currentPage: 1 + queryParams: { + pageNum: 1, + pageSize: 10, + warehouseCode: null, + warehouseName: null, + location: null, + area: null, + charge: null, }, multipleSelection: [], tableData: [], diff --git a/src/views/mes/dv/Inventory/InventoryRequest.vue b/src/views/mes/dv/Inventory/InventoryRequest.vue new file mode 100644 index 0000000..1c9d858 --- /dev/null +++ b/src/views/mes/dv/Inventory/InventoryRequest.vue @@ -0,0 +1,500 @@ + + + diff --git a/src/views/mes/qc/Inventory/InventoryTask.vue b/src/views/mes/dv/Inventory/InventoryTask.vue similarity index 90% rename from src/views/mes/qc/Inventory/InventoryTask.vue rename to src/views/mes/dv/Inventory/InventoryTask.vue index ba2d6d9..0a39a2f 100644 --- a/src/views/mes/qc/Inventory/InventoryTask.vue +++ b/src/views/mes/dv/Inventory/InventoryTask.vue @@ -85,6 +85,11 @@ {{ parseTime(scope.row.startTime, '{y}-{m}-{d}') }} + + + @@ -124,7 +138,7 @@ - + @@ -145,7 +159,7 @@ - + - + - + - + - - - - - - - -