/** - ¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì ÀÇ·áÁ¤º¸ - »çº»À¯ÀÇȯÀÚ°ü¸® ( SPMRC03300_»çº»À¯ÀÇȯÀÚ°ü¸®.xrw - JScript ) - Version : 1) : Ver.1.00.01 - Author : ÀÌâ·Ï - ¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì **/ /** * @ver : * @desc : È­¸éÃʱâÈ­ * @ : 2008-12-29 * @by : ÀÌâ·Ï * @ : * @param : * @return : * @--------------------------------------------------- */ function fInit() { model.removeNodeset("/root/main/limresinfo/limreslist"); model.refresh(); fLimResSearch(); } /** * @ver : * @desc : À¯ÀÇ È¯ÀÚ µî·Ï * @ : 2008-12-29 * @by : ÀÌâ·Ï * @param : * @return : * @--------------------------------------------------- */ function fLimSave(flag) { if(flag =="i"){ model.makeValue("/root/send/savedata/status" ,"i"); model.makeValue("/root/send/savedata/pid" ,model.getValue("/root/cond/pid")); model.makeValue("/root/send/savedata/limrem" ,model.getValue("/root/cond/limrem")); model.makeValue("/root/send/savedata/limdeptcd" ,getUserInfo("dutplcecd")); if(submit("TXMRC03300")){ messageBox("ÀúÀåÀÌ", "I002"); fLimResSearch(); }else{ messageBox("ÀúÀåÀ»", "E009"); } model.resetInstanceNode("/root/send"); var oprnerId = opener.window.javascript.getScreenID(); if(oprnerId == "SMMRC02200")// Á¦ÇÑ È¯ÀÚ µî·Ï½Ã »çº» ¹ß±Þ ¸®½ºÆ® °­Á¦ Á¶È¸ { opener.window.javascript.fDisPatchHistSearch(); } }else if(flag =="d"){ model.makeValue("/root/send/savedata/status" ,"d"); model.makeValue("/root/send/savedata/pid" ,model.getValue("/root/cond/pid")); var msg = messageBox("»çº» À¯ÀÇȯÀÚ Á¤º¸¸¦","Q001"); if(msg=="6"){ if(submit("TXMRC03300")){ messageBox("»èÁ¦°¡", "I001"); }else messageBox("»èÁ¦¸¦", "E009"); }else{ return; } model.resetInstanceNode("/root/cond"); var oprnerId = opener.window.javascript.getScreenID(); if(oprnerId == "SMMRC02200") // Á¦ÇÑ È¯ÀÚ »èÁ¦½Ã »çº» ¹ß±Þ ¸®½ºÆ® °­Á¦ Á¶È¸ { opener.window.javascript.fDisPatchHistSearch(); } } model.refresh(); } /** * @ver : * @desc : ȯÀÚ Ã£±â ÆË¾÷ * @ * @by : ÀÌâ·Ï * @param : * @return : 2008-12-29 * @--------------------------------------------------- */ function fPatPopUp(pFlag) { if(pFlag == "1"){ model.makeValue("/root/temp/pid", model.getValue("/root/cond/pid")); }else if(pFlag == "2"){ model.makeValue("/root/temp/hngnm", model.getValue("/root/cond/hngnm")); }else if(pFlag == "3"){ model.makeValue("/root/temp/rrgstno1", model.getValue("/root/cond/rrgstno1")); model.makeValue("/root/temp/rrgstno2", model.getValue("/root/cond/rrgstno2")); } model.makeValue("/root/temp/srchcond",pFlag); model.makeValue("/root/temp/autoflag","Y"); model.resetInstanceNode("/root/main/patinfo/patinfolist"); modal("SPPMC02500", 1,10, 10, "SPPMC02500", "/root/temp", "/root/send"); model.setValue("/root/cond/pid" , model.getValue("/root/main/patinfo/patinfolist/pid")); model.setValue("/root/cond/hngnm" , model.getValue("/root/main/patinfo/patinfolist/hngnm")); model.setValue("/root/cond/rrgstno1" , model.getValue("/root/main/patinfo/patinfolist/rrgstno1")); model.setValue("/root/cond/rrgstno2" , model.getValue("/root/main/patinfo/patinfolist/rrgstno2")); fLimResSearch(); model.refresh(); } /** * @ver : * @desc : Á¦ÇÑ È¯ÀÚ Á¶È¸ * @ * @by : ÀÌâ·Ï * @param : * @return : 2008-12-29 * @--------------------------------------------------- */ function fLimResSearch() { model.makeValue("/root/send/reqdata/pid",model.getValue("root/cond/pid")); if(submit("TRMRC03300")){ model.setValue("/root/cond/limrem",model.getValue("/root/main/limresinfo/limreslist["+1+"]/limrem")); } } /** * @ver : * @desc : Á¦ÇÑ È¯ÀÚ Á¶È¸ * @ * @by : ÀÌâ·Ï * @param : * @return : 2008-12-29 * @--------------------------------------------------- */ function fCopyLimResInfo(iRow) { model.setValue("/root/cond/pid" ,model.getValue("/root/main/limresinfo/limreslist["+iRow+"]/pid")); model.setValue("/root/cond/hngnm" ,model.getValue("/root/main/limresinfo/limreslist["+iRow+"]/hngnm")); model.setValue("/root/cond/rrgstno1",model.getValue("/root/main/limresinfo/limreslist["+iRow+"]/rrgstno").substring(0,6)); model.setValue("/root/cond/rrgstno2",model.getValue("/root/main/limresinfo/limreslist["+iRow+"]/rrgstno").substring(7,14)); model.setValue("/root/cond/limrem" ,model.getValue("/root/main/limresinfo/limreslist["+iRow+"]/limrem")); model.refresh(); }