[1386]T01 계정이 작성한 안건 중 해당 판매점 ID가 열람 가능한 것에 한합니다. #661

Merged
ysCha merged 1 commits from dev into dev-deploy 2026-02-13 08:27:28 +09:00
2 changed files with 15 additions and 3 deletions
Showing only changes of commit 14dc84502c - Show all commits

View File

@ -357,7 +357,11 @@ export default function StuffDetail() {
if (res?.data?.createSaleStoreId === 'T01') { if (res?.data?.createSaleStoreId === 'T01') {
if (session?.storeId !== 'T01') { if (session?.storeId !== 'T01') {
setShowButton('none') //T01 ID .
if(session?.storeId !== managementState?.saleStoreId){
return false
}
} }
} }
if (isObjectNotEmpty(res.data)) { if (isObjectNotEmpty(res.data)) {
@ -1658,8 +1662,12 @@ export default function StuffDetail() {
const getCellDoubleClicked = (params) => { const getCellDoubleClicked = (params) => {
if (managementState?.createSaleStoreId === 'T01') { if (managementState?.createSaleStoreId === 'T01') {
if (session?.storeId !== 'T01') { if (session?.storeId !== 'T01') {
//T01 ID .
if(session?.storeId !== managementState?.saleStoreId){
return false return false
} }
}
} }
if (params?.column?.colId !== 'estimateDate') { if (params?.column?.colId !== 'estimateDate') {

View File

@ -39,8 +39,12 @@ export default function StuffSubHeader({ type }) {
if (isObjectNotEmpty(managementState)) { if (isObjectNotEmpty(managementState)) {
if (managementState?.createSaleStoreId === 'T01') { if (managementState?.createSaleStoreId === 'T01') {
if (session?.storeId !== 'T01') { if (session?.storeId !== 'T01') {
//T01 ID .
if(session?.storeId !== managementState?.saleStoreId){
setButtonStyle('none') setButtonStyle('none')
} }
}
} }
} }
} }