Просмотр исходного кода

유아동 - 신상품제외 처리

jmh 4 лет назад
Родитель
Сommit
a37cb9e969

+ 3 - 3
src/main/webapp/WEB-INF/views/mob/display/CategoryGoodsListFormMob.html

@@ -103,13 +103,13 @@
 									<input id="unisex" type="checkbox" onclick="fnResetListIdx();fnFilterOption(this,'on');"><label for="unisex"> <span>남여 공용만 보기</span> </label>
 									<input id="unisex" type="checkbox" onclick="fnResetListIdx();fnFilterOption(this,'on');"><label for="unisex"> <span>남여 공용만 보기</span> </label>
 								</div>
 								</div>
 								
 								
-								<th:block th:if="${brandGroupInfo == null or brandGroupInfo.supplyCompCd != '3'}">
+								<th:block th:if="${(brandGroupInfo == null or brandGroupInfo.supplyCompCd != '3') and cateInfo.cate1No != 1300}">
 									<div th:unless="${cateInfo.formalGb=='G009_20'}">
 									<div th:unless="${cateInfo.formalGb=='G009_20'}">
 										<input id="newGoods" type="checkbox" onclick="fnResetListIdx();fnFilterOption(this,'off');" checked="checked">
 										<input id="newGoods" type="checkbox" onclick="fnResetListIdx();fnFilterOption(this,'off');" checked="checked">
 										<label for="newGoods"> <span>신상품만 보기</span> </label>
 										<label for="newGoods"> <span>신상품만 보기</span> </label>
 									</div>
 									</div>
 								</th:block>
 								</th:block>
-								<th:block th:if="${brandGroupInfo != null AND brandGroupInfo.supplyCompCd == '3'}">
+								<th:block th:if="${(brandGroupInfo != null AND brandGroupInfo.supplyCompCd == '3') or cateInfo.cate1No == 1300}">
 									<div th:unless="${cateInfo.formalGb=='G009_20'}">
 									<div th:unless="${cateInfo.formalGb=='G009_20'}">
 										<input id="newGoods" type="checkbox" onclick="fnResetListIdx();fnFilterOption(this,'on');">
 										<input id="newGoods" type="checkbox" onclick="fnResetListIdx();fnFilterOption(this,'on');">
 										<label for="newGoods"> <span>신상품만 보기</span> </label>
 										<label for="newGoods"> <span>신상품만 보기</span> </label>
@@ -389,7 +389,7 @@
 		<input type="hidden" name="cate3No" th:value="${cateInfo.cate3No}"/>
 		<input type="hidden" name="cate3No" th:value="${cateInfo.cate3No}"/>
 		<input type="hidden" name="cate4No" th:value="${cateInfo.cate4No}"/>
 		<input type="hidden" name="cate4No" th:value="${cateInfo.cate4No}"/>
 		<input type="hidden" name="sortingType" value="NEW"/>
 		<input type="hidden" name="sortingType" value="NEW"/>
-		<input type="hidden" name="newGoods" th:unless="${(brandGroupInfo != null and brandGroupInfo.supplyCompCd == '3') or (cateInfo.formalGb=='G009_20')}" th:value="${(brandGroupInfo != null and brandGroupInfo.supplyCompCd == '3') or (cateInfo.formalGb=='G009_20') ?'':'40'}" />
+		<input type="hidden" name="newGoods" th:unless="${(brandGroupInfo != null and brandGroupInfo.supplyCompCd == '3') or cateInfo.cate1No == 1300 or (cateInfo.formalGb=='G009_20')}" th:value="${(brandGroupInfo != null and brandGroupInfo.supplyCompCd == '3') or cateInfo.cate1No == 1300 or (cateInfo.formalGb=='G009_20') ?'':'40'}" />
 		<!-- <input type="hidden" name="newGoods" th:unless="${cateInfo.formalGb=='G009_20'}" th:value="${cateInfo.formalGb=='G009_20'?'':'40'}" /> -->
 		<!-- <input type="hidden" name="newGoods" th:unless="${cateInfo.formalGb=='G009_20'}" th:value="${cateInfo.formalGb=='G009_20'?'':'40'}" /> -->
 		<input type="hidden" name="keyword" value=""/>
 		<input type="hidden" name="keyword" value=""/>
 <!--		<input type="hidden" name="benefitArr" th:unless="${cateInfo.formalGb=='G009_20'}" th:value="${cateInfo.formalGb=='G009_20'?'':'40:신상'}"/>-->
 <!--		<input type="hidden" name="benefitArr" th:unless="${cateInfo.formalGb=='G009_20'}" th:value="${cateInfo.formalGb=='G009_20'?'':'40:신상'}"/>-->

+ 3 - 3
src/main/webapp/WEB-INF/views/web/display/CategoryGoodsListFormWeb.html

@@ -81,13 +81,13 @@
 										<input id="unisex" type="checkbox" onclick="fnResetListIdx();fnFilterOption(this,'on');"><label for="unisex"> <span>남여 공용만 보기</span> </label>
 										<input id="unisex" type="checkbox" onclick="fnResetListIdx();fnFilterOption(this,'on');"><label for="unisex"> <span>남여 공용만 보기</span> </label>
 									</div>
 									</div>
 									
 									
-									<th:block th:if="${brandGroupInfo == null or brandGroupInfo.supplyCompCd != '3'}">
+									<th:block th:if="${(brandGroupInfo == null or brandGroupInfo.supplyCompCd != '3') and cateInfo.cate1No != 1300}">
 										<div th:unless="${cateInfo.formalGb=='G009_20'}">
 										<div th:unless="${cateInfo.formalGb=='G009_20'}">
 											<input id="newGoods" type="checkbox" onclick="fnResetListIdx();fnFilterOption(this,'off');" checked="checked">
 											<input id="newGoods" type="checkbox" onclick="fnResetListIdx();fnFilterOption(this,'off');" checked="checked">
 											<label for="newGoods"> <span>신상품만 보기</span> </label>
 											<label for="newGoods"> <span>신상품만 보기</span> </label>
 										</div>
 										</div>
 									</th:block>
 									</th:block>
-									<th:block th:if="${brandGroupInfo != null AND brandGroupInfo.supplyCompCd == '3'}">
+									<th:block th:if="${(brandGroupInfo != null AND brandGroupInfo.supplyCompCd == '3') or cateInfo.cate1No == 1300}">
 										<div th:unless="${cateInfo.formalGb=='G009_20'}">
 										<div th:unless="${cateInfo.formalGb=='G009_20'}">
 											<input id="newGoods" type="checkbox" onclick="fnResetListIdx();fnFilterOption(this,'on');">
 											<input id="newGoods" type="checkbox" onclick="fnResetListIdx();fnFilterOption(this,'on');">
 											<label for="newGoods"> <span>신상품만 보기</span> </label>
 											<label for="newGoods"> <span>신상품만 보기</span> </label>
@@ -304,7 +304,7 @@
 		<input type="hidden" name="cate3No" th:value="${cateInfo.cate3No}"/>
 		<input type="hidden" name="cate3No" th:value="${cateInfo.cate3No}"/>
 		<input type="hidden" name="cate4No" th:value="${cateInfo.cate4No}"/>
 		<input type="hidden" name="cate4No" th:value="${cateInfo.cate4No}"/>
 		<input type="hidden" name="sortingType" value="NEW"/>
 		<input type="hidden" name="sortingType" value="NEW"/>
-		<input type="hidden" name="newGoods" th:unless="${(brandGroupInfo != null and brandGroupInfo.supplyCompCd == '3') or (cateInfo.formalGb=='G009_20')}" th:value="${(brandGroupInfo != null and brandGroupInfo.supplyCompCd == '3') or (cateInfo.formalGb=='G009_20') ?'':'40'}" />
+		<input type="hidden" name="newGoods" th:unless="${(brandGroupInfo != null and brandGroupInfo.supplyCompCd == '3') or cateInfo.cate1No == 1300 or (cateInfo.formalGb=='G009_20')}" th:value="${(brandGroupInfo != null and brandGroupInfo.supplyCompCd == '3') or cateInfo.cate1No == 1300 or (cateInfo.formalGb=='G009_20') ?'':'40'}" />
 		<!-- <input type="text" name="newGoods" th:unless="${cateInfo.formalGb=='G009_20'}" th:value="${cateInfo.formalGb=='G009_20' ?'':'40'}" /> -->
 		<!-- <input type="text" name="newGoods" th:unless="${cateInfo.formalGb=='G009_20'}" th:value="${cateInfo.formalGb=='G009_20' ?'':'40'}" /> -->
 		<input type="hidden" name="keyword" value=""/>
 		<input type="hidden" name="keyword" value=""/>
 <!--		<input type="hidden" name="benefitArr" th:unless="${cateInfo.formalGb=='G009_20'}" th:value="${cateInfo.formalGb=='G009_20'?'':'40:신상'}"/>-->
 <!--		<input type="hidden" name="benefitArr" th:unless="${cateInfo.formalGb=='G009_20'}" th:value="${cateInfo.formalGb=='G009_20'?'':'40:신상'}"/>-->