/* (SMMNR07600_Ç÷¾×¹ÌºÒÃ⸮½ºÆ®Á¶È¸.xrw - JScript ) - Version : 1) : Ver.1.00.01 */ /** * @group : * @ver : 2007.06.18 * @by : Á¤Âù¼º * @--------------------------------------------------- * @type : function * @access : public * @desc : Ç÷¾×¹ÌºÒÃâ ¸®½ºÆ® Á¶È¸ * @param : * @return : * @--------------------------------------------------- */ function fGetBlodNoDeliveList(){ if(radio1.value == "patient") { if (input3.value == ""){ messageBox("µî·Ï¹øÈ£¸¦ ","C001"); model.setfocus("input3"); return; } } model.removenode("/root/send"); model.makeValue("/root/send/prcpddfrom", input2.value); model.makeValue("/root/send/prcpddto", input11.value); model.makeValue("/root/send/wardcd", combo7.value); model.makeValue("/root/send/roomcd", combo2.value); model.makeValue("/root/send/hngnm", combo8.value); model.makeValue("/root/send/pid", input3.value); model.makeValue("/root/send/dateflag", combo1.value); model.makeValue("/root/send/wardpatientflag", radio1.value); model.makeValue("/root/send/deliveflag", radio2.value); if(submit("TRMNR07606")){ } } /** * @group : * @ver : 2007.06.18 * @by : Á¤Âù¼º * @--------------------------------------------------- * @type : function * @access : public * @desc : ȯÀÚ »ó¼¼Á¤º¸ Á¶È¸ combo * @param : * @return : * @--------------------------------------------------- */ function fGetPatientInfo(pFlag){ model.removenode("/root/send"); if(pFlag == "entr"){ combo7.value = ""; combo2.value = ""; combo8.value = ""; model.makeValue("/root/send/pid", input3.value); }else{ model.makeValue("/root/send/wardcd", combo7.value); model.makeValue("/root/send/roomcd", combo2.value); if( model.makeValue("/root/send/pid", combo8.value) != "" ){ model.makeValue("/root/send/pid", combo8.value); } } if(submit("TRMNR07605")){ if(pFlag == "entr"){ model.setValue("/root/main/cond/patientgrup/patientgruplist/patientnm", model.getValue("/root/main/cond/patientgrupInfo/patientgruplistInfo/patientnm")); model.setValue("/root/main/cond/patientgrup/patientgruplist/pid", model.getValue("/root/main/cond/patientgrupInfo/patientgruplistInfo/pid")); } } model.setfocus("button3"); } /** * @group : * @ver : 2007.06.18 * @by : Á¤Âù¼º * @--------------------------------------------------- * @type : function * @access : public * @desc : ȯÀÚ Á¤º¸ Á¶È¸ combo * @param : * @return : * @--------------------------------------------------- */ function fGetPatientList(){ model.removenode("/root/send"); model.makeValue("/root/send/wardcd", combo7.value); model.makeValue("/root/send/roomcd", combo2.value); if(submit("TRMNR07604")){ } model.setfocus("combo8"); } /** * @group : * @ver : 2007.06.18 * @by : Á¤Âù¼º * @--------------------------------------------------- * @type : function * @access : public * @desc : º´½Ç Á¶È¸ combo * @param : * @return : * @--------------------------------------------------- */ function fGetRoomList(){ model.removenode("/root/send"); model.makeValue("/root/send/wardcd", combo7.value); if(submit("TRMNR07603")){ } model.setfocus("combo2"); } /** * @group : * @ver : 2007.06.18 * @by : Á¤Âù¼º * @--------------------------------------------------- * @type : function * @access : public * @desc : º´µ¿ Á¶È¸ * @param : * @return : * @--------------------------------------------------- */ function fGetWardList(){ model.removenode("/root/send"); model.makeValue("/root/send/wardcd", model.getValue("/root/main/cond/wardcdgrup/wardcdgruplist/wardcd")); if(submit("TRMNR07602")){ if(model.getValue("/root/main/cond/wardpatientflag") == "ward" ){ model.setfocus("combo7"); }else{ model.setfocus("input3"); } } } /** * @group : * @ver : 2007.07.20 * @by : Á¤Âù¼º * @--------------------------------------------------- * @type : function * @access : public * @desc : Ç÷¾×¹ÌºÒÃ⸮½ºÆ®Á¶È¸ init * @param : * @return : * @--------------------------------------------------- */ function fInit(){ fGetWardList();// º´µ¿ÄÚµå ¸®½ºÆ® model.setfocus("input3"); } /** * @group : * @ver : 2007.06.07 * @by : ¾çõ´ö * @--------------------------------------------------- * @type : function * @access : public * @desc : Exel ÀúÀå * @param : * @return : * @--------------------------------------------------- */ function fSaveExcel(){ var fileName = window.fileDialog("save", ",", false, "Ç÷¾×¹ÌºÒÃ⸮½ºÆ®_"+getCurrentDate(), "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls"); if (fileName != "") { datagrid5.saveExcel(fileName, "SheetName", true, true, "", "", false); } }