序间外协

This commit is contained in:
zhangdingyu
2018-12-06 16:06:57 +08:00
parent 581827a4b2
commit 4d10a5d56e

View File

@@ -266,14 +266,14 @@ export default {
},
// 修改外协状态
edit(index, row) {
this.count = 0
for (let i = 0; i < this.tableData2.length; i++) {
if (this.checkBox[i] === false) {
this.count = this.count + 1
}
}
if (this.count === this.tableData2.length) {
edit2(row.工序流水号, row.工艺计划流水号, 0).then(response => {
})
edit2(row.工序流水号, row.工艺计划流水号, 0)
}
if (this.checkBox[index] === true) {
this.InOut = 2