Explorar o código

价格权限控制

lilei %!s(int64=2) %!d(string=hai) anos
pai
achega
228e1d3a28
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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