diff --git a/src/views/ManufacturingCenter/AddingOrder/index.vue b/src/views/ManufacturingCenter/AddingOrder/index.vue index 1e3a5ed4..a4937a78 100644 --- a/src/views/ManufacturingCenter/AddingOrder/index.vue +++ b/src/views/ManufacturingCenter/AddingOrder/index.vue @@ -24,14 +24,15 @@ 删除加序 - + { + this.loading0 = false }) }, getID(row) { @@ -465,6 +471,9 @@ export default { }, // 获取工序表 getCurrentRow(row) { + if (row === null) { + return + } this.completeTime = '' this.dateOfProduction = '' this.processSerialNumber = '' @@ -490,7 +499,6 @@ export default { } } }) - console.log(this.tableData1, 123) }, // 补加完成日期 EditData() { this.dialogFormVisible = true @@ -499,6 +507,7 @@ export default { this.form.完成时间 = '' }, getRow(row) { + if (row === null) return this.Id = row.ID this.completeTime = row.完成日期 this.dateOfProduction = row.排产日期