diff --git a/src/api/Outsourcing/OutsourcingPartsQuery.js b/src/api/Outsourcing/OutsourcingPartsQuery.js index e74bf51c..a3801c2c 100644 --- a/src/api/Outsourcing/OutsourcingPartsQuery.js +++ b/src/api/Outsourcing/OutsourcingPartsQuery.js @@ -26,8 +26,7 @@ export function searchTable(check, supplierNameValue, check1, MaterialsValue, ch ModularID: router.currentRoute.path, type: '1', name: '车间生产管理_外协零件_查询数据_新', - param: '外协厂家_check=' + check + '&外协厂家=' + supplierNameValue + '&外协状态_check=' + check1 + '&外协状态=' + MaterialsValue + '&时间_check=' + check2 + '&开始时间=' + time1 + '&结束时间=' + time2, - Pagination: pageCurrent + '&' + pageSize + param: '外协厂家_check=' + check + '&外协厂家=' + supplierNameValue + '&外协状态_check=' + check1 + '&外协状态=' + MaterialsValue + '&时间_check=' + check2 + '&开始时间=' + time1 + '&结束时间=' + time2 + `&PageCurrent=${pageCurrent}&PageSize=${pageSize}&PageCount=1111=int=output&ItemCount=1111=int=output` } }) } diff --git a/src/views/Outsourcing/OutsourcingPartsQuery/index.vue b/src/views/Outsourcing/OutsourcingPartsQuery/index.vue index 3e3d5c0f..1186d10a 100644 --- a/src/views/Outsourcing/OutsourcingPartsQuery/index.vue +++ b/src/views/Outsourcing/OutsourcingPartsQuery/index.vue @@ -179,8 +179,8 @@ export default { check2 = 1 } searchTable(check, this.supplierNameValue, check1, this.MaterialsValue, check2, this.timer[0], this.timer[1], this.pageSize, this.pageCurrent).then(response => { - this.tableData = response.data.rows - this.total = response.data.total + this.tableData = response.data.result + this.total = parseInt(response.data.output[0].ItemCount) this.loading = false }) },