This commit is contained in:
Vergil
2020-05-19 10:53:52 +08:00
parent 36b0406869
commit 56c42f1a52

View File

@@ -276,8 +276,10 @@ export default {
this.total = response.data.total this.total = response.data.total
this.loading = false this.loading = false
}) })
}, // 获取工序表 },
// 获取工序表
getCurrentRow(row) { getCurrentRow(row) {
this.Name = 1
this.completeTime = '' this.completeTime = ''
this.dateOfProduction = '' this.dateOfProduction = ''
this.processSerialNumber = '' this.processSerialNumber = ''
@@ -345,7 +347,7 @@ export default {
}, },
getRow(row) { getRow(row) {
this.processSerialNumber = row.工序流水号 this.processSerialNumber = row.工序流水号
if (row.工艺名称 === '备料' && !row.完成日期) { if ((row.工艺名称 === '备料' || row.工艺名称 === '下料' || row.工艺名称 === '下钢板') && !row.完成日期) {
this.Name = 0 this.Name = 0
} else { } else {
this.Name = 1 this.Name = 1