|
@@ -4,12 +4,13 @@
|
|
|
<template slot="subTitle">
|
|
|
<a href="javascript:;" @click="handleBack"><a-icon type="left"></a-icon> 返回列表</a>
|
|
|
</template>
|
|
|
- <template slot="extra" v-if="$hasPermissions('B_salesPrint')">
|
|
|
+ <template slot="extra">
|
|
|
<a-button
|
|
|
key="4"
|
|
|
type="primary"
|
|
|
class="button-error"
|
|
|
id="salesDetail-xs-print-btn"
|
|
|
+ v-if="$hasPermissions('B_salesPrint')"
|
|
|
:disabled="localDataSource.length==0"
|
|
|
@click="handlePrint('SALES_BILL')">销售打印</a-button>
|
|
|
<a-button
|
|
@@ -17,6 +18,7 @@
|
|
|
type="primary"
|
|
|
class="button-info"
|
|
|
id="salesDetail-xsfl-print-btn"
|
|
|
+ v-if="$hasPermissions('B_salesPrint')"
|
|
|
:disabled="localDataSource.length==0"
|
|
|
@click="handlePrint('SALES_BILL_TYPE')">销售分类打印</a-button>
|
|
|
<a-button
|
|
@@ -24,6 +26,7 @@
|
|
|
type="primary"
|
|
|
class="button-warning"
|
|
|
id="salesDetail-export-btn"
|
|
|
+ v-if="$hasPermissions('B_salesExport')"
|
|
|
:disabled="localDataSource.length==0"
|
|
|
@click="handlePrint('export')">导出Excel</a-button>
|
|
|
<a-button
|
|
@@ -31,6 +34,7 @@
|
|
|
type="primary"
|
|
|
class="button-success"
|
|
|
id="salesDetail-export-btn"
|
|
|
+ v-if="$hasPermissions('B_salesExport')"
|
|
|
:disabled="localDataSource.length==0"
|
|
|
@click="handlePrint('typeExport')">分类导出</a-button>
|
|
|
</template>
|