Browse Source

采购报价选定-添加按钮 权限

jingbb 5 months ago
parent
commit
9790ffe03e

+ 5 - 5
src/views/purchase/selectionQuotationForm/selectionQuotationFormList.vue

@@ -79,14 +79,14 @@
    <BasicTable @register="registerTable" :rowSelection="rowSelection" size="small" >
      <!--插槽:table标题-->
       <template #tableTitle>
-          <a-button type="primary"  @click="handleAdd" preIcon="ant-design:plus-outlined" v-auth="'purCode:pur_purchase_quotation:add'"> 新增(add)</a-button>
-          <a-button  type="primary"   preIcon="ant-design:export-outlined" @click="onExportXls" v-auth="'purCode:pur_purchase_quotation:exportXls'"> 导出(export)</a-button>
+          <a-button type="primary"  @click="handleAdd" preIcon="ant-design:plus-outlined" v-auth="'purCode:pur_quotation_selection:add'"> 新增(add)</a-button>
+          <a-button  type="primary"   preIcon="ant-design:export-outlined" @click="onExportXls" v-auth="'purCode:pur_quotation_selection:exportXls'"> 导出(export)</a-button>
           <a-button  type="primary"  @click="submit" > 提交(submit)</a-button>
           <a-button  type="primary"  @click="cancelSubmit" > 取消提交(cancelSubmit)</a-button>
           <a-dropdown v-if="selectedRowKeys.length > 0">
               <template #overlay>
                 <a-menu>
-                  <a-menu-item key="1" @click="batchHandleDelete" v-auth="'purCode:pur_purchase_quotation:deleteBatch'" >
+                  <a-menu-item key="1" @click="batchHandleDelete" v-auth="'purCode:pur_quotation_selection:deleteBatch'" >
                     <Icon icon="ant-design:delete-outlined"></Icon>
                     删除(delete)
                   </a-menu-item>
@@ -248,7 +248,7 @@
         {
            label: '编辑(edit)',
            onClick: handleEdit.bind(null, record),
-           auth: 'purCode:pur_inquiry_form:edit',
+           auth: 'purCode:pur_quotation_selection:edit',
            ifShow: record.submit=='0'
          }
        ]
@@ -269,7 +269,7 @@
              confirm: handleDelete.bind(null, record),
              placement: 'topLeft'
            },
-           auth: 'purCode:pur_purchase_quotation:delete',
+           auth: 'purCode:pur_quotation_selection:delete',
            ifShow: record.submit=='0',
            
          }