Ver código fonte

供应商产能报表-明细导出

jbb 1 ano atrás
pai
commit
7b4e9a3d7f
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      src/views/reportForms/supply-capacity-table.vue

+ 2 - 2
src/views/reportForms/supply-capacity-table.vue

@@ -105,7 +105,7 @@
         >
         <a-button type="primary" @click="monthDepartExport('月份部门合计导出')" icon="download"
           >月份部门合计导出</a-button>
-          <a-button type="primary" @click="detailExport()" icon="download"
+          <a-button type="primary" @click="detailExport('明细导出')" icon="download"
           >明细导出</a-button>
       </div>
 
@@ -361,7 +361,7 @@ export default {
         }
       })
     },
-    detailExport(){
+    detailExport(fileName){
       downFile('/scas/supplierCapacity/excel4', this.queryParam).then(data => {
         if (!data) {
           this.$message.warning('文件下载失败')