|
@@ -65,8 +65,8 @@
|
|
|
<BasicTable @register="registerTable" :rowSelection="rowSelection" size="small">
|
|
|
<!--插槽:table标题-->
|
|
|
<template #tableTitle>
|
|
|
- <a-button type="primary" v-auth="'saleCode:sale_quotation:add'" @click="handleAdd" preIcon="ant-design:plus-outlined"> 新增(add)</a-button>
|
|
|
- <a-button type="primary" v-auth="'saleCode:sale_quotation:exportXls'" preIcon="ant-design:export-outlined" @click="onExportXls">
|
|
|
+ <a-button type="primary" @click="handleAdd" preIcon="ant-design:plus-outlined"> 新增(add)</a-button>
|
|
|
+ <a-button type="primary" preIcon="ant-design:export-outlined" @click="onExportXls">
|
|
|
导出(export)</a-button
|
|
|
>
|
|
|
<a-button type="primary" @click="submit"> 提交(submit)</a-button>
|
|
@@ -74,13 +74,13 @@
|
|
|
<a-dropdown v-if="selectedRowKeys.length > 0">
|
|
|
<template #overlay>
|
|
|
<a-menu>
|
|
|
- <a-menu-item key="1" @click="batchHandleDelete" v-auth="'saleCode:sale_quotation:deleteBatch'">
|
|
|
+ <a-menu-item key="1" @click="batchHandleDelete" >
|
|
|
<Icon icon="ant-design:delete-outlined" />
|
|
|
删除(delete)
|
|
|
</a-menu-item>
|
|
|
</a-menu>
|
|
|
</template>
|
|
|
- <a-button v-auth="'saleCode:sale_inquiry_form:deleteBatch'"
|
|
|
+ <a-button
|
|
|
>批量操作
|
|
|
<Icon icon="mdi:chevron-down" />
|
|
|
</a-button>
|
|
@@ -218,7 +218,7 @@
|
|
|
{
|
|
|
label: '编辑(edit)',
|
|
|
onClick: handleEdit.bind(null, record),
|
|
|
- auth: 'saleCode:sale_quotation:edit',
|
|
|
+ // auth: 'saleCode:sale_quotation:edit',
|
|
|
ifShow: record.status == '0',
|
|
|
},
|
|
|
{
|
|
@@ -229,7 +229,7 @@
|
|
|
placement: 'topLeft',
|
|
|
},
|
|
|
ifShow: record.status == '0',
|
|
|
- auth: 'saleCode:sale_quotation:delete',
|
|
|
+ // auth: 'saleCode:sale_quotation:delete',
|
|
|
},
|
|
|
];
|
|
|
}
|