소스 검색

价格权限控制

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