diff --git a/src/api/ManufacturingCenter/GroupMatching.js b/src/api/ManufacturingCenter/GroupMatching.js index 35a52f16..714731c5 100644 --- a/src/api/ManufacturingCenter/GroupMatching.js +++ b/src/api/ManufacturingCenter/GroupMatching.js @@ -103,8 +103,8 @@ export function searchTable01(...params) { ModularID: router.currentRoute.path, type: '1', name: '采购管理_采购部采购_查询物料_分配后_加供应商', - param: `机床流水号_check=${params[0]}&机床流水号=${params[1]}&组件流水号_check=${params[2]}&组件流水号=${params[3]}&零件类型=${params[6]}`, - Pagination: params[4] + '&' + params[5] + param: `机床流水号_check=${params[0]}&机床流水号=${params[1]}&组件流水号_check=${params[2]}&组件流水号=${params[3]}&物料名称_check=${params[4]}&物料名称=${params[5]}&零件类型=${params[8]}&排序=${params[9]}`, + Pagination: params[6] + '&' + params[7] } }) } diff --git a/src/api/PurchasingCenter/PurchaseTaskAllocate.js b/src/api/PurchasingCenter/PurchaseTaskAllocate.js index 4256bcb6..acc06125 100644 --- a/src/api/PurchasingCenter/PurchaseTaskAllocate.js +++ b/src/api/PurchasingCenter/PurchaseTaskAllocate.js @@ -93,8 +93,7 @@ export function searchTable1(...params) { ModularID: router.currentRoute.path, type: '1', name: 'xqs_采购管理_采购部采购_查询物料_分配后_采购任务分配', - param: `物料类别流水号_check=${params[2]}&物料类别流水号=${params[3]}&物料品种流水号_check=${params[4]}&物料品种流水号=${params[5]}&项目流水号_check=${params[6]}&项目流水号=${params[7]}&机床流水号_check=${params[8]}&机床流水号=${params[9]}&组件流水号_check=${params[10]}&组件流水号=${params[11]}&物料名称_check=${params[12]}&物料名称=${params[13]}&物料状态编号=${params[14]}&物料规格_check=${params[15]}&物料规格=${params[16]}&物料型号_check=${params[17]}&物料型号=${params[18]}&零件类型=${params[19]}&时间段_check=${params[20]}&开始时间=${params[21]}&结束时间=${params[22]}`, - Pagination: params[0] + '&' + params[1] + param: `物料类别流水号_check=${params[2]}&物料类别流水号=${params[3]}&物料品种流水号_check=${params[4]}&物料品种流水号=${params[5]}&项目流水号_check=${params[6]}&项目流水号=${params[7]}&机床流水号_check=${params[8]}&机床流水号=${params[9]}&组件流水号_check=${params[10]}&组件流水号=${params[11]}&物料名称_check=${params[12]}&物料名称=${params[13]}&物料状态编号=${params[14]}&物料规格_check=${params[15]}&物料规格=${params[16]}&物料型号_check=${params[17]}&物料型号=${params[18]}&零件类型=${params[19]}&时间段_check=${params[20]}&开始时间=${params[21]}&结束时间=${params[22]}&PageCurrent=${params[0]}&PageSize=${params[1]}&TotalCount=1111=int=output` } }) } @@ -108,8 +107,7 @@ export function searchTable2(...params) { ModularID: router.currentRoute.path, type: '1', name: '采购管理_采购部采购_查询物料_基本件_分配后_采购任务分配', - param: `项目流水号_check=${params[2]}&项目流水号=${params[3]}&机床流水号_check=${params[4]}&机床流水号=${params[5]}&组件流水号_check=${params[6]}&组件流水号=${params[7]}&物料状态编号=${params[8]}&零件图号_check=${params[9]}&零件图号=${params[10]}&零件名称_check=${params[11]}&零件名称=${params[12]}&零件规格_check=${params[13]}&零件规格=${params[14]}&材料_check=${params[15]}&材料=${params[16]}`, - Pagination: params[0] + '&' + params[1] + param: `项目流水号_check=${params[2]}&项目流水号=${params[3]}&机床流水号_check=${params[4]}&机床流水号=${params[5]}&组件流水号_check=${params[6]}&组件流水号=${params[7]}&物料状态编号=${params[8]}&零件图号_check=${params[9]}&零件图号=${params[10]}&零件名称_check=${params[11]}&零件名称=${params[12]}&零件规格_check=${params[13]}&零件规格=${params[14]}&材料_check=${params[15]}&材料=${params[16]}&PageCurrent=${params[0]}&PageSize=${params[1]}&TotalCount=1111=int=output` } }) } diff --git a/src/views/ManufacturingCenter/GroupMatching/index.vue b/src/views/ManufacturingCenter/GroupMatching/index.vue index dba99444..7809fa76 100644 --- a/src/views/ManufacturingCenter/GroupMatching/index.vue +++ b/src/views/ManufacturingCenter/GroupMatching/index.vue @@ -613,6 +613,14 @@ export default { } else { this.order3 = 0 } + let check1, check2, check + this.Machine ? check1 = 1 : check1 = 0 + this.Group ? check2 = 1 : check2 = 0 + this.materialName ? check = 1 : check = 0 + 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 + }) }, sortChange4(column, prop, order) { if (column.order === 'ascending') { @@ -724,7 +732,7 @@ export default { let check1, check2 this.Machine ? check1 = 1 : check1 = 0 this.Group ? check2 = 1 : check2 = 0 - searchTable01(check1, this.Machine, check2, this.Group, this.pageCurrent00, this.pageSize00, 1).then(response => { + searchTable01(check1, this.Machine, check2, this.Group, this.pageCurrent00, this.pageSize00, 1, this.order3).then(response => { this.tableData00 = response.data.rows this.total00 = response.data.total }) @@ -734,7 +742,7 @@ export default { let check1, check2 this.Machine ? check1 = 1 : check1 = 0 this.Group ? check2 = 1 : check2 = 0 - searchTable01(check1, this.Machine, check2, this.Group, this.pageCurrent01, this.pageSize01, 2).then(response => { + searchTable01(check1, this.Machine, check2, this.Group, this.pageCurrent01, this.pageSize01, 2, this.order4).then(response => { this.tableData01 = response.data.rows this.total01 = response.data.total }) @@ -744,7 +752,7 @@ export default { let check1, check2 this.Machine ? check1 = 1 : check1 = 0 this.Group ? check2 = 1 : check2 = 0 - searchTable02(check1, this.Machine, check2, this.Group, this.pageCurrent02, this.pageSize02).then(response => { + searchTable02(check1, this.Machine, check2, this.Group, this.pageCurrent02, this.pageSize02, this.order5).then(response => { this.tableData02 = response.data.rows this.total02 = response.data.total }) diff --git a/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue b/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue index 14bb354a..ba041164 100644 --- a/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue +++ b/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue @@ -22,13 +22,6 @@ - - - - - - - {{ item.name }} - - - - - - - - 查询 已分配 - - - - 打回 - @@ -158,11 +138,6 @@ {{ scope.row.零件数量 }} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -