This commit is contained in:
zhangdingyu
2019-02-12 09:30:46 +08:00
parent 39787dcea3
commit eafbf35346
7 changed files with 40 additions and 60 deletions

View File

@@ -185,11 +185,14 @@ export default {
} else {
this.a = 0
for (let i = 0; i < this.tableData2.length; i++) {
edit(this.tableData2[i].工艺计划流水号)
this.a = this.a + 1
}
if (this.a === this.tableData2.length) {
this.searchTable()
edit(this.tableData2[i].工艺计划流水号).then(response => {
this.a += parseInt(response.data[0].result)
if (this.a === this.tableData2.length) {
this.pageSize = 10
this.pageCurrent = 1
this.searchTable()
}
})
}
}
},