Ver Fonte

修改bug

chenrui há 3 meses atrás
pai
commit
997e8998ab

+ 1 - 1
src/views/reportData/tireSubsidyReport/serviceFreightDetailList.vue

@@ -360,9 +360,9 @@ export default {
     exportList () {
       const _this = this
       const params = JSON.parse(JSON.stringify(_this.queryParam))
+      _this.$store.state.app.curActionPermission = 'M_tireSubsidyExport'
       _this.exportLoading = true
       _this.spinning = true
-      _this.$store.state.app.curActionPermission = 'M_tireSubsidyExport_salesPrice'
       hdExportExcel(subsidyDetailExport, params, '轮胎服务费运费明细报表-', function () {
         _this.exportLoading = false
         _this.spinning = false

+ 1 - 1
src/views/reportData/tireSubsidyReport/serviceFreightList.vue

@@ -290,10 +290,10 @@ export default {
       const params = JSON.parse(JSON.stringify(_this.queryParam))
       params.bizYear = params.queryDate.split('-')[0]
       params.bizMonth = params.queryDate.split('-')[1]
+      _this.$store.state.app.curActionPermission = 'M_tireSubsidyExport'
       delete params.queryDate
       _this.exportLoading = true
       _this.spinning = true
-      _this.$store.state.app.curActionPermission = 'M_tireSubsidyExport_salesPrice'
       hdExportExcel(subsidyMonthExport, params, '轮胎服务费运费报表(' + this.queryParam.queryDate + '月份)-', function () {
         _this.exportLoading = false
         _this.spinning = false