Compare commits
No commits in common. "032fb8414fe032a6d63cf18db92b61b7122e77ce" and "254c90a59f7ba8af8fca637caa60340da8d4e7a5" have entirely different histories.
032fb8414f
...
254c90a59f
@ -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'
|
||||||
}
|
}
|
||||||
@ -396,15 +391,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