ºÐ½É°áÁ¤µî·Ï°ü¸® 1 1 1 <cnt401/> <clamym/> <clamdg/> <pid/> <pidsn/> <chk401/> </send03> </send> <main> <list01> <patbaseinfo> <gridpatbaseinfo> <insucdnm/> <clamym/> <ioflag/> <pid/> <patnm/> <orddeptnm/> <indd/> <dschdd/> <interm/> <acdacptno/> <orddeptcd/> <clamno/> <docuseqno/> <docuflag/> <clamdg/> <pidsn/> </gridpatbaseinfo> </patbaseinfo> <tdinfodetl> <tdinfo> <tddecidocuarvdd/> <tdacptdd/> <tdacptno/> <perchrgnm/> <perchrgid/> <chrgjudgnm/> <paylimitdd/> <judgno/> <tdcomsamt/> </tdinfo> <gridpifmtrds> <chkbox/> <lnno/> <item/> <adjtcd/> <matractflag/> <grupcalcscorcd/> <snglcalcscorcd/> <edicd/> <hngnm/> <unitcost/> <clamdayqty/> <clamtotqty/> <adjtdayqty/> <adjttotqty/> <adjtamt/> <aprvdayqty/> <aprvtotqty/> <aprvamt/> <tddayqty/> <tdtotqty/> <trobamt/> <tddecidayqty/> <tddecitotqty/> <tddecicutamt/> <tddeciamt/> <tdcomsamt/> <clamno/> <docuseqno/> <instcd/> <acptno/> <acdacptno/> <clamdd/> <pid/> <patnm/> <ordterm/> <ediunitcost/> <docuflag/> <clamamt/> <attdocu/> <attetc/> <answdocucnts/> <tdacptdd/> <tdacptno/> <chrgjudgnm/> <tddecidocuarvdd/> <paylimitdd/> <judgno/> <insucmpymark/> <dg/> </gridpifmtrds> </tdinfodetl> </list01> <list02> <gridpifmtrds/> </list02> <list03> <attdocu/> <attetc/> <answdocucnts/> </list03> <result/> <patinfo> <patinfolist/> </patinfo> </main> <hidden> <sppmc02500> <cond> <!-- SPPMC02500_ȯÀÚÁ¶È¸ È­¸éÀ¸·Î °Ë»öÁ¶°ÇÀ» º¸³»´Â °æ·ÎÀÓ --> <srchcond/> <pid/> <hngnm/> <rrgstno1/> <rrgstno2/> </cond> </sppmc02500> </hidden> <init> <P0028list> <P0028> <cdid/> <cdnm/> </P0028> </P0028list> <P0103list> <P0103> <cdid/> <cdnm/> </P0103> </P0103list> <U0001list> <U0001> <cd/> <nm/> </U0001> </U0001list> </init> </root> </instance> <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/> <submission id="TRPIF70601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send03" resultref="/root/main/list01"/> <submission id="TRPIF70602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/main/list01/patbaseinfo"/> <submission id="TRPIF70603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send03" resultref="/root/main/list01/tdinfodetl"/> <submission id="TXPIF70601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list02" resultref="/root/main/result"/> <submission id="TRPIF70305" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/U0001list"/> </model> <script type="javascript" ev:event="xforms-ready"> <![CDATA[ //btn_newreg.visible = false; //btn_rowdel.visible = false; //btn_print.visible = false; zbcfGetCodeList(new Array("P0028"), new Array( "/root/init/P0028list")); //btn_newreg.visible = false; // ½Å±Ô»è°¨µî·Ï ¹öư ºñȰ¼º //btn_rowdel.visible = false; // Çà»èÁ¦¹öư ºñȰ¼º //¼Õº¸»ç ID¹× NMÀ» Á¶È¸ÇÑ´Ù. submit("TRPIF70305"); // °øÅëÄÚµå LoadÀÛ¾÷ CommCode_Load(); ]]> </script> <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/stringHelper.js"/> <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/> <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/> <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/> <script type="javascript"> <![CDATA[ function Node_Init() { } // °øÅëÄÚµå LoadÀÛ¾÷ function CommCode_Load() { chkbox_attdocu.disabled = true; // ÆË¾÷¿Àǽà ÀÚµ¿Á¶È¸ if(window.parent != null) { model.setValue("/root/send/send01/pid",model.getValue("/root/send/send03/pid")); model.setValue("/root/send/send01/insucompnm",model.getValue("/root/send/send03/insuno")); model.setValue("/root/send/send01/fromdate",model.getValue("/root/send/send03/clamym")); model.setValue("/root/send/send01/todate",model.getValue("/root/send/send03/clamym")); if ( submit("TRPIF70601") ) { fCheckPreData(); } var indd = model.getValue("/root/main/list01/patbaseinfo/gridpatbaseinfo/indd"); var dschdd = model.getValue("/root/main/list01/patbaseinfo/gridpatbaseinfo/dschdd"); var tddecidocuarvdd = model.getValue("root/main/list01/tdinfodetl/tdinfo/tddecidocuarvdd"); if(indd != "" & dschdd != "") { var interm = getDateInterval(indd,dschdd)+1; model.setValue("/root/main/list01/patbaseinfo/gridpatbaseinfo/interm", interm); } // ÷ºÎÀÚ·á ¹× ±âŸ ÷ºÎÀÚ·á Box ºñȰ¼º ¹× °ª ÃʱâÈ­ txtar_answdocucnts.value = ""; chkbox_attdocu.value= ""; txtbox_attetc.value= ""; chkbox_attdocu.disabled=true; txtbox_attetc.disabled=true; } } function fCheckPreData(){ // ÃÖÃÊ Á¶È¸½Ã ÀÌ¹Ì µî·ÏµÈ °ÇÀº ¼±Åùڽº ºñȰ¼ºÈ­ // ¼±Åùڽº üũ½Ã ÀԷ»óÅ·Π¹Ù²î°í ºÐ½É°áÁ¤ÀÌ ÀÚµ¿ ¼ÂÆÃ µÈ´Ù. for(var i = 1; i < grd_pifmtrds.rows ; i++) { if(grd_pifmtrds.valueMatrix(i, grd_pifmtrds.colRef("tddecidayqty")) > 0) { grd_pifmtrds.isReadOnly(i, grd_pifmtrds.colRef("chkbox")) = true; } } grd_pifmtrds.colStyle(grd_pifmtrds.colRef("tddecidayqty"), "data","background-color") = "#ffff00"; grd_pifmtrds.colStyle(grd_pifmtrds.colRef("tddecitotqty"), "data","background-color") = "#ffff00"; grd_pifmtrds.colStyle(grd_pifmtrds.colRef("tddecicutamt"), "data","background-color") = "#ffff00"; } ]]> </script> </xhtml:head> <xhtml:body guideline="1,1193;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; "> <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; "> <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:265px; height:14px; ">ºÐ½É°áÁ¤µî·Ï°ü¸®</caption> </group> <group id="group6" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; "> <line id="line33" class="line_1" style="x1:0px; y1:100px; x2:1194px; y2:100px; "/> <caption id="caption86" class="tit_2" style="left:6px; top:85px; width:147px; height:14px; ">ȯÀڱ⺻Á¤º¸</caption> <group id="group2" style="left:0px; top:10px; width:1194px; height:60px; vertical-align:top; "> <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:59px; background-color:#fffbf2; border-color:#ffd799; "/> <caption id="caption1" class="search_name" style="left:605px; top:9px; width:86px; height:17px; ">¼Õº¸»ç¸í :</caption> <button id="button1" class="btn1_letter2" style="left:1123px; top:20px; width:56px; height:22px; "> <caption>Á¶È¸</caption> <script type="javascript" ev:event="onclick"> <![CDATA[ model.removeNodeset("/root/main/list01/tdinfodetl"); if(submit("TRPIF70602")) { var rows = grd_patbaseinfo.rows; for(var i=1;i<rows;i++) { var indd = model.getValue("/root/main/list01/patbaseinfo/gridpatbaseinfo["+i+"]/indd"); var dschdd = model.getValue("/root/main/list01/patbaseinfo/gridpatbaseinfo["+i+"]/dschdd"); var interm = getDateInterval(indd,dschdd)+1; model.setValue("/root/main/list01/patbaseinfo/gridpatbaseinfo/interm", interm); } } txtar_answdocucnts.value = ""; chkbox_attdocu.value = ""; chkbox_attdocu.disabled = true; ]]> </script> </button> <line id="line1" class="line_4" style="x1:1108px; y1:8px; x2:1108px; y2:52px; border-color:#ffe4bb; border-left-style:solid; "/> <caption id="caption10" class="search_name" style="left:605px; top:33px; width:86px; height:17px; ">µî·Ï¹øÈ£ :</caption> <caption id="caption2" class="search_name" style="left:830px; top:9px; width:87px; height:17px; ">û±¸Â÷¼ö :</caption> <caption id="caption5" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">³»¿øÀ¯Çü :</caption> <caption id="caption7" class="search_name" style="left:15px; top:33px; width:112px; height:17px; ">Á¾°á±¸ºÐ :</caption> <select1 id="combo5" ref="/root/send/send01/insucompnm" class="combo_search" appearance="minimal" style="left:694px; top:8px; width:100px; height:19px; "> <choices> <itemset nodeset="/root/init/U0001list/U0001"> <label ref="nm"/> <value ref="cd"/> </itemset> </choices> </select1> <caption id="caption3" style="left:465px; top:10px; width:15px; height:20px; ">~</caption> <input id="input5" ref="/root/send/send01/clamdg" class="input_search" style="left:920px; top:8px; width:85px; height:19px; "/> <input id="ipt_fromdate" ref="/root/send/send01/fromdate" class="input_search" inputtype="date" maxlength="6" format="yyyy-mm" style="left:375px; top:9px; width:85px; height:19px; "/> <input id="ipt_todate" ref="/root/send/send01/todate" class="input_search" inputtype="date" maxlength="6" format="yyyy-mm" style="left:480px; top:9px; width:85px; height:19px; "/> <input id="ipt_pid" ref="/root/send/send01/patnm" class="input_search" inputtype="button" style="left:694px; top:32px; width:100px; height:19px; "/> <script type="javascript" ev:event="onbuttonclick"> <![CDATA[ if (ipt_pid.value) { model.setValue("/root/hidden/sppmc02500/cond/srchcond", "1"); // °Ë»öÁ¶°Ç : µî·Ï¹øÈ£·Î ¼³Á¤ model.setValue("/root/hidden/sppmc02500/cond/pid", ipt_pid.value); } else { model.resetInstanceNode("/root/hidden/sppmc02500/cond"); } modal("SPPMC02500", 1,150, 150, "SPPMC02500", "/root/hidden/sppmc02500/cond", "/root/send"); var srch_pid = model.getValue("/root/main/patinfo/patinfolist/pid"); ipt_pid.value = model.getValue("/root/main/patinfo/patinfolist/pid"); ipt_patnm.value = model.getValue("/root/main/patinfo/patinfolist/hngnm"); model.refresh(); ]]> </script> <input id="ipt_patnm" ref="/root/send/send01/pid" style="left:800px; top:32px; width:59px; height:19px; "/> <select id="chk401" ref="/root/send/send01/chk401" overflow="visible" appearance="full" style="left:918px; top:31px; width:95px; height:20px; border-style:none; "> <choices> <item> <label>µ¿ÀǼ­ ¾øÀ½</label> <value>N</value> </item> </choices> </select> </group> <select1 id="radio1" ref="/root/send/send01/ioflag" class="radio_search" appearance="full" cols="3" rows="1" overflow="visible" style="left:102px; top:21px; width:143px; height:16px; font-weight:bold; border-style:none; "> <choices> <item> <label>Àüü</label> <value>1</value> </item> <item> <label>ÀÔ¿ø</label> <value>2</value> </item> <item> <label>¿Ü·¡</label> <value>3</value> </item> </choices> </select1> <select1 id="radio2" ref="/root/send/send01/endyn" class="radio_search" appearance="full" cols="3" rows="1" overflow="visible" style="left:102px; top:45px; width:153px; height:15px; font-weight:bold; border-style:none; "> <choices> <item> <label>Àüü</label> <value>1</value> </item> <item> <label>¿Ï·á</label> <value>2</value> </item> <item> <label>¹Ì¿Ï·á</label> <value>3</value> </item> </choices> </select1> <caption id="caption4" class="tit_2" style="left:6px; top:300px; width:144px; height:14px; ">ºÐ½É ¹× ºÐ½É°áÁ¤³»¿ª</caption> <line id="line2" class="line_1" style="x1:0px; y1:315px; x2:1194px; y2:315px; "/> <line id="line10" class="line_3" style="x1:0px; y1:288px; x2:1194px; y2:288px; "/> <caption id="caption8" class="tit_2" style="left:5px; top:244px; width:95px; height:14px; ">ºÐ½É°áÁ¤Á¤º¸</caption> <caption id="caption27" class="cell_1" style="left:0px; top:265px; width:103px; height:21px; vertical-align:middle; ">ºÐ½É°áÁ¤µµÂøÀÏÀÚ</caption> <caption id="caption16" class="cell_1" style="left:211px; top:265px; width:84px; height:21px; vertical-align:middle; ">ºÐ½ÉÁ¢¼ö¹øÈ£</caption> <caption id="caption9" class="cell_1" style="left:403px; top:265px; width:48px; height:21px; vertical-align:middle; ">´ã´çÀÚ</caption> <caption id="caption12" class="cell_1" style="left:559px; top:266px; width:72px; height:20px; vertical-align:middle; ">´ã´ç½É»ç¿ª</caption> <line id="line3" class="line_1" style="x1:0px; y1:259px; x2:1194px; y2:259px; "/> <caption id="caption11" class="tit_2" style="left:6px; top:635px; width:147px; height:14px; ">´äº¯¼­³»¿ë</caption> <line id="line4" class="line_1" style="x1:0px; y1:650px; x2:800px; y2:650px; "/> <caption id="caption13" class="tit_2" style="left:811px; top:635px; width:152px; height:13px; ">÷ºÎÀÚ·á</caption> <line id="line5" class="line_1" style="x1:805px; y1:650px; x2:995px; y2:650px; "/> <button id="button13" class="btn2_letter2" style="left:1084px; top:238px; width:42px; height:19px; "> <caption>ÀúÀå</caption> <script type="javascript" ev:event="onclick"> <![CDATA[ var cnt = 0; for(var i=1;i<grd_pifmtrds.rows;i++) { if(grd_pifmtrds.rowStatus(i) == 1 || grd_pifmtrds.rowStatus(i) == 2 || grd_pifmtrds.rowStatus(i) == 3) { ++cnt; } } if(cnt > 0) { if(ipt_tddecidocuarvdd.value == "") { messageBox("ºÐ½É°áÁ¤µµÂøÀÏÀÚ¸¦","C001"); model.setFocus("ipt_tddecidocuarvdd"); return false; } if(ipt_tdcomstotamt.value == "") { messageBox("ºÐ½É¼ö¼ö·á¸¦","C001"); model.setFocus("ipt_tdcomstotamt"); return false; } for(var i=1;i<grd_pifmtrds.rows;i++) { if ( grd_pifmtrds.rowStatus(i) == 2 ) { // ¼öÁ¤ »óÅÂÀÎ °Í¸¸ ÀúÀå if(grd_pifmtrds.valueMatrix(i, grd_pifmtrds.colRef("tddecidayqty")) == "") { var lnno = grd_pifmtrds.valueMatrix(i, grd_pifmtrds.colRef("lnno")); messageBox("ÁÙ¹øÈ£ "+lnno+"ÀÇ ºÐ½É°áÁ¤ÀÏÅõ¸¦","C001"); return false; } if(grd_pifmtrds.valueMatrix(i, grd_pifmtrds.colRef("tddecitotqty")) == "") { var lnno = grd_pifmtrds.valueMatrix(i, grd_pifmtrds.colRef("lnno")); messageBox("ÁÙ¹øÈ£ "+lnno+"ÀÇ ºÐ½É°áÁ¤ÃÑÅõ¸¦","C001"); return false; } if(grd_pifmtrds.valueMatrix(i, grd_pifmtrds.colRef("tddecicutamt")) == "") { var lnno = grd_pifmtrds.valueMatrix(i, grd_pifmtrds.colRef("lnno")); messageBox("ÁÙ¹øÈ£ "+lnno+"ÀÇ ºÐ½É°áÁ¤»è°¨¾×À»","C001"); return false; } model.setValue("/root/main/list01/tdinfodetl/gridpifmtrds["+i+"]/tdcomsamt", ipt_tdcomstotamt.value); // ºÐ½É¼ö¼ö·á ¼¼ÆÃ model.setValue("/root/main/list01/tdinfodetl/gridpifmtrds["+i+"]/tddecidocuarvdd", ipt_tddecidocuarvdd.value); // ºÐ½É°áÁ¤µµÂøÀÏÀÚ ¼¼ÆÃ model.setValue("/root/main/list01/tdinfodetl/gridpifmtrds["+i+"]/paylimitdd", ipt_paylimitdd.value); // ³³ÀÓ±âÇÑÀÏÀÚ ¼¼ÆÃ model.setValue("/root/main/list01/tdinfodetl/gridpifmtrds["+i+"]/judgno", ipt_judgno.value); // ½É»ç¹øÈ£ ¼¼ÆÃ // grd_pifmtrds.valueMatrix(i,41) = ipt_tddecidocuarvdd.value; // ±×¸®µå¿¡ ºÐ½É°áÁ¤µµÂøÀÏÀÚ ¼¼ÆÃ // grd_pifmtrds.valueMatrix(i,22) = ipt_tdcomstotamt.value; // ±×¸®µå¿¡ ºÐ½É¼ö¼ö·á ¼¼ÆÃ // grd_pifmtrds.valueMatrix(i,42) = ipt_paylimitdd.value; // ±×¸®µå¿¡ ³³ÀÔ±âÇÑÀÏÀÚ ¼¼ÆÃ // grd_pifmtrds.valueMatrix(i,43) = ipt_judgno.value; // ±×¸®µå¿¡ ½É»ç¹øÈ£ ¼¼ÆÃ } } model.setValue("/root/main/list02/gridpifmtrds", grd_pifmtrds.getUpdateData()); submit("TXPIF70601"); // Insert ¶Ç´Â Update model.resetInstanceNode("/root/main/list01"); // ÀçÁ¶È¸ if ( submit("TRPIF70601") ) { fCheckPreData(); } // ÷ºÎÀÚ·á ¹× ±âŸ ÷ºÎÀÚ·á Box ºñȰ¼º ¹× °ª ÃʱâÈ­ chkbox_attdocu.value= ""; txtbox_attetc.value= ""; txtar_answdocucnts.value= ""; chkbox_attdocu.disabled=true; txtbox_attetc.disabled=true; } ]]> </script> </button> <button id="btn_newreg" class="btn2_letter6" style="left:897px; top:238px; width:86px; height:19px; "> <caption>½Å±Ô»è°¨µî·Ï</caption> </button> <button id="btn_rowdel" class="btn2_letter3" style="left:985px; top:238px; width:53px; height:19px; "> <caption>Çà»èÁ¦</caption> </button> <output id="opt_perchrgnm" ref="/root/main/list01/tdinfodetl/tdinfo/perchrgnm" class="output_fix" style="left:455px; top:266px; width:100px; height:19px; "/> <output id="opt_chrgjudgnm" ref="/root/main/list01/tdinfodetl/tdinfo/chrgjudgnm" class="output_fix" style="left:635px; top:266px; width:100px; height:19px; "/> <output id="opt_tdacptno" ref="/root/main/list01/tdinfodetl/tdinfo/tdacptno" class="output_fix" style="left:299px; top:266px; width:100px; height:19px; "/> <datagrid id="grd_pifmtrds" nodeset="/root/main/list01/tdinfodetl/gridpifmtrds" class="datagrid2" caption="^ÁÙ ¹øÈ£^Ç׸ñ^Á¶Á¤ »çÀ¯^±¸ºÐ^±×·ìÄÚµå^¼ö°¡ÄÚµå^EDIÄÚµå^󹿏íĪ^´Ü°¡^û±¸ ÀÏÅõ^û±¸ ÃÑÅõ^û±¸¾×^Á¶Á¤ ÀÏÅõ^Á¶Á¤ ÃÑÅõ^Á¶Á¤ ±Ý¾×^µ¿ÀÇ ÀÏÅõ^µ¿ÀÇ ÃÑÅõ^µ¿ÀǾ×^ºÐ½É ÀÏÅõ^ºÐ½É ÃÑÅõ^ºÐÀï°¡¾×^ºÐ½É°áÁ¤ ÀÏÅõ^ºÐ½É°áÁ¤ ÃÑÅõ^ºÐ½É°áÁ¤ »è°¨¾×^ºÐ½É°áÁ¤¾×^caption2" colsep="^" colwidth="25, 34, 40, 35, 32, 80, 80, 75, 142, 59, 36, 36, 68, 34, 34, 68, 36, 36, 69, 36, 36, 69, 55, 55, 76, 76, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" defaultrows="1" ellipsis="true" extendlastcol="scroll" frozencols="9" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="35" rowsep="|" tooltip="true" style="left:0px; top:320px; width:1194px; height:273px; "> <col checkvalue="Y,N" ref="chkbox" type="checkbox"/> <col ref="lnno" name="ÁÙ¹øÈ£" style="text-align:center; "/> <col ref="item" name="Ç׸ñ" style="text-align:center; "/> <col ref="adjtcd" name="Á¶Á¤»çÀ¯" style="text-align:center; "/> <col ref="matractflag" type="combo" name="I/II±¸ºÐ" style="text-align:center; "> <choices> <item> <label>Àç·á</label> <value>1</value> </item> <item> <label>ÇàÀ§</label> <value>2</value> </item> </choices> </col> <col ref="grupcalcscorcd" name="±×·ìÄÚµå" style="text-align:center; "/> <col ref="snglcalcscorcd" name="¼ö°¡ÄÚµå"/> <col ref="edicd" name="EDIÄÚµå"/> <col ref="hngnm" name="󹿏íĪ"/> <col ref="unitcost" format="#,###" name="´Ü°¡" style="text-align:right; "/> <col ref="clamdayqty" name="û±¸ÀÏÅõ" style="text-align:center; "/> <col ref="clamtotqty" name="û±¸ÃÑÅõ" style="text-align:center; "/> <col ref="clamamt" format="#,###" style="text-align:right; "/> <col ref="adjtdayqty" style="text-align:center; "/> <col ref="adjttotqty" style="text-align:center; "/> <col ref="adjtamt" format="#,###" style="text-align:right; "/> <col ref="aprvdayqty" name="µ¿ÀÇÀÏÅõ" style="text-align:center; "/> <col ref="aprvtotqty" name="µ¿ÀÇÃÑÅõ" style="text-align:center; "/> <col ref="aprvamt" format="#,###" name="µ¿ÀǾ×" style="text-align:right; "/> <col ref="tddayqty" name="ºÐ½ÉÀÏÅõ" style="text-align:center; "/> <col ref="tdtotqty" name="ºÐ½ÉÃÑÅõ" style="text-align:center; "/> <col ref="trobamt" format="#,###" name="ºÐÀï°¡¾×" style="text-align:right; "/> <col ref="tddecidayqty" type="input" name="ºÐ½É°áÁ¤ÀÏÅõ" style="text-align:center; "/> <col ref="tddecitotqty" type="input" name="ºÐ½É°áÁ¤ÃÑÅõ" style="text-align:center; "/> <script type="javascript" ev:event="xforms-value-changed"> <![CDATA[ if(grd_pifmtrds.col == grd_pifmtrds.colRef("tddecitotqty")) { var row = grd_pifmtrds.row; var tddecitotamt = Number(opt_tddecitotamt.value); // ºÐ½É°áÁ¤ÃÑ¾× var tddecicuttotamt = Number(opt_tddecicuttotamt.value); // ºÐ½É°áÁ¤»è°¨ÃÑ¾× var unitcost = Number(grd_pifmtrds.valueMatrix(row, grd_pifmtrds.colRef("unitcost"))); // ´Ü°¡ var tddecitotqty = Number(grd_pifmtrds.valueMatrix(row, grd_pifmtrds.colRef("tddecitotqty"))); // ºÐ½É°áÁ¤ÃÑÅõ var tddeciamt = unitcost * tddecitotqty; // ºÐ½É°áÁ¤¾×(´Ü°¡*ºÐ½É°áÁ¤ÃÑÅõ) var trobamt = Number(grd_pifmtrds.valueMatrix(row, grd_pifmtrds.colRef("trobamt"))); // ºÐÀï°¡¾× var tddecicutamt = trobamt - tddeciamt; // ºÐ½É°áÁ¤»è°¨¾×(ºÐÀï°¡¾× - ºÐ½É°áÁ¤¾×) var tdcomsamt = 0; // ºÐ½É¼ö¼ö·á grd_pifmtrds.valueMatrix(row, grd_pifmtrds.colRef("tddeciamt")) = tddeciamt; // ±×¸®µå È÷µçÀÇ ºÐ½É°áÁ¤¾× ¼¼ÆÃ grd_pifmtrds.valueMatrix(row, grd_pifmtrds.colRef("tddecicutamt")) = tddecicutamt; // ±×¸®µå¿¡ ºÐ½É°áÁ¤»è°¨¾× ¼¼ÆÃ tddecitotamt += tddeciamt; // ºÐ½É°áÁ¤ÃÑ¾× Ãß°¡ tddecicuttotamt += tddecicutamt; // ºÐ½É°áÁ¤»è°¨ÃÑ¾× Ãß°¡ opt_tddecitotamt.value = tddecitotamt; opt_tddecicuttotamt.value = tddecicuttotamt; opt_tdtotamt.value = tddecitotamt + tdcomsamt; } if(grd_pifmtrds.col == grd_pifmtrds.colRef("chkbox")) { if ( grd_pifmtrds.valueMatrix(grd_pifmtrds.row, grd_pifmtrds.colRef("chkbox")) == "Y" ) { grd_pifmtrds.rowStatus(grd_pifmtrds.row) = 2; grd_pifmtrds.valueMatrix(grd_pifmtrds.row, grd_pifmtrds.colRef("tddecidayqty")) = grd_pifmtrds.valueMatrix(grd_pifmtrds.row, grd_pifmtrds.colRef("tddayqty")); grd_pifmtrds.valueMatrix(grd_pifmtrds.row, grd_pifmtrds.colRef("tddecitotqty")) = grd_pifmtrds.valueMatrix(grd_pifmtrds.row, grd_pifmtrds.colRef("tdtotqty")); grd_pifmtrds.valueMatrix(grd_pifmtrds.row, grd_pifmtrds.colRef("tddecicutamt")) = grd_pifmtrds.valueMatrix(grd_pifmtrds.row, grd_pifmtrds.colRef("trobamt")); } else { grd_pifmtrds.rowStatus(grd_pifmtrds.row) = 0; grd_pifmtrds.valueMatrix(grd_pifmtrds.row, grd_pifmtrds.colRef("tddecidayqty")) = ""; grd_pifmtrds.valueMatrix(grd_pifmtrds.row, grd_pifmtrds.colRef("tddecitotqty")) = ""; grd_pifmtrds.valueMatrix(grd_pifmtrds.row, grd_pifmtrds.colRef("tddecicutamt")) = ""; } } ]]> </script> <col ref="tddecicutamt" type="input" format="#,###" name="ºÐ½É°áÁ¤»è°¨¾×" style="text-align:right; "/> <col ref="tddeciamt" format="#,###" name="ºÐ½É°áÁ¤¾×" style="text-align:right; "/> <col ref="tdcomsamt" visibility="hidden" name="ºÐ½É¼ö¼ö·á"/> <col ref="clamno" visibility="hidden" name="û±¸¹øÈ£"/> <col ref="docuseqno" visibility="hidden" name="¸íÀÏ·Ã"/> <col ref="instcd" visibility="hidden" name="±â°üÄÚµå"/> <col ref="acptno" visibility="hidden" name="Á¢¼ö¹øÈ£"/> <col ref="ediunitcost" visibility="hidden" name="edi´Ü°¡"/> <col ref="docuflag" visibility="hidden" name="¼­½Ä±¸ºÐ"/> <col ref="attdocu" visibility="hidden" name="÷ºÎÀÚ·á"/> <col ref="attetc" visibility="hidden" name="±âŸ÷ºÎÀÚ·á"/> <col ref="answdocucnts" visibility="hidden" name="´äº¯¼­"/> <col ref="tdacptdd" visibility="hidden" name="ºÐ½ÉÁ¢¼öÀÏÀÚ"/> <col ref="tdacptno" visibility="hidden" name="ºÐ½ÉÁ¢¼ö¹øÈ£"/> <col ref="chrgjudgnm" visibility="hidden" name="´ã´ç½É»ç¿ª"/> <col ref="tddecidocuarvdd" visibility="hidden" name="ºÐ½É°áÁ¤µµÂøÀÏÀÚ"/> <col ref="paylimitdd" visibility="hidden" name="³³ÀÔ±âÇÑÀÏÀÚ"/> <col ref="judgno" visibility="hidden" name="½É»ç¹øÈ£"/> <col ref="insucmpymark" visibility="hidden" name="º¸Çè»ç±âÈ£"/> <col ref="dg" visibility="hidden" name="Â÷¼ö"/> <script type="javascript" ev:event="onrowchanged"> <![CDATA[ // onrowchanged - ±×¸®µå ·Î¿ì¸¦ Ŭ¸¯Çϸé ÇÏ´Ü ´äº¯¼­ ³»¿ë, ÷ºÎÀÚ·á, ±âŸ ÷ºÎÀÚ·á TEXT °ªÀ» ¼ÂÆÃÇϱâ À§ÇÑ À̺¥Æ® chkbox_attdocu.disabled = false; var row_cnt = grd_pifmtrds.row; if(row_cnt <= 0) { return false; } chkbox_attdocu.value = ""; model.setValue("/root/main/list03/attdocu", grd_pifmtrds.valueMatrix(row_cnt, grd_pifmtrds.colRef("attdocu"))); model.setValue("/root/main/list03/attetc", grd_pifmtrds.valueMatrix(row_cnt, grd_pifmtrds.colRef("attetc"))); model.setValue("/root/main/list03/answdocucnts", grd_pifmtrds.valueMatrix(row_cnt, grd_pifmtrds.colRef("answdocucnts"))); var attdocu = chkbox_attdocu.value; var size = attdocu.length; var cnt = 0; for(var i=0;i<=size;i++) { var temp = attdocu.substring(i,i+1); if(temp == "0") { cnt++; } } if(cnt > 0) { txtbox_attetc.disabled = false; } else { txtbox_attetc.disabled = true; } chkbox_attdocu.refresh(); txtar_answdocucnts.refresh(); txtbox_attetc.refresh(); ]]> </script> <script type="javascript" ev:event="onkeyup"> <![CDATA[ // 2010.04.19 ±â´É Ãß°¡ if(event.keyCode == "13") { var cur_col = grd_pifmtrds.col; // colÀ» ¹Ì¸® ÀúÀåÇØ µÎÁö ¾ÊÀ¸¸é if¹® Ÿ°í ³»·Á°¡¸é¼­ ÇöÀç col·Î ¹Ù²¸¼­ »ß²Ù ³³´Ï´Ù. model.setFocus("body"); model.setFocus("grd_pifmtrds"); if ( cur_col == grd_pifmtrds.colRef("tddecidayqty") ) { grd_pifmtrds.col = grd_pifmtrds.colRef("tddecitotqty"); grd_pifmtrds.dispatch("onentercell"); grd_pifmtrds.editCell(); } if ( cur_col == grd_pifmtrds.colRef("tddecitotqty") ) { grd_pifmtrds.col = grd_pifmtrds.colRef("tddecicutamt"); grd_pifmtrds.dispatch("onentercell"); grd_pifmtrds.editCell(); } } ]]> </script> </datagrid> <select1 id="rdo_termflag" ref="/root/send/send01/termflag" class="radio_search" appearance="full" cols="1" rows="3" overflow="visible" style="left:295px; top:14px; width:75px; height:48px; font-weight:bold; border-style:none; "> <choices> <item> <label>û±¸¿ù</label> <value>1</value> </item> <item> <label>Áø·á¿ù</label> <value>2</value> </item> <item> <label>ÀÔ±ÝÀÏÀÚ</label> <value>3</value> </item> </choices> <script type="javascript" ev:event="xforms-select"> <![CDATA[ if(rdo_termflag.value == "3") { ipt_fromdate.attribute("format") = "yyyy-mm-dd"; ipt_todate.attribute("format") = "yyyy-mm-dd"; ipt_todate.attribute("maxlength") = 8; model.refresh(); } if(rdo_termflag.value == "1" || rdo_termflag.value == "2") { ipt_fromdate.attribute("format") = "yyyy-mm"; ipt_todate.attribute("format") = "yyyy-mm"; ipt_todate.attribute("maxlength") = 6; model.refresh(); } ]]> </script> </select1> <datagrid id="grd_patbaseinfo" nodeset="/root/main/list01/patbaseinfo/gridpatbaseinfo" class="datagrid" caption="¼Õº¸»ç^û±¸¿ù^³»¿øÀ¯Çü^µî·Ï¹øÈ£^¼öÁøÀÚ¸í^Áø·á°ú^ÀÔ¿øÀÏ^Åð¿øÀÏ^Àç¿ø±â°£^»ç°íÁ¢¼ö¹øÈ£" colsep="^" colwidth="120, 110, 110, 110, 110, 110, 110, 110, 110, 122" dataheight="25" defaultrows="1" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="35" rowsep="|" style="left:0px; top:105px; width:1194px; height:125px; "> <col ref="insucdnm" style="text-align:center; "/> <col ref="clamym" format="yyyy-mm" style="text-align:center; "/> <col disabled="true" ref="ioflag" type="combo" style="text-align:center; "> <choices> <itemset nodeset="/root/init/P0028list/P0028"> <label ref="cdnm"/> <value ref="cdid"/> </itemset> </choices> </col> <col ref="pid" style="text-align:center; "/> <col ref="patnm" style="text-align:center; "/> <col ref="orddeptnm" style="text-align:center; "/> <col ref="indd" format="yyyy-mm-dd" style="text-align:center; "/> <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/> <col ref="interm" style="text-align:center; "/> <col ref="acdacptno" style="text-align:center; "/> <col ref="orddeptcd" visibility="hidden"/> <col ref="clamno" visibility="hidden"/> <col ref="docuseqno" visibility="hidden"/> <col ref="docuflag" visibility="hidden"/> <col ref="clamdg" visibility="hidden"/> <col ref="pidsn" visibility="hidden"/> <script type="javascript" ev:event="onclick"> <![CDATA[ if( grd_patbaseinfo.isCell(event.target) && grd_patbaseinfo.row >= grd_patbaseinfo.fixedRows ){ model.removenode("/root/main/list01/tdinfodetl"); var row = grd_patbaseinfo.row; model.setValue("/root/send/send03/clamno", model.getValue("/root/main/list01/patbaseinfo/gridpatbaseinfo["+row+"]/clamno")); model.setValue("/root/send/send03/docuseqno", model.getValue("/root/main/list01/patbaseinfo/gridpatbaseinfo["+row+"]/docuseqno")); model.setValue("/root/send/send03/docuflag", model.getValue("/root/main/list01/patbaseinfo/gridpatbaseinfo["+row+"]/docuflag")); model.setValue("/root/send/send03/clamym", model.getValue("/root/main/list01/patbaseinfo/gridpatbaseinfo["+row+"]/clamym")); model.setValue("/root/send/send03/clamdg", model.getValue("/root/main/list01/patbaseinfo/gridpatbaseinfo["+row+"]/clamdg")); model.setValue("/root/send/send03/pid", model.getValue("/root/main/list01/patbaseinfo/gridpatbaseinfo["+row+"]/pid")); model.setValue("/root/send/send03/pidsn", model.getValue("/root/main/list01/patbaseinfo/gridpatbaseinfo["+row+"]/pidsn")); model.setValue("/root/send/send03/chk401", model.getValue("/root/send/send01/chk401")); if ( submit("TRPIF70603") ) { fCheckPreData(); } var tddecidocuarvdd = model.getValue("root/main/list01/tdinfodetl/tdinfo/tddecidocuarvdd"); if(tddecidocuarvdd != "") { var rows = grd_pifmtrds.rows; var trobtotamt = 0; // ºÐÀï°¡ÃÑ¾× var tddecitotamt = 0; // ºÐ½É°áÁ¤ÃÑ¾× var tddecicuttotamt = 0; // ºÐ½É°áÁ¤»è°¨ÃÑ¾× (ºÐÀï°¡ÃÑ¾× - ºÐ½É°áÁ¤ÃѾ×) var tdtotamt = 0; // ºÐ½ÉÃÑ¾× (ºÐ½É°áÁ¤ÃÑ¾× + ºÐ½É¼ö¼ö·á) var tdcomstotamt = 0; // ºÐ½É¼ö¼ö·á for(var i=1;i<rows;i++) { trobtotamt += Number(model.getValue("root/main/list01/tdinfodetl/gridpifmtrds["+i+"]/trobamt")); // ºÐÀï°¡ÃÑ¾× tddecitotamt += Number(model.getValue("root/main/list01/tdinfodetl/gridpifmtrds["+i+"]/tddeciamt")); // ºÐ½É°áÁ¤ÃÑ¾× } tddecicuttotamt = trobtotamt - tddecitotamt; // ºÐ½É°áÁ¤»è°¨¾× tdcomstotamt = Number(ipt_tdcomstotamt.value); // ºÐ½É¼ö¼ö·á opt_trobtotamt.value = trobtotamt; // ºÐÀï°¡ÃÑ¾× ¼¼ÆÃ opt_tddecitotamt.value = tddecitotamt; // ºÐ½É°áÁ¤ÃÑ¾× ¼¼ÆÃ opt_tddecicuttotamt.value = tddecicuttotamt; // ºÐ½É°áÁ¤»è°¨ÃÑ¾× ¼¼ÆÃ opt_tdtotamt.value = tddecitotamt + tdcomstotamt; // ºÐ½ÉÃÑ¾× ¼¼ÆÃ } else { var rows = grd_pifmtrds.rows; var trobtotamt = 0; // ºÐÀï°¡ÃÑ¾× for(var i=1;i<rows;i++) { trobtotamt += Number(model.getValue("root/main/list01/tdinfodetl/gridpifmtrds["+i+"]/trobamt")); } opt_trobtotamt.value = trobtotamt; } txtar_answdocucnts.value = ""; chkbox_attdocu.value = ""; chkbox_attdocu.disabled = true; } ]]> </script> </datagrid> <select id="chkbox_attdocu" ref="/root/main/list03/attdocu" overflow="visible" appearance="full" cols="2" rows="5" style="left:805px; top:655px; width:190px; height:86px; border-style:none; "> <choices> <item> <label>ÀÀ±Þ½Ç±â·ÏÁö</label> <value>1</value> </item> <item> <label>Åõ¾à±â·ÏÁö</label> <value>2</value> </item> <item> <label>°æ°ú±â·ÏÁö</label> <value>3</value> </item> <item> <label>°£È£±â·ÏÁö</label> <value>4</value> </item> <item> <label>ÀÇ»ç¸í·ÉÁö</label> <value>5</value> </item> <item> <label>°Ë»ç°á°úÁö</label> <value>6</value> </item> <item> <label>¼ö¼ú±â·ÏÁö</label> <value>7</value> </item> <item> <label>¹æ»ç¼±°á°úÁö</label> <value>8</value> </item> <item> <label>¸¶Ãë±â·ÏÁö</label> <value>9</value> </item> <item> <label>±âŸ</label> <value>0</value> </item> </choices> <!-- ÷ºÎÀÚ·á Ã¼Å©ÇØÁ¦½Ã--> <script type="javascript" ev:event="xforms-deselect"> <![CDATA[ var attdocu = chkbox_attdocu.value; var size = attdocu.length; var cnt = 0; var row = grd_pifmtrds.row; for(var i=0;i<=size;i++) { var temp = attdocu.substring(i,i+1); if(temp == "0") { cnt++; } } if(cnt > 0) { if(txtbox_attetc.value == "") { messageBox("±âŸ ÷ºÎÀڷḦ ¼ö±â","C001"); txtbox_attetc.disabled = false; model.setFocus("txtbox_attetc"); } } else { txtbox_attetc.value = ""; txtbox_attetc.disabled = false; } model.setValue("/root/main/list01/tdinfodetl/gridpifmtrds["+row+"]/attdocu",chkbox_attdocu.value); // ÷ºÎÀÚ·á ÀνºÅϽº¿¡ º¯°æµÈ °ª ÀúÀå model.setValue("/root/main/list01/tdinfodetl/gridpifmtrds["+row+"]/attetc",txtbox_attetc.value); // ±âŸÀÚ·á ÀνºÅϽº¿¡ º¯°æµÈ °ª ÀúÀå if(grd_pifmtrds.rowStatus(row) == "0") { grd_pifmtrds.rowStatus(row) = "2"; } ]]> </script> <!-- ÷ºÎÀÚ·á üũ½Ã--> <script type="javascript" ev:event="xforms-select"> <![CDATA[ var attdocu = chkbox_attdocu.value; var row_cnt = grd_pifmtrds.row; if(grd_pifmtrds.rowStatus(row_cnt) == "0") { grd_pifmtrds.rowStatus(row_cnt) = "2"; } model.setValue("/root/main/list01/tdinfodetl/gridpifmtrds["+row_cnt+"]/attdocu",attdocu); var attdocu = chkbox_attdocu.value; var size = attdocu.length; var cnt = 0; for(var i=0;i<size;i++) { var temp = attdocu.substring(i,i+1); if(temp == "0") { cnt++; } } if(cnt > 0) { if(txtbox_attetc.value == "") { messageBox("±âŸ ÷ºÎÀڷḦ ¼ö±â","C001"); txtbox_attetc.disabled = false; model.setFocus("txtbox_attetc"); } } /* if(attdocu.substring(attdocu.length-1,attdocu.length)== "0") { if(txtbox_attetc.value == "") { messageBox("±âŸ ÷ºÎÀڷḦ ¼ö±â","C001"); txtbox_attetc.disabled = false; model.setFocus("txtbox_attetc"); } } */ ]]> </script> </select> <textarea id="txtbox_attetc" ref="/root/main/list03/attetc" disabled="true" style="left:1000px; top:655px; width:193px; height:86px; "> <script type="javascript" ev:event="xforms-value-changed"> <![CDATA[ var row_cnt = grd_pifmtrds.row; model.setValue("/root/main/list01/tdinfodetl/gridpifmtrds["+row_cnt+"]/attetc",txtbox_attetc.value); ]]> </script> </textarea> <caption id="caption14" class="tit_2" style="left:1004px; top:635px; width:147px; height:13px; ">±âŸ ÷ºÎÀÚ·á TEXT</caption> <line id="line6" class="line_1" style="x1:1000px; y1:650px; x2:1193px; y2:650px; "/> <textarea id="txtar_answdocucnts" ref="/root/main/list03/answdocucnts" style="left:0px; top:655px; width:800px; height:86px; "> <script type="javascript" ev:event="xforms-value-changed"> <![CDATA[ var row = grd_pifmtrds.row; if(row > 0) { if(grd_pifmtrds.rowStatus(row) == "0") { grd_pifmtrds.rowStatus(row) = "2"; } model.setValue("/root/main/list01/tdinfodetl/gridpifmtrds["+row+"]/answdocucnts",txtar_answdocucnts.value); } ]]> </script> </textarea> <caption id="caption15" class="cell_1" style="left:288px; top:598px; width:71px; height:24px; vertical-align:middle; ">ºÐÀï°¡ÃѾ×</caption> <caption id="caption17" class="cell_1" style="left:852px; top:598px; width:71px; height:24px; vertical-align:middle; ">ºÐ½É¼ö¼ö·á</caption> <caption id="caption18" class="cell_1" style="left:1029px; top:598px; width:60px; height:24px; vertical-align:middle; ">ºÐ½ÉÃѾ×</caption> <caption id="caption19" class="cell_1" style="left:465px; top:598px; width:83px; height:24px; vertical-align:middle; ">ºÐ½É°áÁ¤ÃѾ×</caption> <caption id="caption20" class="cell_1" style="left:647px; top:598px; width:107px; height:24px; vertical-align:middle; ">ºÐ½É°áÁ¤»è°¨ÃѾ×</caption> <line id="line7" class="line_3" style="x1:288px; y1:597px; x2:1192px; y2:597px; "/> <line id="line8" class="line_3" style="x1:288px; y1:622px; x2:1193px; y2:622px; "/> <button id="btn_print" class="btn2_letter2" style="left:1040px; top:238px; width:42px; height:19px; "> <caption>Ãâ·Â</caption> </button> <input id="ipt_tddecidocuarvdd" ref="/root/main/list01/tdinfodetl/tdinfo/tddecidocuarvdd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:107px; top:266px; width:100px; height:19px; "> <script type="javascript" ev:event="xforms-value-changed"> <![CDATA[ var rows = grd_pifmtrds.rows; for(var i=1;i<rows;i++) { // ¼öÁ¤µÈ °Í¸¸ ³¯Â¥ ¼ÂÆÃ if ( grd_pifmtrds.rowStatus(i) == "2" ) { model.setValue("/root/main/list01/tdinfodetl/gridpifmtrds["+i+"]/tddecidocuarvdd", ipt_tddecidocuarvdd.value); } } ]]> </script> </input> <output id="opt_tddecitotamt" class="output_fix" format="#,###" style="left:551px; top:600px; width:93px; height:19px; text-align:right; "/> <output id="opt_tddecicuttotamt" class="output_fix" format="#,###" style="left:757px; top:600px; width:92px; height:19px; text-align:right; "/> <output id="opt_tdtotamt" class="output_fix" format="#,###" style="left:1092px; top:600px; width:100px; height:19px; text-align:right; "/> <output id="opt_trobtotamt" class="output_fix" format="#,###" style="left:362px; top:600px; width:100px; height:19px; text-align:right; "/> <input id="ipt_tdcomstotamt" ref="/root/main/list01/tdinfodetl/tdinfo/tdcomsamt" class="input_s_essential" format="#,###" style="left:926px; top:600px; width:100px; height:19px; text-align:right; "> <script type="javascript" ev:event="xforms-value-changed"> <![CDATA[ opt_tdtotamt.value = Number(opt_tdtotamt.value) + Number(ipt_tdcomstotamt.value); ]]> </script> </input> <caption id="caption21" class="cell_1" style="left:739px; top:265px; width:62px; height:21px; vertical-align:middle; ">³³ÀÔ±âÇÑ</caption> <caption id="caption22" class="cell_1" style="left:908px; top:265px; width:62px; height:21px; vertical-align:middle; ">½É»ç¹øÈ£</caption> <input id="ipt_paylimitdd" ref="/root/main/list01/tdinfodetl/tdinfo/paylimitdd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:804px; top:266px; width:100px; height:19px; "> <script type="javascript" ev:event="xforms-value-changed"> <![CDATA[ var rows = grd_pifmtrds.rows; for(var i=1;i<rows;i++) { grd_pifmtrds.rowStatus(i) = "2"; model.setValue("/root/main/list01/tdinfodetl/gridpifmtrds["+i+"]/paylimitdd", ipt_paylimitdd.value); } ]]> </script> </input> <input id="ipt_judgno" ref="/root/main/list01/tdinfodetl/tdinfo/judgno" class="input_search" style="left:974px; top:266px; width:100px; height:19px; "> <script type="javascript" ev:event="xforms-value-changed"> <![CDATA[ var rows = grd_pifmtrds.rows; for(var i=1;i<rows;i++) { grd_pifmtrds.rowStatus(i) = "2"; model.setValue("/root/main/list01/tdinfodetl/gridpifmtrds["+i+"]/judgno", ipt_judgno.value); } ]]> </script> </input> </group> <group id="grp_btn" scroll="auto" style="left:0px; top:757px; width:1194px; height:27px; "> <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/> <button id="button45" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; "> <caption>´Ý±â</caption> <script type="javascript" ev:event="onclick"> <![CDATA[ window.close(); ]]> </script> </button> </group> <button id="button3" class="btn2_letter4" style="left:1128px; top:251px; width:64px; height:19px; "> <caption>¿¢¼¿ÀúÀå</caption> <script type="javascript" ev:event="onclick"> <![CDATA[ var today = new Date(); var yy = today.getYear()+""; var mm = today.getMonth()+1; var dd = today.getDate(); if(mm < 10) { mm = "0"+mm; } else { mm = mm+""; } if(dd < 10) { dd = "0" + dd; } else { dd = dd + ""; } var tmp = yy+mm+dd; var fileName = window.fileDialog("save", ",", false, "ºÐ½É°áÁ¤µî·Ï°ü¸®_"+tmp, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*"); if (fileName != "") { grd_pifmtrds.saveExcel(fileName, "SheetName", true, true, "", "", ""); } ]]> </script> </button> </xhtml:body> </xhtml:html>