Преглед изворни кода

Merge branch 'develop' into bin2107

bin2107 пре 4 година
родитељ
комит
5d8ed0dc30

+ 5 - 5
src/main/webapp/WEB-INF/views/mob/goods/GoodsDealDetailFormMob.html

@@ -90,7 +90,7 @@
 							<span class="sale_price" ><em th:text="${#numbers.formatInteger(goodsInfo.currPrice, 0,'COMMA')}">134,100</em>원 ~</span>
 						</p>
 						<div class="btn_group_flex">
-							<div><button type="button" class="btn btn_default" id="btn_saleCoupon_pop" th:onclick="cfGoodsCouponInfo([[${goodsInfo.goodsCd}]],[[${goodsInfo.goodsType}]])">쿠폰받기</button></div>
+							<div><button type="button" class="btn btn_default" id="btn_saleCoupon_pop" th:if="${goodsCouponList != null and !goodsCouponList.empty}" th:onclick="cfGoodsCouponInfo([[${goodsInfo.goodsCd}]],[[${goodsInfo.goodsType}]])">쿠폰받기</button></div>
 						</div>
 					</div>
 				</div>
@@ -1245,7 +1245,7 @@
 		 });
 		 
 		
-		 //탭 - 사이즈정보 > 탭
+		//탭 - 사이즈정보 > 탭
 		 $(document).on('click','#infoSizePop .tab_nav ul li',function(e){
 			 $(this).addClass('active').siblings().removeClass('active');
 			 $('#infoSizePop .tab_cont_wrap .tab_cont').hide();		
@@ -1275,7 +1275,7 @@
 			 $(this).parents().parents(".category_box").hide();
 			 return false;
 		 });
-		 
+		
 
 		//팝업 - 상품문의 리스트	
 		$(document).on('click','#btn_pdQnaList_pop',function(e){
@@ -1289,7 +1289,7 @@
 			return false;
 		});
 
-
+/* 
 		//팝업 - 제품리뷰 > 카테고리팝오픈
 		// 오픈
 		 $(document).on('click','.pd_review .category_open > li',function(e){
@@ -1318,7 +1318,7 @@
 					}
 				}
 			 return false;
-		 });
+		 }); */
 
 
 		// 포토,베스트리뷰숨김

+ 1 - 1
src/main/webapp/WEB-INF/views/mob/goods/GoodsDetailFormMob.html

@@ -217,7 +217,7 @@
 							</th:block> 
 							<th:block th:if="${tmtbList != null and !tmtbList.empty}">
 							<span th:each="tmtb, status : ${tmtbList}" th:if="${status.first}">
-								<em><th:block th:text="${#numbers.formatInteger(tmtb.sectionVal, 0,'COMMA')}"></th:block><th:block th:text="${(tmtb.sectionGb == 'G810_10')? '개':'금액'}"></th:block></em> 이상 구매 시 
+								<em><th:block th:text="${#numbers.formatInteger(tmtb.sectionVal, 0,'COMMA')}"></th:block><th:block th:text="${(tmtb.sectionGb == 'G810_10')? '개':''}"></th:block></em> 이상 구매 시 
 								<em><th:block th:text="${#numbers.formatInteger(tmtb.dcVal, 0,'COMMA')}"></th:block><th:block th:text="${(tmtb.dcWay == 'G240_10')? '원':'%'}"></th:block></em></em> 할인
 							</span>
 							</th:block>

+ 89 - 77
src/main/webapp/WEB-INF/views/mob/goods/GoodsDetailReviewFormMob.html

@@ -500,52 +500,6 @@
 				<li data_name="height" th:if="${reviewHeightList != null and !reviewHeightList.empty}"><span>키 전체</span></li>
 				<li data_name="weight"><span>몸무게 전체</span></li>
 			</ul>
-			<div class="category_box">
-				<div class="lap">
-					<div class="category_close" onclick="fnReviewCateClose();">카테고리닫기</div>
-					<div class="category_list">
-						<!-- 평점,사이즈,키,몸무게 카테고리 -->
-						<div class="category" id="grade">
-							<ul class="n1">
-								<li class="active"><a href="javascript:void(0)" data="평점 전체" onclick="fnReviewSearch('A','');">전체</a></li>
-								<li><a href="javascript:void(0)" data="5점" onclick="fnReviewSearch('A','5');">5점&nbsp;★★★★★</a></li>
-								<li><a href="javascript:void(0)" data="4점" onclick="fnReviewSearch('A','4');">4점&nbsp;★★★★</a></li>
-								<li><a href="javascript:void(0)" data="3점" onclick="fnReviewSearch('A','3');">3점&nbsp;★★★</a></li>
-								<li><a href="javascript:void(0)" data="2점" onclick="fnReviewSearch('A','2');">2점&nbsp;★★</a></li>
-								<li><a href="javascript:void(0)" data="1점" onclick="fnReviewSearch('A','1');">1점&nbsp;★</a></li>
-							</ul>
-						</div>
-						<div class="category" id="size" th:if="${reviewOptionList != null and !reviewOptionList.empty}">
-							<ul class="n2">
-								<li class="active"><a href="javascript:void(0)" data="사이즈 전체" onclick="fnReviewSearch('O','');">전체</a></li>
-								<li th:each="reviewOption, status : ${reviewOptionList}">
-									<a href="javascript:void(0)" th:attr="data=${reviewOption.optCd}" th:onclick="fnReviewSearch('O',[[${reviewOption.optCd}]]);"><th:block th:text="${reviewOption.optCd}"></th:block></a>
-									<input type="hidden" name="selOption" th:value="${reviewOption.optCd}"/>
-								</li>
-							</ul>
-						</div>
-						<div class="category" id="height" th:if="${reviewHeightList != null and !reviewHeightList.empty}">
-							<ul class="n2">
-								<li class="active"><a href="javascript:void(0)" data="키 전체" onclick="fnReviewSearch('H','');">전체</a></li>
-								<li th:each="reviewHeight, status : ${reviewHeightList}">
-									<a href="javascript:void(0)" th:attr="data=${reviewHeight.cdNm}" th:onclick="fnReviewSearch('H',[[${reviewHeight.cd}]]);"><th:block th:text="${reviewHeight.cdNm}"></th:block></a>
-									<input type="hidden" name="selHeight" th:value="${reviewHeight.cd}"/>
-								</li>
-							</ul>
-						</div>
-						<div class="category" id="weight" th:if="${reviewWeightList != null and !reviewWeightList.empty}">
-							<ul class="n2">
-								<li class="active"><a href="javascript:void(0)" data="몸무게 전체" onclick="fnReviewSearch('W','');">전체</a></li>
-								<li th:each="reviewWeight, status : ${reviewWeightList}">
-									<a href="javascript:void(0)" th:attr="data=${reviewWeight.cdNm}" th:onclick="fnReviewSearch('W',[[${reviewWeight.cd}]]);"><th:block th:text="${reviewWeight.cdNm}"></th:block></a>
-									<input type="hidden" name="selWeight" th:value="${reviewWeight.cd}"/>
-								</li>
-							</ul>
-						</div>
-						<!-- //평점,사이즈,키,몸무게 카테고리 -->
-					</div>
-				</div>
-			</div>
 		</div>
 		<!-- 나열조건결과 있을 때 노출 내용 -->
 		<div class="review_list" id="listBoxOuter">
@@ -573,6 +527,53 @@
 	</div>
 	<!-- //등록리뷰 있을 시 -->
 </div>
+<div class="category_box review_cate_box">
+	<div class="lap">
+		<div class="category_close" onclick="fnReviewCateClose();">카테고리닫기</div>
+		<div class="category_list">
+			<!-- 평점,사이즈,키,몸무게 카테고리 -->
+			<div class="category" id="grade">
+				<ul class="n1">
+					<li class="active"><a href="javascript:void(0)" data="평점 전체" onclick="fnReviewSearch('A','');">전체</a></li>
+					<li><a href="javascript:void(0)" data="5점" onclick="fnReviewSearch('A','5');">5점&nbsp;★★★★★</a></li>
+					<li><a href="javascript:void(0)" data="4점" onclick="fnReviewSearch('A','4');">4점&nbsp;★★★★</a></li>
+					<li><a href="javascript:void(0)" data="3점" onclick="fnReviewSearch('A','3');">3점&nbsp;★★★</a></li>
+					<li><a href="javascript:void(0)" data="2점" onclick="fnReviewSearch('A','2');">2점&nbsp;★★</a></li>
+					<li><a href="javascript:void(0)" data="1점" onclick="fnReviewSearch('A','1');">1점&nbsp;★</a></li>
+				</ul>
+			</div>
+			<div class="category" id="size" th:if="${reviewOptionList != null and !reviewOptionList.empty}">
+				<ul class="n2">
+					<li class="active"><a href="javascript:void(0)" data="사이즈 전체" onclick="fnReviewSearch('O','');">전체</a></li>
+					<li th:each="reviewOption, status : ${reviewOptionList}">
+						<a href="javascript:void(0)" th:attr="data=${reviewOption.optCd}" th:onclick="fnReviewSearch('O',[[${reviewOption.optCd}]]);"><th:block th:text="${reviewOption.optCd}"></th:block></a>
+						<input type="hidden" name="selOption" th:value="${reviewOption.optCd}"/>
+					</li>
+				</ul>
+			</div>
+			<div class="category" id="height" th:if="${reviewHeightList != null and !reviewHeightList.empty}">
+				<ul class="n2">
+					<li class="active"><a href="javascript:void(0)" data="키 전체" onclick="fnReviewSearch('H','');">전체</a></li>
+					<li th:each="reviewHeight, status : ${reviewHeightList}">
+						<a href="javascript:void(0)" th:attr="data=${reviewHeight.cdNm}" th:onclick="fnReviewSearch('H',[[${reviewHeight.cd}]]);"><th:block th:text="${reviewHeight.cdNm}"></th:block></a>
+						<input type="hidden" name="selHeight" th:value="${reviewHeight.cd}"/>
+					</li>
+				</ul>
+			</div>
+			<div class="category" id="weight" th:if="${reviewWeightList != null and !reviewWeightList.empty}">
+				<ul class="n2">
+					<li class="active"><a href="javascript:void(0)" data="몸무게 전체" onclick="fnReviewSearch('W','');">전체</a></li>
+					<li th:each="reviewWeight, status : ${reviewWeightList}">
+						<a href="javascript:void(0)" th:attr="data=${reviewWeight.cdNm}" th:onclick="fnReviewSearch('W',[[${reviewWeight.cd}]]);"><th:block th:text="${reviewWeight.cdNm}"></th:block></a>
+						<input type="hidden" name="selWeight" th:value="${reviewWeight.cd}"/>
+					</li>
+				</ul>
+			</div>
+			<!-- //평점,사이즈,키,몸무게 카테고리 -->
+		</div>
+	</div>
+</div>
+
 <script src="/ux/plugins/jquery/jquery.history.min.js"></script>
 <script src="/ux/plugins/gaga/gaga.infinite.scrollLayer.js"></script>
 <script th:inline="javascript">
@@ -793,11 +794,17 @@
 	
 	// 상품평 초기화
 	var fnReviewSearchInit = function(){
+
+		$(".pd_review .category_box.review_cate_box").find('#grade').find('ul li').eq(0).trigger('click');
+		$(".pd_review .category_box.review_cate_box").find('#size').find('ul li').eq(0).trigger('click');
+		$(".pd_review .category_box.review_cate_box").find('#height').find('ul li').eq(0).trigger('click');
+		$(".pd_review .category_box.review_cate_box").find('#weight').find('ul li').eq(0).trigger('click');
+		
+		//$('#goodsReviewForm').find('#grade').find('ul li').eq(0).trigger('click');
+		//$('#goodsReviewForm').find('#size').find('ul li').eq(0).trigger('click');
+		//$('#goodsReviewForm').find('#height').find('ul li').eq(0).trigger('click');
+		//$('#goodsReviewForm').find('#weight').find('ul li').eq(0).trigger('click');
 		
-		$('#goodsReviewForm').find('#grade').find('ul li').eq(0).trigger('click');
-		$('#goodsReviewForm').find('#size').find('ul li').eq(0).trigger('click');
-		$('#goodsReviewForm').find('#height').find('ul li').eq(0).trigger('click');
-		$('#goodsReviewForm').find('#weight').find('ul li').eq(0).trigger('click');
 		
 		$('#goodsReviewForm input[name=reviewScore]').val('');
 		$('#goodsReviewForm input[name=reviewOption]').val('');
@@ -815,6 +822,38 @@
 		$(".pd_review .category_box").hide();
 	}
 	
+	//210615_ 수정 : 제품리뷰 > 카테고리 팝업 선택자 [.review_cate_box] 변경.
+	//팝업 - 제품리뷰 > 카테고리팝오픈
+	// 오픈
+    $(document).on('click','.pd_review .category_open > li',function(e){
+		var dataName=$(this).attr("data_name");
+        $(".review_cate_box").show();
+		$(".review_cate_box").find(".category").hide();
+		$(".review_cate_box").find("#"+dataName).show();
+		return false;
+    });
+	// 닫기
+	$(document).on('click','.review_cate_box .category_close',function(e){
+		$(".review_cate_box").hide();
+        return false;
+    });
+	// 변경
+    $(document).on('click','.review_cate_box ul > li',function(e){
+		var num=$(".pd_review .category_open > li").length;
+		var value=$(this).find("a").attr("data");
+		var name=$(this).parent().parent().attr("id");
+		$(this).parent().find("li").removeClass("active");
+		$(this).addClass("active");
+		for(var i=0; i < num; i++){
+			var dataname=$(".pd_review .category_open > li").eq(i).attr("data_name");
+			if(name==dataname){
+				$(".pd_review .category_open > li").eq(i).find("span").text(value);
+			}
+		}
+        return false;
+    });
+
+	
 	$(document).ready( function() {
 
 		//슬라이드 - 베스트리뷰
@@ -830,33 +869,6 @@
 			},
 		});	
 		
-		//팝업 - 제품리뷰 > 카테고리팝오픈
-		// 오픈
-		$(document).on('click','.pd_review .category_open > li',function(e){
-			var dataName=$(this).attr("data_name");
-			$(".pd_review .category_box").show();
-			$(".pd_review .category_list").find(".category").hide();
-			$(".pd_review .category_list").find("#"+dataName).show();
-			return false;
-		});
-		
-		// 변경
-		$(document).on('click','.pd_review .category ul > li',function(e){
-			var num=$(".pd_review .category_open > li").length;
-			var value=$(this).find("a").attr("data");
-			var name=$(this).parent().parent().attr("id");
-			$(this).parent().find("li").removeClass("active");
-			$(this).addClass("active");
-			for(var i=0; i < num; i++){
-				var dataname=$(".pd_review .category_open > li").eq(i).attr("data_name");
-				if(name==dataname){
-					$(".pd_review .category_open > li").eq(i).find("span").text(value);
-				}
-			}
-			return false;
-		});
-
-		
 	});
 	
 /*]]>*/

+ 1 - 1
src/main/webapp/WEB-INF/views/mob/goods/GoodsReviewFormMob.html

@@ -34,7 +34,7 @@
 			<!-- //해당상품 -->
 		</div>
 		<div class="modal-body">
-			<div class="pop_cont" id="goodsDealReview" data-id="layer_infinite_item" >
+			<div class="pop_cont pd_review" id="goodsDealReview" data-id="layer_infinite_item" >
 			</div>
 		</div>
 	</div>

+ 1 - 1
src/main/webapp/WEB-INF/views/mob/goods/GoodsShopBenefitFormMob.html

@@ -58,7 +58,7 @@
 							</colgroup>
 							<tbody>
 								<tr th:each="tmtb, status : ${tmtbList}">
-									<th><th:block th:text="${#numbers.formatInteger(tmtb.sectionVal, 0,'COMMA')}"></th:block><th:block th:text="${(tmtb.sectionGb == 'G810_10')? '개':'금액'}"></th:block> 이상 구매 시</th>
+									<th><th:block th:text="${#numbers.formatInteger(tmtb.sectionVal, 0,'COMMA')}"></th:block><th:block th:text="${(tmtb.sectionGb == 'G810_10')? '개':''}"></th:block> 이상 구매 시</th>
 									<td><p><th:block th:text="${#numbers.formatInteger(tmtb.dcVal, 0,'COMMA')}"></th:block><th:block th:text="${(tmtb.dcWay == 'G240_10')? '원':'%'}"></th:block> 할인</p></td>
 								</tr>
 							</tbody>

+ 1 - 1
src/main/webapp/WEB-INF/views/mob/mypage/RestockFormMob.html

@@ -86,7 +86,7 @@
 					$.each(result, function (idx, item) {
 						let tag = '<div class="goods_section">\n';
 						tag += '	<div class="goods_detail">\n';
-						tag += '		<a href="">\n';
+						tag += '		<a href="javascript:void(0);"  onclick="cfnGoToGoodsDetail(\''+item.goodsCd+'\',\''+item.optCd1+'\',\'IN23_01\')">\n';
 						tag += '			<div class="thumb_box">\n';
 						tag += '				<img src="' + _uploadGoodsUrl + '/' + item.sysImgNm + '" alt="">\n';
 						tag += '			</div>\n';

+ 6 - 3
src/main/webapp/WEB-INF/views/web/goods/GoodsDealDetailFormWeb.html

@@ -399,14 +399,17 @@
 		<!-- // 이 상품과 함께 본 상품 -->
 	</div>
 	<!-- 상품썸네일 크게보기 팝업 -->
-	<div class="pd_pop full_pop pd_itemthumb_pop" id="pdItemThumbPop"> 
+	<div class="pd_pop full_pop pd_itemthumb_pop" id="pdItemThumbPop" th:if="${(goodsImgList != null and !goodsImgList.empty)}" > 
 		<div class="full_popup_wrap">
 			<h5 class="sr-only">상품썸네일 크게보기</h5>
 			<div class="btn_close">
 				<a href="" id="btn_close_itemThumbPop">닫기버튼</a>
 			</div>
-			<div class="full_pop_container">
-				<!-- 배송교환반품안내 리스트 내용 -->
+			<div class="full_pop_container"  th:with="videoYn=${(goodsVideoList != null and !goodsVideoList.empty)? 'Y' :'N'}">
+			<th:block th:each="goodsImg, status : ${goodsImgList}" th:with="count=${(videoYn == 'Y')?  (status.count +1): status.count }">
+				<div th:id="${'popThumb1'+ count}" class="scaleview" >
+					<img th:src="${imgGoodsUrl+'/'+goodsImg.sysImgNm}" alt="" th:onerror="'this.src=\''+@{${uxImgUrl}+ '/images/pc/thumb/bg_item_none.png'}+'\';'"></div>
+			</th:block>
 			</div>
 		</div>		
 	</div>

+ 14 - 13
src/main/webapp/WEB-INF/views/web/goods/GoodsDetailFormWeb.html

@@ -203,7 +203,7 @@
 												</span> 
 												<span th:if="${tmtbList != null and !tmtbList.empty}">
 												<th:block th:each="tmtb, status : ${tmtbList}" th:if="${status.first}">
-												<em class="c_primary"><th:block th:text="${#numbers.formatInteger(tmtb.sectionVal, 0,'COMMA')}"></th:block><th:block th:text="${(tmtb.sectionGb == 'G810_10')? '개':'금액'}"></th:block></em> 이상 구매 시 
+												<em class="c_primary"><th:block th:text="${#numbers.formatInteger(tmtb.sectionVal, 0,'COMMA')}"></th:block><th:block th:text="${(tmtb.sectionGb == 'G810_10')? '개':''}"></th:block></em> 이상 구매 시 
 												<em class="c_primary"><th:block th:text="${#numbers.formatInteger(tmtb.dcVal, 0,'COMMA')}"></th:block><th:block th:text="${(tmtb.dcWay == 'G240_10')? '원':'%'}"></th:block></em></em> 할인
 												</th:block>
 												</span>
@@ -1260,14 +1260,17 @@
 		<!-- // 이 상품과 비슷한 상품 -->
 	</div>
 	<!-- 상품썸네일 크게보기 팝업 -->
-	<div class="pd_pop full_pop pd_itemthumb_pop" id="pdItemThumbPop"> 
+	<div class="pd_pop full_pop pd_itemthumb_pop" id="pdItemThumbPop" th:if="${(goodsImgList != null and !goodsImgList.empty)}" > 
 		<div class="full_popup_wrap">
 			<h5 class="sr-only">상품썸네일 크게보기</h5>
 			<div class="btn_close">
 				<a href="" id="btn_close_itemThumbPop">닫기버튼</a>
 			</div>
-			<div class="full_pop_container">
-				<!-- 배송교환반품안내 리스트 내용 -->
+			<div class="full_pop_container"  th:with="videoYn=${(goodsVideoList != null and !goodsVideoList.empty)? 'Y' :'N'}">
+			<th:block th:each="goodsImg, status : ${goodsImgList}" th:with="count=${(videoYn == 'Y')?  (status.count +1): status.count }">
+				<div th:id="${'popThumb1'+ count}" class="scaleview" >
+					<img th:src="${imgGoodsUrl+'/'+goodsImg.sysImgNm}" alt="" th:onerror="'this.src=\''+@{${uxImgUrl}+ '/images/pc/thumb/bg_item_none.png'}+'\';'"></div>
+			</th:block>
 			</div>
 		</div>		
 	</div>
@@ -2068,19 +2071,17 @@
 	
 	//상품상세정보 더보기   
 	$(document).on('click','.pd_descrp .btn_more_box button',function(e){
-		$('.pd_descrp .cont_body').toggleClass('on'); 
-		$(this).toggleClass('active');
-		$(this).parent('.btn_more_box').toggleClass('covered');
-		var descrpToggle = $(this).find('span');
-		$(descrpToggle).text($(descrpToggle).text() == '상세정보 더보기' ? '상세정보 접기' : '상세정보 더보기');
-		return false;
-		
-		//210525_더보기 닫을 시 현재 위치로 화면 포커스
+        $('.pd_descrp .cont_body').toggleClass('on'); 
+        $(this).toggleClass('active');
+        $(this).parent('.btn_more_box').toggleClass('covered');
+        var descrpToggle = $(this).find('span');
+        $(descrpToggle).text($(descrpToggle).text() == '상세정보 더보기' ? '상세정보 접기' : '상세정보 더보기');
+
+        //210525_더보기 닫을 시 현재 위치로 화면 포커스
 		if($('.pd_descrp .btn_more_box').hasClass('covered') === true){
 			var offset = $('.pd_descrp .btn_more_box').offset();
 			$('html').animate({scrollTop : offset.top - 80}, 400);
 		}
-
          return false;
 	}); 
 	

+ 1 - 1
src/main/webapp/WEB-INF/views/web/goods/GoodsShopBenefitFormWeb.html

@@ -58,7 +58,7 @@
 							</colgroup>
 							<tbody>
 								<tr th:each="tmtb, status : ${tmtbList}">
-									<th><th:block th:text="${#numbers.formatInteger(tmtb.sectionVal, 0,'COMMA')}"></th:block><th:block th:text="${(tmtb.sectionGb == 'G810_10')? '개':'금액'}"></th:block> 이상 구매 시</th>
+									<th><th:block th:text="${#numbers.formatInteger(tmtb.sectionVal, 0,'COMMA')}"></th:block><th:block th:text="${(tmtb.sectionGb == 'G810_10')? '개':''}"></th:block> 이상 구매 시</th>
 									<td><th:block th:text="${#numbers.formatInteger(tmtb.dcVal, 0,'COMMA')}"></th:block><th:block th:text="${(tmtb.dcWay == 'G240_10')? '원':'%'}"></th:block> 할인</td>
 								</tr>
 							</tbody>

+ 8 - 5
src/main/webapp/WEB-INF/views/web/mypage/RestockFormWeb.html

@@ -43,9 +43,9 @@
 							<li>알림 요청이 완료 또는 경과된 알림은 완료 시점부터 15일후 삭제됩니다.</li>
 						</ul>
 					</div>
-					<div class="area_list">
+					<div class="area_list" id="restockGoods" style="display: none;">
 						<!-- 주문번호 기준 상품 내역 -->
-						<div class="part_goods" id="restockGoods" style="display: none;">
+<!--					<div class="part_goods" > -->
 <!-- 							<div class="goods_cont"> -->
 <!-- 								<div class="goods_info"> -->
 <!-- 									<div class="order_desc"> -->
@@ -84,7 +84,7 @@
 <!-- 									</div> -->
 <!-- 								</div> -->
 <!-- 							</div> -->
-						</div>
+<!--					</div> -->
 						<!-- //주문번호 기준 상품 내역 -->
 						<!-- 데이터 없을 시 -->
 						<div class="nodata" id="restockNodata" style="display: none;">
@@ -118,12 +118,14 @@
 					$('#restockGoods').html('');
 					
 					$.each(result, function (idx, item) {
-						let tag = '<div class="goods_cont">\n';
+						
+						let tag = '<div class="part_goods">\n';
+						tag += '	<div class="goods_cont" >\n';
 						tag += '	<div class="goods_info">\n';
 						tag += '		<div class="order_desc">\n';
 						tag += '			<div class="goods_box">\n';
 						tag += '				<div class="gd_item">\n';
-						tag += '					<a href="">\n';
+						tag += '					<a href="javascript:void(0);"  onclick="cfnGoToGoodsDetail(\''+item.goodsCd+'\',\''+item.optCd1+'\',\'IN23_01\')">\n';
 						tag += '						<span class="thumb">\n';
 						tag += '							<img src="' + _uploadGoodsUrl + '/' + item.sysImgNm + '" width="100%" alt="">\n';
 						tag += '						</span>\n';
@@ -163,6 +165,7 @@
 						tag += '		</div>\n';
 						tag += '	</div>\n';
 						tag += '</div>\n';
+						tag += '</div>\n';
 						
 						$('#restockGoods').append(tag);
 						$('#restockGoods').show();