From 295f0d8d20eb9faf23f3e918483df796b22b0062 Mon Sep 17 00:00:00 2001 From: Vergil <974548713@qq.com> Date: Mon, 25 May 2020 11:23:16 +0800 Subject: [PATCH] a --- src/views/ManufacturingCenter/GroupMatching/index.vue | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/views/ManufacturingCenter/GroupMatching/index.vue b/src/views/ManufacturingCenter/GroupMatching/index.vue index d40ec7b2..bb36e0c6 100644 --- a/src/views/ManufacturingCenter/GroupMatching/index.vue +++ b/src/views/ManufacturingCenter/GroupMatching/index.vue @@ -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 }) }, // 查询外购件