diff --git a/src/views/Outsourcing/PreorderAssociation/index.vue b/src/views/Outsourcing/PreorderAssociation/index.vue index 70de676c..03764682 100644 --- a/src/views/Outsourcing/PreorderAssociation/index.vue +++ b/src/views/Outsourcing/PreorderAssociation/index.vue @@ -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