[1386] 1,2차 수정

This commit is contained in:
ysCha 2026-02-26 15:48:35 +09:00
parent 1a2fa7bbf6
commit 95811760dc
2 changed files with 20 additions and 3 deletions

View File

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

View File

@ -39,7 +39,12 @@ 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){
if(session?.storeId !== managementState?.firstAgentId) {
setButtonStyle('none')
}
}
}
}
}