Browse Source

价格权限控制

lilei 2 years ago
parent
commit
228e1d3a28
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/views/reportData/expenseAccountReport/categoryList.vue

+ 2 - 0
src/views/reportData/expenseAccountReport/categoryList.vue

@@ -261,11 +261,13 @@ export default {
         if (valid) {
           _this.showExport = true
           const params = _this.queryParam
+          _this.$store.state.app.curActionPermission = 'B_expenseCollectExportByPtype'
           _this.exportLoading = true
           _this.spinning = true
           hdExportExcel(expenseCollectReportExportByProductType, params, '费用汇总报表(按品类)', function () {
             _this.exportLoading = false
             _this.spinning = false
+            _this.$store.state.app.curActionPermission = ''
           })
         } else {
           return false