/* --------------------------------------------------------------------- °ü¸®´ë»óÀåºñ¸ñ·Ï (SMMNP05300.xfm - JScript ) - Version : 1) : Ver.1.00.01 : Create By ±è Áø ¸í : 2007.09.10 ---------------------------------------------------------------------- */ /* --------------------------------------------------*/ /* type : function */ /* access : public */ /* desc : °ü¸®´ë»ó¹æºñ¸ñ·Ï ÃʱâÈ­ */ /* param : */ /* return : */ /* --------------------------------------------------*/ function fInit() { removeComboItem("cmb_installplcecd"); submit("TRMNP05301"); addComboItem("cmb_installplcecd", "Àü ü", "", "above" ); DataRead(); } /* --------------------------------------------------*/ /* type : function */ /* access : public */ /* desc : °ü¸®´ë»ó¹æºñ¸ñ·Ï ÃʱâÈ­ */ /* param : */ /* return : */ /* --------------------------------------------------*/ function DataRead() { model.copyNode("/root/send/reqdata", "/root/main/cond"); submit("TRMNP05302"); } /* --------------------------------------------------*/ /* type : function */ /* access : public */ /* desc : ÄÞº¸¾ÆÀÌÅÛ Á¦°Å */ /* param : */ /* return : */ /* --------------------------------------------------*/ function removeComboItem( comboID ) { var comboObj = document.all.item(comboID); var comboItemNodeSet = comboObj.choices.itemset.attribute("nodeset"); model.removenode(comboItemNodeSet + "[1]"); model.refresh(); } /* --------------------------------------------------*/ /* type : function */ /* access : public */ /* desc : °ü½É¸ñ·ÏÀåºñ Ãâ·Â */ /* param : */ /* return : */ /* --------------------------------------------------*/ function fPrntEmqtList() { var instcd = getUserInfo("dutplceinstcd"); //var instcd ="012"; var installplcecd = model.getValue("/root/main/cond/installplcecd"); var eqmtcd = model.getValue("/root/main/cond/eqmtcd"); //Äڵ尪ÀÌ ¾øÀ¸¸é Á¶°ÇÀ» ½ÇÇà½ÃŰÁö ¾Ê±â À§ÇØ if( installplcecd == "" ) { installplcecd = "%%"; } if( eqmtcd == "" ) { eqmtcd = "%%"; } model.setValue("/root/send/report/installplcecd", installplcecd); model.setValue("/root/send/report/eqmtcd", eqmtcd); model.setValue("/root/send/report/instcd", instcd); exeReportPreview("RPMNP05301", "XML", "/root/send/report", "", "true", "", "", "", "", "true"); } // ¼ö¼úÀåºñÁ¶È¸ ÆË¾÷ È£Ãâ function fOpEqmtPopup(){ modal("SPMNP00301"); sMsg = getParameter("SPMNP00300_Return"); if(sMsg == "") return; model.setValue("/root/main/cond/eqmtcd", getArrayData(sMsg, 1, 0)); model.setValue("/root/main/cond/eqmtnm", getArrayData(sMsg, 1, 1)); inp_eqmtnm.refresh(); inp_eqmtcd.refresh(); } /* ------------------------------------------------- */ /* ------End Of List ------------------------------- */ /* -------------------------------------------------- */