This commit is contained in:
Vergil
2020-05-25 11:23:16 +08:00
parent 3cd1f36946
commit 295f0d8d20

View File

@@ -747,6 +747,7 @@ export default {
})
},
searchTable() {
console.log(this.PartType)
if (this.PartType === '标准件') {
this.searchTable0()
} else if (this.PartType === '外购件') {
@@ -761,11 +762,11 @@ export default {
this.Machine ? check1 = 1 : check1 = 0
this.Group ? check2 = 1 : check2 = 0
this.materialName ? check = 1 : check = 0
this.searchTable1Loading = true
searchTable01(check1, this.Machine, check2, this.Group, check, this.materialName, this.pageCurrent01, this.pageSize01, 2, this.order4).then(response => {
this.tableData01 = response.data.rows
this.total01 = response.data.total
this.searchTable1Loading = false
this.searchTable0Loading = true
searchTable01(check1, this.Machine, check2, this.Group, check, this.materialName, this.pageCurrent00, this.pageSize00, 1, this.order3).then(response => {
this.tableData00 = response.data.rows
this.total00 = response.data.total
this.searchTable0Loading = false
})
},
// 查询外购件