°Ç°­º¸Çè
<savelist> <healthinsulist/> </savelist> <searchlist> <notiym/> <rrgstno1/> <rrgstno2/> <emplnm/> <instcd/> <workgbn/> </searchlist> <disadiffpay> <instcd/> <notiym/> <rrgstno1/> <rrgstno2/> <emplnm/> </disadiffpay> </send> <temp> <cnt/> <doduyn/> <instcdyn/> <creatyn/> <message/> </temp> <init> <selectValue>1</selectValue> </init> </root> </instance> <script type="javascript" src="../../../com/commonweb/js/common.js"/> <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/> <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/> <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/> <script type="javascript" src="../../../mis/insurancemngtweb/js/RPA001.js"/> <script type="javascript" ev:event="xforms-ready"> <![CDATA[ fInitialize(); misfGridInit(grd_disadiffpayinst); misfGridInit(grd_healthinsulist); misfGridInit(grd_attach); misfMsterDetailSet(grd_disadiffpayinst, null, "TRRPA01401" ,"N"); misfMsterDetailSet(grd_healthinsulist, grd_disadiffpayinst, "TRRPA01403" ,"Y"); rpaComboInstBase(cmb_instcd,getUserInfo("dutplceinstcd")); misfComboCopyItemSet(cmb_instcd, "", grd_healthinsulist, "instcd"); var instcd = getUserInfo("dutplceinstcd"); cmb_instcd.value=instcd; //È­¸é ±ÇÇÑ ¼³Á¤ btn_save.disabled = !(checkAuth("X")); //btn_save.disabled=true; // grd_healthinsulist.explorerbar = "sort"; ]]> </script> <submission id="TRRPA01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchlist" resultref="/root/main/disadiffpay"/> <submission id="TXRPA01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savelist" resultref="/root/temp"/> <submission id="TRRPA01402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchlist" resultref="/root/temp"/> <submission id="TXRPA01402" mediatype="multipart/form-data" method="form-data-post" ref="/root/send" resultref="/root/main/list01"/> <submission id="TXRPA01403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchlist" resultref="/root/temp"/> <submission id="TRRPA01403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/disadiffpay" resultref="/root/main/disadiffpayform"/> <submission id="TXRPA01404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchlist" resultref="/root/temp"/> <submission id="TXRPA01405" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchlist" resultref="/root/temp"/> <submission id="TXRPA01406" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchlist" resultref="/root/temp"/> </model> <script type="javascript"> <![CDATA[ // È­¸é open½Ã¿Í ÃʱâÈ­ ¹öư Ŭ¸¯½Ã È­¸é ÃʱâÈ­ ±â´ÉÀ» ¼öÇàÇÑ´Ù. function fInitialize() { model.removeNodeset("/root/main/disadiffpay/disadiffpayinst"); model.removeNodeset("/root/main/disadiffpayform/healthinsulist"); model.removeNodeset("/root/main/list/filelist"); model.resetInstanceNode("/root/send"); model.refresh(); var curDate = getCurrentDate().toDate(); model.setValue("/root/send/searchlist/notiym", curDate.getDateFormat('YYYYMM')); } /** ¿ÞÂÊ °ø¹é Á¦°Å */ function funcLtrim( str ) { var src = new String( str ); var tmp = new String(); var i,firstnum, len = src.length; for(i = 0;i < len ;i++) { tmp = src.substring(i,i+1); if (tmp != ' ' ) { firstnum = i; break; } } tmp = src.substring(firstnum); return tmp; } var fso=new ActiveXObject("Scripting.FileSystemObject"); function fCsvUpload() { var maxsize = upload1.attribute("filesize"); //var files = window.fileDialog("open", "|", true); //var filename = window.fileDialog("open", "|", true,dirPath + fileName, "txt", "All File(*.*)|*.*"); var filename = window.fileDialog("open", ",", false, "", "txt", "Text Files(*.txt)|*.txt|All Files (*.*)|*.*"); var filelist = filename.split("|"); model.removeNodeset("/root/main/list/filelist"); model.removeNodeset("/root/send/attach"); //ŸÀÌÆ²À» ȹµæÇÑ´Ù. var s = new String(filelist[filelist.length-1]); var ss = s.split("\\"); if(filename !=""){ if (!fso.FileExists(filename)) { fso.CreateTextFile(filename,true); } var ts=fso.OpenTextFile(filename,1); var i=0; while (!ts.AtEndOfStream) { i++; strData = ts.ReadLine(); ts.Close(); if(!fIsValidate(strData))return; if(i == 1)break; } //end of while var notiym = strData.substring(0, 6); model.setValue("/root/send/searchlist/notiym", notiym); submit("TRRPA01402"); var doduyn = ipt_doduyn.value; if(doduyn =='Y'){ messageBox("ÇØ´ç¿ùÀÇ ÀÚ·á°¡ ","E006"); return; } else{ //ÀÛ¾÷ Àü row¸¦ Ãß°¡ >ÆÄÀϸí À¯/¹«¿¡ µû¸¥ ºÐ±â> for(var i = 0 ; i < filelist.length ; i++ ){ grd_attach.addRow(false); if(filelist[i] == ""){ //alert(grd_attach.rows - 1); grd_attach.removeRow(false); grd_attach.refresh(); } else{ grd_attach.valueMatrix(grd_attach.rows - 1, 0) = filelist[i]; //ÆÄÀÏÅ©±â('tfHelper.checkFileSize' ÂüÁ¶) var fileCnt = upload1.getFileCount(); var lastIndex = fileCnt - 1; var fileSize = upload1.getFileSize(lastIndex); grd_attach.textmatrix(grd_attach.rows - 1,1) = fileSize; if (!checkFileSize(upload1)){ grd_attach.removeItem(); messageBox("ÆÄÀÏ Å©±â°¡ ÃÖ´ëÄ¡("+maxsize+"Byte)¸¦", "E003"); return; } } } openLoadingBar("ÆÄÀϾ÷·Îµå ÀÛ¾÷ÁßÀÔ´Ï´Ù... ") ; submit("TXRPA01402"); // mis.rwddheas Å×ÀÌºí¿¡ INSERT if (model.getValue(gvErrorMsgPath + "/type") != "error") submit("TXRPA01405"); // Àλ縶½ºÅÍ ±â°üÄÚµå·Î °Ç°­º¸Çè ±â°üÄÚµå ¾÷µ¥ÀÌÆ®(MIS.SP_RW_SETRWDDHEAS) if (model.getValue(gvErrorMsgPath + "/type") != "error") submit("TXRPA01406"); // btn_search.dispatch("DOMActivate"); } closeLoadingBar(); } } //============================================================================================= // ÀüȯÇÒ LineÀÇ À¯È¿¼º °Ë»ç //============================================================================================= function fIsValidate(strData) { //if(lvGetByteSize(strData) == 158) { //·¹ÄÚµå±æÀÌ 158bytes //ÀÛ¾÷ ³â¿ùÀ» ºñ±³ÇÑ´Ù. if(strData.substring(0, 6) != model.getValue("/root/send/searchlist/notiym")) { messageBox("¼±ÅÃÇÑ ÆÄÀÏÀÇ ³â¿ù°ú ÀÔ·ÂÇÑ ³â¿ù °ªÀÌ ", "E004"); return false; } return true; //} else { // messageBox("ÆÄÀÏÇüŰ¡", "E004"); // return false; // } // return true; } /** * @group : lvString È®Àå * @ver : 2004.07.29 (KUHDEV-0002) * @by : LeeHJ. * @--------------------------------------------------- * @type : function * @access : public * @desc : ÆÄ¶ó¹ÌÅÍ °ªÀÇ Byte Å©±â¸¦ ¸®ÅÏ * @param : N/A * @return : ÆÄ¶ó¹ÌÅÍ °ªÀÇ Byte Å©±â * @--------------------------------------------------- */ function lvGetByteSize(strData) { var tcount = 0; var tmpStr = new String(strData); var temp = tmpStr.length; var onechar; for ( k=0; k<temp; k++ ) { onechar = tmpStr.charAt(k); if (escape(onechar).length > 4) { tcount += 2; } else { tcount += 1; } } return tcount; } ]]> </script> </xhtml:head> <xhtml:body guideline="1,467;1,729;" style="margin-left:8; margin-right:8; "> <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; "> <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">°Ç°­º¸Çè ÆÄÀÏ Upload</caption> </group> <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; "> <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/> <caption id="cap_notiym" class="search_name" style="left:15px; top:19; width:86px; height:17px; ">°íÁö³â¿ù :</caption> <button id="btn_search" class="btn1_letter2" style="left:1125px; top:17px; width:56px; height:22px; "> <caption>Á¶È¸</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ if(!isRequiredControls("ipt_notiym"))return; misfMsterDetailRetrieve(); ]]> </script> </button> <line id="line13" class="line_4" style="x1:1110px; y1:17px; x2:1110px; y2:39px; "/> <line id="line207" class="line_1" style="x1:0px; y1:68px; x2:305px; y2:68px; "/> <datagrid id="grd_healthinsulist" nodeset="/root/main/disadiffpayform/healthinsulist" caption="¼ø¹ø^°íÁö³â¿ù^»ç¾÷Àå¹øÈ£^´ÜÀ§±â°ü^û±¸±â°ü^¼º¸í^Áֹεî·Ï¹øÈ£^°íÁöÂ÷¼ö^ȸ°è^ÀϷùøÈ£^°¨¸é»çÀ¯^º¸¼ö¿ù¾×^°Ç°­º¸Çè^°Ç°­º¸Çè^°Ç°­º¸Çè^°Ç°­º¸Çè^°Ç°­º¸Çè^°Ç°­º¸Çè^°Ç°­º¸Çè^Àå±â¿ä¾ç^Àå±â¿ä¾ç^Àå±â¿ä¾ç^Àå±â¿ä¾ç^Àå±â¿ä¾ç^Àå±â¿ä¾ç^Àå±â¿ä¾ç^ÇÕ°è^ÇÕ°è^ÇÕ°è^ÇÕ°è^Áõ¹øÈ£^Á÷Á¾ÄÚµå^µî±Þ^ÃëµæÀÏÀÚ^»ó½ÇÀÏÀÚ^»ó½ÇÀÏÀÚ2^´ÜÀ§»ç¾÷Àå^°¨¸é»çÀ¯ÄÚµå^Á¤»ê»çÀ¯^¿ä¾çÁ¤»ê»çÀ¯ÄÚµå|¼ø¹ø^°íÁö³â¿ù^»ç¾÷Àå¹øÈ£^´ÜÀ§±â°ü^û±¸±â°ü^¼º¸í^Áֹεî·Ï¹øÈ£^°íÁöÂ÷¼ö^ȸ°è^ÀϷùøÈ£^°¨¸é»çÀ¯^º¸¼ö¿ù¾×^»êÃ⺸Çè·á^Á¤»ê»çÀ¯^Á¤»ê½ÃÀÛ¿ù^Á¤»êÁ¾·á¿ù^Á¤»êº¸Çè·á^°íÁöº¸Çè·á^¿¬¸»Á¤»ê¾×^»êÃ⺸Çè·á^Á¤»ê»çÀ¯^Á¤»ê½ÃÀÛ¿ù^Á¤»êÁ¾·á¿ù^Á¤»êº¸Çè·á^°íÁöº¸Çè·á^¿¬¸»Á¤»ê¾×^»êÃ⺸Çè·á°è^Á¤»êº¸Çè·á°è^°íÁöº¸Çè·á°è^¿¬¸»Á¤»ê¾×°è^Áõ¹øÈ£^Á÷Á¾ÄÚµå^µî±Þ^ÃëµæÀÏÀÚ^»ó½ÇÀÏÀÚ^»ó½ÇÀÏÀÚ2^´ÜÀ§»ç¾÷Àå^°¨¸é»çÀ¯ÄÚµå^Á¤»ê»çÀ¯^¿ä¾çÁ¤»ê»çÀ¯ÄÚµå" colwidth="44, 54, 7, 56, 110, 65, 98, 56, 46, 14, 100, 75, 80, 100, 70, 70, 80, 80, 80, 80, 100, 70, 70, 80, 80, 80, 100, 100, 100, 100, 104, 73, 70, 80, 80, 80, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" frozencols="10" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:310px; top:73px; width:884px; height:661px; text-align:center; "> <col ref="numno" style="text-align:center; "/> <col ref="notiym" format="yyyy-mm"/> <col ref="bisplceno" visibility="hidden"/> <col ref="unitbizplceno"/> <col id="instcd" ref="instcd" type="combo" style="text-align:left; "> <choices> <itemset> <label/> <value/> </itemset> </choices> </col> <col ref="emplnm" style="text-align:center; "/> <col ref="rrgstno" format="999999-9999999" style="text-align:center; "/> <col ref="notidg" visibility="hidden" style="text-align:center; "/> <col ref="acntcd" visibility="hidden" style="text-align:center; "/> <col ref="seqno" visibility="hidden"/> <col ref="reductresnnm" style="text-align:center; "/> <col ref="remunrmmamt" savetype="digit" format="(-)#,###" style="text-align:right; "/> <col ref="calcinsuamt" savetype="digit" format="(-)#,###" style="text-align:right; "/> <col ref="calcresnnm" style="text-align:center; "/> <col ref="fromym" format="yyyy-mm" style="text-align:center; "/> <col ref="toym" format="yyyy-mm" style="text-align:center; "/> <col ref="calcamt" savetype="digit" format="(-)#,###" style="text-align:right; "/> <col ref="notiamt" savetype="digit" format="(-)#,###" style="text-align:right; "/> <col ref="yyendcalc" savetype="digit" format="(-)#,###" style="text-align:right; "/> <col ref="mtrtcalcinsuamt" savetype="digit" format="(-)#,###" style="text-align:right; "/> <col ref="mtrtcalcresnnm" style="text-align:center; "/> <col ref="mtrtfromym" format="yyyy-mm" style="text-align:center; "/> <col ref="mtrttoym" format="yyyy-mm" style="text-align:center; "/> <col ref="mtrtcalcamt" savetype="digit" format="(-)#,###" style="text-align:right; "/> <col ref="mtrtnotiamt" savetype="digit" format="(-)#,###" style="text-align:right; "/> <col ref="mtrtyyendcalc" savetype="digit" format="(-)#,###" style="text-align:right; "/> <col ref="mtrtcalcinsuamtsum" savetype="digit" format="(-)#,###" style="text-align:right; "/> <col ref="mtrtcalcamtsum" savetype="digit" format="(-)#,###" style="text-align:right; "/> <col ref="mtrtnotiamtsum" savetype="digit" format="(-)#,###" style="text-align:right; "/> <col ref="mtrtyyendcalcsum" savetype="digit" format="(-)#,###" style="text-align:right; "/> <col ref="certno" style="text-align:center; "/> <col ref="jobkindcd" style="text-align:center; "/> <col ref="grde" style="text-align:center; "/> <col ref="acqtdd" format="yyyy-mm-dd" style="text-align:center; "/> <col ref="lossddnm" format="yyyy-mm-dd" style="text-align:center; "/> <col ref="lossdd" visibility="hidden"/> <col ref="unitbizplcenm" visibility="hidden"/> <col ref="reductresn" visibility="hidden"/> <col ref="calcresn" visibility="hidden"/> <col ref="mtrtcalcresn" visibility="hidden"/> <col ref="mtrtfromym" visibility="hidden"/> <col ref="mtrttoym" visibility="hidden"/> <script type="javascript" ev:event="xforms-value-changed"> <![CDATA[ /* var cur_row = grd_healthinsulist.row; //½ÅûÀÏÀÚ ¹× ½Ã°£ À¯È¿¼º üũ if(grd_healthinsulist.col == 5){ for(i=1; i < grd_healthinsulist.rows ; i++){ var rrgstno= grd_healthinsulist.valueMatrix(grd_healthinsulist.row,7); var instcd= grd_healthinsulist.valueMatrix(grd_healthinsulist.row,5); var rrgstno_ch= model.getValue("/root/main/disadiffpayform/healthinsulist["+i+"]/rrgstno"); if(rrgstno == rrgstno_ch){ grd_healthinsulist.valueMatrix(i, grd_healthinsulist.colRef("instcd")) =instcd; grd_healthinsulist.addStatus(i,"update"); } } }*/ ]]> </script> <script type="javascript" ev:event="onaftersort"> <![CDATA[ grd_healthinsulist.gridToInstance(); ]]> </script> </datagrid> <input id="ipt_notiym" ref="/root/send/searchlist/notiym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:100px; top:18; width:100px; height:19px; "> <script type="javascript" ev:event="xforms-value-changed"> <![CDATA[ btn_search.dispatch("DOMActivate"); ]]> </script> </input> <caption id="caption9" class="tit_2" style="left:5px; top:54px; width:123px; height:14px; ">±â°üº°°Ç¼ö</caption> <input id="ipt_cnt" ref="/root/temp/cnt" class="input_search" disabled="true" visibility="hidden" format="#,###" style="left:863px; top:47px; width:35px; height:19px; text-align:right; "/> <button id="btn_upload" class="btn2_letter5" style="left:1054px; top:48px; width:75px; height:19px; "> <caption>ÆÄÀϾ÷·Îµå</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ fCsvUpload(); if(!isRequiredControls("ipt_notiym"))return; ]]> </script> </button> <caption id="caption4" class="search_name" style="left:225px; top:19; width:99px; height:17px; ">ÁֹιøÈ£ :</caption> <caption id="caption309" style="left:415px; top:21px; width:16px; height:17px; font-weight:bold; text-align:center; vertical-align:bottom; ">~</caption> <input id="ipt_chldrnresdnrgst1" ref="/root/send/searchlist/rrgstno1" class="input_default" maxlength="6" style="left:310px; top:18; width:100; height:19px; "> <script type="javascript" ev:event="onkeypress"> <![CDATA[ inputEnterKey("btn_search", "DOMActivate"); ]]> </script> </input> <input id="ipt_chldrnresdnrgst2" ref="/root/send/searchlist/rrgstno2" class="input_default" maxlength="8" style="left:434px; top:18; width:100px; height:19px; "> <script type="javascript" ev:event="onkeypress"> <![CDATA[ inputEnterKey("btn_search", "DOMActivate"); ]]> </script> </input> <caption id="caption5" class="search_name" style="left:560px; top:19; width:85px; height:17px; ">¼º ¸í :</caption> <input id="ipt_emplnm" ref="/root/send/searchlist/emplnm" imemode="hangul" style="left:645px; top:18; width:105px; height:19px; "> <script type="javascript" ev:event="onkeypress"> <![CDATA[ inputEnterKey("btn_search", "DOMActivate"); ]]> </script> </input> <select1 id="cmb_instcd" ref="/root/send/searchlist/instcd" class="combo_s_essential" visibility="hidden" appearance="minimal" style="left:753px; top:18; width:144px; height:19px; "> <choices> <itemset> <label/> <value/> </itemset> </choices> </select1> <input id="ipt_doduyn" ref="/root/temp/doduyn" visibility="hidden"/> <upload id="upload1" nodeset="/root/send/attach/file" ext="zip" filecount="5" filesize="41943040" validate="true" style="left:1020px; top:49px; width:25px; height:20px; "/> <datagrid id="grd_attach" nodeset="/root/send/attach" class="datagrid1" visibility="hidden" caption="File Name^File Size" colsep="^" colwidth="403, 93" dataheight="23" ellipsis="true" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" style="left:670px; top:535px; width:505px; height:69px; "> <col ref="file" style="text-align:center; "/> <col ref="filesize" format="#,###" style="text-align:right; "/> </datagrid> <datagrid id="grd_disadiffpayinst" nodeset="/root/main/disadiffpay/disadiffpayinst" caption="±â°ü±âÈ£^´ÜÀ§±â°ü¸í^ÃѰǼö^Àοø¼ö^±â°üÄÚµå^ÀÛ¾÷¿ù^caption1^caption2^caption3" colsep="^" colwidth="60, 104, 60, 58, 75, 128" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:73px; width:305px; height:661px; "> <col ref="unitbizplceno" style="text-align:center; "/> <col ref="instnm" style="text-align:center; "/> <col ref="cnt" format="#,###" style="text-align:right; "/> <col ref="mancnt" format="#,###" style="text-align:right; "/> <col ref="instcd" visibility="hidden"/> <col ref="notiym" visibility="hidden"/> <script type="javascript" ev:event="onrowchanged"> <![CDATA[ grd_disadiffpayinst.subtotal("clear", 0, 0); grd_disadiffpayinst.subtotalPosition = "below"; grd_disadiffpayinst.multiTotals = true; grd_disadiffpayinst.subtotal("sum", -1, 4, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 1, "ÃÑÇÕ°è", false); grd_disadiffpayinst.subtotal("sum", -1, 3, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 1, "ÃÑÇÕ°è", false); var rrgstno1=model.getValue("/root/send/searchlist/rrgstno1"); var rrgstno2=model.getValue("/root/send/searchlist/rrgstno2"); var emplnm=model.getValue("/root/send/searchlist/emplnm"); model.makeValue("/root/main/disadiffpay/disadiffpayinst/rrgstno1",rrgstno1); model.makeValue("/root/main/disadiffpay/disadiffpayinst/rrgstno2",rrgstno2); model.makeValue("/root/main/disadiffpay/disadiffpayinst/emplnm",emplnm); misfMsterDetailRetrieve(); /* var cur_row=grd_disadiffpayinst.rows-1; if (grd_disadiffpayinst.row != cur_row){ var instcd=grd_disadiffpayinst.valueMatrix(grd_disadiffpayinst.row,5); if(instcd =="000"){ btn_save.disabled=false; }else{ btn_save.disabled=true; } misfMsterDetailRetrieve(); }else{ btn_save.disabled=true; }*/ ]]> </script> </datagrid> <line id="line1" class="line_1" style="x1:310px; y1:68px; x2:1195px; y2:68px; "/> <caption id="caption1" class="tit_2" style="left:315px; top:54px; width:100px; height:13px; ">°Ç°­º¸Çè ³»¿ª</caption> <button id="btn_exceldetail" class="btn2_letter4" style="left:1131px; top:48px; width:64px; height:19px; "> <caption>¿¢¼¿ÀúÀå</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*"); if (fileName != "") { grd_healthinsulist.saveExcel(fileName, "sheetname:savetype", true, true, "", ""); } ]]> </script> </button> <button id="button1" class="btn2_letter4" style="left:236px; top:47px; width:64px; height:19px; "> <caption>¿¢¼¿ÀúÀå</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*"); if (fileName != "") { grd_disadiffpayinst.saveExcel(fileName, "SheetName", true, true, "", ""); } ]]> </script> </button> <input id="ipt_instcdyn" ref="/root/temp/instcdyn" class="input_search" disabled="true" visibility="hidden" format="#,###" style="left:780px; top:47px; width:81px; height:19px; text-align:right; "/> <input id="ipt_creatyn" ref="/root/temp/creatyn" class="input_search" disabled="true" visibility="hidden" format="#,###" style="left:901px; top:47px; width:35px; height:19px; text-align:right; "/> <input id="input1" ref="/root/send/searchlist/workgbn" visibility="hidden" style="left:939px; top:47px; width:40px; height:19px; "/> </group> <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; "> <button id="btn_save" class="btn4_letter2" style="left:1139px; top:3; width:56px; height:22px; "> <caption>ÀúÀå</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ var updtdata = getGridUpdateData(grd_healthinsulist); if (updtdata == "" ) { messageBox("º¯°æµÈ µ¥ÀÌÅͰ¡","I004"); return; } var retMes = messageBox("ÀúÀå ÇϽðڽÀ´Ï±î?", "Q999"); if ( retMes != 6) { return; } misfSave("TXRPA01401"); btn_search.dispatch("DOMActivate"); ]]> </script> </button> <button id="btn_init" class="btn4_letter3" style="left:1069px; top:3; width:68px; height:22px; "> <caption>ÃʱâÈ­</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ var updtdata = getGridUpdateData(grd_healthinsulist); if (updtdata != "") { var ret = messageBox("±×¸®µå¿¡ ÀÛ¾÷ ÁßÀÎ ³»¿ëÀÌ ÀÖ½À´Ï´Ù. ÃʱâÈ­ ÀÛ¾÷À»","Q003"); if (ret != 6) { // not OK return; } } fInitialize(); ]]> </script> </button> <line id="line9" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/> <button id="button2" class="btn4_letter4" style="left:987px; top:3px; width:80px; height:22px; "> <caption>ÀÚ·á»èÁ¦</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ if(!isRequiredControls("ipt_notiym"))return; var retMes = messageBox("»èÁ¦ ÇϽðڽÀ´Ï±î?", "Q999"); if ( retMes != 6) { return; } submit("TRRPA01402"); var creatyn=model.getValue("/root/temp/creatyn"); if(creatyn =='Y'){ messageBox("ÃëÇÕÀڷḦ »ý¼ºÇÑ ÀÚ·á´Â »èÁ¦ ÇÒ ¼ö ","I004"); return; } submit("TXRPA01403"); if (model.getValue(gvErrorMsgPath + "/type") != "error"){ messageBox("ÀÛ¾÷ÀÌ","I001"); } ipt_doduyn.value=""; misfGridInit(grd_disadiffpayinst); misfGridInit(grd_healthinsulist); ]]> </script> </button> <button id="button3" class="btn4_letter6" style="left:881px; top:3px; width:104px; height:22px; "> <caption>ÃëÇÕÀÚ·á»èÁ¦</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ if(!isRequiredControls("ipt_notiym"))return; var retMes = messageBox("ÃëÇÕÀڷḦ »èÁ¦ ÇϽðڽÀ´Ï±î?", "Q999"); if ( retMes != 6) { return; } submit("TRRPA01402"); var endyn=model.getValue("/root/temp/endyn"); if(endyn =='Y'){ messageBox("¸¶°¨ÀÌ ¿Ï·áµÈ ÀÚ·á´Â »èÁ¦ ÇÒ ¼ö ","I004"); return; } model.setValue("/root/send/searchlist/workgbn","D"); submit("TXRPA01404"); if (model.getValue(gvErrorMsgPath + "/type") != "error"){ messageBox("ÀÛ¾÷ÀÌ","I001"); } ]]> </script> </button> <button id="button4" class="btn4_letter6" style="left:775px; top:3px; width:104px; height:22px; "> <caption>ÃëÇÕÀÚ·á»ý¼º</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ if(!isRequiredControls("ipt_notiym"))return; var retMes = messageBox("ÃëÇÕÀڷḦ »ý¼º ÇϽðڽÀ´Ï±î?", "Q999"); if ( retMes != 6) { return; } submit("TRRPA01402"); var doduyn=model.getValue("/root/temp/doduyn"); var instcdyn=model.getValue("/root/temp/instcdyn"); var creatyn=model.getValue("/root/temp/creatyn"); if(doduyn !='Y'){ messageBox("ÇØ´ç¿ùÀÇ ÀÚ·á°¡ Á¸ÀçÇÏÁö ¾Ê¾Æ »ý¼ºÇÒ ¼ö ","I004"); return; } if(creatyn =='Y'){ messageBox("ÇØ´ç¿ùÀÇ ÀÚ·á»ý¼ºÀÌ ÀÌ¹Ì ","I001"); return; } if(instcdyn =='Y'){ messageBox("±â°üÀÌ ÀԷµÇÁö ¾ÊÀº »ç¿øÀÌ Á¸ÀçÇÏ¿© ÃëÇÕÀڷḦ »ý¼º ","E001"); return; }else{ model.setValue("/root/send/searchlist/workgbn","C"); submit("TXRPA01404"); } if (model.getValue(gvErrorMsgPath + "/type") != "error"){ messageBox("ÀÛ¾÷ÀÌ","I001"); } ipt_doduyn.value=""; ipt_instcdyn.value=""; ]]> </script> </button> </group> </xhtml:body> </xhtml:html>