add apply_button permission for batch sync log
This commit is contained in:
parent
d656720a79
commit
0910808853
@ -113,7 +113,7 @@ const BillReconciliation = () => {
|
|||||||
operationRender={queryParams.apply_status == 'CHECKED' ? undefined : (
|
operationRender={queryParams.apply_status == 'CHECKED' ? undefined : (
|
||||||
user && user.permissions?.apply_button ? operation : undefined
|
user && user.permissions?.apply_button ? operation : undefined
|
||||||
)}
|
)}
|
||||||
beforeTotalAmount={<div>{queryParams.apply_status != 'CHECKED' && (
|
beforeTotalAmount={<div>{queryParams.apply_status != 'CHECKED' && user && !!user.permissions?.apply_button && (
|
||||||
(selectKeys.length == 0) ? <Button theme={'solid'} disabled style={{marginRight: 10}}>
|
(selectKeys.length == 0) ? <Button theme={'solid'} disabled style={{marginRight: 10}}>
|
||||||
{t('bill.confirm_batch')}
|
{t('bill.confirm_batch')}
|
||||||
</Button> :
|
</Button> :
|
||||||
|
Loading…
x
Reference in New Issue
Block a user