fix : 외사첩보망 견문관리 운영실적등록 유효성검사 추가
parent
a1170fa22f
commit
d9d7e0685c
|
|
@ -78,11 +78,6 @@ $(document).on('click', '#affairModalBtn', function (){
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
$(document).on('keyup', '.cntInput', function (){
|
|
||||||
const cnt = Number($(this).val());
|
|
||||||
$("#totalCnt2").val(Number($("#totalCnt2").val())+cnt);
|
|
||||||
|
|
||||||
})
|
|
||||||
|
|
||||||
$(document).on('click', '#getAffairBtn', function (){
|
$(document).on('click', '#getAffairBtn', function (){
|
||||||
const affairList=[];
|
const affairList=[];
|
||||||
|
|
@ -125,13 +120,20 @@ $(document).on('click', '#editBtn', function (){
|
||||||
})
|
})
|
||||||
|
|
||||||
$(document).on('click', '#saveBtn', function (){
|
$(document).on('click', '#saveBtn', function (){
|
||||||
/*
|
if(!$("#iaSdate").val()){
|
||||||
if(!$("#opName").val()){
|
alert("실적시작일을 입력해주세요.");
|
||||||
alert("성명을 입력해주세요.");
|
$('#iaSdate').focus();
|
||||||
$('#opName').focus();
|
return false;
|
||||||
|
}
|
||||||
|
if(!$("#iaEdate").val()){
|
||||||
|
alert("실적종료일을 입력해주세요.");
|
||||||
|
$('#iaEdate').focus();
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if(!$("input[name=affairList]").val()){
|
||||||
|
alert("견문을 선택해주세요.");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
if(confirm("저장하시겠습니까?")){
|
if(confirm("저장하시겠습니까?")){
|
||||||
saveIntelligenceAnalyze('DST002');
|
saveIntelligenceAnalyze('DST002');
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue