/* ºÐ¸¸½Ç óġÀåºÎ(SMMNN02500_Ãâ»ý 100ÀÏ ´ë»óÀÚ Á¶È¸.xrw - JScript ) - Version : 1) : Ver.1.00.01 */ var xnbabyhoundListPath = "/root/main/nbabyinfo/nbabyinfolist"; var xPrintListPath = "/root/send/printdata/nbabyinfo/nbabyinfolist"; /** * @group : * @ver : 2008.11.20 * @by : Á¤°æÈ­ * @--------------------------------------------------- * @type : function * @access : public * @desc : ÃʱâÈ­ ÀÛ¾÷À» ÇÕ´Ï´Ù. * @param : * @param : * @return : * @--------------------------------------------------- */ function fInitialize(){ model.removenode(xnbabyhoundListPath); //model.setValue("/root/main/cond/fromdd", getCurrentDate().substr(0,6) + "01"); model.setValue("/root/main/cond/fromdd", getCurrentDate()); model.setValue("/root/main/cond/todd", getCurrentDate()); model.refresh(); fGetnbabyhoundInfo(); } /** * @group : * @ver : 2008.11.20 * @by : Á¤°æÈ­ * @--------------------------------------------------- * @type : function * @access : public * @desc : ºÐ¸¸½Ç óġÀåºÎ Á¶È¸. * @param : * @param : * @return : * @--------------------------------------------------- */ function fGetnbabyhoundInfo(){ model.copyNode("/root/send/reqdata", "/root/main/cond"); submit("TRMNN02501"); } /** * @group : * @ver : 2008.11.20 * @by : Á¤°æÈ­ * @--------------------------------------------------- * @type : function * @access : public * @desc : ±×¸®µå µ¥ÀÌÅÍ ¿¢¼¿ Àüȯ * @param : * @param : * @return : * @--------------------------------------------------- */ function fSaveExcel(){ grd_nbabyhoundlist.gridToInstance(); file = window.fileDialog("save","","true","","xls","All Files (*.*)|*.*|Excel Files(*.xls)|*.xls"); if(file != "") { grd_nbabyhoundlist.saveExcel(file); } } /** * @group : * @ver : 2008.11.20 * @by : Á¤°æÈ­ * @--------------------------------------------------- * @type : function * @access : public * @desc : Ãâ»ý 100ÀÏ´ë»óÀÚ Ãâ·Â * @param : grid ¸í * @param : * @return : * @--------------------------------------------------- */ function fClickPrint(){ grd_nbabyhoundlist.gridToInstance(); model.removenode("/root/send/printdata"); model.makeValue("/root/send/printdata",""); model.copynode("/root/send/printdata", "/root/main"); var nodecnt = getNodesetCount(xPrintListPath); if(nodecnt > 0){ exeReportPreview("RPMNN02501", "XMLSTR"); }else{ messageBox("Ãâ·ÂÇÒ ³»¿ëÀÌ","I004"); } }