12345678910111213141516171819202122232425262728293031323334353637383940 |
- function fInitialize() {
-
- copyNodesetType("/root/init/recflaglist", "/root/init/recflaglist", "replace", model, opener.model);
-
- zbcfGetDeptCodeList(getUserInfo("dutplceinstcd"),"orduseyn","D","/root/init/orddeptlist","depthngnm","asc");
- addComboItem("cmb_deptcd", "전체", "ALL");
-
- model.setValue("/root/main/cond/searchkind" , opener.model.getValue("/root/main/cond/searchkind"));
- model.setValue("/root/main/cond/fromdd" , opener.model.getValue("/root/main/cond/fromdd"));
- model.setValue("/root/main/cond/todd" , opener.model.getValue("/root/main/cond/todd"));
- model.setValue("/root/main/cond/ddflag" , "D");
- model.setValue("/root/main/cond/orddeptcd" , "ALL");
-
- model.refresh();
-
- }
- function fCnfmBtn() {
-
-
- if( getDateInterval(model.getValue("/root/main/cond/fromdd"), model.getValue("/root/main/cond/todd")) >= 31 ){
- messageBox("배치 최대 기간은 1달입니다. 일자구분에서 날짜를 수정하세요!", "E999", "");
- return;
- }else{
- if ( 6 != messageBox("날짜 구간이 길면 늦어질 수 있습니다 진행할까요?","Q999")) {
- return;
- }
- }
-
- if (submit("TXMQI00200")) {
- var iCnt = model.getValue("/root/create/rslt/cnt");
- messageBox("["+iCnt + "]건 생성되었습니다.","I999");
- }
-
- }
- function fClose(){
- window.close();
- }
|