Bläddra i källkod

multiCheckBox 관련 초기화 처리

eskim 4 år sedan
förälder
incheckning
8dbf4fe42c
1 ändrade filer med 6 tillägg och 0 borttagningar
  1. 6 0
      src/main/webapp/WEB-INF/views/display/GoodsCategoryForm.html

+ 6 - 0
src/main/webapp/WEB-INF/views/display/GoodsCategoryForm.html

@@ -733,6 +733,7 @@
 				$("#cateGb"+i).val('');
 				$("#leafYn"+i).val('');
 			}
+			
 		});
 
 		// 전시카테고리 삭제
@@ -851,6 +852,11 @@
 			$('#goodsSearchForm input[name=supplyCompList]').val('');
 			$('#goodsSearchForm').find('#brandText').html('');
 			$('#goodsSearchForm').find('#supplyCompText').html('');
+			
+			$(document).find('#goodsSearchForm').find(".multiCheckBox").each(function(i, e){
+				let btnNm = $(this).find(".sltBtn").attr("data-name");
+				$(this).find(".sltBtn").text(btnNm);
+			});
 		});
 
 		$(document).ready(function() {