diff --git a/src/views/report/inventoryRateReport/index.vue b/src/views/report/inventoryRateReport/index.vue index 02dc8a7..ca68adc 100644 --- a/src/views/report/inventoryRateReport/index.vue +++ b/src/views/report/inventoryRateReport/index.vue @@ -6,7 +6,7 @@ @@ -53,16 +53,16 @@ - - - - - - - - - - + + 导出 + + @@ -82,13 +82,13 @@ - - - - - - - + @@ -128,11 +128,11 @@ export default { daterangeBeginTime: [], // 查询参数 queryParams: { - // pageNum: 1, - // pageSize: 10, + pageNum: 1, + pageSize: 10, beginBeginTime: null, endBeginTime: null, - WORK_CENTER_CODE: null, + WORK_CENTER_CODE: '3103', PRODUCT_LINE_NAME: null, ORDER_CODE: null, MATERIAL_CODE: null, @@ -179,8 +179,8 @@ export default { this.queryParams.endBeginTime = null } inventoryRateReportList(this.queryParams).then(response => { - this.reportList = response.data - // this.total = response.total; + this.reportList = response.rows + this.total = response.total this.loading = false }) }, @@ -221,9 +221,9 @@ export default { /** 导出按钮操作 */ handleExport() { - this.download('/report/productionReport/export', { + this.download('/report/productionReport/inventoryRateReportList/export', { ...this.queryParams - }, `report_${new Date().getTime()}.xlsx`) + }, `清单率报表_${new Date().getTime()}.xlsx`) } }