fix : 상품 목록 - 스크롤 불러오기 화폐단위 변경 (원 → 円)
(cherry picked from commit 2b8e84799d)
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
|
||||
<%@ taglib prefix="ui" uri="http://www.winbit.kr/ctl/ui" %>
|
||||
<%@ taglib prefix="f" uri="/WEB-INF/tlds/f.tld" %>
|
||||
<spring:eval expression="@environment.getProperty('currency-unit.default')" var="curUnit"/>
|
||||
<%--
|
||||
Class Name : GoodsListRForm.jsp
|
||||
Description : 상품 목록 폼
|
||||
@@ -146,6 +147,7 @@
|
||||
|
||||
//인피니티 스크롤 - 상품 리스트에 상품 덧붙이기
|
||||
const fn_add_goods_list = function() {
|
||||
var curUnit = '${curUnit}';
|
||||
const url = '<c:url value="/sopmal/goods/selectGoodsListInqire"/>';
|
||||
let pageIndex = parseInt($("#pageIndex").val(), 10);
|
||||
$("#pageIndex").val(pageIndex+1);
|
||||
@@ -220,8 +222,8 @@
|
||||
if(!fn_is_empty(item.pricRplcWordsUseAt) && item.pricRplcWordsUseAt !== 'Y'){
|
||||
list += ` <div class="product-unit-price col order-${'${item.pricExpsrOrdr-1}'}" style="order: ${'${item.pricExpsrOrdr-1}'}">`;
|
||||
list += ' <div class="product-unit-price__price">';
|
||||
list += ` <span class="product-unit-price__original">${'${addComma(item.cnsmrpric)}'} 원</span>`;
|
||||
list += ` <span class="product-unit-price__current">${'${addComma(item.slepric)}'} 원</span>`;
|
||||
list += ` <span class="product-unit-price__original">${'${addComma(item.cnsmrpric)}'} ` + curUnit + `</span>`;
|
||||
list += ` <span class="product-unit-price__current">${'${addComma(item.slepric)}'} ` + curUnit + `</span>`;
|
||||
list += ' </div>';
|
||||
list += ' <div class="product-unit-price__sale">';
|
||||
list += ` <span class="percent">${'${item.slePercent}'} %</span>`;
|
||||
|
||||
Reference in New Issue
Block a user