/** * @--------------------------------------------------- * @desc : °¨¸é»ç·Êº¸°í Á¶È¸½Ã ±âº»Á¤º¸ setting * @param : * @return : * @--------------------------------------------------- */ function fInitialize_00900(){ zbcfGetCodeList(new Array("M0446"), new Array("/root/init/reductcaserept/insuflag"), true); mmbfGetDeptCodeComboList("/root/send/reqdata", "/root/init/reductcaserept/orddept", "O"); //Áø·á°ú Ç׸ñ ¼³Á¤ mmbfGetUserComboList("/root/send/reqdata", "/root/init/reductcaserept/anstdr", "2090000000", "0330"); //¸¶ÃëÀÇ Ç׸ñ¼³Á¤ if(parent.model.getValue("/root/main/condition/acptno") == ""){ //ÃÖÃÊÀÔ·Â ½Ã fSetDr(); } else{ //Á¶È¸ ÈÄ ÃʱâÈ­ var orddept = parent.model.getValue("/root/tmp/reptinfo/reductinfo/civilapldeptcd" ); model.setValue("/root/main/cond/civilapldeptcd" , orddept); mmbfGetUserComboList("/root/send/reqdata", "/root/init/reductcaserept/pertdr", orddept, "0330"); model.setValue("/root/main/cond/insuflagcd" , parent.model.getValue("/root/tmp/reptinfo/reductinfo/insuflagcd" ) ); model.setValue("/root/main/cond/opdate" , parent.model.getValue("/root/tmp/reptinfo/reductinfo/opdate" ) ); model.setValue("/root/main/cond/opnm" , parent.model.getValue("/root/tmp/reptinfo/reductinfo/opnm" ) ); model.setValue("/root/main/cond/pertdr" , parent.model.getValue("/root/tmp/reptinfo/reductinfo/pertdr" ) ); model.setValue("/root/main/cond/anstdr" , parent.model.getValue("/root/tmp/reptinfo/reductinfo/anstdr" ) ); model.setValue("/root/main/cond/reldremp" , parent.model.getValue("/root/tmp/reptinfo/reductinfo/reldremp" ) ); var chkcase = parent.model.getValue("/root/tmp/reptinfo/reductinfo/chkcase" ) model.setValue("/root/main/cond/chkcase" , chkcase ); if(chkcase.search("07") > -1){ model.setValue("/root/main/cond/caseetccnts" , parent.model.getValue("/root/tmp/reptinfo/reductinfo/caseetccnts" ) ); tar_caseetccnts.visible = true; } model.setValue("/root/main/cond/detldesccnts" , parent.model.getValue("/root/tmp/reptinfo/reductinfo/detldesccnts" ) ); } model.refresh(); } /** * @--------------------------------------------------- * @desc : ´ë»óÀÚÁ¤º¸ °¡Á®¿À±â * @param : * @return : * @--------------------------------------------------- */ function fSetDr(){ model.setValue("/root/main/cond/opdate" , parent.model.getValue("/root/tmp/trgtinfo/opdate")); orddept = parent.model.getValue("/root/tmp/trgtinfo/civilapldeptcd"); if(orddept == ""){ mmbfGetUserComboList("/root/send/reqdata", "/root/init/reductcaserept/pertdr", getUserInfo("dutplcecd"), "0330"); // }else{ mmbfGetUserComboList("/root/send/reqdata", "/root/init/reductcaserept/pertdr", orddept, "0330"); } model.setValue("/root/main/cond/civilapldeptcd" , orddept ); model.setValue("/root/main/cond/opnm" , parent.model.getValue("/root/tmp/trgtinfo/opnm")); model.setValue("/root/main/cond/pertdr" , parent.model.getValue("/root/tmp/trgtinfo/pertdr")); model.setValue("/root/main/cond/anstdr" , parent.model.getValue("/root/tmp/trgtinfo/anstdr")); model.refresh(); } /** * @--------------------------------------------------- * @desc : ÇʼöÀÔ·Â ÄÜÆ®·Ñ¿¡ °ªÀÌ ÀԷµǾîÀÖ´ÂÁö üũ * @param : * @return : true or false * @--------------------------------------------------- */ function fDetlCheck(){ if(!isRequiredControls("cmb_insuflagcd", "chk_chkcase")){ return false; } return true; }