|
|
@@ -19,7 +19,7 @@
|
|
|
<!--头部slot-->
|
|
|
<template slot="title">
|
|
|
开票内容
|
|
|
- <a-button type="primary" class="apply-button" icon="plus" @click="handleAddWork" size="small">添加开票内容</a-button>
|
|
|
+ <a-button type="primary" class="apply-button" icon="plus" @click="handleAddWork" size="small" v-has="'hlw:subcontractor:addInvoice'">添加开票内容</a-button>
|
|
|
</template>
|
|
|
</a-descriptions>
|
|
|
<a-table
|
|
|
@@ -34,9 +34,9 @@
|
|
|
class="j-table-force-nowrap">
|
|
|
|
|
|
<span slot="action" slot-scope="text, record, index">
|
|
|
- <a @click="handleDelete(record)">删除</a>
|
|
|
- <a-divider type="vertical"/>
|
|
|
- <a @click="handleIsOn(record)">启用禁用</a>
|
|
|
+ <a @click="handleDelete(record)" v-has="'hlw:subcontractor:deleteInvoice'">删除</a>
|
|
|
+ <a-divider type="vertical" v-has="'hlw:subcontractor:isOnInvoice'"/>
|
|
|
+ <a @click="handleIsOn(record)" v-has="'hlw:subcontractor:isOnInvoice'">启用禁用</a>
|
|
|
</span>
|
|
|
|
|
|
</a-table>
|