From d22a79cc9c6d620eaaa3b4e62cb1e52a0a670c82 Mon Sep 17 00:00:00 2001 From: liyongde <1419499670@qq.com> Date: Wed, 25 Oct 2023 18:41:51 +0800 Subject: [PATCH] =?UTF-8?q?opt:=20=E5=B7=A5=E5=8D=95=E4=B8=8B=E5=8F=91?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/dao/mapper/SysInteractRecordMapper.xml | 2 +- .../src/views/wms/pdm/workerorder/index.vue | 12 +++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/record/service/dao/mapper/SysInteractRecordMapper.xml b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/record/service/dao/mapper/SysInteractRecordMapper.xml index f9f5d80..af5b747 100644 --- a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/record/service/dao/mapper/SysInteractRecordMapper.xml +++ b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/record/service/dao/mapper/SysInteractRecordMapper.xml @@ -7,6 +7,6 @@ WHERE record_time DATE_SUB(NOW(), INTERVAL #{day} DAY); - CALL DeleteRowsIfNeeded(#{maxRowsToKeep}, #{maxRowsToDelete}); + CALL DeleteRowsIfNeeded(#{maxRowsToKeep}, #{maxRowsToDelete}) diff --git a/lms/nladmin-ui/src/views/wms/pdm/workerorder/index.vue b/lms/nladmin-ui/src/views/wms/pdm/workerorder/index.vue index 10ccd14..63ad1ab 100644 --- a/lms/nladmin-ui/src/views/wms/pdm/workerorder/index.vue +++ b/lms/nladmin-ui/src/views/wms/pdm/workerorder/index.vue @@ -123,10 +123,10 @@ - + @@ -485,7 +485,8 @@ const defaultForm = { custer_no: null, pack_method: null, order_subnum: 0, - guadansum: 0 + guadansum: 0, + show: false } export default { name: 'PdmBdWorkorder', @@ -640,9 +641,14 @@ export default { }, // 下发 submits(row) { + this.crud.loading = true crudPdmBdWorkorder.submits(row).then(res => { this.crud.notify('下发成功', CRUD.NOTIFICATION_TYPE.SUCCESS) this.crud.toQuery() + }).catch(() => { + this.crud.loading = false + }).finally(() => { + this.crud.loading = false }) }, synchronize() {