diff --git a/src/views/mes/reportWork/index.vue b/src/views/mes/reportWork/index.vue index 9b0e541..572bad5 100644 --- a/src/views/mes/reportWork/index.vue +++ b/src/views/mes/reportWork/index.vue @@ -1254,8 +1254,6 @@ export default { }, submitReport() { this.reportRows = this.pReportRows; - debugger - /** if ( this.reportRows==0) { this.$modal.msgError(`请选择数据`); return false; @@ -1265,7 +1263,6 @@ export default { this.openReport = false; this.getList(); }); - **/ }, submitReportSAP() { this.reportRows = this.pReportRows.concat(this.sReportRows) diff --git a/src/views/plan/order/index.vue b/src/views/plan/order/index.vue index 59c94ee..ee52ede 100644 --- a/src/views/plan/order/index.vue +++ b/src/views/plan/order/index.vue @@ -1146,6 +1146,7 @@ export default { }, // 拆分-拆分提交按钮操作 batchBtn() { + this.loading = true; // 判断数据不能为空 if (this.splitForm.splitNum == null) { this.$message({ @@ -1269,7 +1270,9 @@ export default { }] // this.getList() - this.splitOpen = false + this.splitOpen = false; + + this.loading = false; }, // 拆分-新增-取消按钮 cancel() {