이지우 - 관리자 배정관리 > 배정 처리 시 신청사유 필수 체크
This commit is contained in:
parent
9d5772e798
commit
c72f5146d5
@ -148,6 +148,12 @@ $(document).ready(function(){
|
||||
return false;
|
||||
}
|
||||
|
||||
if($("#caseReason1").val() == ""){
|
||||
alert("신청사유를 선택해 주세요");
|
||||
$("#caseReason1").focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
/* if($("#caseReason1").val() == "" && $("#caseReason2").val() == "" && $("#caseReason3").val() == ""){
|
||||
alert("신청사유는 한개 이상 선택 해 주세요.");
|
||||
$("#caseReason1").focus();
|
||||
@ -180,6 +186,12 @@ $(document).ready(function(){
|
||||
return false;
|
||||
}
|
||||
|
||||
if($("#caseReason1").val() == ""){
|
||||
alert("신청사유를 선택해 주세요");
|
||||
$("#caseReason1").focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
$("#type").val("U");
|
||||
var param = jQuery('#frm').serialize();
|
||||
url = "/gtm/case/trublreqstmng/ajax/DeptConfirm3.do";
|
||||
@ -219,6 +231,12 @@ $(document).ready(function(){
|
||||
return false;
|
||||
}
|
||||
|
||||
if($("#caseReason1").val() == ""){
|
||||
alert("신청사유를 선택해 주세요");
|
||||
$("#caseReason1").focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
/* if($("#caseReason1").val() == "" && $("#caseReason2").val() == "" && $("#caseReason3").val() == ""){
|
||||
alert("신청사유는 한개 이상 선택 해 주세요.");
|
||||
$("#caseReason1").focus();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user