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