|
|
@@ -138,25 +138,6 @@
|
|
|
|
|
|
<!-- 주문금액합계 -->
|
|
|
<table border="1" style="font-size:10px; text-align:center; margin-top:20px; display:none; width:100%;" name="orderSumAmtInfo" id="orderSumAmtInfo">
|
|
|
- <tr style="height:30px;">
|
|
|
- <th>orgGoodsSumAmt</th>
|
|
|
- <th>delvSumAmt</th>
|
|
|
- <th>freegiftUsePnt</th>
|
|
|
- <th>cpn1DcSumAmt</th>
|
|
|
- <th>ordSumAmt</th>
|
|
|
- <th>tmtb1DcSumAmt</th>
|
|
|
- <th>tmtb2DcSumAmt</th>
|
|
|
- <th>tmtbDcSumAmt</th>
|
|
|
- <th>goodsCpnDcSumAmt</th>
|
|
|
- <th>cartCpnDcSumAmt</th>
|
|
|
- <th>delvCpnDcSumAmt</th>
|
|
|
- <th>cpnDcSumAmt</th>
|
|
|
- <th>prePntDcAmt</th>
|
|
|
- <th>pntDcSumAmt</th>
|
|
|
- <th>gfcdUseSumAmt</th>
|
|
|
- <th>realOrdSumAmt</th>
|
|
|
- <th>savePntSumAmt</th>
|
|
|
- </tr>
|
|
|
<tr style="height:30px;">
|
|
|
<td class="orgGoodsSumAmt">0</td>
|
|
|
<td class="delvSumAmt" th:text="${sumDelvFee}"></td>
|
|
|
@@ -2115,8 +2096,8 @@ var custCpnSumAmtCal = function() {
|
|
|
var dcSumAmt = 0;
|
|
|
|
|
|
// 주문금액 = ((판매가 - 즉시할인가) + 옵션추가금액) * 장바구니수량
|
|
|
- //orgGoodsSumAmt = orgGoodsSumAmt + (orgCurrPrice + optAddPrice) * goodsQty;
|
|
|
- orgGoodsSumAmt = orgGoodsSumAmt + orgCurrPrice;
|
|
|
+ orgGoodsSumAmt = orgGoodsSumAmt + (orgCurrPrice + optAddPrice) * goodsQty;
|
|
|
+ //orgGoodsSumAmt = orgGoodsSumAmt + orgCurrPrice;
|
|
|
cpn1DcSumAmt = cpn1DcSumAmt + (cpn1DcAmt * goodsQty);
|
|
|
tmtb1DcSumAmt = tmtb1DcSumAmt + tmtb1DcAmt;
|
|
|
tmtb2DcSumAmt = tmtb2DcSumAmt + tmtb2DcAmt;
|
|
|
@@ -2165,10 +2146,11 @@ var custCpnSumAmtCal = function() {
|
|
|
}
|
|
|
|
|
|
var realOrdAmt1 = ordAmt - dcSumAmt - pntDcAmt1 - gfcdUseAmt1;
|
|
|
+ var realOrdAmt2 = ordAmt - dcSumAmt - pntDcAmt1;
|
|
|
realOrdSumAmt = realOrdSumAmt + realOrdAmt1;
|
|
|
|
|
|
// 2021.05.11 최종할인금액으로 적립포인트 적용
|
|
|
- savePntAmt1 = parseInt(realOrdAmt1 * (pntPrate/100));
|
|
|
+ savePntAmt1 = parseInt(realOrdAmt2 * (pntPrate/100));
|
|
|
|
|
|
// 선포인트사용여부
|
|
|
if (prePntDcAmtYn == "Y") {
|