|
@@ -7,8 +7,20 @@
|
|
|
<template slot="subTitle">
|
|
|
<a id="dealerAccountDetail-back-btn" href="javascript:;" @click="handleBack"><a-icon type="left" /> 返回列表</a>
|
|
|
<span class="subTitle-word text-overflow" style="margin:0 15px;">轮胎补贴金额({{ $route.params.name }}):<span style="vertical-align: middle;">¥</span><span style="font-size:20px;vertical-align: text-bottom;">{{ toThousands($route.params.num) }}</span></span>
|
|
|
- <a-button type="danger" style="margin-right:15px;" ghost id="dealerAccountDetail-checkAccount" @click="openCheckAccountModal = true">调账</a-button>
|
|
|
- <a-button type="primary" class="button-info" ghost id="dealerAccountDetail-checkRecord" @click="openCheckRecordModal=true">调账记录</a-button>
|
|
|
+ <a-button
|
|
|
+ type="danger"
|
|
|
+ v-if="$hasPermissions('B_checkAccount')"
|
|
|
+ style="margin-right:15px;"
|
|
|
+ ghost
|
|
|
+ id="dealerAccountDetail-checkAccount"
|
|
|
+ @click="openCheckAccountModal = true">调账</a-button>
|
|
|
+ <a-button
|
|
|
+ type="primary"
|
|
|
+ v-if="$hasPermissions('B_checkRecord')"
|
|
|
+ class="button-info"
|
|
|
+ ghost
|
|
|
+ id="dealerAccountDetail-checkRecord"
|
|
|
+ @click="openCheckRecordModal=true">调账记录</a-button>
|
|
|
</template>
|
|
|
</a-page-header>
|
|
|
</div>
|
|
@@ -57,7 +69,7 @@
|
|
|
@click="handleExport"
|
|
|
:disabled="disabled"
|
|
|
:loading="exportLoading"
|
|
|
- v-if="$hasPermissions('B_actualSalesReport_export')"
|
|
|
+ v-if="$hasPermissions('B_dealerAccountDetail_export')"
|
|
|
id="dealerAccountDetail-export">导出</a-button>
|
|
|
</a-col>
|
|
|
</a-row>
|