Revert "[1386] 1,2차 수정"
This reverts commit b81540fe62973699634b9b1d61332b69639efeb5.
This commit is contained in:
parent
b06cb5b9da
commit
da6b17c0ff
@ -294,13 +294,8 @@ export default function StuffDetail() {
|
|||||||
docDownButtonStyle = 'none'
|
docDownButtonStyle = 'none'
|
||||||
} else {
|
} else {
|
||||||
if (params?.data?.createSaleStoreId === 'T01' && session?.storeId !== 'T01') {
|
if (params?.data?.createSaleStoreId === 'T01' && session?.storeId !== 'T01') {
|
||||||
if(session?.storeId !== params?.data?.saleStoreId){
|
|
||||||
if(session?.storeId !== params?.data?.firstAgentId) {
|
|
||||||
estimateDetailButtonStyle = 'none'
|
estimateDetailButtonStyle = 'none'
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (params?.data?.tempFlg === '1' || !params?.data?.docNo) {
|
if (params?.data?.tempFlg === '1' || !params?.data?.docNo) {
|
||||||
docDownButtonStyle = 'none'
|
docDownButtonStyle = 'none'
|
||||||
}
|
}
|
||||||
@ -394,15 +389,7 @@ export default function StuffDetail() {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
if (isNotEmptyArray(res.data.planList)) {
|
if (isNotEmptyArray(res.data.planList)) {
|
||||||
|
setPlanGridProps({ ...planGridProps, planGridData: res.data.planList })
|
||||||
const planGridData = res.data.planList.map(plan => ({
|
|
||||||
...plan,
|
|
||||||
createSaleStoreId: res.data.createSaleStoreId,
|
|
||||||
saleStoreId: res.data.saleStoreId,
|
|
||||||
firstAgentId: res.data.firstAgentId
|
|
||||||
}))
|
|
||||||
|
|
||||||
setPlanGridProps({ ...planGridProps, planGridData })
|
|
||||||
} else {
|
} else {
|
||||||
setPlanGridProps({ ...planGridProps, planGridData: [] })
|
setPlanGridProps({ ...planGridProps, planGridData: [] })
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user