Przeglądaj źródła

[ST24PRJ-120] [MD개선] 공통 검색 > 브랜드, 업체 1개만 검색시, 이름으로 표시

jmh 4 lat temu
rodzic
commit
73ad506d6f
43 zmienionych plików z 264 dodań i 104 usunięć
  1. 1 1
      src/main/java/com/style24/persistence/mybatis/shop/TsaStatistics.xml
  2. 3 1
      src/main/webapp/WEB-INF/views/business/DeliveryLocForm.html
  3. 6 2
      src/main/webapp/WEB-INF/views/display/GoodsCategoryForm.html
  4. 3 1
      src/main/webapp/WEB-INF/views/display/LookbookBannerPopupForm.html
  5. 4 1
      src/main/webapp/WEB-INF/views/display/LookbookListForm.html
  6. 6 2
      src/main/webapp/WEB-INF/views/goods/GoodsContentsForm.html
  7. 6 2
      src/main/webapp/WEB-INF/views/goods/GoodsEpSkipForm.html
  8. 6 2
      src/main/webapp/WEB-INF/views/goods/GoodsItemkindForm.html
  9. 6 2
      src/main/webapp/WEB-INF/views/goods/GoodsListForm.html
  10. 6 2
      src/main/webapp/WEB-INF/views/goods/GoodsNaverPriceForm.html
  11. 6 2
      src/main/webapp/WEB-INF/views/goods/GoodsNoticeForm.html
  12. 6 2
      src/main/webapp/WEB-INF/views/goods/GoodsPriceReserveForm.html
  13. 6 2
      src/main/webapp/WEB-INF/views/goods/GoodsQuikDeliverySkipForm.html
  14. 6 2
      src/main/webapp/WEB-INF/views/goods/GoodsSupplyPriceForm.html
  15. 3 1
      src/main/webapp/WEB-INF/views/goods/GoodsVideoForm.html
  16. 6 2
      src/main/webapp/WEB-INF/views/ocm/ExtmallUsacRegisterForm.html
  17. 6 4
      src/main/webapp/WEB-INF/views/order/OrderListForm.html
  18. 6 4
      src/main/webapp/WEB-INF/views/order/OrderSellerClaimListForm.html
  19. 6 4
      src/main/webapp/WEB-INF/views/order/OrderSellerClaimTargetListForm.html
  20. 6 4
      src/main/webapp/WEB-INF/views/order/OrderSellerDelvEndListForm.html
  21. 6 4
      src/main/webapp/WEB-INF/views/order/OrderSellerDelvListForm.html
  22. 6 4
      src/main/webapp/WEB-INF/views/order/OrderSellerListForm.html
  23. 6 4
      src/main/webapp/WEB-INF/views/order/OrderSellerWithdrawListForm.html
  24. 6 2
      src/main/webapp/WEB-INF/views/settle/DeliveryFeeSettleForm.html
  25. 6 2
      src/main/webapp/WEB-INF/views/settle/GoodsSettleForm.html
  26. 3 1
      src/main/webapp/WEB-INF/views/settle/SettleConfirmForm.html
  27. 3 1
      src/main/webapp/WEB-INF/views/shoplinker/ShoplinkerGoodsSendForm.html
  28. 3 1
      src/main/webapp/WEB-INF/views/shoplinker/ShoplinkerStockForm.html
  29. 12 4
      src/main/webapp/WEB-INF/views/statistics/BestTradingForm.html
  30. 12 4
      src/main/webapp/WEB-INF/views/statistics/BrandTradingForm.html
  31. 12 4
      src/main/webapp/WEB-INF/views/statistics/CategoryTradingForm.html
  32. 9 3
      src/main/webapp/WEB-INF/views/statistics/ChannelTradingForm.html
  33. 12 4
      src/main/webapp/WEB-INF/views/statistics/ClaimTradingForm.html
  34. 3 1
      src/main/webapp/WEB-INF/views/statistics/CustomerAgeOrderForm.html
  35. 3 1
      src/main/webapp/WEB-INF/views/statistics/CustomerGradeOrderForm.html
  36. 3 1
      src/main/webapp/WEB-INF/views/statistics/CustomerRankingForm.html
  37. 13 5
      src/main/webapp/WEB-INF/views/statistics/DailyOrderForm.html
  38. 9 3
      src/main/webapp/WEB-INF/views/statistics/ExtmallTradingForm.html
  39. 12 4
      src/main/webapp/WEB-INF/views/statistics/GoodsTradingForm.html
  40. 9 3
      src/main/webapp/WEB-INF/views/statistics/HourlyTradingForm.html
  41. 3 1
      src/main/webapp/WEB-INF/views/statistics/PaymentForm.html
  42. 6 2
      src/main/webapp/WEB-INF/views/stock/GoodsSizeStockForm.html
  43. 3 2
      src/main/webapp/WEB-INF/views/system/UserForm.html

+ 1 - 1
src/main/java/com/style24/persistence/mybatis/shop/TsaStatistics.xml

@@ -651,7 +651,7 @@
 			</if>
 			<if test="multiBrandCd != null">
 				/* 브랜드 */
-				<foreach collection="multiBrandCd" item="item" index="index"  open="AND Y.BRAND_CD IN (" close=")" separator=",">#{item}</foreach>
+				<foreach collection="multiBrandCd" item="item" index="index"  open="AND X.BRAND_CD IN (" close=")" separator=",">#{item}</foreach>
 			</if>
 		  GROUP BY X.BRAND_CD
 		)

+ 3 - 1
src/main/webapp/WEB-INF/views/business/DeliveryLocForm.html

@@ -327,17 +327,19 @@
 		var arrSupplyComp = [];
 		var supplyCompTxt = "";
 		var sIndex = 0;
+		var supplyCompNm = "";
 		$('#supplyCompTxt').html('');
 		$('#searchForm input[name=supplyCompSearchTxt]').val('');
 		
 		result.forEach(function(supplyComp) {
 			sIndex++; 
 			arrSupplyComp.push(supplyComp.supplyCompCd);
+			supplyCompNm = supplyComp.supplyCompNm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리 
 		if (sIndex == 1) {
-			$('#searchForm input[name=supplyCompSearchTxt]').val(arrSupplyComp[0]);
+			$('#searchForm input[name=supplyCompSearchTxt]').val(supplyCompNm);
 		} else {
 			supplyCompTxt = sIndex + " 개";
 			$('#supplyCompTxt').html(supplyCompTxt);

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

@@ -792,16 +792,18 @@
 			var arrSupplyComp = [];
 			var supplyCompText = "";
 			var sIndex = 0;
+			var supplyCompNm = "";
 			$('#goodsSearchForm').find('#supplyCompText').html('');
 			$('#goodsSearchForm input[name=supplyCompSearchTxt]').val('');
 			result.forEach(function(supplyComp){
 				sIndex++;
 				arrSupplyComp.push(supplyComp.supplyCompCd);
+				supplyCompNm = supplyComp.supplyCompNm;
 			});
 
 			// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리
 			if (sIndex == 1) {
-				$('#goodsSearchForm input[name=supplyCompSearchTxt]').val(arrSupplyComp[0]);
+				$('#goodsSearchForm input[name=supplyCompSearchTxt]').val(supplyCompNm);
 			}else{
 				supplyCompText = sIndex + " 개";
 				$('#goodsSearchForm').find('#supplyCompText').html(supplyCompText);
@@ -820,16 +822,18 @@
 			var arrbrandCd = [];
 			var brandText = "";
 			var bIndex = 0;
+			var brandNm = "";
 			$('#goodsSearchForm').find('#brandText').html('');
 			$('#goodsSearchForm input[name=searchTxt]').val('');
 			result.forEach(function(brand){
 				bIndex++;
 				arrbrandCd.push(brand.brandCd);
+				brandNm = brand.brandKnm;
 			});
 
 			// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리
 			if (bIndex == 1) {
-				$('#goodsSearchForm input[name=searchTxt]').val(arrbrandCd[0]);
+				$('#goodsSearchForm input[name=searchTxt]').val(brandNm);
 			}else{
 				brandText = bIndex + " 개";
 				$('#goodsSearchForm').find('#brandText').html(brandText);

+ 3 - 1
src/main/webapp/WEB-INF/views/display/LookbookBannerPopupForm.html

@@ -58,7 +58,8 @@
 						</td>
 						<th>브랜드<i class="required" title="필수"></i></th>
 						<td>
-							<input type="text" class="w200" name="brandCd" required="required" data-valid-name="브랜드" value="" />
+							<input type="hidden" class="w200" name="brandCd" required="required" data-valid-name="브랜드" value="" />
+							<input type="text" class="w200" name="brandNm" required="required" data-valid-name="브랜드" value="" />
 							<button type="button" class="btn btnRight btn-success btn-lg" onclick="fnSearchLbpBrandGroup();">브랜드조회</button>
 						</td>
 						<!--<td>
@@ -449,6 +450,7 @@
 
 	var fnCallBackLbpBrandGroup = function (result){
 		$("#lbBannerForm").find("input[name=brandCd]").val(result[0].brandGroupNo);
+		$("#lbBannerForm").find("input[name=brandNm]").val(result[0].brandGroupNm);
 	}
 
 	// 메인룩북설정

+ 4 - 1
src/main/webapp/WEB-INF/views/display/LookbookListForm.html

@@ -46,7 +46,8 @@
 						</td>
 						<th>브랜드</th>
 						<td>
-							<input type="text" class="w100" name="brandCd" value="" />
+							<input type="hidden" class="w100" name="brandCd" value="" />
+							<input type="text" class="w100" name="brandNm" value="" />
 							<button type="button" class="btn btnRight btn-success btn-lg" onclick="fnSearchLbBrandGroup();">브랜드조회</button>
 						</td>
 						<!--<td>
@@ -277,6 +278,8 @@
 
 	var fnCallBackLbBrandGroup = function (result){
 		$("#searchForm").find("input[name=brandCd]").val(result[0].brandGroupNo);
+		$("#searchForm").find("input[name=brandNm]").val(result[0].brandGroupNm);
+		
 	}
 
 	$(document).ready(function() {

+ 6 - 2
src/main/webapp/WEB-INF/views/goods/GoodsContentsForm.html

@@ -515,16 +515,18 @@
 		var arrSupplyComp = [];
 		var supplyCompText = "";
 		var sIndex = 0;
+		var supplyCompNm = "";
 		$('#searchForm').find('#supplyCompText').html('');
 		$('#searchForm input[name=supplyCompSearchTxt]').val('');
 		result.forEach(function(supplyComp){
 			sIndex++; 
 			arrSupplyComp.push(supplyComp.supplyCompCd);
+			supplyCompNm = supplyComp.supplyCompNm;
 		});
 
 		// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리 
 		if (sIndex == 1) {
-			$('#searchForm input[name=supplyCompSearchTxt]').val(arrSupplyComp[0]);
+			$('#searchForm input[name=supplyCompSearchTxt]').val(supplyCompNm);
 		}else{
 			supplyCompText = sIndex + " 개";
 			$('#searchForm').find('#supplyCompText').html(supplyCompText);	
@@ -538,16 +540,18 @@
 		var arrbrandCd = [];
 		var brandText = "";
 		var bIndex = 0;
+		var brandNm = "";
 		$('#searchForm').find('#brandText').html('');
 		$('#searchForm input[name=searchTxt]').val('');
 		result.forEach(function(brand){
 			bIndex++; 
 			arrbrandCd.push(brand.brandCd);
+			brandNm = brand.brandKnm;
 		});
 
 		// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리 
 		if (bIndex == 1) {
-			$('#searchForm input[name=searchTxt]').val(arrbrandCd[0]);
+			$('#searchForm input[name=searchTxt]').val(brandNm);
 		}else{
 			brandText = bIndex + " 개";
 			$('#searchForm').find('#brandText').html(brandText);	

+ 6 - 2
src/main/webapp/WEB-INF/views/goods/GoodsEpSkipForm.html

@@ -344,16 +344,18 @@
 		var arrSupplyComp = [];
 		var supplyCompText = "";
 		var sIndex = 0;
+		var supplyCompNm = "";
 		$('#goodsEpSkipListForm').find('#supplyCompText').html('');
 		$('#goodsEpSkipListForm input[name=supplyCompSearchTxt]').val('');
 		result.forEach(function(supplyComp){
 			sIndex++; 
 			arrSupplyComp.push(supplyComp.supplyCompCd);
+			supplyCompNm = supplyComp.supplyCompNm;
 		});
 
 		// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리 
 		if (sIndex == 1) {
-			$('#goodsEpSkipListForm input[name=supplyCompSearchTxt]').val(arrSupplyComp[0]);
+			$('#goodsEpSkipListForm input[name=supplyCompSearchTxt]').val(supplyCompNm);
 		}else{
 			supplyCompText = sIndex + " 개";
 			$('#goodsEpSkipListForm').find('#supplyCompText').html(supplyCompText);	
@@ -372,16 +374,18 @@
 		var arrbrandCd = [];
 		var brandText = "";
 		var bIndex = 0;
+		var brandNm = "";
 		$('#goodsEpSkipListForm').find('#brandText').html('');
 		$('#goodsEpSkipListForm input[name=searchTxt]').val('');
 		result.forEach(function(brand){
 			bIndex++; 
 			arrbrandCd.push(brand.brandCd);
+			brandNm = brand.brandKnm;
 		});
 
 		// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리 
 		if (bIndex == 1) {
-			$('#goodsEpSkipListForm input[name=searchTxt]').val(arrbrandCd[0]);
+			$('#goodsEpSkipListForm input[name=searchTxt]').val(brandNm);
 		}else{
 			brandText = bIndex + " 개";
 			$('#goodsEpSkipListForm').find('#brandText').html(brandText);	

+ 6 - 2
src/main/webapp/WEB-INF/views/goods/GoodsItemkindForm.html

@@ -362,16 +362,18 @@
 		var arrSupplyComp = [];
 		var supplyCompText = "";
 		var sIndex = 0;
+		var supplyCompNm = "";
 		$('#searchForm').find('#supplyCompText').html('');
 		$('#searchForm input[name=supplyCompSearchTxt]').val('');
 		result.forEach(function(supplyComp){
 			sIndex++; 
 			arrSupplyComp.push(supplyComp.supplyCompCd);
+			supplyCompNm = supplyComp.supplyCompNm;
 		});
 
 		// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리 
 		if (sIndex == 1) {
-			$('#searchForm input[name=supplyCompSearchTxt]').val(arrSupplyComp[0]);
+			$('#searchForm input[name=supplyCompSearchTxt]').val(supplyCompNm);
 		}else{
 			supplyCompText = sIndex + " 개";
 			$('#searchForm').find('#supplyCompText').html(supplyCompText);	
@@ -385,16 +387,18 @@
 		var arrbrandCd = [];
 		var brandText = "";
 		var bIndex = 0;
+		var brandNm = "";
 		$('#searchForm').find('#brandText').html('');
 		$('#searchForm input[name=searchTxt]').val('');
 		result.forEach(function(brand){
 			bIndex++; 
 			arrbrandCd.push(brand.brandCd);
+			brandNm = brand.brandKnm;
 		});
 
 		// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리 
 		if (bIndex == 1) {
-			$('#searchForm input[name=searchTxt]').val(arrbrandCd[0]);
+			$('#searchForm input[name=searchTxt]').val(brandNm);
 		}else{
 			brandText = bIndex + " 개";
 			$('#searchForm').find('#brandText').html(brandText);	

+ 6 - 2
src/main/webapp/WEB-INF/views/goods/GoodsListForm.html

@@ -1163,16 +1163,18 @@
 		var arrSupplyComp = [];
 		var supplyCompText = "";
 		var sIndex = 0;
+		var supplyCompNm = "";
 		$('#searchForm').find('#supplyCompText').html('');
 		$('#searchForm input[name=supplyCompSearchTxt]').val('');
 		result.forEach(function(supplyComp){
 			sIndex++; 
 			arrSupplyComp.push(supplyComp.supplyCompCd);
+			supplyCompNm = supplyComp.supplyCompNm;
 		});
 
 		// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리 
 		if (sIndex == 1) {
-			$('#searchForm input[name=supplyCompSearchTxt]').val(arrSupplyComp[0]);
+			$('#searchForm input[name=supplyCompSearchTxt]').val(supplyCompNm);
 		}else{
 			supplyCompText = sIndex + " 개";
 			$('#searchForm').find('#supplyCompText').html(supplyCompText);	
@@ -1186,16 +1188,18 @@
 		var arrbrandCd = [];
 		var brandText = "";
 		var bIndex = 0;
+		var brandNm = "";
 		$('#searchForm').find('#brandText').html('');
 		$('#searchForm input[name=searchTxt]').val('');
 		result.forEach(function(brand){
 			bIndex++; 
 			arrbrandCd.push(brand.brandCd);
+			brandNm = brand.brandKnm;
 		});
 
 		// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리 
 		if (bIndex == 1) {
-			$('#searchForm input[name=searchTxt]').val(arrbrandCd[0]);
+			$('#searchForm input[name=searchTxt]').val(brandNm);
 		}else{
 			brandText = bIndex + " 개";
 			$('#searchForm').find('#brandText').html(brandText);	

+ 6 - 2
src/main/webapp/WEB-INF/views/goods/GoodsNaverPriceForm.html

@@ -307,16 +307,18 @@
 		var arrSupplyComp = [];
 		var supplyCompText = "";
 		var sIndex = 0;
+		var supplyCompNm = "";
 		$('#searchForm').find('#supplyCompText').html('');
 		$('#searchForm input[name=supplyCompSearchTxt]').val('');
 		result.forEach(function(supplyComp){
 			sIndex++; 
 			arrSupplyComp.push(supplyComp.supplyCompCd);
+			supplyCompNm = supplyComp.supplyCompNm;
 		});
 
 		// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리 
 		if (sIndex == 1) {
-			$('#searchForm input[name=supplyCompSearchTxt]').val(arrSupplyComp[0]);
+			$('#searchForm input[name=supplyCompSearchTxt]').val(supplyCompNm);
 		}else{
 			supplyCompText = sIndex + " 개";
 			$('#searchForm').find('#supplyCompText').html(supplyCompText);	
@@ -330,16 +332,18 @@
 		var arrbrandCd = [];
 		var brandText = "";
 		var bIndex = 0;
+		var brandNm = "";
 		$('#searchForm').find('#brandText').html('');
 		$('#searchForm input[name=searchTxt]').val('');
 		result.forEach(function(brand){
 			bIndex++; 
 			arrbrandCd.push(brand.brandCd);
+			brandNm = brand.brandKnm;
 		});
 
 		// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리 
 		if (bIndex == 1) {
-			$('#searchForm input[name=searchTxt]').val(arrbrandCd[0]);
+			$('#searchForm input[name=searchTxt]').val(brandNm);
 		}else{
 			brandText = bIndex + " 개";
 			$('#searchForm').find('#brandText').html(brandText);	

+ 6 - 2
src/main/webapp/WEB-INF/views/goods/GoodsNoticeForm.html

@@ -361,16 +361,18 @@
 		var arrSupplyComp = [];
 		var supplyCompText = "";
 		var sIndex = 0;
+		var supplyCompNm = "";
 		$('#searchForm').find('#supplyCompText').html('');
 		$('#searchForm input[name=supplyCompSearchTxt]').val('');
 		result.forEach(function(supplyComp){
 			sIndex++; 
 			arrSupplyComp.push(supplyComp.supplyCompCd);
+			supplyCompNm = supplyComp.supplyCompNm;
 		});
 
 		// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리 
 		if (sIndex == 1) {
-			$('#searchForm input[name=supplyCompSearchTxt]').val(arrSupplyComp[0]);
+			$('#searchForm input[name=supplyCompSearchTxt]').val(supplyCompNm);
 		}else{
 			supplyCompText = sIndex + " 개";
 			$('#searchForm').find('#supplyCompText').html(supplyCompText);	
@@ -384,16 +386,18 @@
 		var arrbrandCd = [];
 		var brandText = "";
 		var bIndex = 0;
+		var brandNm = "";
 		$('#searchForm').find('#brandText').html('');
 		$('#searchForm input[name=searchTxt]').val('');
 		result.forEach(function(brand){
 			bIndex++; 
 			arrbrandCd.push(brand.brandCd);
+			brandNm = brand.brandKnm;
 		});
 
 		// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리 
 		if (bIndex == 1) {
-			$('#searchForm input[name=searchTxt]').val(arrbrandCd[0]);
+			$('#searchForm input[name=searchTxt]').val(brandNm);
 		}else{
 			brandText = bIndex + " 개";
 			$('#searchForm').find('#brandText').html(brandText);	

+ 6 - 2
src/main/webapp/WEB-INF/views/goods/GoodsPriceReserveForm.html

@@ -383,16 +383,18 @@
 		var arrSupplyComp = [];
 		var supplyCompText = "";
 		var sIndex = 0;
+		var supplyCompNm = "";
 		$('#goodsPriceResForm').find('#supplyCompText').html('');
 		$('#goodsPriceResForm input[name=supplyCompSearchTxt]').val('');
 		result.forEach(function(supplyComp){
 			sIndex++; 
 			arrSupplyComp.push(supplyComp.supplyCompCd);
+			supplyCompNm = supplyComp.supplyCompNm;
 		});
 
 		// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리 
 		if (sIndex == 1) {
-			$('#goodsPriceResForm input[name=supplyCompSearchTxt]').val(arrSupplyComp[0]);
+			$('#goodsPriceResForm input[name=supplyCompSearchTxt]').val(supplyCompNm);
 		}else{
 			supplyCompText = sIndex + " 개";
 			$('#goodsPriceResForm').find('#supplyCompText').html(supplyCompText);	
@@ -415,16 +417,18 @@
 		var arrbrandCd = [];
 		var brandText = "";
 		var bIndex = 0;
+		var brandNm = "";
 		$('#goodsPriceResForm').find('#brandText').html('');
 		$('#goodsPriceResForm input[name=searchTxt]').val('');
 		result.forEach(function(brand){
 			bIndex++; 
 			arrbrandCd.push(brand.brandCd);
+			brandNm = brand.brandKnm;
 		});
 
 		// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리 
 		if (bIndex == 1) {
-			$('#goodsPriceResForm input[name=searchTxt]').val(arrbrandCd[0]);
+			$('#goodsPriceResForm input[name=searchTxt]').val(brandNm);
 		}else{
 			brandText = bIndex + " 개";
 			$('#goodsPriceResForm').find('#brandText').html(brandText);	

+ 6 - 2
src/main/webapp/WEB-INF/views/goods/GoodsQuikDeliverySkipForm.html

@@ -284,16 +284,18 @@
 		var arrSupplyComp = [];
 		var supplyCompText = "";
 		var sIndex = 0;
+		var supplyCompNm = "";
 		$('#searchForm').find('#supplyCompText').html('');
 		$('#searchForm input[name=supplyCompSearchTxt]').val('');
 		result.forEach(function(supplyComp){
 			sIndex++; 
 			arrSupplyComp.push(supplyComp.supplyCompCd);
+			supplyCompNm = supplyComp.supplyCompNm;
 		});
 
 		// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리 
 		if (sIndex == 1) {
-			$('#searchForm input[name=supplyCompSearchTxt]').val(arrSupplyComp[0]);
+			$('#searchForm input[name=supplyCompSearchTxt]').val(supplyCompNm);
 		}else{
 			supplyCompText = sIndex + " 개";
 			$('#searchForm').find('#supplyCompText').html(supplyCompText);	
@@ -312,16 +314,18 @@
 		var arrbrandCd = [];
 		var brandText = "";
 		var bIndex = 0;
+		var brandNm = "";
 		$('#searchForm').find('#brandText').html('');
 		$('#searchForm input[name=searchTxt]').val('');
 		result.forEach(function(brand){
 			bIndex++; 
 			arrbrandCd.push(brand.brandCd);
+			brandNm = brand.brandKnm;
 		});
 
 		// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리 
 		if (bIndex == 1) {
-			$('#searchForm input[name=searchTxt]').val(arrbrandCd[0]);
+			$('#searchForm input[name=searchTxt]').val(brandNm);
 		}else{
 			brandText = bIndex + " 개";
 			$('#searchForm').find('#brandText').html(brandText);	

+ 6 - 2
src/main/webapp/WEB-INF/views/goods/GoodsSupplyPriceForm.html

@@ -332,16 +332,18 @@
 		var arrSupplyComp = [];
 		var supplyCompText = "";
 		var sIndex = 0;
+		var supplyCompNm = "";
 		$('#goodsPriceHstForm').find('#supplyCompText').html('');
 		$('#goodsPriceHstForm input[name=supplyCompSearchTxt]').val('');
 		result.forEach(function(supplyComp){
 			sIndex++; 
 			arrSupplyComp.push(supplyComp.supplyCompCd);
+			supplyCompNm = supplyComp.supplyCompNm;
 		});
 
 		// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리 
 		if (sIndex == 1) {
-			$('#goodsPriceHstForm input[name=supplyCompSearchTxt]').val(arrSupplyComp[0]);
+			$('#goodsPriceHstForm input[name=supplyCompSearchTxt]').val(supplyCompNm);
 		}else{
 			supplyCompText = sIndex + " 개";
 			$('#goodsPriceHstForm').find('#supplyCompText').html(supplyCompText);	
@@ -360,16 +362,18 @@
 		var arrbrandCd = [];
 		var brandText = "";
 		var bIndex = 0;
+		var brandNm = "";
 		$('#goodsPriceHstForm').find('#brandText').html('');
 		$('#goodsPriceHstForm input[name=searchTxt]').val('');
 		result.forEach(function(brand){
 			bIndex++; 
 			arrbrandCd.push(brand.brandCd);
+			brandNm = brand.brandKnm;
 		});
 
 		// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리 
 		if (bIndex == 1) {
-			$('#goodsPriceHstForm input[name=searchTxt]').val(arrbrandCd[0]);
+			$('#goodsPriceHstForm input[name=searchTxt]').val(brandNm);
 		}else{
 			brandText = bIndex + " 개";
 			$('#goodsPriceHstForm').find('#brandText').html(brandText);	

+ 3 - 1
src/main/webapp/WEB-INF/views/goods/GoodsVideoForm.html

@@ -351,16 +351,18 @@
 		var arrbrandCd = [];
 		var brandText = "";
 		var bIndex = 0;
+		var brandNm = "";
 		$('#searchForm').find('#brandText').html('');
 		$('#searchForm input[name=searchTxt]').val('');
 		result.forEach(function(brand){
 			bIndex++; 
 			arrbrandCd.push(brand.brandCd);
+			brandNm = brand.brandKnm;
 		});
 
 		// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리 
 		if (bIndex == 1) {
-			$('#searchForm input[name=searchTxt]').val(arrbrandCd[0]);
+			$('#searchForm input[name=searchTxt]').val(brandNm);
 		}else{
 			brandText = bIndex + " 개";
 			$('#searchForm').find('#brandText').html(brandText);	

+ 6 - 2
src/main/webapp/WEB-INF/views/ocm/ExtmallUsacRegisterForm.html

@@ -217,17 +217,19 @@
 		var arrSupplyComp = [];
 		var supplyCompTxt = "";
 		var sIndex = 0;
+		var supplyCompNm = "";
 		$('#supplyCompTxt').html('');
 		$('#searchForm input[name=supplyCompSearchTxt]').val('');
 		
 		result.forEach(function(supplyComp) {
 			sIndex++; 
 			arrSupplyComp.push(supplyComp.supplyCompCd);
+			supplyCompNm = supplyComp.supplyCompNm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리 
 		if (sIndex == 1) {
-			$('#searchForm input[name=supplyCompSearchTxt]').val(arrSupplyComp[0]);
+			$('#searchForm input[name=supplyCompSearchTxt]').val(supplyCompNm);
 		} else {
 			supplyCompTxt = sIndex + " 개";
 			$('#supplyCompTxt').html(supplyCompTxt);
@@ -242,17 +244,19 @@
 		var arrbrandCd = [];
 		var brandTxt = "";
 		var bIndex = 0;
+		var brandNm = "";
 		$('#brandTxt').html('');
 		$('#searchForm input[name=brandSearchTxt]').val('');
 		
 		result.forEach(function(brand){
 			bIndex++; 
 			arrbrandCd.push(brand.brandCd);
+			brandNm = brand.brandKnm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리 
 		if (bIndex == 1) {
-			$('#searchForm input[name=brandSearchTxt]').val(arrbrandCd[0]);
+			$('#searchForm input[name=brandSearchTxt]').val(brandNm);
 		} else {
 			brandTxt = bIndex + " 개";
 			$('#searchForm').find('#brandTxt').html(brandTxt);

+ 6 - 4
src/main/webapp/WEB-INF/views/order/OrderListForm.html

@@ -715,18 +715,19 @@ var fnSetSupplyCompInfo = function(result) {
 	var arrSupplyComp 	= [];
 	var supplyCompText 	= "";
 	var sIndex 			= 0;
-
+	var supplyCompNm = "";
 	$('#searchForm').find('#supplyCompText').html('');
 	$('#searchForm input[name=supplyCompSearchTxt]').val('');
 
 	result.forEach(function(supplyComp){
 		sIndex++;
 		arrSupplyComp.push(supplyComp.supplyCompCd);
+		supplyCompNm = supplyComp.supplyCompNm;
 	});
 
 	// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리
 	if (sIndex == 1) {
-		$('#searchForm input[name=supplyCompSearchTxt]').val(arrSupplyComp[0]);
+		$('#searchForm input[name=supplyCompSearchTxt]').val(supplyCompNm);
 	} else {
 		supplyCompText = sIndex + " 개";
 		$('#searchForm').find('#supplyCompText').html(supplyCompText);
@@ -746,18 +747,19 @@ var fnSetBrandInfo = function(result) {
 	var arrbrandCd 	= [];
 	var brandText 	= "";
 	var bIndex 		= 0;
-
+	var brandNm = "";
 	$('#searchForm').find('#brandText').html('');
 	$('#searchForm input[name=searchTxt]').val('');
 
 	result.forEach(function(brand){
 		bIndex++;
 		arrbrandCd.push(brand.brandCd);
+		brandNm = brand.brandKnm;
 	});
 
 	// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리
 	if (bIndex == 1) {
-		$('#searchForm input[name=searchTxt]').val(arrbrandCd[0]);
+		$('#searchForm input[name=searchTxt]').val(brandNm);
 	}else{
 		brandText = bIndex + " 개";
 		$('#searchForm').find('#brandText').html(brandText);

+ 6 - 4
src/main/webapp/WEB-INF/views/order/OrderSellerClaimListForm.html

@@ -285,18 +285,19 @@ var fnSetSupplyCompInfo = function(result) {
 	var arrSupplyComp 	= [];
 	var supplyCompText 	= "";
 	var sIndex 			= 0;
-
+	var supplyCompNm = "";
 	$('#searchForm').find('#supplyCompText').html('');
 	$('#searchForm input[name=supplyCompSearchTxt]').val('');
 
 	result.forEach(function(supplyComp){
 		sIndex++;
 		arrSupplyComp.push(supplyComp.supplyCompCd);
+		supplyCompNm = supplyComp.supplyCompNm;
 	});
 
 	// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리
 	if (sIndex == 1) {
-		$('#searchForm input[name=supplyCompSearchTxt]').val(arrSupplyComp[0]);
+		$('#searchForm input[name=supplyCompSearchTxt]').val(supplyCompNm);
 	} else {
 		supplyCompText = sIndex + " 개";
 		$('#searchForm').find('#supplyCompText').html(supplyCompText);
@@ -316,18 +317,19 @@ var fnSetBrandInfo = function(result) {
 	var arrbrandCd 	= [];
 	var brandText 	= "";
 	var bIndex 		= 0;
-
+	var brandNm = "";
 	$('#searchForm').find('#brandText').html('');
 	$('#searchForm input[name=searchTxt]').val('');
 
 	result.forEach(function(brand){
 		bIndex++;
 		arrbrandCd.push(brand.brandCd);
+		brandNm = brand.brandKnm;
 	});
 
 	// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리
 	if (bIndex == 1) {
-		$('#searchForm input[name=searchTxt]').val(arrbrandCd[0]);
+		$('#searchForm input[name=searchTxt]').val(brandNm);
 	}else{
 		brandText = bIndex + " 개";
 		$('#searchForm').find('#brandText').html(brandText);

+ 6 - 4
src/main/webapp/WEB-INF/views/order/OrderSellerClaimTargetListForm.html

@@ -287,18 +287,19 @@ var fnSetSupplyCompInfo = function(result) {
 	var arrSupplyComp 	= [];
 	var supplyCompText 	= "";
 	var sIndex 			= 0;
-
+	var supplyCompNm = "";
 	$('#searchForm').find('#supplyCompText').html('');
 	$('#searchForm input[name=supplyCompSearchTxt]').val('');
 
 	result.forEach(function(supplyComp){
 		sIndex++;
 		arrSupplyComp.push(supplyComp.supplyCompCd);
+		supplyCompNm = supplyComp.supplyCompNm;
 	});
 
 	// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리
 	if (sIndex == 1) {
-		$('#searchForm input[name=supplyCompSearchTxt]').val(arrSupplyComp[0]);
+		$('#searchForm input[name=supplyCompSearchTxt]').val(supplyCompNm);
 	} else {
 		supplyCompText = sIndex + " 개";
 		$('#searchForm').find('#supplyCompText').html(supplyCompText);
@@ -318,18 +319,19 @@ var fnSetBrandInfo = function(result) {
 	var arrbrandCd 	= [];
 	var brandText 	= "";
 	var bIndex 		= 0;
-
+	var brandNm = "";
 	$('#searchForm').find('#brandText').html('');
 	$('#searchForm input[name=searchTxt]').val('');
 
 	result.forEach(function(brand){
 		bIndex++;
 		arrbrandCd.push(brand.brandCd);
+		brandNm = brand.brandKnm;
 	});
 
 	// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리
 	if (bIndex == 1) {
-		$('#searchForm input[name=searchTxt]').val(arrbrandCd[0]);
+		$('#searchForm input[name=searchTxt]').val(brandNm);
 	}else{
 		brandText = bIndex + " 개";
 		$('#searchForm').find('#brandText').html(brandText);

+ 6 - 4
src/main/webapp/WEB-INF/views/order/OrderSellerDelvEndListForm.html

@@ -445,18 +445,19 @@ var fnSetSupplyCompInfo = function(result) {
 	var arrSupplyComp 	= [];
 	var supplyCompText 	= "";
 	var sIndex 			= 0;
-
+	var supplyCompNm = "";
 	$('#searchForm').find('#supplyCompText').html('');
 	$('#searchForm input[name=supplyCompSearchTxt]').val('');
 
 	result.forEach(function(supplyComp){
 		sIndex++;
 		arrSupplyComp.push(supplyComp.supplyCompCd);
+		supplyCompNm = supplyComp.supplyCompNm;
 	});
 
 	// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리
 	if (sIndex == 1) {
-		$('#searchForm input[name=supplyCompSearchTxt]').val(arrSupplyComp[0]);
+		$('#searchForm input[name=supplyCompSearchTxt]').val(supplyCompNm);
 	} else {
 		supplyCompText = sIndex + " 개";
 		$('#searchForm').find('#supplyCompText').html(supplyCompText);
@@ -476,18 +477,19 @@ var fnSetBrandInfo = function(result) {
 	var arrbrandCd 	= [];
 	var brandText 	= "";
 	var bIndex 		= 0;
-
+	var brandNm = "";
 	$('#searchForm').find('#brandText').html('');
 	$('#searchForm input[name=searchTxt]').val('');
 
 	result.forEach(function(brand){
 		bIndex++;
 		arrbrandCd.push(brand.brandCd);
+		brandNm = brand.brandKnm;
 	});
 
 	// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리
 	if (bIndex == 1) {
-		$('#searchForm input[name=searchTxt]').val(arrbrandCd[0]);
+		$('#searchForm input[name=searchTxt]').val(brandNm);
 	}else{
 		brandText = bIndex + " 개";
 		$('#searchForm').find('#brandText').html(brandText);

+ 6 - 4
src/main/webapp/WEB-INF/views/order/OrderSellerDelvListForm.html

@@ -335,18 +335,19 @@ var fnSetSupplyCompInfo = function(result) {
 	var arrSupplyComp 	= [];
 	var supplyCompText 	= "";
 	var sIndex 			= 0;
-
+	var supplyCompNm = "";
 	$('#searchForm').find('#supplyCompText').html('');
 	$('#searchForm input[name=supplyCompSearchTxt]').val('');
 
 	result.forEach(function(supplyComp){
 		sIndex++;
 		arrSupplyComp.push(supplyComp.supplyCompCd);
+		supplyCompNm = supplyComp.supplyCompNm;
 	});
 
 	// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리
 	if (sIndex == 1) {
-		$('#searchForm input[name=supplyCompSearchTxt]').val(arrSupplyComp[0]);
+		$('#searchForm input[name=supplyCompSearchTxt]').val(supplyCompNm);
 	} else {
 		supplyCompText = sIndex + " 개";
 		$('#searchForm').find('#supplyCompText').html(supplyCompText);
@@ -366,18 +367,19 @@ var fnSetBrandInfo = function(result) {
 	var arrbrandCd 	= [];
 	var brandText 	= "";
 	var bIndex 		= 0;
-
+	var brandNm = "";
 	$('#searchForm').find('#brandText').html('');
 	$('#searchForm input[name=searchTxt]').val('');
 
 	result.forEach(function(brand){
 		bIndex++;
 		arrbrandCd.push(brand.brandCd);
+		brandNm = brand.brandKnm;
 	});
 
 	// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리
 	if (bIndex == 1) {
-		$('#searchForm input[name=searchTxt]').val(arrbrandCd[0]);
+		$('#searchForm input[name=searchTxt]').val(brandNm);
 	}else{
 		brandText = bIndex + " 개";
 		$('#searchForm').find('#brandText').html(brandText);

+ 6 - 4
src/main/webapp/WEB-INF/views/order/OrderSellerListForm.html

@@ -455,18 +455,19 @@ var fnSetSupplyCompInfo = function(result) {
 	var arrSupplyComp 	= [];
 	var supplyCompText 	= "";
 	var sIndex 			= 0;
-
+	var supplyCompNm = "";
 	$('#searchForm').find('#supplyCompText').html('');
 	$('#searchForm input[name=supplyCompSearchTxt]').val('');
 
 	result.forEach(function(supplyComp){
 		sIndex++;
 		arrSupplyComp.push(supplyComp.supplyCompCd);
+		supplyCompNm = supplyComp.supplyCompNm;
 	});
 
 	// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리
 	if (sIndex == 1) {
-		$('#searchForm input[name=supplyCompSearchTxt]').val(arrSupplyComp[0]);
+		$('#searchForm input[name=supplyCompSearchTxt]').val(supplyCompNm);
 	} else {
 		supplyCompText = sIndex + " 개";
 		$('#searchForm').find('#supplyCompText').html(supplyCompText);
@@ -486,18 +487,19 @@ var fnSetBrandInfo = function(result) {
 	var arrbrandCd 	= [];
 	var brandText 	= "";
 	var bIndex 		= 0;
-
+	var brandNm = "";
 	$('#searchForm').find('#brandText').html('');
 	$('#searchForm input[name=searchTxt]').val('');
 
 	result.forEach(function(brand){
 		bIndex++;
 		arrbrandCd.push(brand.brandCd);
+		brandNm = brand.brandKnm;
 	});
 
 	// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리
 	if (bIndex == 1) {
-		$('#searchForm input[name=searchTxt]').val(arrbrandCd[0]);
+		$('#searchForm input[name=searchTxt]').val(brandNm);
 	}else{
 		brandText = bIndex + " 개";
 		$('#searchForm').find('#brandText').html(brandText);

+ 6 - 4
src/main/webapp/WEB-INF/views/order/OrderSellerWithdrawListForm.html

@@ -320,18 +320,19 @@ var fnSetSupplyCompInfo = function(result) {
 	var arrSupplyComp 	= [];
 	var supplyCompText 	= "";
 	var sIndex 			= 0;
-
+	var supplyCompNm = "";
 	$('#searchForm').find('#supplyCompText').html('');
 	$('#searchForm input[name=supplyCompSearchTxt]').val('');
 
 	result.forEach(function(supplyComp){
 		sIndex++;
 		arrSupplyComp.push(supplyComp.supplyCompCd);
+		supplyCompNm = supplyComp.supplyCompNm;
 	});
 
 	// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리
 	if (sIndex == 1) {
-		$('#searchForm input[name=supplyCompSearchTxt]').val(arrSupplyComp[0]);
+		$('#searchForm input[name=supplyCompSearchTxt]').val(supplyCompNm);
 	} else {
 		supplyCompText = sIndex + " 개";
 		$('#searchForm').find('#supplyCompText').html(supplyCompText);
@@ -351,18 +352,19 @@ var fnSetBrandInfo = function(result) {
 	var arrbrandCd 	= [];
 	var brandText 	= "";
 	var bIndex 		= 0;
-
+	var brandNm = "";
 	$('#searchForm').find('#brandText').html('');
 	$('#searchForm input[name=searchTxt]').val('');
 
 	result.forEach(function(brand){
 		bIndex++;
 		arrbrandCd.push(brand.brandCd);
+		brandNm = brand.brandKnm;
 	});
 
 	// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리
 	if (bIndex == 1) {
-		$('#searchForm input[name=searchTxt]').val(arrbrandCd[0]);
+		$('#searchForm input[name=searchTxt]').val(brandNm);
 	}else{
 		brandText = bIndex + " 개";
 		$('#searchForm').find('#brandText').html(brandText);

+ 6 - 2
src/main/webapp/WEB-INF/views/settle/DeliveryFeeSettleForm.html

@@ -123,17 +123,19 @@
 		var arrSupplyComp = [];
 		var supplyCompTxt = "";
 		var sIndex = 0;
+		var supplyCompNm = "";
 		$('#supplyCompTxt').html('');
 		$('#searchForm input[name=supplyCompSearchTxt]').val('');
 		
 		result.forEach(function(supplyComp) {
 			sIndex++; 
 			arrSupplyComp.push(supplyComp.supplyCompCd);
+			supplyCompNm = supplyComp.supplyCompNm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리 
 		if (sIndex == 1) {
-			$('#searchForm input[name=supplyCompSearchTxt]').val(arrSupplyComp[0]);
+			$('#searchForm input[name=supplyCompSearchTxt]').val(supplyCompNm);
 		} else {
 			supplyCompTxt = sIndex + " 개";
 			$('#supplyCompTxt').html(supplyCompTxt);
@@ -148,17 +150,19 @@
 		var arrbrandCd = [];
 		var brandTxt = "";
 		var bIndex = 0;
+		var brandNm = "";
 		$('#brandTxt').html('');
 		$('#searchForm input[name=brandSearchTxt]').val('');
 		
 		result.forEach(function(brand){
 			bIndex++; 
 			arrbrandCd.push(brand.brandCd);
+			brandNm = brand.brandKnm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리 
 		if (bIndex == 1) {
-			$('#searchForm input[name=brandSearchTxt]').val(arrbrandCd[0]);
+			$('#searchForm input[name=brandSearchTxt]').val(brandNm);
 		} else {
 			brandTxt = bIndex + " 개";
 			$('#searchForm').find('#brandTxt').html(brandTxt);

+ 6 - 2
src/main/webapp/WEB-INF/views/settle/GoodsSettleForm.html

@@ -314,17 +314,19 @@
 		var arrSupplyComp = [];
 		var supplyCompTxt = "";
 		var sIndex = 0;
+		var supplyCompNm = "";
 		$('#supplyCompTxt').html('');
 		$('#searchForm input[name=supplyCompSearchTxt]').val('');
 		
 		result.forEach(function(supplyComp) {
 			sIndex++; 
 			arrSupplyComp.push(supplyComp.supplyCompCd);
+			supplyCompNm = supplyComp.supplyCompNm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리 
 		if (sIndex == 1) {
-			$('#searchForm input[name=supplyCompSearchTxt]').val(arrSupplyComp[0]);
+			$('#searchForm input[name=supplyCompSearchTxt]').val(supplyCompNm);
 		} else {
 			supplyCompTxt = sIndex + " 개";
 			$('#supplyCompTxt').html(supplyCompTxt);
@@ -339,17 +341,19 @@
 		var arrbrandCd = [];
 		var brandTxt = "";
 		var bIndex = 0;
+		var brandNm = "";
 		$('#brandTxt').html('');
 		$('#searchForm input[name=brandSearchTxt]').val('');
 		
 		result.forEach(function(brand){
 			bIndex++; 
 			arrbrandCd.push(brand.brandCd);
+			brandNm = brand.brandKnm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리 
 		if (bIndex == 1) {
-			$('#searchForm input[name=brandSearchTxt]').val(arrbrandCd[0]);
+			$('#searchForm input[name=brandSearchTxt]').val(brandNm);
 		} else {
 			brandTxt = bIndex + " 개";
 			$('#searchForm').find('#brandTxt').html(brandTxt);

+ 3 - 1
src/main/webapp/WEB-INF/views/settle/SettleConfirmForm.html

@@ -252,17 +252,19 @@
 		var arrSupplyComp = [];
 		var supplyCompTxt = "";
 		var sIndex = 0;
+		var supplyCompNm = "";
 		$('#supplyCompTxt').html('');
 		$('#searchForm input[name=supplyCompSearchTxt]').val('');
 		
 		result.forEach(function(supplyComp) {
 			sIndex++; 
 			arrSupplyComp.push(supplyComp.supplyCompCd);
+			supplyCompNm = supplyComp.supplyCompNm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리 
 		if (sIndex == 1) {
-			$('#searchForm input[name=supplyCompSearchTxt]').val(arrSupplyComp[0]);
+			$('#searchForm input[name=supplyCompSearchTxt]').val(supplyCompNm);
 		} else {
 			supplyCompTxt = sIndex + " 개";
 			$('#supplyCompTxt').html(supplyCompTxt);

+ 3 - 1
src/main/webapp/WEB-INF/views/shoplinker/ShoplinkerGoodsSendForm.html

@@ -244,16 +244,18 @@
 		var arrbrandCd = [];
 		var brandText = "";
 		var bIndex = 0;
+		var brandNm = "";
 		$('#searchForm').find('#brandText').html('');
 		$('#searchForm input[name=searchTxt]').val('');
 		result.forEach(function(brand){
 			bIndex++;
 			arrbrandCd.push(brand.brandCd);
+			brandNm = brand.brandKnm;
 		});
 
 		// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리
 		if (bIndex == 1) {
-			$('#searchForm input[name=searchTxt]').val(arrbrandCd[0]);
+			$('#searchForm input[name=searchTxt]').val(brandNm);
 		}else{
 			brandText = bIndex + " 개";
 			$('#searchForm').find('#brandText').html(brandText);

+ 3 - 1
src/main/webapp/WEB-INF/views/shoplinker/ShoplinkerStockForm.html

@@ -169,16 +169,18 @@
 		var arrbrandCd = [];
 		var brandText = "";
 		var bIndex = 0;
+		var brandNm = "";
 		$('#searchForm').find('#brandText').html('');
 		$('#searchForm input[name=searchTxt]').val('');
 		result.forEach(function(brand){
 			bIndex++;
 			arrbrandCd.push(brand.brandCd);
+			brandNm = brand.brandKnm;
 		});
 
 		// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리
 		if (bIndex == 1) {
-			$('#searchForm input[name=searchTxt]').val(arrbrandCd[0]);
+			$('#searchForm input[name=searchTxt]').val(brandNm);
 		}else{
 			brandText = bIndex + " 개";
 			$('#searchForm').find('#brandText').html(brandText);

+ 12 - 4
src/main/webapp/WEB-INF/views/statistics/BestTradingForm.html

@@ -251,17 +251,19 @@
 		var arrExtmallId = [];
 		var extmallIdTxt = "";
 		var sIndex = 0;
+		var extmallNm = "";
 		$('#extmallIdTxt').html('');
 		$('#searchForm input[name=extmallIdSearchTxt]').val('');
 
 		result.forEach(function(extmall) {
 			sIndex++;
 			arrExtmallId.push(extmall.extmallId);
+			extmallNm = extmall.extmallNm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (sIndex == 1) {
-			$('#searchForm input[name=extmallIdSearchTxt]').val(arrExtmallId[0]);
+			$('#searchForm input[name=extmallIdSearchTxt]').val(extmallNm);
 		} else {
 			extmallIdTxt = sIndex + " 개";
 			$('#extmallIdTxt').html(extmallIdTxt);
@@ -276,17 +278,19 @@
 		var arrSupplyCompCd = [];
 		var supplyCompCdTxt = "";
 		var sIndex = 0;
+		var supplyCompNm = "";
 		$('#supplyCompCdTxt').html('');
 		$('#searchForm input[name=supplyCompCdSearchTxt]').val('');
 
 		result.forEach(function(supplyComp) {
 			sIndex++;
 			arrSupplyCompCd.push(supplyComp.supplyCompCd);
+			supplyCompNm = supplyComp.supplyCompNm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (sIndex == 1) {
-			$('#searchForm input[name=supplyCompCdSearchTxt]').val(arrSupplyCompCd[0]);
+			$('#searchForm input[name=supplyCompCdSearchTxt]').val(supplyCompNm);
 		} else {
 			supplyCompCdTxt = sIndex + " 개";
 			$('#supplyCompCdTxt').html(supplyCompCdTxt);
@@ -301,17 +305,19 @@
 		var arrAfLinkCd = [];
 		var afLinkCdTxt = "";
 		var sIndex = 0;
+		var afLinkNm = "";
 		$('#afLinkCdTxt').html('');
 		$('#searchForm input[name=afLinkCdSearchTxt]').val('');
 
 		result.forEach(function(afLink) {
 			sIndex++;
 			arrAfLinkCd.push(afLink.afLinkCd);
+			afLinkNm = afLink.afLinkNm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (sIndex == 1) {
-			$('#searchForm input[name=afLinkCdSearchTxt]').val(arrAfLinkCd[0]);
+			$('#searchForm input[name=afLinkCdSearchTxt]').val(afLinkNm);
 		} else {
 			afLinkCdTxt = sIndex + " 개";
 			$('#afLinkCdTxt').html(afLinkCdTxt);
@@ -326,17 +332,19 @@
 		var arrBrandCd = [];
 		var brandCdTxt = "";
 		var bIndex = 0;
+		var brandNm = "";
 		$('#brandCdTxt').html('');
 		$('#searchForm input[name=brandCdSearchTxt]').val('');
 
 		result.forEach(function(brand){
 			bIndex++;
 			arrBrandCd.push(brand.brandCd);
+			brandNm = brand.brandKnm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (bIndex == 1) {
-			$('#searchForm input[name=brandCdSearchTxt]').val(arrBrandCd[0]);
+			$('#searchForm input[name=brandCdSearchTxt]').val(brandNm);
 		} else {
 			brandCdTxt = bIndex + " 개";
 			$('#brandCdTxt').html(brandCdTxt);

+ 12 - 4
src/main/webapp/WEB-INF/views/statistics/BrandTradingForm.html

@@ -238,17 +238,19 @@
 		var arrExtmallId = [];
 		var extmallIdTxt = "";
 		var sIndex = 0;
+		var extmallNm = "";
 		$('#extmallIdTxt').html('');
 		$('#searchForm input[name=extmallIdSearchTxt]').val('');
 
 		result.forEach(function(extmall) {
 			sIndex++;
 			arrExtmallId.push(extmall.extmallId);
+			extmallNm = extmall.extmallNm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (sIndex == 1) {
-			$('#searchForm input[name=extmallIdSearchTxt]').val(arrExtmallId[0]);
+			$('#searchForm input[name=extmallIdSearchTxt]').val(extmallNm);
 		} else {
 			extmallIdTxt = sIndex + " 개";
 			$('#extmallIdTxt').html(extmallIdTxt);
@@ -263,17 +265,19 @@
 		var arrSupplyCompCd = [];
 		var supplyCompCdTxt = "";
 		var sIndex = 0;
+		var supplyCompNm = "";
 		$('#supplyCompCdTxt').html('');
 		$('#searchForm input[name=supplyCompCdSearchTxt]').val('');
 
 		result.forEach(function(supplyComp) {
 			sIndex++;
 			arrSupplyCompCd.push(supplyComp.supplyCompCd);
+			supplyCompNm = supplyComp.supplyCompNm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (sIndex == 1) {
-			$('#searchForm input[name=supplyCompCdSearchTxt]').val(arrSupplyCompCd[0]);
+			$('#searchForm input[name=supplyCompCdSearchTxt]').val(supplyCompNm);
 		} else {
 			supplyCompCdTxt = sIndex + " 개";
 			$('#supplyCompCdTxt').html(supplyCompCdTxt);
@@ -288,17 +292,19 @@
 		var arrAfLinkCd = [];
 		var afLinkCdTxt = "";
 		var sIndex = 0;
+		var afLinkNm = "";
 		$('#afLinkCdTxt').html('');
 		$('#searchForm input[name=afLinkCdSearchTxt]').val('');
 
 		result.forEach(function(afLink) {
 			sIndex++;
 			arrAfLinkCd.push(afLink.afLinkCd);
+			afLinkNm = afLink.afLinkNm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (sIndex == 1) {
-			$('#searchForm input[name=afLinkCdSearchTxt]').val(arrAfLinkCd[0]);
+			$('#searchForm input[name=afLinkCdSearchTxt]').val(afLinkNm);
 		} else {
 			afLinkCdTxt = sIndex + " 개";
 			$('#afLinkCdTxt').html(afLinkCdTxt);
@@ -313,17 +319,19 @@
 		var arrBrandCd = [];
 		var brandCdTxt = "";
 		var bIndex = 0;
+		var brandNm = "";
 		$('#brandCdTxt').html('');
 		$('#searchForm input[name=brandCdSearchTxt]').val('');
 
 		result.forEach(function(brand){
 			bIndex++;
 			arrBrandCd.push(brand.brandCd);
+			brandNm = brand.brandKnm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (bIndex == 1) {
-			$('#searchForm input[name=brandCdSearchTxt]').val(arrBrandCd[0]);
+			$('#searchForm input[name=brandCdSearchTxt]').val(brandNm);
 		} else {
 			brandCdTxt = bIndex + " 개";
 			$('#brandCdTxt').html(brandCdTxt);

+ 12 - 4
src/main/webapp/WEB-INF/views/statistics/CategoryTradingForm.html

@@ -260,17 +260,19 @@
 		var arrExtmallId = [];
 		var extmallIdTxt = "";
 		var sIndex = 0;
+		var extmallNm = "";
 		$('#extmallIdTxt').html('');
 		$('#searchForm input[name=extmallIdSearchTxt]').val('');
 
 		result.forEach(function(extmall) {
 			sIndex++;
 			arrExtmallId.push(extmall.extmallId);
+			extmallNm = extmall.extmallNm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (sIndex == 1) {
-			$('#searchForm input[name=extmallIdSearchTxt]').val(arrExtmallId[0]);
+			$('#searchForm input[name=extmallIdSearchTxt]').val(extmallNm);
 		} else {
 			extmallIdTxt = sIndex + " 개";
 			$('#extmallIdTxt').html(extmallIdTxt);
@@ -285,17 +287,19 @@
 		var arrSupplyCompCd = [];
 		var supplyCompCdTxt = "";
 		var sIndex = 0;
+		var supplyCompNm = "";
 		$('#supplyCompCdTxt').html('');
 		$('#searchForm input[name=supplyCompCdSearchTxt]').val('');
 
 		result.forEach(function(supplyComp) {
 			sIndex++;
 			arrSupplyCompCd.push(supplyComp.supplyCompCd);
+			supplyCompNm = supplyComp.supplyCompNm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (sIndex == 1) {
-			$('#searchForm input[name=supplyCompCdSearchTxt]').val(arrSupplyCompCd[0]);
+			$('#searchForm input[name=supplyCompCdSearchTxt]').val(supplyCompNm);
 		} else {
 			supplyCompCdTxt = sIndex + " 개";
 			$('#supplyCompCdTxt').html(supplyCompCdTxt);
@@ -310,17 +314,19 @@
 		var arrAfLinkCd = [];
 		var afLinkCdTxt = "";
 		var sIndex = 0;
+		var afLinkNm = "";
 		$('#afLinkCdTxt').html('');
 		$('#searchForm input[name=afLinkCdSearchTxt]').val('');
 
 		result.forEach(function(afLink) {
 			sIndex++;
 			arrAfLinkCd.push(afLink.afLinkCd);
+			afLinkNm = afLink.afLinkNm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (sIndex == 1) {
-			$('#searchForm input[name=afLinkCdSearchTxt]').val(arrAfLinkCd[0]);
+			$('#searchForm input[name=afLinkCdSearchTxt]').val(afLinkNm);
 		} else {
 			afLinkCdTxt = sIndex + " 개";
 			$('#afLinkCdTxt').html(afLinkCdTxt);
@@ -335,17 +341,19 @@
 		var arrBrandCd = [];
 		var brandCdTxt = "";
 		var bIndex = 0;
+		var brandNm = "";
 		$('#brandCdTxt').html('');
 		$('#searchForm input[name=brandCdSearchTxt]').val('');
 
 		result.forEach(function(brand){
 			bIndex++;
 			arrBrandCd.push(brand.brandCd);
+			brandNm = brand.brandKnm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (bIndex == 1) {
-			$('#searchForm input[name=brandCdSearchTxt]').val(arrBrandCd[0]);
+			$('#searchForm input[name=brandCdSearchTxt]').val(brandNm);
 		} else {
 			brandCdTxt = bIndex + " 개";
 			$('#brandCdTxt').html(brandCdTxt);

+ 9 - 3
src/main/webapp/WEB-INF/views/statistics/ChannelTradingForm.html

@@ -241,17 +241,19 @@
 		var arrSupplyCompCd = [];
 		var supplyCompCdTxt = "";
 		var sIndex = 0;
+		var supplyCompNm = "";
 		$('#supplyCompCdTxt').html('');
 		$('#searchForm input[name=supplyCompCdSearchTxt]').val('');
 
 		result.forEach(function(supplyComp) {
 			sIndex++;
 			arrSupplyCompCd.push(supplyComp.supplyCompCd);
+			supplyCompNm = supplyComp.supplyCompNm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (sIndex == 1) {
-			$('#searchForm input[name=supplyCompCdSearchTxt]').val(arrSupplyCompCd[0]);
+			$('#searchForm input[name=supplyCompCdSearchTxt]').val(supplyCompNm);
 		} else {
 			supplyCompCdTxt = sIndex + " 개";
 			$('#supplyCompCdTxt').html(supplyCompCdTxt);
@@ -266,17 +268,19 @@
 		var arrAfLinkCd = [];
 		var afLinkCdTxt = "";
 		var sIndex = 0;
+		var afLinkNm = "";
 		$('#afLinkCdTxt').html('');
 		$('#searchForm input[name=afLinkCdSearchTxt]').val('');
 
 		result.forEach(function(afLink) {
 			sIndex++;
 			arrAfLinkCd.push(afLink.afLinkCd);
+			afLinkNm = afLink.afLinkNm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (sIndex == 1) {
-			$('#searchForm input[name=afLinkCdSearchTxt]').val(arrAfLinkCd[0]);
+			$('#searchForm input[name=afLinkCdSearchTxt]').val(afLinkNm);
 		} else {
 			afLinkCdTxt = sIndex + " 개";
 			$('#afLinkCdTxt').html(afLinkCdTxt);
@@ -291,17 +295,19 @@
 		var arrBrandCd = [];
 		var brandCdTxt = "";
 		var bIndex = 0;
+		var brandNm = "";
 		$('#brandCdTxt').html('');
 		$('#searchForm input[name=brandCdSearchTxt]').val('');
 
 		result.forEach(function(brand){
 			bIndex++;
 			arrBrandCd.push(brand.brandCd);
+			brandNm = brand.brandKnm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (bIndex == 1) {
-			$('#searchForm input[name=brandCdSearchTxt]').val(arrBrandCd[0]);
+			$('#searchForm input[name=brandCdSearchTxt]').val(brandNm);
 		} else {
 			brandCdTxt = bIndex + " 개";
 			$('#brandCdTxt').html(brandCdTxt);

+ 12 - 4
src/main/webapp/WEB-INF/views/statistics/ClaimTradingForm.html

@@ -239,17 +239,19 @@
 		var arrExtmallId = [];
 		var extmallIdTxt = "";
 		var sIndex = 0;
+		var extmallNm = "";
 		$('#extmallIdTxt').html('');
 		$('#searchForm input[name=extmallIdSearchTxt]').val('');
 
 		result.forEach(function(extmall) {
 			sIndex++;
 			arrExtmallId.push(extmall.extmallId);
+			extmallNm = extmall.extmallNm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (sIndex == 1) {
-			$('#searchForm input[name=extmallIdSearchTxt]').val(arrExtmallId[0]);
+			$('#searchForm input[name=extmallIdSearchTxt]').val(extmallNm);
 		} else {
 			extmallIdTxt = sIndex + " 개";
 			$('#extmallIdTxt').html(extmallIdTxt);
@@ -264,17 +266,19 @@
 		var arrSupplyCompCd = [];
 		var supplyCompCdTxt = "";
 		var sIndex = 0;
+		var supplyCompNm = "";
 		$('#supplyCompCdTxt').html('');
 		$('#searchForm input[name=supplyCompCdSearchTxt]').val('');
 
 		result.forEach(function(supplyComp) {
 			sIndex++;
 			arrSupplyCompCd.push(supplyComp.supplyCompCd);
+			supplyCompNm = supplyComp.supplyCompNm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (sIndex == 1) {
-			$('#searchForm input[name=supplyCompCdSearchTxt]').val(arrSupplyCompCd[0]);
+			$('#searchForm input[name=supplyCompCdSearchTxt]').val(supplyCompNm);
 		} else {
 			supplyCompCdTxt = sIndex + " 개";
 			$('#supplyCompCdTxt').html(supplyCompCdTxt);
@@ -289,17 +293,19 @@
 		var arrAfLinkCd = [];
 		var afLinkCdTxt = "";
 		var sIndex = 0;
+		var afLinkNm = "";
 		$('#afLinkCdTxt').html('');
 		$('#searchForm input[name=afLinkCdSearchTxt]').val('');
 
 		result.forEach(function(afLink) {
 			sIndex++;
 			arrAfLinkCd.push(afLink.afLinkCd);
+			afLinkNm = afLink.afLinkNm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (sIndex == 1) {
-			$('#searchForm input[name=afLinkCdSearchTxt]').val(arrAfLinkCd[0]);
+			$('#searchForm input[name=afLinkCdSearchTxt]').val(afLinkNm);
 		} else {
 			afLinkCdTxt = sIndex + " 개";
 			$('#afLinkCdTxt').html(afLinkCdTxt);
@@ -314,17 +320,19 @@
 		var arrBrandCd = [];
 		var brandCdTxt = "";
 		var bIndex = 0;
+		var brandNm = "";
 		$('#brandCdTxt').html('');
 		$('#searchForm input[name=brandCdSearchTxt]').val('');
 
 		result.forEach(function(brand){
 			bIndex++;
 			arrBrandCd.push(brand.brandCd);
+			brandNm = brand.brandKnm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (bIndex == 1) {
-			$('#searchForm input[name=brandCdSearchTxt]').val(arrBrandCd[0]);
+			$('#searchForm input[name=brandCdSearchTxt]').val(brandNm);
 		} else {
 			brandCdTxt = bIndex + " 개";
 			$('#brandCdTxt').html(brandCdTxt);

+ 3 - 1
src/main/webapp/WEB-INF/views/statistics/CustomerAgeOrderForm.html

@@ -191,17 +191,19 @@
 		var arrBrandCd = [];
 		var brandCdTxt = "";
 		var bIndex = 0;
+		var brandNm = "";
 		$('#brandCdTxt').html('');
 		$('#searchForm input[name=brandCdSearchTxt]').val('');
 
 		result.forEach(function(brand){
 			bIndex++;
 			arrBrandCd.push(brand.brandCd);
+			brandNm = brand.brandKnm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (bIndex == 1) {
-			$('#searchForm input[name=brandCdSearchTxt]').val(arrBrandCd[0]);
+			$('#searchForm input[name=brandCdSearchTxt]').val(brandNm);
 		} else {
 			brandCdTxt = bIndex + " 개";
 			$('#brandCdTxt').html(brandCdTxt);

+ 3 - 1
src/main/webapp/WEB-INF/views/statistics/CustomerGradeOrderForm.html

@@ -207,17 +207,19 @@
 		var arrBrandCd = [];
 		var brandCdTxt = "";
 		var bIndex = 0;
+		var brandNm = "";
 		$('#brandCdTxt').html('');
 		$('#searchForm input[name=brandCdSearchTxt]').val('');
 
 		result.forEach(function(brand){
 			bIndex++;
 			arrBrandCd.push(brand.brandCd);
+			brandNm = brand.brandKnm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (bIndex == 1) {
-			$('#searchForm input[name=brandCdSearchTxt]').val(arrBrandCd[0]);
+			$('#searchForm input[name=brandCdSearchTxt]').val(brandNm);
 		} else {
 			brandCdTxt = bIndex + " 개";
 			$('#brandCdTxt').html(brandCdTxt);

+ 3 - 1
src/main/webapp/WEB-INF/views/statistics/CustomerRankingForm.html

@@ -225,17 +225,19 @@
 		var arrBrandCd = [];
 		var brandCdTxt = "";
 		var bIndex = 0;
+		var brandNm = "";
 		$('#brandCdTxt').html('');
 		$('#searchForm input[name=brandCdSearchTxt]').val('');
 
 		result.forEach(function(brand){
 			bIndex++;
 			arrBrandCd.push(brand.brandCd);
+			brandNm = brand.brandKnm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (bIndex == 1) {
-			$('#searchForm input[name=brandCdSearchTxt]').val(arrBrandCd[0]);
+			$('#searchForm input[name=brandCdSearchTxt]').val(brandNm);
 		} else {
 			brandCdTxt = bIndex + " 개";
 			$('#brandCdTxt').html(brandCdTxt);

+ 13 - 5
src/main/webapp/WEB-INF/views/statistics/DailyOrderForm.html

@@ -194,17 +194,19 @@
 		var arrExtmallId = [];
 		var extmallIdTxt = "";
 		var sIndex = 0;
+		var extmallNm = "";
 		$('#extmallIdTxt').html('');
 		$('#searchForm input[name=extmallIdSearchTxt]').val('');
 
 		result.forEach(function(extmall) {
 			sIndex++;
 			arrExtmallId.push(extmall.extmallId);
+			extmallNm = extmall.extmallNm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (sIndex == 1) {
-			$('#searchForm input[name=extmallIdSearchTxt]').val(arrExtmallId[0]);
+			$('#searchForm input[name=extmallIdSearchTxt]').val(extmallNm);
 		} else {
 			extmallIdTxt = sIndex + " 개";
 			$('#extmallIdTxt').html(extmallIdTxt);
@@ -219,17 +221,19 @@
 		var arrSupplyCompCd = [];
 		var supplyCompCdTxt = "";
 		var sIndex = 0;
+		var supplyCompNm = "";
 		$('#supplyCompCdTxt').html('');
 		$('#searchForm input[name=supplyCompCdSearchTxt]').val('');
 
 		result.forEach(function(supplyComp) {
 			sIndex++;
 			arrSupplyCompCd.push(supplyComp.supplyCompCd);
+			supplyCompNm = supplyComp.supplyCompNm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (sIndex == 1) {
-			$('#searchForm input[name=supplyCompCdSearchTxt]').val(arrSupplyCompCd[0]);
+			$('#searchForm input[name=supplyCompCdSearchTxt]').val(supplyCompNm);
 		} else {
 			supplyCompCdTxt = sIndex + " 개";
 			$('#supplyCompCdTxt').html(supplyCompCdTxt);
@@ -244,24 +248,26 @@
 		var arrAfLinkCd = [];
 		var afLinkCdTxt = "";
 		var sIndex = 0;
+		var afLinkNm = "";
 		$('#afLinkCdTxt').html('');
 		$('#searchForm input[name=afLinkCdSearchTxt]').val('');
 
 		result.forEach(function(afLink) {
 			sIndex++;
 			arrAfLinkCd.push(afLink.afLinkCd);
+			afLinkNm = afLink.afLinkNm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (sIndex == 1) {
-			$('#searchForm input[name=afLinkCdSearchTxt]').val(arrAfLinkCd[0]);
+			$('#searchForm input[name=afLinkCdSearchTxt]').val(afLinkNm);
 		} else {
 			afLinkCdTxt = sIndex + " 개";
 			$('#afLinkCdTxt').html(afLinkCdTxt);
 		}
 
 		var jsonData = JSON.stringify(arrAfLinkCd);
-		$("#searchForm input[name=afLinkCdList]").val(arrAfLinkCd.join(','));
+		$("#searchForm input[name=afLinkCdList]").val(jsonData);
 	}
 
 	// 브랜드 조회 팝업에서 호출
@@ -269,17 +275,19 @@
 		var arrBrandCd = [];
 		var brandCdTxt = "";
 		var bIndex = 0;
+		var brandNm = "";
 		$('#brandCdTxt').html('');
 		$('#searchForm input[name=brandCdSearchTxt]').val('');
 
 		result.forEach(function(brand){
 			bIndex++;
 			arrBrandCd.push(brand.brandCd);
+			brandNm = brand.brandKnm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (bIndex == 1) {
-			$('#searchForm input[name=brandCdSearchTxt]').val(arrBrandCd[0]);
+			$('#searchForm input[name=brandCdSearchTxt]').val(brandNm);
 		} else {
 			brandCdTxt = bIndex + " 개";
 			$('#brandCdTxt').html(brandCdTxt);

+ 9 - 3
src/main/webapp/WEB-INF/views/statistics/ExtmallTradingForm.html

@@ -180,17 +180,19 @@
 		var arrSupplyCompCd = [];
 		var supplyCompCdTxt = "";
 		var sIndex = 0;
+		var supplyCompNm = "";
 		$('#supplyCompCdTxt').html('');
 		$('#searchForm input[name=supplyCompCdSearchTxt]').val('');
 
 		result.forEach(function(supplyComp) {
 			sIndex++;
 			arrSupplyCompCd.push(supplyComp.supplyCompCd);
+			supplyCompNm = supplyComp.supplyCompNm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (sIndex == 1) {
-			$('#searchForm input[name=supplyCompCdSearchTxt]').val(arrSupplyCompCd[0]);
+			$('#searchForm input[name=supplyCompCdSearchTxt]').val(supplyCompNm);
 		} else {
 			supplyCompCdTxt = sIndex + " 개";
 			$('#supplyCompCdTxt').html(supplyCompCdTxt);
@@ -205,17 +207,19 @@
 		var arrAfLinkCd = [];
 		var afLinkCdTxt = "";
 		var sIndex = 0;
+		var afLinkNm = "";
 		$('#afLinkCdTxt').html('');
 		$('#searchForm input[name=afLinkCdSearchTxt]').val('');
 
 		result.forEach(function(afLink) {
 			sIndex++;
 			arrAfLinkCd.push(afLink.afLinkCd);
+			afLinkNm = afLink.afLinkNm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (sIndex == 1) {
-			$('#searchForm input[name=afLinkCdSearchTxt]').val(arrAfLinkCd[0]);
+			$('#searchForm input[name=afLinkCdSearchTxt]').val(afLinkNm);
 		} else {
 			afLinkCdTxt = sIndex + " 개";
 			$('#afLinkCdTxt').html(afLinkCdTxt);
@@ -230,17 +234,19 @@
 		var arrBrandCd = [];
 		var brandCdTxt = "";
 		var bIndex = 0;
+		var brandNm = "";
 		$('#brandCdTxt').html('');
 		$('#searchForm input[name=brandCdSearchTxt]').val('');
 
 		result.forEach(function(brand){
 			bIndex++;
 			arrBrandCd.push(brand.brandCd);
+			brandNm = brand.brandKnm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (bIndex == 1) {
-			$('#searchForm input[name=brandCdSearchTxt]').val(arrBrandCd[0]);
+			$('#searchForm input[name=brandCdSearchTxt]').val(brandNm);
 		} else {
 			brandCdTxt = bIndex + " 개";
 			$('#brandCdTxt').html(brandCdTxt);

+ 12 - 4
src/main/webapp/WEB-INF/views/statistics/GoodsTradingForm.html

@@ -275,17 +275,19 @@
 		var arrExtmallId = [];
 		var extmallIdTxt = "";
 		var sIndex = 0;
+		var extmallNm = "";
 		$('#extmallIdTxt').html('');
 		$('#searchForm input[name=extmallIdSearchTxt]').val('');
 
 		result.forEach(function(extmall) {
 			sIndex++;
 			arrExtmallId.push(extmall.extmallId);
+			extmallNm = extmall.extmallNm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (sIndex == 1) {
-			$('#searchForm input[name=extmallIdSearchTxt]').val(arrExtmallId[0]);
+			$('#searchForm input[name=extmallIdSearchTxt]').val(extmallNm);
 		} else {
 			extmallIdTxt = sIndex + " 개";
 			$('#extmallIdTxt').html(extmallIdTxt);
@@ -300,17 +302,19 @@
 		var arrSupplyCompCd = [];
 		var supplyCompCdTxt = "";
 		var sIndex = 0;
+		var supplyCompNm = "";
 		$('#supplyCompCdTxt').html('');
 		$('#searchForm input[name=supplyCompCdSearchTxt]').val('');
 
 		result.forEach(function(supplyComp) {
 			sIndex++;
 			arrSupplyCompCd.push(supplyComp.supplyCompCd);
+			supplyCompNm = supplyComp.supplyCompNm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (sIndex == 1) {
-			$('#searchForm input[name=supplyCompCdSearchTxt]').val(arrSupplyCompCd[0]);
+			$('#searchForm input[name=supplyCompCdSearchTxt]').val(supplyCompNm);
 		} else {
 			supplyCompCdTxt = sIndex + " 개";
 			$('#supplyCompCdTxt').html(supplyCompCdTxt);
@@ -325,17 +329,19 @@
 		var arrAfLinkCd = [];
 		var afLinkCdTxt = "";
 		var sIndex = 0;
+		var afLinkNm = "";
 		$('#afLinkCdTxt').html('');
 		$('#searchForm input[name=afLinkCdSearchTxt]').val('');
 
 		result.forEach(function(afLink) {
 			sIndex++;
 			arrAfLinkCd.push(afLink.afLinkCd);
+			afLinkNm = afLink.afLinkNm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (sIndex == 1) {
-			$('#searchForm input[name=afLinkCdSearchTxt]').val(arrAfLinkCd[0]);
+			$('#searchForm input[name=afLinkCdSearchTxt]').val(afLinkNm);
 		} else {
 			afLinkCdTxt = sIndex + " 개";
 			$('#afLinkCdTxt').html(afLinkCdTxt);
@@ -350,17 +356,19 @@
 		var arrBrandCd = [];
 		var brandCdTxt = "";
 		var bIndex = 0;
+		var brandNm = "";
 		$('#brandCdTxt').html('');
 		$('#searchForm input[name=brandCdSearchTxt]').val('');
 
 		result.forEach(function(brand){
 			bIndex++;
 			arrBrandCd.push(brand.brandCd);
+			brandNm = brand.brandKnm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (bIndex == 1) {
-			$('#searchForm input[name=brandCdSearchTxt]').val(arrBrandCd[0]);
+			$('#searchForm input[name=brandCdSearchTxt]').val(brandNm);
 		} else {
 			brandCdTxt = bIndex + " 개";
 			$('#brandCdTxt').html(brandCdTxt);

+ 9 - 3
src/main/webapp/WEB-INF/views/statistics/HourlyTradingForm.html

@@ -225,17 +225,19 @@
 		var arrExtmallId = [];
 		var extmallIdTxt = "";
 		var sIndex = 0;
+		var extmallNm = "";
 		$('#extmallIdTxt').html('');
 		$('#searchForm input[name=extmallIdSearchTxt]').val('');
 
 		result.forEach(function(extmall) {
 			sIndex++;
 			arrExtmallId.push(extmall.extmallId);
+			extmallNm = extmall.extmallNm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (sIndex == 1) {
-			$('#searchForm input[name=extmallIdSearchTxt]').val(arrExtmallId[0]);
+			$('#searchForm input[name=extmallIdSearchTxt]').val(extmallNm);
 		} else {
 			extmallIdTxt = sIndex + " 개";
 			$('#extmallIdTxt').html(extmallIdTxt);
@@ -250,17 +252,19 @@
 		var arrSupplyCompCd = [];
 		var supplyCompCdTxt = "";
 		var sIndex = 0;
+		var supplyCompNm = "";
 		$('#supplyCompCdTxt').html('');
 		$('#searchForm input[name=supplyCompCdSearchTxt]').val('');
 
 		result.forEach(function(supplyComp) {
 			sIndex++;
 			arrSupplyCompCd.push(supplyComp.supplyCompCd);
+			supplyCompNm = supplyComp.supplyCompNm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (sIndex == 1) {
-			$('#searchForm input[name=supplyCompCdSearchTxt]').val(arrSupplyCompCd[0]);
+			$('#searchForm input[name=supplyCompCdSearchTxt]').val(supplyCompNm);
 		} else {
 			supplyCompCdTxt = sIndex + " 개";
 			$('#supplyCompCdTxt').html(supplyCompCdTxt);
@@ -300,17 +304,19 @@
 		var arrBrandCd = [];
 		var brandCdTxt = "";
 		var bIndex = 0;
+		var brandNm = "";
 		$('#brandCdTxt').html('');
 		$('#searchForm input[name=brandCdSearchTxt]').val('');
 
 		result.forEach(function(brand){
 			bIndex++;
 			arrBrandCd.push(brand.brandCd);
+			brandNm = brand.brandKnm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (bIndex == 1) {
-			$('#searchForm input[name=brandCdSearchTxt]').val(arrBrandCd[0]);
+			$('#searchForm input[name=brandCdSearchTxt]').val(brandNm);
 		} else {
 			brandCdTxt = bIndex + " 개";
 			$('#brandCdTxt').html(brandCdTxt);

+ 3 - 1
src/main/webapp/WEB-INF/views/statistics/PaymentForm.html

@@ -202,17 +202,19 @@
 		var arrCardId = [];
 		var cardIdTxt = "";
 		var sIndex = 0;
+		var cardNm = "";
 		$('#cardIdTxt').html('');
 		$('#searchForm input[name=cardIdSearchTxt]').val('');
 
 		result.forEach(function(card) {
 			sIndex++;
 			arrCardId.push(card.cardCd);
+			cardNm = card.cardNm;
 		});
 
 		// 조회 값이 하나일 경우 화면에 코드 노출. 그 외는 갯수 처리
 		if (sIndex == 1) {
-			$('#searchForm input[name=cardIdSearchTxt]').val(arrCardId[0]);
+			$('#searchForm input[name=cardIdSearchTxt]').val(cardNm);
 		} else {
 			cardIdTxt = sIndex + " 개";
 			$('#cardIdTxt').html(cardIdTxt);

+ 6 - 2
src/main/webapp/WEB-INF/views/stock/GoodsSizeStockForm.html

@@ -558,16 +558,18 @@ x			</div>
 		var arrSupplyComp = [];
 		var supplyCompText = "";
 		var sIndex = 0;
+		var supplyCompNm = "";
 		$('#goodsSizeStockForm').find('#supplyCompText').html('');
 		$('#goodsSizeStockForm input[name=supplyCompSearchTxt]').val('');
 		result.forEach(function(supplyComp){
 			sIndex++; 
 			arrSupplyComp.push(supplyComp.supplyCompCd);
+			supplyCompNm = supplyComp.supplyCompNm;
 		});
 
 		// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리 
 		if (sIndex == 1) {
-			$('#goodsSizeStockForm input[name=supplyCompSearchTxt]').val(arrSupplyComp[0]);
+			$('#goodsSizeStockForm input[name=supplyCompSearchTxt]').val(supplyCompNm);
 		}else{
 			supplyCompText = sIndex + " 개";
 			$('#goodsSizeStockForm').find('#supplyCompText').html(supplyCompText);	
@@ -586,16 +588,18 @@ x			</div>
 		var arrbrandCd = [];
 		var brandText = "";
 		var bIndex = 0;
+		var brandNm = "";
 		$('#goodsSizeStockForm').find('#brandText').html('');
 		$('#goodsSizeStockForm input[name=searchTxt]').val('');
 		result.forEach(function(brand){
 			bIndex++; 
 			arrbrandCd.push(brand.brandCd);
+			brandNm = brand.brandKnm;
 		});
 
 		// 조회값이 하나일 경우 화면에 코드 노출 그외는 갯수 처리 
 		if (bIndex == 1) {
-			$('#goodsSizeStockForm input[name=searchTxt]').val(arrbrandCd[0]);
+			$('#goodsSizeStockForm input[name=searchTxt]').val(brandNm);
 		}else{
 			brandText = bIndex + " 개";
 			$('#goodsSizeStockForm').find('#brandText').html(brandText);	

+ 3 - 2
src/main/webapp/WEB-INF/views/system/UserForm.html

@@ -46,8 +46,9 @@
 <!-- 								<option th:if="${sessionInfo.supplyCompCd == null}" value="">[전체]</option> -->
 <!-- 								<option th:if="${supplyCompList}" th:each="oneData, status : ${supplyCompList}" th:value="${oneData.cd}" th:text="${'[' + oneData.cd + '] ' + oneData.cdNm}"></option> -->
 <!-- 							</select> -->
-							<input type="text" class="w100" name="supplyVendorCd" id="supplyCompSearchTxt" maxlength="20"/>
-							<button type="button" class="btn icn" onclick="fnOpenSupplyVendorPopup('input[name=supplyVendorCd]', 'M');"><i class="fa fa-search"></i></button>
+							<input type="hidden" class="w100" name="supplyVendorCd" id="supplyCompSearchTxt" maxlength="20"/>
+							<input type="text" class="w100" name="supplyVendorNm" id="supplyVendorNm" maxlength="20"/>
+							<button type="button" class="btn icn" onclick="fnOpenSupplyVendorPopup('input[name=supplyVendorCd]', 'input[name=supplyVendorNm]');"><i class="fa fa-search"></i></button>
 <!--							<span id="supplyCompTxt"></span>-->
 <!--							<input type="hidden" name="supplyCompList"/>-->
 						</td>