序间外协
This commit is contained in:
@@ -266,14 +266,14 @@ export default {
|
|||||||
},
|
},
|
||||||
// 修改外协状态
|
// 修改外协状态
|
||||||
edit(index, row) {
|
edit(index, row) {
|
||||||
|
this.count = 0
|
||||||
for (let i = 0; i < this.tableData2.length; i++) {
|
for (let i = 0; i < this.tableData2.length; i++) {
|
||||||
if (this.checkBox[i] === false) {
|
if (this.checkBox[i] === false) {
|
||||||
this.count = this.count + 1
|
this.count = this.count + 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (this.count === this.tableData2.length) {
|
if (this.count === this.tableData2.length) {
|
||||||
edit2(row.工序流水号, row.工艺计划流水号, 0).then(response => {
|
edit2(row.工序流水号, row.工艺计划流水号, 0)
|
||||||
})
|
|
||||||
}
|
}
|
||||||
if (this.checkBox[index] === true) {
|
if (this.checkBox[index] === true) {
|
||||||
this.InOut = 2
|
this.InOut = 2
|
||||||
|
|||||||
Reference in New Issue
Block a user