견적서 봄 수정
This commit is contained in:
parent
655b8f29cd
commit
ba9e45fcd6
@ -840,7 +840,6 @@ export default function Estimate({ params }) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
// totals.pkgTotPrice = estimateContextState.pkgAspNumber(estimateContextState.pkgAsp.replaceAll(',', '')) * totals.totVolKw * 1000
|
|
||||||
let pkgAsp = estimateContextState.pkgAsp ? Number(estimateContextState.pkgAsp.replaceAll(',', '')) : 0
|
let pkgAsp = estimateContextState.pkgAsp ? Number(estimateContextState.pkgAsp.replaceAll(',', '')) : 0
|
||||||
|
|
||||||
totals.pkgTotPrice = pkgAsp * totals.totVolKw * 1000
|
totals.pkgTotPrice = pkgAsp * totals.totVolKw * 1000
|
||||||
@ -876,8 +875,11 @@ export default function Estimate({ params }) {
|
|||||||
item.showSalePrice = '0'
|
item.showSalePrice = '0'
|
||||||
item.showSaleTotPrice = '0'
|
item.showSaleTotPrice = '0'
|
||||||
}
|
}
|
||||||
|
if (estimateContextState.estimateType === 'YJSS' && item.paDispOrder) {
|
||||||
|
item.showSalePrice = '0'
|
||||||
|
item.showSaleTotPrice = '0'
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
estimateContextState.itemList.forEach((item) => {
|
estimateContextState.itemList.forEach((item) => {
|
||||||
if (estimateContextState.estimateType === 'YJOD' && item.openFlg === '1') {
|
if (estimateContextState.estimateType === 'YJOD' && item.openFlg === '1') {
|
||||||
item.showSalePrice = '0'
|
item.showSalePrice = '0'
|
||||||
|
|||||||
@ -6,7 +6,7 @@ export default function ProductItem({ num, name, children }) {
|
|||||||
// 더보기 페이지 이동
|
// 더보기 페이지 이동
|
||||||
const pageMove = (num) => {
|
const pageMove = (num) => {
|
||||||
if (num === 1) {
|
if (num === 1) {
|
||||||
router.push('/management/stuff')
|
router.push('/management/stuff', { scroll: false })
|
||||||
} else if (num === 2) {
|
} else if (num === 2) {
|
||||||
router.push('/community/notice')
|
router.push('/community/notice')
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user