|
@@ -139,7 +139,7 @@
|
|
|
<input type="checkbox" name="usableCustGradeArr" th:value="${oneData.cd}" th:text="${oneData.cdNm}"/>
|
|
<input type="checkbox" name="usableCustGradeArr" th:value="${oneData.cd}" th:text="${oneData.cdNm}"/>
|
|
|
</label>
|
|
</label>
|
|
|
<label class="chkBox">
|
|
<label class="chkBox">
|
|
|
- <input type="checkbox" name="usableCustGradeArr" value="G110_60" th:text="비회원"/>
|
|
|
|
|
|
|
+ <input type="checkbox" id="nonCust" name="usableCustGradeArr" value="G110_60" th:text="비회원"/>
|
|
|
</label>
|
|
</label>
|
|
|
</td>
|
|
</td>
|
|
|
<th>사용가능고객구분<em class="required" title="필수"></em></th>
|
|
<th>사용가능고객구분<em class="required" title="필수"></em></th>
|
|
@@ -545,7 +545,7 @@
|
|
|
<input type="checkbox" name="usableCustGradeArr" th:value="${oneData.cd}" th:text="${oneData.cdNm}" checked="checked"/>
|
|
<input type="checkbox" name="usableCustGradeArr" th:value="${oneData.cd}" th:text="${oneData.cdNm}" checked="checked"/>
|
|
|
</label>
|
|
</label>
|
|
|
<label class="chkBox">
|
|
<label class="chkBox">
|
|
|
- <input type="checkbox" name="usableCustGradeArr" value="G110_60" th:text="비회원" checked="checked"/>
|
|
|
|
|
|
|
+ <input type="checkbox" name="usableCustGradeArr" id="nonCust" value="G110_60" th:text="비회원" checked="checked"/>
|
|
|
</label>
|
|
</label>
|
|
|
</td>
|
|
</td>
|
|
|
<th>사용가능고객구분<em class="required" title="필수"></em></th>
|
|
<th>사용가능고객구분<em class="required" title="필수"></em></th>
|
|
@@ -941,10 +941,15 @@
|
|
|
$('.custJoinDateTr').css('display' , '');
|
|
$('.custJoinDateTr').css('display' , '');
|
|
|
$('#custJoinStdt').attr('required' , true);
|
|
$('#custJoinStdt').attr('required' , true);
|
|
|
$('#custJoinEddt').attr('required' , true);
|
|
$('#custJoinEddt').attr('required' , true);
|
|
|
|
|
+ $('#nonCust').prop('checked', false);
|
|
|
|
|
+ $('#nonCust').attr('disabled','disabled');
|
|
|
|
|
+
|
|
|
} else {
|
|
} else {
|
|
|
$('.custJoinDateTr').css('display' , 'none');
|
|
$('.custJoinDateTr').css('display' , 'none');
|
|
|
$('#custJoinStdt').attr('required' , false);
|
|
$('#custJoinStdt').attr('required' , false);
|
|
|
$('#custJoinEddt').attr('required' , false);
|
|
$('#custJoinEddt').attr('required' , false);
|
|
|
|
|
+ $('#nonCust').prop('checked', true);
|
|
|
|
|
+ $('#nonCust').removeAttr('disabled');
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if(planInfo.replyLoc == "D"){
|
|
if(planInfo.replyLoc == "D"){
|
|
@@ -1608,10 +1613,14 @@
|
|
|
$('.custJoinDateTr').css('display' , '');
|
|
$('.custJoinDateTr').css('display' , '');
|
|
|
$('#custJoinStdt').attr('required' , true);
|
|
$('#custJoinStdt').attr('required' , true);
|
|
|
$('#custJoinEddt').attr('required' , true);
|
|
$('#custJoinEddt').attr('required' , true);
|
|
|
|
|
+ $('#nonCust').prop('checked', false);
|
|
|
|
|
+ $('#nonCust').attr('disabled', 'disabled');
|
|
|
} else {
|
|
} else {
|
|
|
$('.custJoinDateTr').css('display' , 'none');
|
|
$('.custJoinDateTr').css('display' , 'none');
|
|
|
$('#custJoinStdt').attr('required' , false);
|
|
$('#custJoinStdt').attr('required' , false);
|
|
|
$('#custJoinEddt').attr('required' , false);
|
|
$('#custJoinEddt').attr('required' , false);
|
|
|
|
|
+ $('#nonCust').prop('checked', true);
|
|
|
|
|
+ $('#nonCust').removeAttr('disabled');
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -1753,6 +1762,11 @@
|
|
|
$('.custJoinDateTr').show();
|
|
$('.custJoinDateTr').show();
|
|
|
$("#planUpdateForm input[name=custJoinStDay]").val(planInfo.custJoinStdt.split(' ')[0]);
|
|
$("#planUpdateForm input[name=custJoinStDay]").val(planInfo.custJoinStdt.split(' ')[0]);
|
|
|
$("#planUpdateForm input[name=custJoinEdDay]").val(planInfo.custJoinEddt.split(' ')[0]);
|
|
$("#planUpdateForm input[name=custJoinEdDay]").val(planInfo.custJoinEddt.split(' ')[0]);
|
|
|
|
|
+ $('#nonCust').prop('checked', false);
|
|
|
|
|
+ $('#nonCust').attr('disabled','disabled');
|
|
|
|
|
+ }else{
|
|
|
|
|
+ $('#nonCust').prop('checked', true);
|
|
|
|
|
+ $('#nonCust').removeAttr('disabled');
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if(planCateList.length > 0){
|
|
if(planCateList.length > 0){
|