/* --------------------------------------------------------------------- °úº° ÁýµµÀǺ° ¼ö¼ú °Ç¼ö Åë°è (SSMNP00200.xfm - JScript ) - Version : 1) : Ver.1.00.01 : Create By taebum : 2008-09-28 ¿ÀÈÄ 4:07:39 ---------------------------------------------------------------------- */ /** * @group : * @ver : 2008-09-28 ¿ÀÈÄ 4:07:46 * @by : * @--------------------------------------------------- * @type : function * @access : public * @desc : ÃʱâÈ­ * @param : * @return : * @--------------------------------------------------- */ function fInit(){ model.setValue("/root/hidden/condition/frdd", getCurrentDate()); model.setValue("/root/hidden/condition/todd" , getCurrentDate()); model.refresh(); model.removeNodeSet("/root/main/deptlists/roomDepsumarytlist"); datagrid3.refresh(); model.removenode("/root/send"); model.makeValue("/root/send/flag" , "X" ); model.makeValue("/root/send/searchitem", "XX" ); model.makeValue("/root/send/deptflag" , "011" ); submit("TRMNP00107"); addComboItem("combo2" , "Àü ü", "%", "above" ); } function fOnClickSearchBtn(){ model.removenode("/root/send"); model.makeValue("/root/send/frdd", model.getValue("/root/hidden/condition/frdd")); model.makeValue("/root/send/todd", model.getValue("/root/hidden/condition/todd")); model.makeValue("/root/send/ssflag1", model.getValue("/root/hidden/condition/ssflag1")); model.makeValue("/root/send/ssflag2", model.getValue("/root/hidden/condition/ssflag2")); model.makeValue("/root/send/ssflag3", model.getValue("/root/hidden/condition/ssflag3")); model.makeValue("/root/send/etcflag1",model.getValue("/root/hidden/condition/etcflag1")); model.makeValue("/root/send/etcflag2",model.getValue("/root/hidden/condition/etcflag2")); model.makeValue("/root/send/etcflag3",model.getValue("/root/hidden/condition/etcflag3")); model.makeValue("/root/send/deptcd" ,model.getValue("/root/hidden/condition/deptcd")); if(model.getValue("/root/send/frdd") == "" || model.getValue("/root/send/todd") == ""){ messageBox("½ÃÀÛÀÏ, Á¾·áÀÏÀº ÇʼöÀÔ·Â »çÇ×ÀÔ´Ï´Ù.", "I000"); return; } model.removeNodeSet("/root/main/deptlists/roomDepsumarytlist"); datagrid3.refresh(); submit("TRSNP00200"); } /** * @group : * @ver : 2007.10.17 * @by : Grace * @--------------------------------------------------- * @type : function * @access : public * @desc : Exel ÀúÀå * @param : * @return : * @--------------------------------------------------- */ function fSaveExcel(){ fileName = window.fileDialog("save", ",", false, "°úº°ÁýµµÀǺ°¼ö¼ú°Ç¼öÅë°è_ÀÏÀÚº°_"+getCurrentDate(), "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls"); if (fileName != "" && fileName != null) { datagrid3.saveExcel(fileName, "SheetName", true, true, "", "", false); } }