feat: pms:#3238 "임시저장시 교육차시 정보도 저장되도록 수정요청" 완료
This commit is contained in:
parent
738e218e7f
commit
7a884e119c
@ -678,20 +678,43 @@ var psblFlag = "Y";//학생 신청가능기간여부 체크
|
||||
// addEduClassCopy('addClassRow');
|
||||
addEduClassCopyTngr('addClassRow');
|
||||
}
|
||||
|
||||
|
||||
var tr = $('.addClassRow').find('tbody > tr').not('.calendar_wrap tr').eq(idx);
|
||||
tr.find('input[name=eduHopeDt]').val(dateFormat(value.eduHopeDt.replaceAll('.',''), 'date'));
|
||||
tr.find('input[name=eduHopeDt]').val(value.eduHopeDt);
|
||||
tr.find('input[name=strtTm]').val(timeFomat(value.strtTm));
|
||||
tr.find('input[name=endTm]').val(timeFomat(value.endTm));
|
||||
tr.find('input[name=lrnTm]').val(value.lrnTm);
|
||||
tr.find('select[name=divCd]').val(value.divCd);
|
||||
tr.find('input[name=trgt]').val(value.trgt);
|
||||
tr.find('input[name=prsnl]').val(value.prsnl);
|
||||
$(".duet-date__input").each(function(idx,itm){
|
||||
console.log(' each idx ', idx);
|
||||
$(itm).attr("name","eduHopeDt"+idx);
|
||||
$(itm).attr("id","eduHopeDt"+idx);
|
||||
$(itm).attr("title","교육희망일을 YYYY.MM.DD 형식으로 입력해주세요");
|
||||
idx+=1;
|
||||
});
|
||||
|
||||
|
||||
setTimeout(function(){
|
||||
var tr = $('.addClassRow').find('tbody > tr').not('.calendar_wrap tr').eq(idx);
|
||||
tr.find('input[name=eduHopeDt]').val(dateFormat(value.eduHopeDt.replaceAll('.',''), 'date'));
|
||||
tr.find('input[name=eduHopeDt]').val(value.eduHopeDt);
|
||||
|
||||
|
||||
$('#eduHopeDt'+idx).val(value.eduHopeDt);
|
||||
|
||||
tr.find('input[name=strtTm]').val(timeFomat(value.strtTm));
|
||||
tr.find('input[name=endTm]').val(timeFomat(value.endTm));
|
||||
tr.find('input[name=lrnTm]').val(value.lrnTm);
|
||||
tr.find('select[name=divCd]').val(value.divCd);
|
||||
tr.find('input[name=trgt]').val(value.trgt);
|
||||
tr.find('input[name=prsnl]').val(value.prsnl);
|
||||
},1000)
|
||||
|
||||
// console.log('tr :: ', tr);
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
//교육 선택에 따른 지역 노출
|
||||
function itemChg(item){
|
||||
var eduSlctAreaCd = $("#eduSlctAreaCd");
|
||||
|
||||
@ -743,18 +743,25 @@ function addEduClassCopyTngr(target) {
|
||||
$(".startDate").each(function(idx,itm){
|
||||
$(this).find(".duet-date__input").attr("id", startDate_name);
|
||||
$(this).find(".duet-date__input").attr("name", startDate_name);
|
||||
console.log('startDate_name : ', startDate_name);
|
||||
$(this).find(".duet-date__input").attr("value", startSub);
|
||||
$(this).find(".duet-date__input").next().attr("name", startDate_name+"_submit");
|
||||
$(this).find(".duet-date__input").next().attr("value", startSub);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
setTimeout(function(){
|
||||
// $(".duet-date__input").each(function(idx,itm){
|
||||
// $(itm).attr("name","eduHopeDt"+idx);
|
||||
// $(itm).attr("id","eduHopeDt"+idx);
|
||||
// $(itm).attr("title","교육희망일을 YYYY.MM.DD 형식으로 입력해주세요");
|
||||
// idx+=1;
|
||||
// });
|
||||
$("duet-date-picker .duet-date__input").attr("title","교육희망일을 YYYY.MM.DD 형식으로 입력해주세요");
|
||||
$("duet-date-picker .duet-date__input").each(function(idx,itm){
|
||||
idx+=1;
|
||||
$(itm).attr("name","eduHopeDt"+idx);
|
||||
$(itm).attr("id","eduHopeDt"+idx);
|
||||
idx+=1;
|
||||
});
|
||||
$("duet-date-picker .duet-date__input").attr('onkeydown','this.value=dateSetting(this.value);');
|
||||
},100)
|
||||
|
||||
@ -240,7 +240,7 @@ setTimeout(function(){
|
||||
});
|
||||
|
||||
setTimeout(function(){
|
||||
$("duet-date-picker .duet-date__input").attr("title","교육희망일을 YYYY.MM.DD 형식으로 입력해주세요");
|
||||
$("duet-date-picker .duet-date__input").attr("title","교육희망일을 YYYY.MM.DD 형식으로 입력해주세요11111");
|
||||
$("duet-date-picker .duet-date__input").each(function(idx,itm){
|
||||
idx+=1;
|
||||
$(itm).attr("name","eduHopeDt"+idx);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user