Browse Source

成本分配表-转入数量-导出

jbb 2 years ago
parent
commit
cbf779495a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/cost-allocation-total/modal/fabInQuaModal.vue

+ 2 - 2
src/views/cost-allocation-total/modal/fabInQuaModal.vue

@@ -19,7 +19,7 @@
       <a-row style="marginTop:20px;">
         <a-col :md="24" :sm="12">
           <span style="float: right;" class="table-operator">
-            <a-button type="primary" icon="download" @click="handleExportXls('成本分配-面料-转入数量')">导出</a-button>
+            <a-button type="primary" icon="download" @click="handleExportXls('面料转入')">导出</a-button>
             <!-- <a-button type="primary" @click="print" icon="printer" style="margin:0 10px;">打印</a-button> -->
             <a-button type="primary" @click="cancel" icon="rollback">取消</a-button>
           </span>
@@ -133,7 +133,7 @@ export default {
           return
         }
         if (typeof window.navigator.msSaveBlob !== 'undefined') {
-          window.navigator.msSaveBlob(new Blob([data], { type: 'application/vnd.ms-excel' }),this.planNum+'-'+fileName + '.xls')
+          window.navigator.msSaveBlob(new Blob([data], { type: 'application/vnd.ms-excel' }),this.planNum+'-'+fileName + '.xlsx')
         } else {
           let url = window.URL.createObjectURL(new Blob([data], { type: 'application/vnd.ms-excel' }))
           let link = document.createElement('a')