From c0def9482eb7f09b5c0088cd50ea7774078db6e6 Mon Sep 17 00:00:00 2001 From: shijing Date: Tue, 19 Mar 2024 17:32:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=B7=E6=96=99=E7=BB=9F=E8=AE=A1=E5=AF=BC?= =?UTF-8?q?=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/statistics/hunliao.vue | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/src/views/statistics/hunliao.vue b/src/views/statistics/hunliao.vue index 78a119f4..cb404386 100644 --- a/src/views/statistics/hunliao.vue +++ b/src/views/statistics/hunliao.vue @@ -25,8 +25,9 @@ - - + + 导出 + @@ -56,8 +57,9 @@ - - + + 导出 + @@ -321,8 +323,22 @@ export default { this.getData7(); this.getData10(); }, + handleExport(val) { + this.exportLoading = true; + let id = '#exportDiv' + val; + let name = val == '1' ? '混料统计' : '混料消耗统计'; + this.$XLSX(id, name); + this.exportLoading = false; + }, }, } - +