bin2107 4 лет назад
Родитель
Сommit
29ee018833
1 измененных файлов с 11 добавлено и 5 удалено
  1. 11 5
      src/main/webapp/WEB-INF/views/marketing/CouponPopupForm.html

+ 11 - 5
src/main/webapp/WEB-INF/views/marketing/CouponPopupForm.html

@@ -3146,11 +3146,17 @@
 			$("#CouponForm .goodsTrArea").hide();
 			$("#CouponForm .exceptArea").hide();
 		}else{ //개별적용일때
-			$("#CouponForm .supplyTrArea").show();
-			$("#CouponForm .brandTrArea").show();
-			$("#CouponForm .categoryTrArea").show();
-			$("#CouponForm .goodsTrArea").show();
-			$("#CouponForm .exceptArea").show();
+			var radioValue = $("#CouponForm input[name=rdoCpnType]:checked").val();
+			// 배송비 쿠폰일때
+			if(radioValue == 'G230_30'){
+				$("#CouponForm .supplyTrArea").show();
+			}else{
+				$("#CouponForm .supplyTrArea").show();
+				$("#CouponForm .brandTrArea").show();
+				$("#CouponForm .categoryTrArea").show();
+				$("#CouponForm .goodsTrArea").show();
+				$("#CouponForm .exceptArea").show();
+			}
 		}
 	});