|
@@ -154,12 +154,12 @@
|
|
|
<a-button type="primary" v-auth="'purCode:pur_order:exportXls'" preIcon="ant-design:export-outlined" @click="onExportXls">
|
|
|
导出(export)</a-button
|
|
|
>
|
|
|
- <a-button type="primary" @click="submit"> 提交(submit)</a-button>
|
|
|
- <a-button type="primary" @click="cancelSubmit"> 取消提交(cancelSubmit)</a-button>
|
|
|
+ <a-button type="primary" v-auth="'purCode:pur_order:add'" @click="submit"> 提交(submit)</a-button>
|
|
|
+ <a-button type="primary" v-auth="'purCode:pur_order:add'" @click="cancelSubmit"> 取消提交(cancelSubmit)</a-button>
|
|
|
<a-button type="primary" @click="close" v-auth="'purCode:pur_order:close'"> 关闭(close)</a-button>
|
|
|
<!-- <a-button type="primary" @click="cancelClose"> 取消关闭(cancel close)</a-button> -->
|
|
|
- <a-button type="primary" @click="confirm"> 供应商确认(confirm)</a-button>
|
|
|
- <a-button type="primary" @click="cancelConfirm"> 取消供应商确认(cancel confirm)</a-button>
|
|
|
+ <a-button type="primary" v-auth="'purCode:pur_order:add'" @click="confirm"> 供应商确认(confirm)</a-button>
|
|
|
+ <a-button type="primary" v-auth="'purCode:pur_order:add'" @click="cancelConfirm"> 取消供应商确认(cancel confirm)</a-button>
|
|
|
<a-button type="primary" v-auth="'purCode:pur_order:after'" @click="handleAfterAdd" preIcon="ant-design:plus-outlined"> 售后(add)</a-button>
|
|
|
|
|
|
<a-dropdown v-if="selectedRowKeys.length > 0">
|
|
@@ -183,7 +183,7 @@
|
|
|
</template>
|
|
|
<!--字段回显插槽-->
|
|
|
<template #bodyCell="{ column, record, index, text }"> </template>
|
|
|
- //
|
|
|
+
|
|
|
<template #viewFile="props">
|
|
|
<a @click="viewFileDetail(props)">查看(view)</a>
|
|
|
</template>
|
|
@@ -446,13 +446,13 @@
|
|
|
{
|
|
|
label: '查看历史版本(view history)',
|
|
|
onClick: viewHistoryList.bind(null, record),
|
|
|
- auth: 'saleCode:sale_inquiry_form:delete',
|
|
|
+ // auth: 'saleCode:sale_inquiry_form:delete',
|
|
|
ifShow: record.submit == '1',
|
|
|
},
|
|
|
{
|
|
|
label: '复制(copy)',
|
|
|
onClick: handleCopy.bind(null, record),
|
|
|
- // auth: 'saleCode:sale_inquiry_form:delete',
|
|
|
+ auth: 'purCode:pur_order:add',
|
|
|
},
|
|
|
// {
|
|
|
// label: '导出发票(export invoice)',
|