add apply_button permission for batch sync log

This commit is contained in:
LittleBoy 2024-09-11 17:32:06 +08:00
parent d656720a79
commit 0910808853

View File

@ -113,7 +113,7 @@ const BillReconciliation = () => {
operationRender={queryParams.apply_status == 'CHECKED' ? 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}}>
{t('bill.confirm_batch')}
</Button> :