diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue index e36fa9ecf..8ae30675a 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue +++ b/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']) }), // 关闭