From 14dc84502c85f4b1e2295d1c5ad13542bb06470b Mon Sep 17 00:00:00 2001 From: ysCha Date: Fri, 13 Feb 2026 08:26:25 +0900 Subject: [PATCH] =?UTF-8?q?[1386]T01=20=EA=B3=84=EC=A0=95=EC=9D=B4=20?= =?UTF-8?q?=EC=9E=91=EC=84=B1=ED=95=9C=20=EC=95=88=EA=B1=B4=20=EC=A4=91=20?= =?UTF-8?q?=ED=95=B4=EB=8B=B9=20=ED=8C=90=EB=A7=A4=EC=A0=90=20ID=EA=B0=80?= =?UTF-8?q?=20=EC=97=B4=EB=9E=8C=20=EA=B0=80=EB=8A=A5=ED=95=9C=20=EA=B2=83?= =?UTF-8?q?=EC=97=90=20=ED=95=9C=ED=95=A9=EB=8B=88=EB=8B=A4.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/management/StuffDetail.jsx | 12 ++++++++++-- src/components/management/StuffSubHeader.jsx | 6 +++++- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/components/management/StuffDetail.jsx b/src/components/management/StuffDetail.jsx index 75db2623..98eec095 100644 --- a/src/components/management/StuffDetail.jsx +++ b/src/components/management/StuffDetail.jsx @@ -357,7 +357,11 @@ export default function StuffDetail() { if (res?.data?.createSaleStoreId === 'T01') { if (session?.storeId !== 'T01') { - setShowButton('none') + //T01 계정이 작성한 안건 중 해당 판매점 ID가 열람 가능한 것에 한합니다. + if(session?.storeId !== managementState?.saleStoreId){ + return false + } + } } if (isObjectNotEmpty(res.data)) { @@ -1658,7 +1662,11 @@ export default function StuffDetail() { const getCellDoubleClicked = (params) => { if (managementState?.createSaleStoreId === 'T01') { if (session?.storeId !== 'T01') { - return false + //T01 계정이 작성한 안건 중 해당 판매점 ID가 열람 가능한 것에 한합니다. + if(session?.storeId !== managementState?.saleStoreId){ + return false + } + } } diff --git a/src/components/management/StuffSubHeader.jsx b/src/components/management/StuffSubHeader.jsx index 6cbfd862..b5df5411 100644 --- a/src/components/management/StuffSubHeader.jsx +++ b/src/components/management/StuffSubHeader.jsx @@ -39,7 +39,11 @@ export default function StuffSubHeader({ type }) { if (isObjectNotEmpty(managementState)) { if (managementState?.createSaleStoreId === 'T01') { if (session?.storeId !== 'T01') { - setButtonStyle('none') + //T01 계정이 작성한 안건 중 해당 판매점 ID가 열람 가능한 것에 한합니다. + if(session?.storeId !== managementState?.saleStoreId){ + setButtonStyle('none') + } + } } }