no message
parent
f97cdf7574
commit
51d9fee9da
|
|
@ -235,6 +235,16 @@ $(document).on('change', '#trNny', function (){
|
|||
}
|
||||
});
|
||||
|
||||
$(document).on('change', '#eTrNny', function (){
|
||||
if($(this).val() === "NNY001"){
|
||||
$("#eTrVisa").attr("disabled", "disabled");
|
||||
$("#enaturalization").removeAttr("disabled");
|
||||
}else{
|
||||
$("#eTrVisa").removeAttr("disabled");
|
||||
$("#enaturalization").attr("disabled", "disabled");
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on('click', '#crrAddBtn', function (){
|
||||
const trKey = (Number($('#tcInsertKey').val()));
|
||||
$('#insertCareer').append(
|
||||
|
|
|
|||
|
|
@ -62,9 +62,9 @@
|
|||
</th:block>
|
||||
</select>
|
||||
</div>
|
||||
<label for="naturalization" class="col-sm-1 col-form-label-sm text-center">귀화</label>
|
||||
<label for="enaturalization" class="col-sm-1 col-form-label-sm text-center">귀화</label>
|
||||
<div class="col-sm-2">
|
||||
<select class="form-select" id="naturalization" name="naturalization" th:disabled="${trInfo.trNny ne 'NNY001'}">
|
||||
<select class="form-select" id="enaturalization" name="naturalization" th:disabled="${trInfo.trNny ne 'NNY001'}">
|
||||
<option value="">선택</option>
|
||||
<option value="O" th:selected="${trInfo.naturalization eq 'O'}">O</option>
|
||||
<option value="X" th:selected="${trInfo.naturalization eq 'X'}">X</option>
|
||||
|
|
|
|||
Loading…
Reference in New Issue