권한변경

This commit is contained in:
focp212@naver.com
2025-11-17 15:58:26 +09:00
parent d7086eeb38
commit 99c4ed7000
5 changed files with 51 additions and 43 deletions

View File

@@ -130,7 +130,7 @@ export const ListWrap = () => {
setSortType(sort);
};
const onClickToOpenDownloadBottomSheet = () => {
if (!checkGrant(menuId, 'X')) {
if (!checkGrant(menuId, 'D')) {
showAlert(t('common.nopermission'));
return;
}

View File

@@ -35,7 +35,7 @@ export const ReferenceWrap = () => {
const { mutateAsync: vatReturnReferenceRequest } = useVatReturnReferenceRequestMutation();
const onClickToResquest = () => {
if(checkGrant(menuId, 'R')){
if(checkGrant(menuId, 'W')){
let params: VatReturnReferenceRequestParams = {
mid: mid,
startDate: startDate,