lilei 2 年 前
コミット
ad250a0b67

+ 1 - 1
public/version.json

@@ -1,5 +1,5 @@
 {
   "message": "发现有新版本发布,确定更新系统?",
   "vendorJsVersion": "",
-  "version": 1663667141489
+  "version": 1663669047442
 }

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

@@ -2369,7 +2369,7 @@ export const asyncRouterMap = [
             meta: {
               title: '连锁销售退货合计报表',
               icon: 'profile',
-              // permission: 'M_chainSalesReturnDetailReport_list'
+              permission: 'M_chainSalesReturnDetailReport_list'
             },
             hideChildrenInMenu: true,
             children: [
@@ -2381,7 +2381,7 @@ export const asyncRouterMap = [
                   title: '连锁销售退货合计列表',
                   icon: 'profile',
                   hidden: true,
-                  // permission: 'M_chainSalesReturnDetailReport_list'
+                  permission: 'M_chainSalesReturnDetailReport_list'
                 }
               }
             ]

+ 7 - 6
src/views/chainReportData/chainSalesReturnDetailReport/list.vue

@@ -1,10 +1,10 @@
 <template>
-  <a-card size="small" :bordered="false" class="chainSalesDetailsCountReportList-wrap">
+  <a-card size="small" :bordered="false" class="reportSalesReturnBillDetail-wrap">
     <a-spin :spinning="spinning" tip="Loading...">
       <!-- 搜索条件 -->
       <div class="table-page-search-wrapper">
         <a-form-model
-          id="chainSalesDetailsCountReportList-form"
+          id="reportSalesReturnBillDetail-form"
           ref="ruleForm"
           class="form-model-con"
           layout="inline"
@@ -23,7 +23,7 @@
               <a-form-model-item label="连锁店" prop="tenantId">
                 <a-select
                   placeholder="请选择连锁店"
-                  id="chainSalesDetailsCountReportList-tenantId"
+                  id="reportSalesReturnBillDetail-tenantId"
                   allowClear
                   v-model="queryParam.tenantId"
                   :showSearch="true"
@@ -34,8 +34,8 @@
               </a-form-model-item>
             </a-col>
             <a-col :md="6" :sm="24" style="margin-bottom: 10px;">
-              <a-button type="primary" @click="handleSearch" :disabled="disabled" id="chainSalesDetailsCountReportList-refresh">查询</a-button>
-              <a-button style="margin-left: 5px" @click="resetSearchForm" :disabled="disabled" id="chainSalesDetailsCountReportList-reset">重置</a-button>
+              <a-button type="primary" @click="handleSearch" :disabled="disabled" id="reportSalesReturnBillDetail-refresh">查询</a-button>
+              <a-button style="margin-left: 5px" @click="resetSearchForm" :disabled="disabled" id="reportSalesReturnBillDetail-reset">重置</a-button>
               <a-button
                 style="margin-left: 5px"
                 type="primary"
@@ -43,7 +43,8 @@
                 @click="handleExport"
                 :disabled="disabled"
                 :loading="exportLoading"
-                id="chainSalesDetailsCountReportList-export">导出</a-button>
+                v-if="$hasPermissions('B_reportSalesReturnBillDetailExport')"
+                id="reportSalesReturnBillDetail-export">导出</a-button>
             </a-col>
           </a-row>
         </a-form-model>