chenrui 2 年 前
コミット
f1a8364b97

+ 4 - 4
src/config/router.config.js

@@ -2260,8 +2260,8 @@ export const asyncRouterMap = [
             component: BlankLayout,
             meta: {
               title: '采购退货报表',
-              icon: 'profile'
-              // permission: 'M_purchaseReturnReportList'
+              icon: 'profile',
+              permission: 'M_purchaseReturnReportList'
             },
             hideChildrenInMenu: true,
             children: [
@@ -2272,8 +2272,8 @@ export const asyncRouterMap = [
                 meta: {
                   title: '采购退货报表列表',
                   icon: 'profile',
-                  hidden: true
-                  // permission: 'M_purchaseReturnReportList'
+                  hidden: true,
+                  permission: 'M_purchaseReturnReportList'
                 }
               }
             ]

+ 2 - 2
src/views/reportData/purchaseReturnReport/purchaseReturnDetail.vue

@@ -69,7 +69,7 @@
               @click="handleExport"
               :disabled="disabled"
               :loading="exportLoading"
-              v-if="$hasPermissions('B_purchaseReceiptReportExport')"
+              v-if="$hasPermissions('B_purchaseReturnReportExport')"
               id="purchaseReceiptDetailList-export">导出</a-button>
             <a @click="advanced=!advanced" style="margin-left: 5px">
               {{ advanced ? '收起' : '展开' }}
@@ -138,7 +138,7 @@ export default {
         'time': [{ required: true, message: '请选择出库时间', trigger: 'change' }]
       },
       disabled: false, //  查询、重置按钮是否可操作11
-      advanced: true, // 高级搜索 展开/关闭
+      advanced: false, // 高级搜索 展开/关闭
       exportLoading: false,
       // 加载数据方法 必须为 Promise 对象
       loadData: parameter => {

+ 2 - 1
src/views/reportData/purchaseReturnReport/purchaseReturnOrder.vue

@@ -47,9 +47,10 @@
               @click="handleExport"
               :disabled="disabled"
               :loading="exportLoading"
+              v-if="$hasPermissions('B_purchaseReturnReportExport')"
               id="purchaseReturnOrderList-export">导出</a-button>
           </a-col>
-          <!-- v-if="$hasPermissions('B_purchaseReturnReportExport')" -->
+
         </a-row>
       </a-form-model>
     </div>