/* - ¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì ½ÃÇàºÎ¼­ ( SPMMB02500_½ÃÇàºÎ¼­.xrw - JScript ) - ¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì */ var sEXECDEPTLIST_PATH = "/root/main/orddept/dept"; /** * @desc : È­¸é ÃʱâÈ­ * @ * @param : * @return : * @author : ¿ÀÁöÈÆ * @--------------------------------------------------- */ function fInitialize_SPMMB02500(){ model.removeNodeset(sEXECDEPTLIST_PATH); model.refresh(); } /** * @desc : ½ÃÇàºÎ¼­ Á¶È¸ * @ * @param : * @return : * @author : ¿ÀÁöÈÆ * @--------------------------------------------------- */ function fReqExecDeptList(){ model.removeNodeset("/root/send/reqdata"); model.makeValue("/root/send/reqdata/stnddd", getCurrentDate()); if(submit("TRMMB02501")){ var levelcol = grd_execdeptlist.colRef("depth"); var targetcol = grd_execdeptlist.colRef("outline"); setTree(grd_execdeptlist, levelcol , targetcol, true); } } /** * @desc : ½ÃÇàºÎ¼­ ¼±Åà * @ * @param : * @return : * @author : ¿ÀÁöÈÆ * @--------------------------------------------------- */ function fSelectExecDeptList(grdobj){ var currow = grdobj.row; if(currow < 1){ return; } var useyn = model.getValue(sEXECDEPTLIST_PATH + "[" + currow + "]/useyn"); if(useyn != "Y"){ //depth 1ÀÎ °ªÀ» ¼±ÅÃÇÑ °æ¿ì return; } var deptcd = model.getValue(sEXECDEPTLIST_PATH + "[" + currow + "]/deptcd"); model.copyNode(opener.root.orddept, root.main.orddept); opener.model.setValue("/root/main/prcp/prcplist/prcpexecdeptcd", deptcd); opener.model.refresh(); window.close(); }