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

Loading…
Cancel
Save