물건 상세 & 견적서 상세
This commit is contained in:
parent
6219f8ed6c
commit
96290ea060
@ -155,7 +155,9 @@ export default function Header(props) {
|
|||||||
onMouseEnter={(e) => ToggleonMouse(e, 'add', 'li > ul')}
|
onMouseEnter={(e) => ToggleonMouse(e, 'add', 'li > ul')}
|
||||||
onMouseLeave={(e) => ToggleonMouse(e, 'remove', 'li > ul')}
|
onMouseLeave={(e) => ToggleonMouse(e, 'remove', 'li > ul')}
|
||||||
>
|
>
|
||||||
<Link href={m.url}>{getMessage(m.name)}</Link>
|
<Link scroll={false} href={m.url}>
|
||||||
|
{getMessage(m.name)}
|
||||||
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
)
|
)
|
||||||
})}
|
})}
|
||||||
|
|||||||
@ -128,9 +128,9 @@ export default function MainContents() {
|
|||||||
className="recently-item"
|
className="recently-item"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
if (row.tempFlg === '0') {
|
if (row.tempFlg === '0') {
|
||||||
router.push(`/management/stuff/detail?objectNo=${row.objectNo.toString()}`)
|
router.push(`/management/stuff/detail?objectNo=${row.objectNo.toString()}`, { scroll: false })
|
||||||
} else {
|
} else {
|
||||||
router.push(`/management/stuff/tempdetail?objectNo=${row.objectNo.toString()}`)
|
router.push(`/management/stuff/tempdetail?objectNo=${row.objectNo.toString()}`, { scroll: false })
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
@ -322,7 +322,7 @@ export default function StuffDetail() {
|
|||||||
} else {
|
} else {
|
||||||
setManagementState({})
|
setManagementState({})
|
||||||
alert(getMessage('stuff.detail.header.notExistObjectNo'))
|
alert(getMessage('stuff.detail.header.notExistObjectNo'))
|
||||||
router.push('/management/stuff')
|
router.push('/management/stuff', { scroll: false })
|
||||||
}
|
}
|
||||||
if (isNotEmptyArray(res.data.planList)) {
|
if (isNotEmptyArray(res.data.planList)) {
|
||||||
setPlanGridProps({ ...planGridProps, planGridData: res.data.planList })
|
setPlanGridProps({ ...planGridProps, planGridData: res.data.planList })
|
||||||
@ -334,7 +334,7 @@ export default function StuffDetail() {
|
|||||||
setPlanGridProps({ ...planGridProps, planGridData: [] })
|
setPlanGridProps({ ...planGridProps, planGridData: [] })
|
||||||
|
|
||||||
alert(getMessage('stuff.detail.header.notExistObjectNo'))
|
alert(getMessage('stuff.detail.header.notExistObjectNo'))
|
||||||
router.push('/management/stuff')
|
router.push('/management/stuff', { scroll: false })
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
@ -1381,7 +1381,7 @@ export default function StuffDetail() {
|
|||||||
} else {
|
} else {
|
||||||
resetStuffRecoil()
|
resetStuffRecoil()
|
||||||
}
|
}
|
||||||
router.push('/management/stuff')
|
router.push('/management/stuff', { scroll: false })
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user