|
|
@ -251,10 +251,10 @@ |
|
|
|
// 列表-操作按钮 |
|
|
|
const butttondata = (row) => { |
|
|
|
return [ |
|
|
|
defaultButtons.mainListPurchasePlanOpeBtn({ hide: isShowMainButton(row, ['1',, '2','4']) }), // 打开 |
|
|
|
defaultButtons.mainListPurchasePlanOpeBtn({ hide: isShowMainButton(row, ['1']) }), // 打开 |
|
|
|
defaultButtons.mainListPlanSubBtn({ hide: isShowMainButton(row, ['1']) }), // 提交审批 |
|
|
|
{ |
|
|
|
label: '采购审批通过', |
|
|
|
label: '采购通过', |
|
|
|
name: 'purchase_mainPlanSub', |
|
|
|
hide: isShowMainButton(row, ['2','7']), |
|
|
|
type: 'primary', |
|
|
@ -272,7 +272,7 @@ |
|
|
|
hasPermi: '' |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '发票寄出确认', |
|
|
|
label: '供应商确认', |
|
|
|
name: 'invoice_sent_out', |
|
|
|
hide: isShowMainButton(row, ['8']), |
|
|
|
type: 'danger', |
|
|
@ -281,7 +281,7 @@ |
|
|
|
hasPermi: '' |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '财务审批通过', |
|
|
|
label: '财务通过', |
|
|
|
name: 'finance_mainPlanSub', |
|
|
|
hide: isShowMainButton(row, ['4']), |
|
|
|
type: 'primary', |
|
|
@ -301,7 +301,7 @@ |
|
|
|
// defaultButtons.mainListPlanAppBtn({ hide: isShowMainButton(row, ['2']) }), // 审批通过 |
|
|
|
//defaultButtons.mainListPlanTurBtn({ hide: isShowMainButton(row, ['2']) }), // 驳回按钮 |
|
|
|
defaultButtons.mainListEditBtn({ hasPermi: 'wms:supplierinvoice-request-main:update' , hide: isShowMainButton(row, ['1','8'])}), // 编辑 |
|
|
|
defaultButtons.mainListPurchasePlanCloBtn({ hide: isShowMainButton(row, ['1', '2','4']) }), // 关闭 |
|
|
|
defaultButtons.mainListPurchasePlanCloBtn({ hide: isShowMainButton(row, ['1','8']) }), // 关闭 |
|
|
|
// 生成记录 |
|
|
|
// { |
|
|
|
// label: '处理', |
|
|
|