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; + }, }, } - +