人员追溯V2
This commit is contained in:
@@ -250,12 +250,13 @@ export default {
|
||||
}
|
||||
},
|
||||
edit2() {
|
||||
console.log(this.$store.state.user.id, 9090)
|
||||
if (this.tableData2.length === 0) {
|
||||
this.$message.warning('暂无数据')
|
||||
} else {
|
||||
this.a = 0
|
||||
for (let i = 0; i < this.tableData2.length; i++) {
|
||||
edit2(this.tableData2[i].工艺计划流水号).then(response => {
|
||||
edit2(this.tableData2[i].工艺计划流水号, this.$store.state.user.id).then(response => {
|
||||
this.a += parseInt(response.data[0].result)
|
||||
if (this.a === this.tableData2.length) {
|
||||
this.pageSize = 10
|
||||
|
||||
Reference in New Issue
Block a user