VOC󸮿äû³»¿ë
I <contents/> <inputmode/> <receive_path/> </vocpopup> <vocdeltemp> <delacptdd/> <delacptseq/> <delrgstseq/> </vocdeltemp> <temp> <data> <srchacptdd1/> <srchacptdd2/> <srchacpttypecd/> <srchprcsstatcd/> <srchdeptcd/> <srchdeptnm/> <srchcintnm/> <srchpatnm/> </data> <key> <sndacptdd/> <sndacptseq/> </key> </temp> </main> <send> <data/> </send> <init> <C0003list> <cdid/> <cdnm/> </C0003list> <C0004list> <cdid/> <cdnm/> </C0004list> <C0005list> <cdid/> <cdnm/> </C0005list> <C0006list> <cdid/> <cdnm/> </C0006list> <C0007list> <cdid/> <cdnm/> </C0007list> <C0008list> <cdid/> <cdnm/> </C0008list> <C0009list> <cdid/> <cdnm/> </C0009list> </init> </root> </instance> <submission id="TRCVB00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/temp/key" resultref="/root/main/vocdata"/> <submission id="TRCVB00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/temp/key" resultref="/root/main/reqdata/list"/> <submission id="TXCVB00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/reqdata/area"/> <submission id="TXCVB00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/reqdata/area"/> <submission id="TXCVB00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/temp/key"/> <submission id="TXCVB00205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/vocdeltemp"/> <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" replace="instance"/> </model> <script type="javascript" ev:event="xforms-ready"> <![CDATA[ submit("TRCVB00201"); if( model.getValue("/root/main/vocdata/accept/acptkindlrg") == "C" ) { switch (model.getValue("/root/main/vocdata/accept/acptkindmdl")) { case "ES" : cmb_AcptKindSml.choices.itemset.attribute("nodeset") = "/root/init/C0005list/C0005"; zbcfGetCodeList( new Array("C0003", "C0004", "C0005"), new Array("/root/init/C0003list", "/root/init/C0004list", "/root/init/C0005list"), true ); break; case "PS" : cmb_AcptKindSml.choices.itemset.attribute("nodeset") = "/root/init/C0006list/C0006"; zbcfGetCodeList( new Array("C0003", "C0004", "C0006"), new Array("/root/init/C0003list", "/root/init/C0004list", "/root/init/C0006list"), true ); break; case "OS" : cmb_AcptKindSml.choices.itemset.attribute("nodeset") = "/root/init/C0007list/C0007"; zbcfGetCodeList( new Array("C0003", "C0004", "C0007"), new Array("/root/init/C0003list", "/root/init/C0004list", "/root/init/C0007list"), true ); break; case "NS" : cmb_AcptKindSml.choices.itemset.attribute("nodeset") = "/root/init/C0008list/C0008"; zbcfGetCodeList( new Array("C0003", "C0004", "C0008"), new Array("/root/init/C0003list", "/root/init/C0004list", "/root/init/C0008list"), true ); break; case "TS" : cmb_AcptKindSml.choices.itemset.attribute("nodeset") = "/root/init/C0009list/C0009"; zbcfGetCodeList( new Array("C0003", "C0004", "C0009"), new Array("/root/init/C0003list", "/root/init/C0004list", "/root/init/C0009list"), true ); break; default : zbcfGetCodeList( new Array("C0003", "C0004"), new Array("/root/init/C0003list", "/root/init/C0004list"), true ); break; } } else { zbcfGetCodeList( new Array("C0003"), new Array("/root/init/C0003list"), true ); } if( model.getValue("/root/main/vocdata/accept/prcsstat") != "Á¢¼ö¿Ï·á" ) { btn_req.disabled = true; btn_save.disabled = true; btn_reqall.disabled = true; btn_clear.disabled = true; } submit("TRCVB00202"); if (grd_reqlist.rows < 2){ btn_reqall.disabled = true; } else { } fCheckAuth(); model.refresh(); ]]> </script> <script type="javascript"> <![CDATA[ function fCheckAuth() { // ±ÇÇÑüũ if (!checkAuth("r")) { btn_list.disabled = true; btnsearch_dept.disabled = true; btnsearch_emp.disabled = true; btn_clear.disabled = true; } if (!checkAuth("x")) { btn_save.disabled = true; btn_req.disabled = true; btn_reqall.disabled = true; } if (!checkAuth("p")) { } } ]]> </script> <script type="javascript" src="../../../com/commonweb/js/common.js"/> <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/> <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/> <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/> </xhtml:head> <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; "> <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; "> <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:145px; height:13px; ">VOC 󸮿äû ³»¿ë</caption> </group> <group id="grp_Accept" style="left:225px; top:23px; width:970px; height:336px; "> <caption id="caption23" class="tit_2" style="left:5px; top:0px; width:119px; height:13px; ">µî·ÏµÈ Á¢¼ö³»¿ª</caption> <select id="chk_allopen" ref="/root/main/vocdata/accept/openallyn" disabled="true" overflow="visible" appearance="full" disable.background-color="transparent" style="left:814px; top:0px; width:156px; height:19px; font-weight:bold; border-style:none; "> <choices> <item> <label>¸ðµç ºÎ¼­¿¡ ³»¿ë °ø°³</label> <value>Y</value> </item> </choices> </select> <line id="line8" class="line_1" style="x1:0px; y1:15px; x2:970px; y2:15px; "/> <line id="line9" class="line_2" style="x1:0px; y1:42px; x2:970px; y2:42px; "/> <caption id="caption24" class="cell_1" style="left:0px; top:20px; width:105px; height:23px; text-align:center; vertical-align:middle; ">Á¢¼öÀÏÀÚ</caption> <output id="ipt_AcptViewDD" ref="/root/main/vocdata/accept/acpviewdd" class="output_fix" inputtype="date" style="left:108px; top:21px; width:130px; height:19px; "/> <caption id="caption25" class="cell_1" style="left:241px; top:20px; width:105px; height:23px; text-align:center; vertical-align:middle; ">Á¢¼ö¹øÈ£</caption> <output id="opt_AcptNo" ref="/root/main/vocdata/accept/acptseq" class="output_fix" inputtype="date" style="left:349px; top:21px; width:130px; height:19px; "/> <caption id="caption26" class="cell_1" style="left:483px; top:20px; width:105px; height:23px; text-align:center; vertical-align:middle; ">Á¢¼öÇüÅÂ</caption> <output id="ipt_GenrDD" ref="/root/main/vocdata/accept/genrdd" class="output_fix" style="left:591px; top:21px; width:130px; height:19px; "/> <caption id="caption3" class="cell_1" style="left:723px; top:20px; width:105px; height:23px; text-align:center; vertical-align:middle; ">¹Î¿øÀÎ</caption> <output id="ipt_CintNm" ref="/root/main/vocdata/accept/clntnm" class="output_fix" style="left:832px; top:21px; width:130px; height:19px; "/> <line id="line10" class="line_2" style="x1:0px; y1:66px; x2:970px; y2:66px; "/> <caption id="caption28" class="cell_1" style="left:0px; top:44px; width:105px; height:23px; text-align:center; vertical-align:middle; ">Á¢¼öÀ¯Çü</caption> <select1 id="cmb_AcptKindLrg" ref="/root/main/vocdata/accept/acptkindlrg" class="combo_default" disabled="true" appearance="minimal" style="left:108px; top:45px; width:120px; height:19px; "> <choices> <itemset nodeset="/root/init/C0003list/C0003"> <label ref="cdnm"/> <value ref="cdid"/> </itemset> </choices> </select1> <select1 id="cmb_AcptKindMdl" ref="/root/main/vocdata/accept/acptkindmdl" class="combo_default" disabled="true" appearance="minimal" style="left:230px; top:45px; width:120px; height:19px; "> <choices> <itemset nodeset="/root/init/C0004list/C0004"> <label ref="cdnm"/> <value ref="cdid"/> </itemset> </choices> </select1> <select1 id="cmb_AcptKindSml" ref="/root/main/vocdata/accept/acptkindsml" class="combo_default" disabled="true" appearance="minimal" style="left:352px; top:45px; width:127px; height:19px; "> <choices> <itemset nodeset="/root/init/C0005list/C0005"> <label ref="cdnm"/> <value ref="cdid"/> </itemset> </choices> </select1> <caption id="caption4" class="cell_1" style="left:723px; top:44px; width:105px; height:23px; text-align:center; vertical-align:middle; ">ÁøÇà»óÅÂ</caption> <output id="opt_PrcsStat" ref="/root/main/vocdata/accept/prcsstat" class="output_fix" style="left:832px; top:45px; width:130px; height:19px; "/> <line id="line12" class="line_2" style="x1:0px; y1:162px; x2:970px; y2:162px; "/> <caption id="caption29" class="cell_1" style="left:0px; top:68px; width:105px; height:95px; text-align:center; vertical-align:middle; "> <![CDATA[¹Î¿øÀÌ Á¦±âµÈ ºÎ¼­ ¹× Á÷¿ø]]> </caption> <datagrid id="grd_dept" nodeset="/root/main/vocdata/deptview" caption="ÇØ´çºÎ¼­^ºÎ¼­ÄÚµå^ÇØ´çÁ÷¿ø^Á÷¿øID^µî·Ï¼ø¼­" colwidth="150, 80, 100, 90, 0" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:108px; top:69px; width:450px; height:93px; "> <col class="text_center" ref="deptnm"/> <col class="text_center" ref="deptcd"/> <col class="text_center" ref="empnm"/> <col class="text_center" ref="empid"/> <col ref="rgstseq" visibility="hidden"/> <script type="javascript" ev:event="ondblclick"> <![CDATA[ var row = grd_dept.row; var s_deptnm = grd_dept.valueMatrix(row, grd_dept.colRef("deptnm")); var s_deptcd = grd_dept.valueMatrix(row, grd_dept.colRef("deptcd")); var s_prcsstat = model.getValue("/root/main/vocdata/accept/prcsstat"); if ((grd_dept.row > 0) && grd_dept.isCell(event.target)){ if ( s_prcsstat == "Á¢¼ö¿Ï·á" ){ if (grd_dept.row > 0){ model.resetInstanceNode("/root/main/reqdata/area"); model.setValue("/root/main/reqdata/area/savemode", "I"); model.setValue("/root/main/reqdata/area/reqdeptnm", s_deptnm); model.setValue("/root/main/reqdata/area/reqdeptcd", s_deptcd); btn_req.disabled = false; btn_save.disabled = false; model.refresh(); } else { } } else if ( s_prcsstat == "ȸ½Å¿äû"){ if (grd_dept.row > 0){ model.resetInstanceNode("/root/main/reqdata/area"); model.setValue("/root/main/reqdata/area/savemode", "I"); model.setValue("/root/main/reqdata/area/reqdeptnm", s_deptnm); model.setValue("/root/main/reqdata/area/reqdeptcd", s_deptcd); btn_req.disabled = false; model.refresh(); } else { } } else { } } else { } ]]> </script> </datagrid> <line id="line13" class="line_2" style="x1:0px; y1:186px; x2:970px; y2:186px; "/> <caption id="caption33" class="cell_1" style="left:0px; top:164px; width:105px; height:23px; text-align:center; vertical-align:middle; ">Á¦ ¸ñ</caption> <output id="ipt_AcptTitl" ref="/root/main/vocdata/accept/acpttitl" class="output_fix" style="left:108px; top:165px; width:850px; height:19px; "/> <line id="line14" class="line_3" style="x1:0px; y1:334px; x2:970px; y2:334px; "/> <caption id="caption34" class="cell_1" style="left:0px; top:188px; width:105px; height:147px; text-align:center; vertical-align:middle; "> <![CDATA[¹Î¿ø ³»¿ë]]> <script type="javascript" ev:event="ondblclick"> <![CDATA[ var s_contents = model.getValue("/root/main/vocdata/accept/acptcnts"); model.setValue("/root/main/vocpopup/title", "¹Î¿ø ³»¿ë"); model.setValue("/root/main/vocpopup/contents", s_contents); open("SPCVD00500", "", "", "", "SPCVD00500", "/root/main/vocpopup", "/root/main/vocpopup"); model.setValue("/root/main/vocpopup/title", ""); model.setValue("/root/main/vocpopup/contents", ""); model.refresh(); ]]> </script> </caption> <textarea id="tar_AcptCnts" ref="/root/main/vocdata/accept/acptcnts" scroll="vertical" editable="false" style="left:108px; top:189px; width:850px; height:143px; "/> <line id="line16" style="x1:590px; y1:189px; x2:590px; y2:332px; border-color:#c0c0c0; border-style:dotted; "/> <caption id="caption5" class="cell_1" style="left:483px; top:20px; width:105px; height:23px; text-align:center; vertical-align:middle; ">¹ß»ýÀÏÀÚ</caption> <caption id="caption6" class="cell_1" style="left:483px; top:44px; width:105px; height:23px; text-align:center; vertical-align:middle; ">Á¢¼ö±¸ºÐ</caption> <output id="cmb_AcptType" ref="/root/main/vocdata/accept/acpttype" class="output_fix" style="left:591px; top:45px; width:130px; height:19px; "/> </group> <caption id="caption15" class="search_no_b" style="left:662px; top:19px; width:48px; height:17px; ">µî·ÏÀÚ</caption> <output id="opt_fstrgstrnm" ref="/root/main/vocdata/accept/fstrgstrnm" class="output_fix" style="left:708px; top:18px; width:80px; height:19px; text-align:center; "/> <caption id="caption2" class="search_no_b" style="left:796px; top:19px; width:74px; height:17px; ">ÃÖÁ¾¼öÁ¤ÀÚ</caption> <output id="opt_lastupdtrnm" ref="/root/main/vocdata/accept/lastupdtrnm" class="output_fix" style="left:866px; top:18px; width:80px; height:19px; text-align:center; "/> <group id="grp_reqlist" style="left:225px; top:359px; width:970px; height:155px; "> <caption id="caption21" class="tit_2" style="left:5px; top:10px; width:341px; height:14px; ">¹Î¿ø´ã´çºÎ¼­¿¡¼­ ºÎ¼­ ´ã´çÀÚ¿¡°Ô 󸮿äûÀ» ÇÑ ¸ñ·Ï</caption> <button id="btn_delReq" class="btn2_letter9" style="left:357px; top:4px; width:119px; height:19px; "> <caption>ÀÓ½ÃÀúÀå ºÎ¼­ »èÁ¦</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ var row = grd_reqlist.row; var check_acptdd = model.getValue("/root/main/vocdata/accept/acptdd") ; var check_acptseq = model.getValue("/root/main/vocdata/accept/acptseq") ; var check_rgstseq = grd_reqlist.valueMatrix(row, grd_reqlist.colRef("rgstseq")); var check_replreqdd = grd_reqlist.valueMatrix(row, grd_reqlist.colRef("replreqdd")); if ((grd_reqlist.row > 0) && (grd_reqlist.col > 1)){ if (check_rgstseq == ""){ messageBox("¼±ÅÃµÈ ºÎ¼­°¡ ","I004"); model.SetFocus("grd_reqlist"); return false; } else { if ((check_rgstseq != "") && (check_replreqdd != "")){ messageBox("¼±ÅÃÇÑ ºÎ¼­´Â ÀÌ¹Ì Ã³¸®¿äûÀ» ÇÏ¿´À¸¹Ç·Î »èÁ¦ÇÏ½Ç ¼ö ","I004"); model.SetFocus("grd_reqlist"); return false; } else { model.makeValue("/root/main/vocdeltemp/delacptdd", check_acptdd); model.makeValue("/root/main/vocdeltemp/delacptseq", check_acptseq); model.makeValue("/root/main/vocdeltemp/delrgstseq", check_rgstseq); if (submit("TXCVB00205")){ messageBox("¼±ÅÃÇÑ ºÎ¼­¿¡ ´ëÇÑ ÀÓ½ÃÀúÀå³»¿ë »èÁ¦°¡ ", "I002"); submit("TRCVB00202"); model.resetInstanceNode("/root/main/vocdeltemp"); } model.refresh(); } } } else { messageBox("¼±ÅÃµÈ ºÎ¼­°¡ ","I004"); model.SetFocus("grd_reqlist"); return false; } ]]> </script> </button> <button id="btn_reqall" class="btn5_letter9" style="left:848px; top:4px; width:119px; height:19px; "> <caption>°ü·Ã ºÎ¼­ ¿äû ¿Ï·á</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ if (grd_reqlist.rows > 0){ for ( i = 1; i < grd_reqlist.rows; i++) { if (grd_reqlist.valueMatrix(i, grd_reqlist.colRef("replreqdd")) == ""){ messageBox(i+" ¹øÂ° ºÎ¼­¿¡ ´ëÇÏ¿© 󸮿äûÀÌ ÀÌ·ç¾îÁöÁö ¾Ê¾Æ ¸ðµç °ü·ÃºÎ¼­ ¿äû¿Ï·á󸮸¦ ","E001"); model.SetFocus("grd_reqlist"); return false; } } var rtn = messageBox("¸ðµç °ü·Ã ´ã´çºÎ¼­¿¡ ȸ½Å¿äûÀ» ¿Ï·áÇϼ̽À´Ï±î? 󸮿äûÀ» ¿Ï·á", "S001"); if(rtn == 6){ if (submit("TXCVB00203")){ btn_reqall.disabled = true; btn_req.disabled = true; btn_save.disabled = true; btn_clear.disabled = true; model.SetValue("/root/main/vocdata/accept/prcsstat", "ȸ½Å¿äû") messageBox("ÀÌ Á¢¼ö ³»¿ëÀÇ Àüü ÁøÇà»óŰ¡ ȸ½Å¿äûÀ¸·Î ¼öÁ¤", "I001"); model.refresh(); } } } else { messageBox("¿äû ºÎ¼­°¡ ¾ø´Â °æ¿ì¿¡´Â °ü·ÃºÎ¼­ ¿äû¿Ï·á󸮸¦ ","E001"); return false; } model.refresh(); ]]> </script> </button> <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:970px; y2:25px; "/> <datagrid id="grd_reqlist" nodeset="/root/main/reqdata/list/reqlist" allowselection="false" caption="´ã´çºÎ¼­^´ã´çÁ÷¿ø^ÁøÇà»óÅÂ^Á¢¼öÀÏÀÚ^ȸ½Å¿äûÀÏ^ºÎ¼­È®ÀÎÀÏ^°áÀç¿äûÀÏ^ºÎ¼­Àå°áÀç^ºÎ¼­Á¾°á^Àç¿äû^ºÎ¼­ÄÚµå^Á÷¿øID^Àǰß^µî·Ï¼ø¼­^Á¢¼ö¼ø¼­" colsep="^" colwidth="150, 85, 90, 90, 90, 90, 90, 90, 75, 60, 0, 0, 0, 0, 0" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:30px; width:970px; height:125px; "> <col class="text_center" ref="deptnm"/> <col class="text_center" ref="empnm"/> <col class="text_center" ref="prcsstat"/> <col class="text_center" ref="acptdd" format="yyyy-mm-dd"/> <col class="text_center" ref="replreqdd" format="yyyy-mm-dd"/> <col class="text_center" ref="replacptdd" format="yyyy-mm-dd"/> <col class="text_center" ref="innraprvreqdd" format="yyyy-mm-dd"/> <col class="text_center" ref="innraprvdd" format="yyyy-mm-dd"/> <col class="text_center" ref="endreqyn"/> <col class="text_center" ref="rereqyn"/> <col class="text_center" ref="deptcd" visibility="hidden"/> <col class="text_center" ref="empid" visibility="hidden"/> <col ref="csteamreqcnts" visibility="hidden"/> <col ref="rgstseq" visibility="hidden"/> <col ref="acptseq" visibility="hidden"/> <script type="javascript" ev:event="ondblclick"> <![CDATA[ var row = grd_reqlist.row; var receive_replreqdd = grd_reqlist.valueMatrix(row, grd_reqlist.colRef("replreqdd")); var receive_deptnm = grd_reqlist.valueMatrix(row, grd_reqlist.colRef("deptnm")); var receive_deptcd = grd_reqlist.valueMatrix(row, grd_reqlist.colRef("deptcd")); var receive_empnm = grd_reqlist.valueMatrix(row, grd_reqlist.colRef("empnm")); var receive_empid = grd_reqlist.valueMatrix(row, grd_reqlist.colRef("empid")); var receive_csteamreqcnts = grd_reqlist.valueMatrix(row, grd_reqlist.colRef("csteamreqcnts")); var receive_rgstseq = grd_reqlist.valueMatrix(row, grd_reqlist.colRef("rgstseq")); var receive_prcsstat = grd_reqlist.valueMatrix(row, grd_reqlist.colRef("prcsstat")); if ((grd_reqlist.row > 0) && grd_reqlist.isCell(event.target)){ model.setValue("/root/main/reqdata/area/reqreplreqdd", receive_replreqdd); model.setValue("/root/main/reqdata/area/reqdeptnm", receive_deptnm); model.setValue("/root/main/reqdata/area/reqdeptcd", receive_deptcd); model.setValue("/root/main/reqdata/area/reqempnm", receive_empnm); model.setValue("/root/main/reqdata/area/reqempid", receive_empid); model.setValue("/root/main/reqdata/area/reqcsteamreqcnts", receive_csteamreqcnts); model.setValue("/root/main/reqdata/area/reqrgstseq", receive_rgstseq); model.setValue("/root/main/reqdata/area/savemode", "U"); if( receive_prcsstat != "" ) { btn_req.disabled = true; btn_save.disabled = true; } else { btn_req.disabled = false; btn_save.disabled = false; } model.refresh(); } else { } ]]> </script> </datagrid> </group> <group id="grp_req" style="left:225px; top:516px; width:970px; height:235px; "> <caption id="caption11" class="tit_2" style="left:5px; top:10px; width:344px; height:13px; ">¹Î¿ø´ã´çºÎ¼­¿¡¼­ ºÎ¼­ ´ã´çÀÚ¿¡°Ô 󸮿äûÀ» ÇÑ ³»¿ë</caption> <line id="line5" class="line_1" style="x1:0px; y1:25px; x2:970px; y2:25px; "/> <line id="line6" class="line_2" style="x1:0px; y1:51px; x2:970px; y2:51px; "/> <caption id="caption12" class="cell_1" style="left:0px; top:30px; width:105px; height:23px; text-align:center; vertical-align:middle; ">¿äûÀÏÀÚ</caption> <output id="opt_ReplReq" ref="/root/main/reqdata/area/reqreplreqdd" class="output_fix" format="yyyy-mm-dd" appearance="output" style="left:108px; top:31px; width:130px; height:19px; "/> <caption id="caption13" class="cell_1" style="left:241px; top:30px; width:105px; height:23px; text-align:center; vertical-align:middle; ">´ã´çºÎ¼­</caption> <caption id="caption14" class="cell_1" style="left:597px; top:30px; width:105px; height:23px; text-align:center; vertical-align:middle; ">´ã´çÁ÷¿ø</caption> <button id="btnsearch_dept" class="icon_search" style="left:473px; top:33px; width:16px; height:16px; "> <caption/> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ var search_term1 = model.getValue("/root/main/reqdata/area/reqdeptcd"); var search_term2 = model.getValue("/root/main/reqdata/area/reqdeptnm"); if (( search_term2 != "") && ( search_term1 == "")) { var search_condition = "deptnm"; var search_term = search_term2; } else if ( search_term1 != "") { var search_condition = "deptcd"; var search_term = search_term1; } else { var search_condition = "deptnm"; var search_term = ""; } var receive_deptcd_path = "/root/main/reqdata/area/reqdeptcd"; var receive_deptnm_path = "/root/main/reqdata/area/reqdeptnm"; setParameter("search_condition", search_condition); setParameter("search_term", search_term); setParameter("receive_deptcd_path", receive_deptcd_path); setParameter("receive_deptnm_path", receive_deptnm_path); modal("SPCCM00300") clearParameter("search_condition"); clearParameter("search_term"); clearParameter("receive_deptcd_path"); clearParameter("receive_deptnm_path"); // zbcfOpenInstDeptCodeList(search_condition, search_term, receive_deptcd_path, receive_deptnm_path); ]]> </script> </button> <input id="ipt_DeptNm" ref="/root/main/reqdata/area/reqdeptnm" class="input_essential" style="left:349px; top:31px; width:120px; height:19px; "> <script type="javascript" ev:event="onkeyup"> <![CDATA[ inputEnterKey("btnsearch_dept", "DOMActivate"); ]]> </script> </input> <output id="ipt_DeptCd" ref="/root/main/reqdata/area/reqdeptcd" class="output_fix" style="left:492px; top:31px; width:100px; height:19px; "/> <button id="btnsearch_emp" class="icon_search" style="left:829px; top:32px; width:16px; height:16px; "> <caption/> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ if ( model.getValue("/root/main/reqdata/area/reqempid") != "" ){ var search_condition = "empid"; var search_term = model.getValue("/root/main/reqdata/area/reqempid"); } else if ( model.getValue("/root/main/reqdata/area/reqdeptcd") != "" ){ var search_condition = "deptcd"; var search_term = model.getValue("/root/main/reqdata/area/reqdeptcd"); } else { var search_condition = "empnm"; var search_term = model.getValue("/root/main/reqdata/area/reqempid"); } // var search_condition = "empid"; // var search_term = model.getValue("/root/main/vocdata/deptview/area/EmpID"); var receive_empid_path = "/root/main/reqdata/area/reqempid"; var receive_empnm_path = "/root/main/reqdata/area/reqempnm"; var receive_deptcd_path = "/root/main/reqdata/area/reqdeptcd"; var receive_deptnm_path = "/root/main/reqdata/area/reqdeptnm"; setParameter("search_condition", search_condition); setParameter("search_term", search_term); setParameter("receive_empid_path", receive_empid_path); setParameter("receive_empnm_path", receive_empnm_path); setParameter("receive_deptcd_path", receive_deptcd_path); setParameter("receive_deptnm_path", receive_deptnm_path); modal("SPCCM00400") clearParameter("search_condition"); clearParameter("search_term"); clearParameter("receive_empid_path"); clearParameter("receive_empnm_path"); clearParameter("receive_deptcd_path"); clearParameter("receive_deptnm_path"); ]]> </script> </button> <input id="ipt_EmpNm" ref="/root/main/reqdata/area/reqempnm" class="input_essential" editable="false" style="left:705px; top:31px; width:120px; height:19px; "> <script type="javascript" ev:event="onkeyup"> <![CDATA[ inputEnterKey("btnsearch_emp", "DOMActivate"); ]]> </script> </input> <output id="ipt_EmpId" ref="/root/main/reqdata/area/reqempid" class="output_fix" style="left:848px; top:31px; width:100px; height:19px; "/> <line id="line11" class="line_3" style="x1:0px; y1:233px; x2:970px; y2:233px; "/> <caption id="caption19" class="cell_1" style="left:0px; top:54px; width:105px; height:180px; text-align:center; vertical-align:middle; "> <![CDATA[¹Î¿ø´ã´çºÎ¼­ 󸮿äûÀǰß]]> <script type="javascript" ev:event="ondblclick"> <![CDATA[ var s_contents = model.getValue("/root/main/reqdata/area/reqcsteamreqcnts"); var receive_path = "/root/main/reqdata/area/reqcsteamreqcnts"; model.setValue("/root/main/vocpopup/title", "¹Î¿ø´ã´çºÎ¼­\n󸮿äûÀǰß"); model.setValue("/root/main/vocpopup/contents", s_contents); model.makeValue("/root/main/vocpopup/inputmode", "i"); model.makeValue("/root/main/vocpopup/receive_path", receive_path); open("SPCVD00500", "", "", "", "SPCVD00500", "/root/main/vocpopup", "/root/main/vocpopup"); model.setValue("/root/main/vocpopup/title", ""); model.setValue("/root/main/vocpopup/contents", ""); model.setValue("/root/main/vocpopup/inputmode", ""); model.setValue("/root/main/vocpopup/receive_path", ""); model.refresh(); ]]> </script> </caption> <textarea id="tar_Cnts" ref="/root/main/reqdata/area/reqcsteamreqcnts" navindex="1" scroll="vertical" style="left:108px; top:54px; width:850px; height:177px; "/> <line id="line17" style="x1:590px; y1:54px; x2:590px; y2:231px; border-color:#c0c0c0; border-style:dotted; "/> </group> <group id="grp_btn" scroll="auto" style="left:225px; top:751px; width:970px; height:27px; "> <button id="btn_list" class="btn6_letter2" style="left:0px; top:5px; width:56px; height:22px; "> <caption>¸ñ·Ï</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ navigate("SMCVB00100", "", "", "", "SMCVB00100", "/root/main/temp", "/root/send"); ]]> </script> </button> <caption id="caption31" class="hand" style="left:100px; top:7px; width:520px; height:17px; ">³»¿ë °¡¿îµ¥ ÀÖ´Â Á¡¼±(- - -)Àº º¸°í¼­ Ãâ·Â½Ã ´ÙÀ½ ÁÙ·Î ³Ñ¾î°¡´Â ±âÁؼ±ÀÔ´Ï´Ù.</caption> <button id="btn_save" class="btn4_letter4" style="left:738px; top:5px; width:80px; height:22px; "> <caption>ÀÓ½ÃÀúÀå</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ var check_acptdd = model.getValue("/root/main/vocdata/accept/acptdd") ; var check_acptseq = model.getValue("/root/main/vocdata/accept/acptseq") ; var check_reqdeptcd = model.getValue("/root/main/reqdata/area/reqdeptcd") ; var check_savemode = model.getValue("/root/main/reqdata/area/savemode"); if (isRequiredControls("ipt_DeptNm", "ipt_DeptCd", "ipt_EmpNm", "ipt_EmpId", "tar_Cnts") ){ if (grd_reqlist.rows > 1){ if (check_savemode != "U"){ for ( i = 1; i < grd_reqlist.rows; i++) { if ((grd_reqlist.valueMatrix(i, grd_reqlist.colRef("deptcd")) == check_reqdeptcd) && (grd_reqlist.valueMatrix(i, grd_reqlist.colRef("rereqyn")) != "Y")){ messageBox(i+" ¹øÂ° ¿äû ºÎ¼­¿Í °°Àº ºÎ¼­¿¡ ´ëÇÏ¿© ÀÓ½ÃÀúÀåÀ» ","E001"); model.SetFocus("ipt_DeptNm"); return false; } else if ((grd_reqlist.valueMatrix(i, grd_reqlist.colRef("deptcd")) == check_reqdeptcd) && (grd_reqlist.valueMatrix(i, grd_reqlist.colRef("rereqyn")) == "Y") && (grd_reqlist.valueMatrix(i, grd_reqlist.colRef("endreqyn")) != "Y")){ messageBox(i+" ¹øÂ° Àç¿äû ºÎ¼­¿Í °°Àº ºÎ¼­¿¡ ´ëÇÏ¿© ÀÓ½ÃÀúÀåÀ» ","E001"); model.SetFocus("ipt_DeptNm"); return false; } } } model.setValue("/root/main/reqdata/area/reqacptdd", check_acptdd); model.setValue("/root/main/reqdata/area/reqacptseq", check_acptseq); if (submit("TXCVB00201")){ messageBox("󸮿äû ³»¿ëÀÇ Àӽà ÀúÀåÀÌ ", "I002"); submit("TRCVB00202"); model.resetInstanceNode("/root/main/reqdata/area"); model.setValue("/root/main/reqdata/area/savemode", "I"); } } else { model.setValue("/root/main/reqdata/area/reqacptdd", check_acptdd); model.setValue("/root/main/reqdata/area/reqacptseq", check_acptseq); if (submit("TXCVB00201")){ messageBox("󸮿äû ³»¿ëÀÇ Àӽà ÀúÀåÀÌ ", "I002"); submit("TRCVB00202"); model.resetInstanceNode("/root/main/reqdata/area"); model.setValue("/root/main/reqdata/area/savemode", "I"); } } model.refresh(); } ]]> </script> </button> <button id="btn_req" class="btn4_letter4" style="left:820px; top:5px; width:80px; height:22px; "> <caption>󸮿äû</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ var check_acptdd = model.getValue("/root/main/vocdata/accept/acptdd") ; var check_acptseq = model.getValue("/root/main/vocdata/accept/acptseq") ; var check_reqdeptcd = model.getValue("/root/main/reqdata/area/reqdeptcd") ; var check_savemode = model.getValue("/root/main/reqdata/area/savemode"); if (isRequiredControls("ipt_DeptNm", "ipt_DeptCd", "ipt_EmpNm", "ipt_EmpId", "tar_Cnts") ){ if (grd_reqlist.rows > 1){ if (check_savemode != "U"){ for ( i = 1; i < grd_reqlist.rows; i++) { if ((grd_reqlist.valueMatrix(i, grd_reqlist.colRef("deptcd")) == check_reqdeptcd) && (grd_reqlist.valueMatrix(i, grd_reqlist.colRef("rereqyn")) != "Y")){ messageBox(i+" ¹øÂ° ¿äû ºÎ¼­¿Í °°Àº ºÎ¼­¿¡ ´ëÇÏ¿© 󸮿äûÀ» ´Ù½Ã ","E001"); model.SetFocus("ipt_DeptNm"); return false; } else if ((grd_reqlist.valueMatrix(i, grd_reqlist.colRef("deptcd")) == check_reqdeptcd) && (grd_reqlist.valueMatrix(i, grd_reqlist.colRef("rereqyn")) == "Y") && (grd_reqlist.valueMatrix(i, grd_reqlist.colRef("endreqyn")) != "Y")){ messageBox(i+" ¹øÂ° Àç¿äû ºÎ¼­¿Í °°Àº ºÎ¼­¿¡ ´ëÇÏ¿© 󸮿äûÀ» ´Ù½Ã ","E001"); model.SetFocus("ipt_DeptNm"); return false; } } } model.setValue("/root/main/reqdata/area/reqacptdd", check_acptdd); model.setValue("/root/main/reqdata/area/reqacptseq", check_acptseq); if (submit("TXCVB00202")){ messageBox("´ã´çºÎ¼­¿¡ ´ëÇÑ Ã³¸®¿äûÀÌ ", "I002"); submit("TRCVB00202"); model.resetInstanceNode("/root/main/reqdata/area"); model.setValue("/root/main/reqdata/area/savemode", "I"); btn_reqall.disabled = false; } } else { model.setValue("/root/main/reqdata/area/reqacptdd", check_acptdd); model.setValue("/root/main/reqdata/area/reqacptseq", check_acptseq); if (submit("TXCVB00202")){ messageBox("´ã´çºÎ¼­¿¡ ´ëÇÑ Ã³¸®¿äûÀÌ ", "I002"); submit("TRCVB00202"); model.resetInstanceNode("/root/main/reqdata/area"); model.setValue("/root/main/reqdata/area/savemode", "I"); btn_reqall.disabled = false; } } model.refresh(); } ]]> </script> </button> <button id="btn_clear" class="btn4_letter3" style="left:902px; top:5px; width:68px; height:22px; "> <caption>ÃʱâÈ­</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ model.resetInstanceNode("/root/main/reqdata/area"); model.setValue("/root/main/reqdata/area/savemode", "I"); btn_req.disabled = false; btn_save.disabled = false; model.refresh(); ]]> </script> </button> </group> <import id="import1" overflow="hidden" instancetype="merge" src="./SSCVA00100_LeftTree.xrw" style="left:0px; top:23px; width:215px; height:744px; "/> <shape id="rndrctlgnd" class="roundrect_legend" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:24px; top:529px; width:167px; height:200px; background-color:#f2f6ff; border-color:#c8c0fd; "/> <caption id="caption50" class="hand" style="left:35px; top:540px; width:144px; height:30px; ">VOC ÁøÇà ÇÁ·Î¼¼½º</caption> <caption id="caption51" style="left:60px; top:574px; width:115px; height:20px; font-weight:bold; vertical-align:top; line-spacing:7; "> <![CDATA[(1) Á¢¼ö¿Ï·á]]> <hint> <![CDATA[ ¹Î¿ø´ã´çºÎ¼­¿¡¼­ ¿©·¯ °æ·Î¸¦ ÅëÇØ Á¢¼öµÈ VOC¸¦ ¹Î¿øÀÎ Á¤º¸¿Í ÇÔ²² µî·ÏÀ» ÇÏ°Ô µÇ¸é¡¼Á¢¼ö¿Ï·á¡½»óŰ¡ µÈ´Ù. ]]> </hint> </caption> <caption id="caption52" style="left:60px; top:594px; width:115px; height:20px; font-weight:bold; vertical-align:top; line-spacing:7; "> <![CDATA[(2) ȸ½Å¿äû]]> <hint> <![CDATA[ ¹Î¿ø´ã´çºÎ¼­ ´ã´çÀÚ°¡ "Á¢¼ö¿Ï·á"µÈ VOC¸¦ ¼±ÅÃÇÏ¿© ´ã´çºÎ¼­¸¦ Á¤ÇØ Ã³¸® ¿äûÀ» ÇÏ°Ô µÇ¸é¡¼È¸½Å¿äû¡½»óŰ¡ µÈ´Ù. ÀÌ ¶§ ´ã´çºÎ¼­°¡ 2°³ ÀÌ»óÀÎ °æ¿ì¿¡ ´ã´çºÎ¼­¸¦ °è¼ÓÇØ¼­ ÁöÁ¤ÇÏ¿© ó¸® ¿äûÀ» ÇÒ ¼ö ÀÖ´Ù. ]]> </hint> </caption> <caption id="caption53" style="left:60px; top:614px; width:115px; height:20px; font-weight:bold; vertical-align:top; line-spacing:7; "> <![CDATA[(3) ºÎ¼­Ã³¸®Áß]]> <hint> <![CDATA[ °¢ ºÎ¼­ ´ã´çÀÚ°¡ "ȸ½Å¿äû"µÈ VOC¸¦ ¼±ÅÃÇÏ¿© ±× ³»¿ëÀ» ÀÐ°í ¡ººÎ¼­ Á¢¼ö È®ÀΡ» ¹öưÀ» ´­·¯ ÇØ´ç VOC 󸮸¦ ½ÃÀÛÇßÀ½À» ¾Ë¸®°Ô µÇ¸é¡¼ºÎ¼­Ã³¸®Áß¡½»óŰ¡ µÈ´Ù. ]]> </hint> </caption> <caption id="caption54" style="left:60px; top:634px; width:115px; height:21px; font-weight:bold; vertical-align:top; line-spacing:7; "> <![CDATA[(4) ºÎ¼­Àå°áÀç]]> <hint> <![CDATA[ °¢ ºÎ¼­ ´ã´çÀÚ°¡ "ºÎ¼­Ã³¸®Áß"ÀÎ VOC¿¡ ´ëÇÏ¿© ½ÇÁ¦ ¾÷¹«Ã³¸®¸¦ ÇÏ°í ºÎ¼­Àå¿¡°Ô °áÀç ¿äûÀ» ÇÏ°í ³­ µÚ ºÎ¼­ÀåÀÌ ÀǰßÀ» Àû°í °áÀç ¹öưÀ» ´­·¯ ¹Î¿ø´ã´çºÎ¼­ ´ã´çÀÚ¿¡°Ô ȸ½ÅÇÏ°Ô µÇ¸é¡¼ºÎ¼­Àå°áÀ硽»óŰ¡ µÈ´Ù. ]]> </hint> </caption> <caption id="caption55" style="left:60px; top:654px; width:115px; height:20px; font-weight:bold; vertical-align:top; line-spacing:7; "> <![CDATA[(5) 󸮿Ϸá]]> <hint> <![CDATA[ ¹Î¿ø´ã´çºÎ¼­ ´ã´çÀÚ°¡ "ºÎ¼­Àå°áÀç"ÀÎ VOC¿¡ ´ëÇÏ¿© ºÎ¼­ÀÇ Ã³¸®°á°ú¸¦ ÆÇ´ÜÇÏ¿© ±× °á°ú°¡ ¹ÌÁøÇϰųª ¶Ç ´Ù¸¥ ºÎ¼­¿Í °ü·ÃµÈ´Ù°í ÆÇ´ÜµÇ¸é "Àç¿äû ó¸®"¸¦ ÇÒ ¼ö ÀÖ°í, Á¦´ë·Î 󸮵Ǿú´Ù°í ÆÇ´ÜµÇ¸é ¿øÀκм® ¹× °³¼±È°µ¿À» Àû°í ÀÌÈÄ¿¡µµ Áö¼ÓÀûÀ¸·Î °ü¸® ÇÏ¿©¾ß ÇÏ´ÂÁö ¿©ºÎ¸¦ üũÇÏ°í ¿Ï·áó¸® ¹öưÀ» ´©¸£°Ô µÇ¸é¡¼Ã³¸®¿Ï·á¡½»óŰ¡ µÈ´Ù. ]]> </hint> </caption> <caption id="caption56" style="left:60px; top:676px; width:115px; height:20px; vertical-align:top; line-spacing:7; "> <![CDATA[ * Á¢¼öÃë¼Ò]]> <hint> <![CDATA[ "Á¢¼ö¿Ï·á"µÈ VOC´Â "ȸ½Å ¿äû"À» Çϱâ Àü¿¡ "Á¢¼ö Ãë¼Ò"¸¦ ÇÒ ¼ö ÀÖ´Ù. ÇÏÁö¸¸ ÀÌ¹Ì ÇÁ·Î¼¼½º°¡ ÁøÇàµÇ¾î ´ã´çºÎ¼­·Î ¿äûÀÌ µé¾î°£ °æ¿ì¿¡´Â Á¢¼ö Ãë¼Ò¸¦ ÇÒ ¼ö ¾ø°Ô µÈ´Ù. ]]> </hint> </caption> <caption id="caption57" style="left:60px; top:696px; width:115px; height:20px; vertical-align:top; line-spacing:7; "> <![CDATA[ * ÀÚüó¸®]]> <hint> <![CDATA[ "Á¢¼ö¿Ï·á"µÈ VOC´Â "ȸ½Å ¿äû"À» Çϱâ Àü¿¡ ¹Î¿ø´ã´çºÎ¼­¿¡¼­ ÀÚüÀûÀ¸·Î ¿Ï·á󸮸¦ ÇÒ ¼ö ÀÖ´Ù. ÇÏÁö¸¸ ÀÌ¹Ì ÇÁ·Î¼¼½º°¡ ÁøÇàµÇ¾î ´ã´çºÎ¼­·Î ¿äûÀÌ µé¾î°£ °æ¿ì¿¡´Â ÀÚü󸮸¦ ÇÒ ¼ö ¾ø°Ô µÈ´Ù. ]]> </hint> </caption> </xhtml:body> </xhtml:html>