Ver código fonte

佣金合同-页面调整

jingbb 2 meses atrás
pai
commit
8a0713d706

+ 6 - 6
src/views/platformBusiness/commissionContract/commissionContract.vue

@@ -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',
       },
     ];
   }

+ 1 - 1
src/views/platformBusiness/commissionContract/components/commissionContractModal.vue

@@ -1,6 +1,6 @@
 <template>
   <div ref="commissionContractModalRef">
-    <BasicModal v-bind="$attrs" @register="registerModal" :title="title" width="95%"  @ok="handleSubmit" :getContainer ='()=>$refs.SaleOrderDetailsRef' :maskClosable="false">
+    <BasicModal v-bind="$attrs" @register="registerModal" :title="title" width="95%"  @ok="handleSubmit" :getContainer ='()=>$refs.commissionContractModalRef' :maskClosable="false">
       <commissionContractFormForm ref="formComponent" :formDisabled="formDisabled" :formBpm="false" @success="submitSuccess"></commissionContractFormForm>
     </BasicModal>
   </div>