견적서 상세
This commit is contained in:
parent
0455bc3a31
commit
069b4f2363
@ -516,7 +516,7 @@ export default function Estimate({ params }) {
|
|||||||
|
|
||||||
setEstimateContextState({
|
setEstimateContextState({
|
||||||
pkgAsp: pkgAsp,
|
pkgAsp: pkgAsp,
|
||||||
pkgTotPrice: pkgTotPrice.toFixed(3),
|
pkgTotPrice: pkgTotPrice.toFixed(2),
|
||||||
})
|
})
|
||||||
//아이템들 중 조건에 맞는애들 뽑아서 상단 공급가액 부가세 총액 수정
|
//아이템들 중 조건에 맞는애들 뽑아서 상단 공급가액 부가세 총액 수정
|
||||||
setItemChangeYn(true)
|
setItemChangeYn(true)
|
||||||
@ -833,20 +833,20 @@ export default function Estimate({ params }) {
|
|||||||
calculateYJODTotals(estimateContextState.itemList)
|
calculateYJODTotals(estimateContextState.itemList)
|
||||||
setEstimateContextState({
|
setEstimateContextState({
|
||||||
totAmount: totals.totAmount,
|
totAmount: totals.totAmount,
|
||||||
totVolKw: totals.totVolKw.toFixed(3),
|
totVolKw: totals.totVolKw.toFixed(2),
|
||||||
supplyPrice: totals.supplyPrice.toFixed(3),
|
supplyPrice: totals.supplyPrice.toFixed(2),
|
||||||
vatPrice: totals.vatPrice.toFixed(3),
|
vatPrice: totals.vatPrice.toFixed(2),
|
||||||
totPrice: totals.totPrice.toFixed(3),
|
totPrice: totals.totPrice.toFixed(2),
|
||||||
})
|
})
|
||||||
} else if (estimateContextState.estimateType === 'YJSS') {
|
} else if (estimateContextState.estimateType === 'YJSS') {
|
||||||
calculateYJSSTotals(estimateContextState.itemList)
|
calculateYJSSTotals(estimateContextState.itemList)
|
||||||
setEstimateContextState({
|
setEstimateContextState({
|
||||||
pkgTotPrice: totals.pkgTotPrice,
|
pkgTotPrice: totals.pkgTotPrice,
|
||||||
totAmount: totals.totAmount,
|
totAmount: totals.totAmount,
|
||||||
totVolKw: totals.totVolKw.toFixed(3),
|
totVolKw: totals.totVolKw.toFixed(2),
|
||||||
supplyPrice: totals.supplyPrice.toFixed(3),
|
supplyPrice: totals.supplyPrice.toFixed(2),
|
||||||
vatPrice: totals.vatPrice.toFixed(3),
|
vatPrice: totals.vatPrice.toFixed(2),
|
||||||
totPrice: totals.totPrice.toFixed(3),
|
totPrice: totals.totPrice.toFixed(2),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1317,7 +1317,7 @@ export default function Estimate({ params }) {
|
|||||||
</div>
|
</div>
|
||||||
<div className="estimate-box">
|
<div className="estimate-box">
|
||||||
<div className="estimate-tit">{getMessage('estimate.detail.sepcialEstimateProductInfo.totVolKw')}</div>
|
<div className="estimate-tit">{getMessage('estimate.detail.sepcialEstimateProductInfo.totVolKw')}</div>
|
||||||
<div className="estimate-name blue">{convertNumberToPriceDecimalToFixed(estimateContextState?.totVolKw, 3)}</div>
|
<div className="estimate-name blue">{convertNumberToPriceDecimalToFixed(estimateContextState?.totVolKw, 2)}</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="estimate-box">
|
<div className="estimate-box">
|
||||||
<div className="estimate-tit">{getMessage('estimate.detail.sepcialEstimateProductInfo.supplyPrice')}</div>
|
<div className="estimate-tit">{getMessage('estimate.detail.sepcialEstimateProductInfo.supplyPrice')}</div>
|
||||||
@ -1363,7 +1363,7 @@ export default function Estimate({ params }) {
|
|||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<th>{getMessage('estimate.detail.sepcialEstimateProductInfo.pkgWeight')}</th>
|
<th>{getMessage('estimate.detail.sepcialEstimateProductInfo.pkgWeight')}</th>
|
||||||
<td>{convertNumberToPriceDecimalToFixed(estimateContextState?.totVolKw, 3)}</td>
|
<td>{convertNumberToPriceDecimalToFixed(estimateContextState?.totVolKw, 2)}</td>
|
||||||
<th>{getMessage('estimate.detail.sepcialEstimateProductInfo.pkgPrice')}</th>
|
<th>{getMessage('estimate.detail.sepcialEstimateProductInfo.pkgPrice')}</th>
|
||||||
<td>{convertNumberToPriceDecimal(estimateContextState?.pkgTotPrice)}</td>
|
<td>{convertNumberToPriceDecimal(estimateContextState?.pkgTotPrice)}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user