|
|
@@ -1749,7 +1749,14 @@
|
|
|
$('#CouponForm .dcCdCheck2').hide();
|
|
|
$('#CouponForm .maxDcAmtArea').hide();
|
|
|
$('#CouponForm .availDateTr').show();
|
|
|
+ $("#CouponForm input:radio[name='rdoApplyScope']:radio[value=I]").prop('checked', true);
|
|
|
+ $("#CouponForm").find("input:radio[name='rdoApplyScope']").attr('disabled', true);
|
|
|
+ $("#CouponForm").find("input:radio[name='rdoApplyScope']").attr('readonly', true);
|
|
|
}else{
|
|
|
+ $("#CouponForm input:radio[name='rdoApplyScope']:radio[value=A]").prop('checked', true);
|
|
|
+ $("#CouponForm").find("input:radio[name='rdoApplyScope']").attr('disabled', false);
|
|
|
+ $("#CouponForm").find("input:radio[name='rdoApplyScope']").attr('readonly', false);
|
|
|
+
|
|
|
if(radioValue == 'G230_11'){ // 상품쿠폰일때 선착순쿠폰 등록 가능
|
|
|
$('#CouponForm .limitedTimeCpnArea').show();
|
|
|
}else{
|
|
|
@@ -1801,11 +1808,11 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- // 즉시할인쿠폰만 전체/개별, 나머진 개별
|
|
|
+ // 즉시할인쿠폰만 개별, 나머진 전체/개별
|
|
|
if(radioValue == 'G230_10') {
|
|
|
- $("input:radio[name='rdoApplyScope']:radio[value='A']").prop('checked', true);
|
|
|
- } else {
|
|
|
$("input:radio[name='rdoApplyScope']:radio[value='I']").prop('checked', true);
|
|
|
+ } else {
|
|
|
+ $("input:radio[name='rdoApplyScope']:radio[value='A']").prop('checked', true);
|
|
|
}
|
|
|
|
|
|
// 주문서 쿠폰 선택시 결제수단 노출
|
|
|
@@ -2455,6 +2462,9 @@
|
|
|
$('#CouponForm .dcCdCheck2').hide();
|
|
|
$('#CouponForm .maxDcAmtArea').hide();
|
|
|
// $("#CouponForm #afLinkCd").attr('disabled', true);
|
|
|
+ $("#CouponForm input:radio[name='rdoApplyScope']:radio[value=I]").prop('checked', true);
|
|
|
+ $("#CouponForm").find("input:radio[name='rdoApplyScope']").attr('disabled', true);
|
|
|
+ $("#CouponForm").find("input:radio[name='rdoApplyScope']").attr('readonly', true);
|
|
|
}
|
|
|
$("#btnCouponSave").show(); // 저장버튼
|
|
|
$("#CouponForm .buttonSpan").show();
|