From 57120b002fbb716702484612e91a8f49b7f90b19 Mon Sep 17 00:00:00 2001 From: ruanqi Date: Mon, 11 Dec 2023 15:02:26 +0800 Subject: [PATCH] =?UTF-8?q?0412=20=E6=96=B0=E7=9C=8B=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/production/generateReport.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/modules/production/generateReport.vue b/src/views/modules/production/generateReport.vue index f9de686..fc8a82a 100644 --- a/src/views/modules/production/generateReport.vue +++ b/src/views/modules/production/generateReport.vue @@ -852,7 +852,9 @@ if(this.saveHeaderData.acceptQty==null||this.saveHeaderData.acceptQty==''){ this.saveHeaderData.acceptQty=0 } + this.setUp.saveButton=true; saveGenerateReportForSchedule(this.saveHeaderData).then(({data}) => { + this.setUp.saveButton = false if (data.code == 0) { this.$message.success(data.msg) this.setUp.reviewFlag = false @@ -873,7 +875,6 @@ printTransNoLabel(inList); } } else { - this.setUp.saveButton=false; this.$alert(data.msg, '错误', { confirmButtonText: '确定' })