lilei преди 3 години
родител
ревизия
37c9aff269
променени са 2 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 1 0
      src/views/reportData/transferReturnDetailReport/list.vue
  2. 1 0
      src/views/reportData/transferReturnReport/list.vue

+ 1 - 0
src/views/reportData/transferReturnDetailReport/list.vue

@@ -335,6 +335,7 @@ export default {
       this.$refs.ruleForm.validate(valid => {
         if (valid) {
           const params = _this.queryParam
+          params.showCostFlag = this.$hasPermissions('B_isShowCost')
           _this.showExport = true
           _this.exportLoading = true
           _this.spinning = true

+ 1 - 0
src/views/reportData/transferReturnReport/list.vue

@@ -191,6 +191,7 @@ export default {
       this.$refs.ruleForm.validate(valid => {
         if (valid) {
           const params = _this.queryParam
+          params.showCostFlag = this.$hasPermissions('B_isShowCost')
           _this.showExport = true
           _this.exportLoading = true
           _this.spinning = true