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: '确定' })