diff --git a/src/api/Inventory/StockInquiry.js b/src/api/Inventory/StockInquiry.js index bba59417..b1bca8ce 100644 --- a/src/api/Inventory/StockInquiry.js +++ b/src/api/Inventory/StockInquiry.js @@ -40,8 +40,7 @@ export function getTable(num1, num2, num3, num4, num5, num6, pageCurrent, pageSi ModularID: router.currentRoute.path, type: '1', name: '车间生产管理工艺_库存管理_基本件库存查询', - param: '机床流水号_check=' + num1 + '&机床流水号=' + num2 + '&组件流水号_check=' + num3 + '&组件流水号=' + num4 + '&零件图号_check=' + num5 + '&零件图号=' + num6, - Pagination: pageCurrent + '&' + pageSize + param: '机床流水号_check=' + num1 + '&机床流水号=' + num2 + '&组件流水号_check=' + num3 + '&组件流水号=' + num4 + '&零件图号_check=' + num5 + '&零件图号=' + num6 + `&PageCurrent=${pageCurrent}&PageSize=${pageSize}&PageCount=1111=int=output&ItemCount=1111=int=output` } }) } diff --git a/src/views/Inventory/StockInquiry/index.vue b/src/views/Inventory/StockInquiry/index.vue index 4eefc0e7..6c93e6ff 100644 --- a/src/views/Inventory/StockInquiry/index.vue +++ b/src/views/Inventory/StockInquiry/index.vue @@ -194,11 +194,11 @@ export default { this.number ? this.checkbox_number = 1 : this.checkbox_number = 0 this.tableData1 = [] getTable(this.checkbox_Machine, this.Machine, this.checkbox_Group, this.Group, this.checkbox_number, this.number, this.pageCurrent, this.pageSize).then(response => { - if (response.data.total === 0) { + if (response.data.result.length === 0) { this.listLoading1 = false } else { - this.tableData1 = response.data.rows - this.total = response.data.total + this.tableData1 = response.data.result + this.total = parseInt(response.data.output[0].ItemCount) this.listLoading1 = false } }) diff --git a/src/views/ManufacturingCenter/ProcessingStatusNew/index.vue b/src/views/ManufacturingCenter/ProcessingStatusNew/index.vue index 9b6ac9c5..eae41a51 100644 --- a/src/views/ManufacturingCenter/ProcessingStatusNew/index.vue +++ b/src/views/ManufacturingCenter/ProcessingStatusNew/index.vue @@ -28,7 +28,7 @@ - +