|
|
@ -534,31 +534,31 @@ const butttondata = (row, $index) => { |
|
|
|
return [ |
|
|
|
defaultButtons.mainListCloseBtn({ |
|
|
|
hide: isShowMainButton(row, ['1', '2', '3', '4', '6']), |
|
|
|
hasPermi: 'wms:purchasereceipt-request-main:close' |
|
|
|
hasPermi: 'wms:purchasereturn-request-main:close' |
|
|
|
}), // 关闭 |
|
|
|
defaultButtons.mainListReAddBtn({ |
|
|
|
hide: isShowMainButton(row, ['5']), |
|
|
|
hasPermi: 'wms:purchasereceipt-request-main:reAdd' |
|
|
|
hasPermi: 'wms:purchasereturn-request-main:reAdd' |
|
|
|
}), //重新添加 |
|
|
|
defaultButtons.mainListSubmitBtn({ |
|
|
|
hide: isShowMainButton(row, ['1']), |
|
|
|
hasPermi: 'wms:purchasereceipt-request-main:submit' |
|
|
|
hasPermi: 'wms:purchasereturn-request-main:submit' |
|
|
|
}), // 提交审批 |
|
|
|
defaultButtons.mainListTurnDownBtn({ |
|
|
|
hide: isShowMainButton(row, ['2']), |
|
|
|
hasPermi: 'wms:purchasereceipt-request-main:refused' |
|
|
|
hasPermi: 'wms:purchasereturn-request-main:refused' |
|
|
|
}), // 驳回 |
|
|
|
defaultButtons.mainListApproveBtn({ |
|
|
|
hide: isShowMainButton(row, ['2']), |
|
|
|
hasPermi: 'wms:purchasereceipt-request-main:agree' |
|
|
|
hasPermi: 'wms:purchasereturn-request-main:agree' |
|
|
|
}), // 审批通过 |
|
|
|
defaultButtons.mainListHandleBtn({ |
|
|
|
hide: isShowMainButton(row, ['3']), |
|
|
|
hasPermi: 'wms:purchasereceipt-request-main:handle' |
|
|
|
hasPermi: 'wms:purchasereturn-request-main:handle' |
|
|
|
}), // 处理 |
|
|
|
defaultButtons.mainListEditBtn({ |
|
|
|
hide: isShowMainButton(row, ['1']), |
|
|
|
hasPermi: 'wms:purchasereceipt-request-main:update' |
|
|
|
hasPermi: 'wms:purchasereturn-request-main:update' |
|
|
|
}) // 编辑 |
|
|
|
// { |
|
|
|
// label: '生成标签', |
|
|
|