Merge pull request '[1386] 1,2차 수정' (#671) from dev into dev-deploy
Reviewed-on: #671
This commit is contained in:
commit
032fb8414f
@ -294,8 +294,13 @@ 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') {
|
||||||
estimateDetailButtonStyle = 'none'
|
if(session?.storeId !== params?.data?.saleStoreId){
|
||||||
|
if(session?.storeId !== params?.data?.firstAgentId) {
|
||||||
|
estimateDetailButtonStyle = 'none'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (params?.data?.tempFlg === '1' || !params?.data?.docNo) {
|
if (params?.data?.tempFlg === '1' || !params?.data?.docNo) {
|
||||||
docDownButtonStyle = 'none'
|
docDownButtonStyle = 'none'
|
||||||
}
|
}
|
||||||
@ -391,7 +396,15 @@ 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