VOC °ü¸®°í°´ µî·Ï
<contents/> <inputmode/> <receive_path/> </vocpopup> <temp> <data> <srchacptdd1/> <srchacptdd2/> <srchacpttypecd/> <srchprcsstatcd/> <srchdeptcd/> <srchdeptnm/> <srchpatnm/> <srchpid/> <srchfstrgstrnm/> </data> <key> <sndacptdd/> <sndacptseq/> <sndrgstseq/> <sndPID/> </key> </temp> </main> <temp> <piddata> <pid/> <hngnm/> <mpphontel/> <zipcd1/> <zipcd2/> <zipcdaddr/> <detladdr/> <rrgstno/> <hometel/> <email/> </piddata> </temp> <send> <data> <srchpatnm/> <srchpid/> <srchprcsstatcd/> </data> </send> <init/> </root> </instance> <submission id="TRCVP00302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/mngdata" resultref="/root/temp/piddata"/> <submission id="TRCVP00303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/temp/key" resultref="/root/main/mngdata"/> <submission id="TRCVP00304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/temp/key" resultref="/root/main/piddata"/> <submission id="TXCVP00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/mngdata"/> <submission id="TXCVP00302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/piddata"/> </model> <script type="javascript" ev:event="xforms-ready"> <![CDATA[ var resndPID = model.getValue("/root/main/temp/key/sndPID") if ( resndPID == "" || resndPID == null ){ var rtn = messageBox("Á¶È¸¿¡ ÇÊ¿äÇÑ Ç׸ñÀÌ Àü´ÞµÇÁö", "E007"); if(rtn == 1){ window.close(); } } else { submit("TRCVP00303"); submit("TRCVP00304"); } fCheckAuth(); model.refresh(); ]]> </script> <script type="javascript"> <![CDATA[ function fCheckAuth() { // ±ÇÇÑüũ if (!checkAuth("r")) { } if (!checkAuth("x")) { } 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 pagewidth="745" pageheight="315" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; "> <group id="grp_tle" style="left:0px; top:0px; width:725px; height:13px; "> <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:142px; height:14px; ">VOC °ü¸®°í°´ Á¤º¸</caption> </group> <group id="grp_customer" style="left:0px; top:13px; width:725px; height:260px; "> <line id="line3" class="line_1" style="x1:0px; y1:5px; x2:725px; y2:5px; "/> <line id="line4" class="line_2" style="x1:0px; y1:32px; x2:725px; y2:32px; "/> <line id="line5" class="line_2" style="x1:0px; y1:56px; x2:725px; y2:56px; "/> <line id="line6" class="line_2" style="x1:100px; y1:80px; x2:725px; y2:80px; "/> <line id="line8" class="line_2" style="x1:0px; y1:104px; x2:725px; y2:104px; "/> <line id="line9" class="line_2" style="x1:0px; y1:128px; x2:725px; y2:128px; "/> <line id="line7" class="line_2" style="x1:0px; y1:152px; x2:725px; y2:152px; "/> <line id="line16" class="line_3" style="x1:0px; y1:257px; x2:725px; y2:257px; "/> <select1 id="cmb_Mngtflag" ref="/root/main/mngdata/mngtmanflag" class="combo_essential" appearance="minimal" style="left:591px; top:11px; width:130px; height:19px; "> <choices> <item> <label>ÀϹÝ</label> <value>A</value> </item> <item> <label>¡Ú¡Ú¡Ú¡Ú¡Ú</label> <value>B</value> </item> <item> <label>¡Ú(ĪÂù)</label> <value>C</value> </item> </choices> </select1> <input id="ipt_rela" ref="/root/main/mngdata/relaclntnm" class="input_default" style="left:108px; top:131px; width:614px; height:19px; "/> <textarea id="tar_ClntValu" ref="/root/main/mngdata/clntvalu" class="input_default" scroll="vertical" style="left:108px; top:155px; width:614px; height:100px; "/> <input id="ipt_rrgstno" ref="/root/main/piddata/rrgstno" class="output_fix" editable="false" format="999999-9" appearance="input" style="left:591px; top:35px; width:130px; height:19px; "/> <input id="ipt_email" ref="/root/main/piddata/email" class="output_fix" style="left:108px; top:107px; width:614px; height:19px; "/> <input id="ipt_phone" ref="/root/main/piddata/hometel" class="output_fix" appearance="input" style="left:349px; top:35px; width:130px; height:19px; "/> <input id="ipt_PID" ref="/root/main/piddata/pid" class="output_fix" editable="false" appearance="input" style="left:108px; top:11px; width:130px; height:19px; "/> <caption id="caption21" class="cell_1" style="left:241px; top:10px; width:105px; height:23px; text-align:center; vertical-align:middle; ">ȯÀÚ¸í</caption> <caption id="caption11" class="cell_1" style="left:483px; top:10px; width:105px; height:23px; text-align:center; vertical-align:middle; ">´ë»ó±¸ºÐ</caption> <input id="ipt_detladdr" ref="/root/main/piddata/detladdr" class="output_fix" style="left:108px; top:83px; width:614px; height:19px; "/> <caption id="caption22" class="cell_1" style="left:0px; top:10px; width:105px; height:23px; text-align:center; vertical-align:middle; ">µî·Ï¹øÈ£</caption> <caption id="caption34" class="cell_1" style="left:0px; top:154px; width:105px; height:104px; text-align:center; vertical-align:middle; "> <![CDATA[¸Þ¸ð ³»¿ë]]> <script type="javascript" ev:event="ondblclick"> <![CDATA[ var s_contents = model.getValue("/root/main/piddata/clntvalu"); var receive_path = "/root/main/piddata/clntvalu"; model.setValue("/root/main/vocpopup/title", "¸Þ¸ð ³»¿ë"); 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("SPCVO01000", "", "", "", "SPCVO01000", "/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> <input id="ipt_mobile" ref="/root/main/piddata/mpphontel" class="output_fix" appearance="input" style="left:108px; top:35px; width:130px; height:19px; "/> <caption id="caption3" class="cell_1" style="left:483px; top:34px; width:105px; height:23px; text-align:center; vertical-align:middle; ">ÁֹιøÈ£</caption> <caption id="caption4" class="cell_1" style="left:0px; top:106px; width:105px; height:23px; text-align:center; vertical-align:middle; ">À̸ÞÀÏ</caption> <input id="ipt_PatNm" ref="/root/main/piddata/hngnm" class="output_fix" editable="false" appearance="input" style="left:349px; top:11px; width:127px; height:19px; "/> <caption id="caption14" class="cell_1" style="left:0px; top:58px; width:105px; height:46px; text-align:center; vertical-align:middle; ">ÁÖ¼Ò</caption> <input id="ipt_ZipCd1" ref="/root/main/piddata/zipcd1" class="output_fix" style="left:108px; top:59px; width:55px; height:19px; "/> <input id="ipt_ZipCd2" ref="/root/main/piddata/zipcd2" class="output_fix" style="left:165px; top:59px; width:55px; height:19px; "/> <input id="ipt_ZipCdAddr" ref="/root/main/piddata/zipcdaddr" class="output_fix" style="left:222px; top:59px; width:499px; height:19px; "/> <caption id="caption6" class="cell_1" style="left:241px; top:34px; width:105px; height:23px; text-align:center; vertical-align:middle; ">Áý ÀüÈ­¹øÈ£</caption> <caption id="caption26" class="cell_1" style="left:0px; top:34px; width:105px; height:23px; text-align:center; vertical-align:middle; ">ÈÞ´ëÆù</caption> <caption id="caption9" class="cell_1" style="left:0px; top:130px; width:105px; height:23px; text-align:center; vertical-align:middle; ">°ü·Ã¹Î¿øÀÎ</caption> </group> <group id="grp_btn" scroll="auto" style="left:0px; top:273px; width:725px; height:27px; "> <button id="btn_close" class="btn4_letter2" style="left:667px; top:5px; width:56px; height:22px; "> <caption>´Ý±â</caption> <close ev:event="DOMActivate"/> </button> <button id="btn_refresh" class="btn5_letter9" style="left:3px; top:4px; width:119px; height:19px; "> <caption>ȯÀÚÁ¤º¸ °»½ÅÇϱâ</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ var s_pid = model.getValue("/root/main/piddata/pid"); if (s_pid != ""){ var rtn = messageBox(" °ü¸®°í°´ÀÇ Á¤º¸°¡ º´¿øÁ¤º¸ ½Ã½ºÅÛÀÇ Á¤º¸·Î °»½ÅµÇ°Ô µË´Ï´Ù.", "Q004"); if(rtn == 6){ if(submit("TRCVP00302")){ if( getNodesetCount("/root/temp/piddata") > 0 ){ var pid_pid = model.getValue("/root/temp/piddata/pid"); var pid_patnm = model.getValue("/root/temp/piddata/hngnm"); var pid_mpphonno = model.getValue("/root/temp/piddata/mpphontel"); var pid_zipcd1 = model.getValue("/root/temp/piddata/zipcd1"); var pid_zipcd2 = model.getValue("/root/temp/piddata/zipcd2"); var pid_zipcdaddr = model.getValue("/root/temp/piddata/zipcdaddr"); var pid_detladdr = model.getValue("/root/temp/piddata/detladdr"); var pid_rrgstno = model.getValue("/root/temp/piddata/rrgstno"); var pid_hometel = model.getValue("/root/temp/piddata/hometel"); var pid_email = model.getValue("/root/temp/piddata/email"); model.setValue("/root/main/piddata/hngnm", pid_patnm); // model.setValue("/root/main/piddata/pid", pid_pid); model.setValue("/root/main/piddata/mpphontel", pid_mpphonno); model.setValue("/root/main/piddata/zipcd1", pid_zipcd1); model.setValue("/root/main/piddata/zipcd2", pid_zipcd2); model.setValue("/root/main/piddata/zipcdaddr", pid_zipcdaddr); model.setValue("/root/main/piddata/detladdr", pid_detladdr); model.setValue("/root/main/piddata/rrgstno", pid_rrgstno); model.setValue("/root/main/piddata/hometel", pid_hometel); model.setValue("/root/main/piddata/email", pid_email); model.refresh(); if(submit("TXCVP00302")){ messageBox("ȯÀÚÁ¤º¸°¡ °»½Å ", "I002"); } }else{ messageBox("Á¸ÀçÇÏÁö ¾Ê´Â ȯÀÚ µî·Ï¹øÈ£ ", "E008"); model.makeNode("/root/temp/piddata"); } } } } else { messageBox("µî·Ï¹øÈ£°¡ ¾ø¾î ȯÀÚÁ¤º¸¸¦ °»½Å ", "E001"); } ]]> </script> </button> <button id="btn_save" class="btn4_letter2" style="left:609px; top:5px; width:56px; height:22px; "> <caption>ÀúÀå</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ var s_pid = model.getValue("/root/main/piddata/pid"); if (s_pid != ""){ if (isRequiredControls("cmb_Mngtflag") ){ if(submit("TXCVP00301")){ submit("TXCVP00302"); messageBox("ÀúÀåÀÌ ", "I002"); } } } else { messageBox("µî·Ï¹øÈ£°¡ ¾ø¾î ÀúÀå ", "E001"); } ]]> </script> </button> <button id="btn_popVOC" class="btn2_letter9" style="left:125px; top:4px; width:119px; height:19px; "> <caption>VOC µî·ÏÀÌ·Â º¸±â</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ var r_PID = model.getValue("/root/main/piddata/pid"); model.setValue("/root/main/search/srchpid", r_PID); open("SPCVO00300", "", "460", "120", "SPCVO00300", "/root/main/search", "/root/main/search"); ]]> </script> </button> </group> </xhtml:body> </xhtml:html>