chenrui vor 2 Monaten
Ursprung
Commit
a399365779
1 geänderte Dateien mit 3 neuen und 4 gelöschten Zeilen
  1. 3 4
      src/views/productManagement/foreignTradeGoods/list.vue

+ 3 - 4
src/views/productManagement/foreignTradeGoods/list.vue

@@ -42,7 +42,7 @@
               <a-button style="margin-left: 5px" @click="resetSearchForm" :disabled="disabled" id="foreignTradeGoods-reset">重置</a-button>
               <a-button
                 style="margin-left: 5px"
-                v-if="$hasPermissions('B_foreignTradeGood_export')"
+
                 type="primary"
                 class="button-warning"
                 @click="handleExport"
@@ -97,7 +97,7 @@ import { commonMixin } from '@/utils/mixin'
 // 组件
 import { STable, VSelect } from '@/components'
 import productTypeAll from '@/views/common/productTypeAll.js'
-import { exportExcel } from '@/libs/JGPrint.js'
+import { hdExportExcel } from '@/libs/exportExcel'
 import ImportGuideModal from './importGuideModal.vue'
 import reportModal from '@/views/common/reportModal.vue'
 // 接口
@@ -202,10 +202,9 @@ export default {
       _this.spinning = true
       _this.exportLoading = true
       _this.showExport = true
-      exportExcel(foreignProductListExport, params, '外贸产品', function () {
+      hdExportExcel(foreignProductListExport, params, '外贸产品', function () {
         _this.spinning = false
         _this.exportLoading = false
-        // _this.showExport = false
       })
     },
     //  产品分类  change