浏览代码

价格权限控制

lilei 2 年之前
父节点
当前提交
228e1d3a28
共有 1 个文件被更改,包括 2 次插入0 次删除
  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