Browse Source

添加权限

chenrui 1 year ago
parent
commit
3cc6444648

+ 2 - 0
src/views/reportData/tireSalesReport/detailList.vue

@@ -118,11 +118,13 @@
           <!-- 操作 -->
           <template slot="action" slot-scope="text, record">
             <a-button
+              v-if="$hasPermissions('B_outDetailShow')"
               size="small"
               type="link"
               class="button-warning"
               @click="handleOutDetail(record)"
               id="transferReturnConfirmation-audit-btn">出库明细</a-button>
+            <span>--</span>
           </template>
           <template slot="footer">
             <a-row :gutter="15">

+ 1 - 1
src/views/reportData/tireSalesReport/list.vue

@@ -68,7 +68,7 @@
                 @click="handleExport"
                 :disabled="disabled"
                 :loading="exportLoading"
-                v-if="$hasPermissions('B_tireSalesReportExport')"
+                v-if="$hasPermissions('B_tireReportExport')"
                 id="tireSalesDealerList-export">导出</a-button>
               <a @click="advanced=!advanced" style="margin-left: 5px">
                 {{ advanced ? '收起' : '展开' }}