From a177e3bc2103941710c5a63ae696cb84f03b6016 Mon Sep 17 00:00:00 2001 From: lyd <1419499670@qq.com> Date: Wed, 17 Aug 2022 13:43:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- acs/qd/src/views/acs/device/index.vue | 26 +++++++++------ .../src/views/acs/produceshiftorder/index.vue | 32 +++---------------- 2 files changed, 21 insertions(+), 37 deletions(-) diff --git a/acs/qd/src/views/acs/device/index.vue b/acs/qd/src/views/acs/device/index.vue index 8595b47..080ccbe 100644 --- a/acs/qd/src/views/acs/device/index.vue +++ b/acs/qd/src/views/acs/device/index.vue @@ -139,23 +139,29 @@ - + + + + + + + + + + - - - diff --git a/acs/qd/src/views/acs/produceshiftorder/index.vue b/acs/qd/src/views/acs/produceshiftorder/index.vue index 593aa16..6d84715 100644 --- a/acs/qd/src/views/acs/produceshiftorder/index.vue +++ b/acs/qd/src/views/acs/produceshiftorder/index.vue @@ -59,18 +59,6 @@ - - - @@ -84,12 +72,16 @@ - + @@ -147,13 +139,6 @@ export default { [CRUD.HOOK.beforeRefresh]() { return true }, - beforeHandleCommand(index, row, command) { - return { - 'index': index, - 'row': row, - 'command': command - } - }, finish(index, row) { debugger crudProduceshiftorder.finish(row.order_id).then(res => { @@ -162,13 +147,6 @@ export default { }).catch(err => { console.log(err.response.data.message) }) - }, - handleCommand(command) { - switch (command.command) { - case 'a':// 完成 - this.finish(command.index, command.row) - break - } } } }