Browse Source

发票增加按钮权限

master_hella_20240701
zhaoxuebing 7 months ago
parent
commit
df81b265ba
  1. 14
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

14
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

@ -291,8 +291,8 @@
return []
}
return [
defaultButtons.mainListPurchasePlanOpeBtn({ hide: isShowMainButton(row, ['1','6']) }), //
defaultButtons.mainListPlanSubBtn({ hide: isShowMainButton(row, ['1','6']) }), //
defaultButtons.mainListPurchasePlanOpeBtn({ hide: isShowMainButton(row, ['1','6']) ,hasPermi: 'wms:supplierinvoice-request-main:open'}), //
defaultButtons.mainListPlanSubBtn({ hide: isShowMainButton(row, ['1','6']),hasPermi: 'wms:supplierinvoice-request-main:sub' }), //
{
label: '采购通过',
name: 'purchase_mainPlanSub',
@ -300,7 +300,7 @@
type: 'primary',
icon: '',
color: '',
hasPermi: '',
hasPermi: 'wms:supplierinvoice-request-main:app',
link: true, //
},{
label: '采购驳回',
@ -309,7 +309,7 @@
type: 'danger',
color: '',
link: true, //
hasPermi: ''
hasPermi: 'wms:supplierinvoice-request-main:rej'
},
{
label: '供应商确认',
@ -318,7 +318,7 @@
type: 'danger',
color: '',
link: true, //
hasPermi: ''
hasPermi: 'wms:supplierinvoice-request-main:invoiceSentOut'
},
{
label: '财务通过',
@ -327,7 +327,7 @@
type: 'primary',
icon: '',
color: '',
hasPermi: '',
hasPermi: 'wms:supplierinvoice-request-main:financeApp',
link: true, //
},{
label: '财务驳回',
@ -336,7 +336,7 @@
type: 'danger',
color: '',
link: true, //
hasPermi: ''
hasPermi: 'wms:supplierinvoice-request-main:financeRej'
},
defaultButtons.mainListEditBtn({ hasPermi: 'wms:supplierinvoice-request-main:update' , hide: isShowMainButton(row, ['1','8','6'])}), //
defaultButtons.mainListPurchasePlanCloBtn({ hide: isShowMainButton(row, ['1','8','6']) }), //

Loading…
Cancel
Save