|
|
@@ -106,6 +106,7 @@
|
|
|
<input type="hidden" name="ordCanYn" th:value="${cart.ordCanYn}" />
|
|
|
<input type="hidden" name="goodsCd" th:value="${cart.goodsCd}" />
|
|
|
<input type="hidden" name="cartSq" th:value="${cart.cartSq}" />
|
|
|
+ <input type="hidden" name="orgSavePntAmt" th:value="${cart.orgSavePntAmt}" />
|
|
|
|
|
|
<button type="button" class="btn_delete" th:onclick="|deleteCart(${cart.cartSq}, 'cart')|"><span><em class="sr-only">상품삭제</em></span></button>
|
|
|
<div class="goods_detail">
|
|
|
@@ -142,7 +143,7 @@
|
|
|
</th:block>
|
|
|
</div>
|
|
|
<div class="od_point">
|
|
|
- <p class="point"><span th:text="${#numbers.formatInteger(cart.savePntAmt, 1, 'COMMA')}"></span>P 적립예정</p>
|
|
|
+ <p class="point"><span th:class="|point${cart.cartSq}|" th:text="${#numbers.formatInteger(cart.savePntAmt, 1, 'COMMA')}"></span>P 적립예정</p>
|
|
|
</div>
|
|
|
<div class="od_exinfo">
|
|
|
<span th:style="${(cart.qtyTmtbSq > 0 and cart.applyQtySectionYn == 'Y') or (cart.amtTmtbSq > 0 and cart.applyAmtSectionYn == 'Y') ? 'display:inline-block' : 'display:none'}" class="applyTmtb btn_moresale order_badge order_bullet_badge">다다익선 할인 적용</span>
|
|
|
@@ -208,6 +209,7 @@
|
|
|
<input type="hidden" name="ordCanYn" th:value="${cart.ordCanYn}" />
|
|
|
<input type="hidden" name="goodsCd" th:value="${cart.goodsCd}" />
|
|
|
<input type="hidden" name="cartSq" th:value="${cart.cartSq}" />
|
|
|
+ <input type="hidden" name="orgSavePntAmt" th:value="${cart.orgSavePntAmt}" />
|
|
|
|
|
|
<button type="button" class="btn_delete" th:onclick="|deleteCart(${cart.cartSq}, 'cart')|"><span><em class="sr-only">상품삭제</em></span></button>
|
|
|
<div class="goods_detail">
|
|
|
@@ -244,7 +246,7 @@
|
|
|
</th:block>
|
|
|
</div>
|
|
|
<div class="od_point">
|
|
|
- <p class="point"><span th:text="${#numbers.formatInteger(cart.savePntAmt, 1, 'COMMA')}"></span>P 적립예정</p>
|
|
|
+ <p class="point"><span th:class="|point${cart.cartSq}|" th:text="${#numbers.formatInteger(cart.savePntAmt, 1, 'COMMA')}"></span>P 적립예정</p>
|
|
|
</div>
|
|
|
<div class="od_exinfo">
|
|
|
<span th:style="${(cart.qtyTmtbSq > 0 and cart.applyQtySectionYn == 'Y') or (cart.amtTmtbSq > 0 and cart.applyAmtSectionYn == 'Y') ? 'display:inline-block' : 'display:none'}" class="applyTmtb btn_moresale order_badge order_bullet_badge">다다익선 할인 적용</span>
|
|
|
@@ -330,6 +332,7 @@
|
|
|
<input type="hidden" name="tmtbDcAmt" th:value="${cart.tmtbDcAmt}" />
|
|
|
<input type="hidden" name="goodsCd" th:value="${cart.goodsCd}" />
|
|
|
<input type="hidden" name="cartSq" th:value="${cart.cartSq}" />
|
|
|
+ <input type="hidden" name="orgSavePntAmt" th:value="${cart.orgSavePntAmt}" />
|
|
|
|
|
|
<button type="button" class="btn_delete"><span><em class="sr-only">상품삭제</em></span></button>
|
|
|
<div class="goods_detail">
|
|
|
@@ -366,7 +369,7 @@
|
|
|
</th:block>
|
|
|
</div>
|
|
|
<div class="od_point">
|
|
|
- <p class="point"><span th:text="${#numbers.formatInteger(cart.savePntAmt, 1, 'COMMA')}"></span>P 적립예정</p>
|
|
|
+ <p class="point"><span th:class="|point${cart.cartSq}|" th:text="${#numbers.formatInteger(cart.savePntAmt, 1, 'COMMA')}"></span>P 적립예정</p>
|
|
|
</div>
|
|
|
<div class="od_exinfo">
|
|
|
<span th:style="${(cart.qtyTmtbSq > 0 and cart.applyQtySectionYn == 'Y') or (cart.amtTmtbSq > 0 and cart.applyAmtSectionYn == 'Y') ? 'display:inline-block' : 'display:none'}" class="applyTmtb btn_moresale order_badge order_bullet_badge">다다익선 할인 적용</span>
|
|
|
@@ -877,6 +880,8 @@
|
|
|
$(this).parent().find(".od_calc .selling_price>em").text($(this).parent().find(".od_calc .sale_price>del>em").text());
|
|
|
$(this).parent().find(".od_calc .sale_price").hide();
|
|
|
}
|
|
|
+
|
|
|
+ $(this).parent().find(".info_box .point" + $(this).val()).text(Number($(this).parent().find("input[name=orgSavePntAmt]").val()).toLocaleString());
|
|
|
});
|
|
|
|
|
|
for(let i = 0 ; i < shotList.length ; i++) {
|
|
|
@@ -886,6 +891,7 @@
|
|
|
let shot = shotList[i];
|
|
|
$(this).parent().find("input[name=applyQtySectionYn]").val(shot.applyQtySectionYn);
|
|
|
$(this).parent().find("input[name=applyAmtSectionYn]").val(shot.applyQtySectionYn);
|
|
|
+ $(this).parent().find(".info_box .point>span").text(Number(shot.savePntAmt).toLocaleString());
|
|
|
|
|
|
// 다다익선 적용 정보 생성성
|
|
|
if((shot.qtyTmtbSq > 0 && shot.applyQtySectionYn == "Y") || (shot.amtTmtbSq > 0 && shot.applyAmtSectionYn == "Y")) {
|
|
|
@@ -915,6 +921,7 @@
|
|
|
let wms = wmsList[i];
|
|
|
$(this).parent().find("input[name=applyQtySectionYn]").val(wms.applyQtySectionYn);
|
|
|
$(this).parent().find("input[name=applyAmtSectionYn]").val(wms.applyQtySectionYn);
|
|
|
+ $(this).parent().find(".info_box .point>span").text(Number(wms.savePntAmt).toLocaleString());
|
|
|
|
|
|
// 다다익선 적용 정보 생성성
|
|
|
if((wms.qtyTmtbSq > 0 && wms.applyQtySectionYn == "Y") || (wms.amtTmtbSq > 0 && wms.applyAmtSectionYn == "Y")) {
|
|
|
@@ -954,6 +961,7 @@
|
|
|
let delv = delvList[i];
|
|
|
$(this).parent().find("input[name=applyQtySectionYn]").val(delv.applyQtySectionYn);
|
|
|
$(this).parent().find("input[name=applyAmtSectionYn]").val(delv.applyQtySectionYn);
|
|
|
+ $(this).parent().find(".info_box .point>span").text(Number(delv.savePntAmt).toLocaleString());
|
|
|
|
|
|
// 다다익선 적용 정보 생성성
|
|
|
if((delv.qtyTmtbSq > 0 && delv.applyQtySectionYn == "Y") || (delv.amtTmtbSq > 0 && delv.applyAmtSectionYn == "Y")) {
|