From 23a2f7249b9821116af303af08af28f0f30167d9 Mon Sep 17 00:00:00 2001 From: yinq Date: Fri, 22 Mar 2024 18:47:35 +0800 Subject: [PATCH] =?UTF-8?q?update=20-=20=E6=B8=85=E5=8D=95=E7=8E=87?= =?UTF-8?q?=E6=8A=A5=E8=A1=A8=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../report/inventoryRateReport/index.vue | 50 +++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-) 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`) } }