123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>소득자 관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <incmpsn>
- <instcd/>
- <rrgstno/>
- <ionatiflag>1</ionatiflag>
- <residentflag>1</residentflag>
- <residncnati/>
- <incmpsnflag>2</incmpsnflag>
- <entrregno/>
- <custnm/>
- <name/>
- <zipcd/>
- <zipcd1/>
- <zipcd2/>
- <zipcdseqno/>
- <supaddr/>
- <infaddr/>
- <cntctel/>
- <emailaddr/>
- <induflag/>
- <incmflag/>
- <bankcd/>
- <depor/>
- <aactno/>
- <passportno/>
- <cmt/>
- <status/>
- </incmpsn>
- </main>
- <send>
- <incmpsn/>
- <data1>
- <instcd/>
- <rrgstno/>
- <name/>
- <retrflag/>
- </data1>
- <data2>
- <instcd/>
- <mngtcd>acntdept</mngtcd>
- </data2>
- </send>
- <hidden>
- <incmpsn/>
- </hidden>
- <init>
- <R0282list>
- <R0282>
- <cdnm/>
- <cdid/>
- </R0282>
- </R0282list>
- <R0278list>
- <R0278>
- <cdnm/>
- <cdid/>
- </R0278>
- </R0278list>
- <R0279list>
- <R0279>
- <cdnm/>
- <cdid/>
- </R0279>
- </R0279list>
- <R0001list>
- <R0001>
- <cdnm/>
- <cdid/>
- </R0001>
- </R0001list>
- <code>
- </code>
- </init>
- <temp/>
- <target/>
- </root>
- </instance>
- <submission id="TRZBC00101" method="urlencoded-post" replace="instance"/>
- <submission id="TRRAC00611" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/main/incmpsn"/>
- <submission id="TXRAC00611" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/incmpsn" resultref="/root/temp"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRRAZ00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" resultref="/root/init/code/codelist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
- <script type="javascript" src="../../../mis/acntcommonweb/js/RAD001.js"/>
- <script type="javascript">
- <![CDATA[
- var vNoSearchFlag = 'N';
- //========================================================================================
- //초기화
- //========================================================================================
- function fInitialize() {
- var instcd = getUserInfo("dutplceinstcd");
-
- //공통코드 조회
- zbcfGetCodeList(new Array("R0282","R0278","R0279","R0001"), new Array("/root/init/R0282list","/root/init/R0278list","/root/init/R0279list","/root/init/R0001list"));
-
- model.setValue("/root/main/incmpsn/status","i");
- model.setValue("/root/main/incmpsn/instcd",instcd);
-
- model.copyNode("/root/hidden/incmpsn", "/root/main/incmpsn");
-
- model.setValue("/root/send/data2/instcd", instcd);
-
- submit("TRRAZ00001");
-
- if(model.getValue("/root/init/code/code/codelist/cdid") != getUserInfo("dutplcecd"))
- {
- btn_delete.disabled = true;
- }
-
- model.refresh();
-
- model.setFocus("ipt_rrgstno");
-
-
- }
- //========================================================================================
- //우편번호 Help Open
- //========================================================================================
- function fOpenPopupZipHelp(pControl, pInstance)
- {
- //04 우편번호 Helper
- misfOpenPopUpList("04", pControl, "", pInstance);
- var sZipcd = model.getValue("/root/main/incmpsn/zipcd1") + '-' + model.getValue("/root/main/incmpsn/zipcd2");
- model.setValue("/root/main/incmpsn/zipcd", sZipcd);
- model.refresh();
- }
-
- //========================================================================================
- //저장 click
- //========================================================================================
- function fSaveClick()
- {
- model.resetInstanceNode("/root/send/incmpsn");
- model.copyNode("/root/send/incmpsn", "/root/main/incmpsn");
-
- if(model.getValue("/root/main/incmpsn/status") == "u" && model.getValue("/root/init/code/code/codelist/cdid") != getUserInfo("dutplcecd"))
- {
- messageBox("수정 권한이 없습니다.\n" + model.getValue("/root/init/code/code/codelist/cdnm") +"에 문의하세요" ,"I000");
- }
- else
- {
- if(!fNotNullCheck()) return;
- if (submit("TXRAC00611"))
- {
- model.setValue("/root/main/incmpsn/status","u");
- model.refresh();
- messageBox("저장이 완료되었습니다." ,"I000");
- }
- }
- var receiveref = model.getValue("/root/target/receiveref");
- if ( checkOpener())
- {
- if(receiveref != "")
- {
- opener.model.setValue(receiveref + "/rrgstno", model.getValue("/root/main/incmpsn/rrgstno" ));
- opener.model.setValue(receiveref + "/name", model.getValue("/root/main/incmpsn/name" ));
- opener.model.setValue(receiveref + "/entrregno", model.getValue("/root/main/incmpsn/entrregno" ));
- opener.model.setValue(receiveref + "/custnm", model.getValue("/root/main/incmpsn/custnm" ));
- opener.model.setValue(receiveref + "/zipcd", model.getValue("/root/main/incmpsn/zipcd" ));
- opener.model.setValue(receiveref + "/zipcd1", model.getValue("/root/main/incmpsn/zipcd1" ));
- opener.model.setValue(receiveref + "/zipcd2", model.getValue("/root/main/incmpsn/zipcd2" ));
- opener.model.setValue(receiveref + "/zipcdseqno", model.getValue("/root/main/incmpsn/zipcdseqno" ));
- opener.model.setValue(receiveref + "/supaddr", model.getValue("/root/main/incmpsn/supaddr" ));
- opener.model.setValue(receiveref + "/infaddr", model.getValue("/root/main/incmpsn/infaddr" ));
- opener.model.setValue(receiveref + "/induflag", model.getValue("/root/main/incmpsn/induflag" ));
- opener.model.setValue(receiveref + "/incmflag", model.getValue("/root/main/incmpsn/incmflag" ));
- }
- }
- else
- {
- messageBox("상위화면이 변경되어 데이터를 전달할 수 ", "I004");
- }
- }
- //========================================================================================
- //삭제 click
- //========================================================================================
- function fDeleteClick() {
- model.setValue("/root/main/incmpsn/status", "d");
- fSaveClick();
- model.removenode("/root/main/incmpsn");
- model.makeNode("/root/main/incmpsn");
- model.copyNode("/root/main/incmpsn","/root/hidden/incmpsn");
- model.setValue("/root/main/incmpsn/status","i");
-
- messageBox("삭제되었습니다.", "I000");
-
- model.refresh();
- }
-
- //========================================================================================
- //조회
- //========================================================================================
- function fSearch(sType)
- {
- var instcd = model.getValue("/root/main/incmpsn/instcd");
- var rrgstno = model.getValue("/root/main/incmpsn/rrgstno");
- var ionatiflag = model.getValue("/root/main/incmpsn/ionatiflag");
- var name = model.getValue("/root/main/incmpsn/name");
-
- model.copyNode("/root/hidden/incmpsn", "/root/main/incmpsn")
- model.setValue("/root/send/data1/instcd", instcd);
- model.setValue("/root/send/data1/rrgstno", rrgstno);
- model.setValue("/root/send/data1/name", name);
- model.setValue("/root/send/data1/retrflag", sType);
- model.refresh();
-
- if (rrgstno != "" || name != "")
- {
- submit("TRRAC00611");
-
- model.refresh();
-
- if (model.getValue("/root/main/incmpsn/instcd") == "")
- {
- model.makeNode("/root/main/incmpsn");
- model.copyNode("/root/main/incmpsn", "/root/hidden/incmpsn");
- model.resetInstanceNode("/root/main/incmpsn");
-
- model.setValue("/root/main/incmpsn/instcd", model.getValue("/root/hidden/incmpsn/instcd"));
- model.setValue("/root/main/incmpsn/rrgstno", model.getValue("/root/hidden/incmpsn/rrgstno"));
- model.setValue("/root/main/incmpsn/ionatiflag", ionatiflag);
- model.setValue("/root/main/incmpsn/incmpsnflag", "2");
- model.setValue("/root/main/incmpsn/residentflag", "1");
- model.setValue("/root/main/incmpsn/status", "i");
- model.refresh();
- }
- else
- {
- model.setValue("/root/main/incmpsn/status","u");
- model.refresh();
- }
- rdo_ionatiflag.dispatch("xforms-value-changed");
- rdo_incmpsnflag.dispatch("xforms-value-changed");
- }
- else
- {
- model.setValue("/root/main/incmpsn/status","i");
- model.refresh();
- }
- }
-
-
- //========================================================================================
- //조회
- //========================================================================================
- function fNotNullCheck()
- {
- if(model.getValue("/root/main/incmpsn/rrgstno") == "")
- {
- messageBox("주민등록번호는" ,"I003");
- model.setFocus("ipt_rrgstno");
- return false;
- }
-
- if(model.getValue("/root/main/incmpsn/name") == "")
- {
- messageBox("성명은" ,"I003");
- model.setFocus("ipt_name");
- return false;
- }
- return true;
- }
- //========================================================================================
- //주민등록번호 체크
- //========================================================================================
- function fCheckNumber()
- {
- var sRrgstno = ipt_rrgstno.value;
-
- if(model.getValue(rdo_residentflag.attribute("ref")) == "1" &&
- ( (!radfJuminCheck(sRrgstno) && model.getValue(rdo_ionatiflag.attribute("ref")) == "1" )
- ||(!radfFgnJuminCheck(sRrgstno) && model.getValue(rdo_ionatiflag.attribute("ref")) == "9")))
- {
- messageBox("잘못된 주민등록번호 입니다." ,"I000");
- return false;
- }
- else
- {
- return true;
- }
-
- }
-
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="560" pageheight="450" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group1" style="left:0px; top:0px; width:544; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:190px; height:14px; ">소득자 관리</caption>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:12px; width:543px; height:403px; ">
- <line id="line7" class="line_2" style="x1:0px; y1:205px; x2:543px; y2:205px; "/>
- <line id="line6" class="line_2" style="x1:0px; y1:181px; x2:543px; y2:181px; "/>
- <line id="line5" class="line_2" style="x1:0px; y1:157px; x2:543px; y2:157px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:60px; x2:543px; y2:60px; "/>
- <line id="line3" class="line_2" style="x1:0px; y1:36px; x2:543px; y2:36px; "/>
- <line id="line9" class="line_3" style="x1:0px; y1:397px; x2:543px; y2:397px; "/>
- <line id="line8" class="line_2" style="x1:0px; y1:229px; x2:543px; y2:229px; "/>
- <caption id="caption47" class="cell_1" style="left:0px; top:62px; width:100px; height:23px; vertical-align:middle; ">내/외국인구분</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:9px; x2:543px; y2:9px; "/>
- <caption id="caption2" class="cell_1" style="left:260px; top:86px; width:100px; height:23px; vertical-align:middle; ">거주지국</caption>
- <caption id="caption3" class="cell_1" style="left:0px; top:38px; width:100px; height:23px; vertical-align:middle; ">성명</caption>
- <caption id="caption4" class="cell_1" style="left:0px; top:159px; width:100px; height:23px; vertical-align:middle; ">우편번호</caption>
- <caption id="caption5" class="cell_1" style="left:0px; top:183px; width:100px; height:23px; vertical-align:middle; ">주소</caption>
- <caption id="caption7" class="cell_1" style="left:0px; top:375px; width:100px; height:23px; vertical-align:middle; ">비고</caption>
- <caption id="caption10" class="cell_1" style="left:0px; top:207px; width:100px; height:23px; vertical-align:middle; ">상세주소</caption>
- <input id="ipt_cmt" ref="/root/main/incmpsn/cmt" class="input_default" navindex="18" style="left:103px; top:376px; width:440px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- model.setFocus("btn_save");
- }
- ]]>
- </script>
- </input>
- <line id="line10" class="line_2" style="x1:0px; y1:253px; x2:543px; y2:253px; "/>
- <caption id="caption1" class="cell_1" style="left:0px; top:231px; width:100px; height:23px; vertical-align:middle; ">전화번호</caption>
- <input id="ipt_cntctel" ref="/root/main/incmpsn/cntctel" class="input_default" navindex="11" style="left:103px; top:232px; width:150px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- model.setFocus("ipt_emailaddr");
- }
- ]]>
- </script>
- </input>
- <line id="line11" class="line_2" style="x1:0px; y1:132px; x2:543px; y2:132px; "/>
- <caption id="caption8" class="cell_1" style="left:0px; top:14px; width:100px; height:23px; vertical-align:middle; ">주민등록번호</caption>
- <input id="ipt_rrgstno" ref="/root/main/incmpsn/rrgstno" class="input_essential" navindex="1" maxlength="13" format="999999-9999999" style="left:103px; top:15px; width:150px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSearch("code");
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- model.setFocus("ipt_name");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_name" ref="/root/main/incmpsn/name" class="input_essential" navindex="2" style="left:103px; top:39px; width:150px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // fSearch("name");
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("rdo_ionatiflag");
- }
- ]]>
- </script>
- </input>
- <select1 id="rdo_ionatiflag" ref="/root/main/incmpsn/ionatiflag" navindex="3" overflow="visible" appearance="full" cellspacing="20" cols="2" style="left:103px; top:63px; width:145px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>내국인</label>
- <value>1</value>
- </item>
- <item>
- <label>외국인</label>
- <value>9</value>
- </item>
- </choices>
- </select1>
- <caption id="caption9" class="cell_1" style="left:0px; top:110px; width:100px; height:23px; vertical-align:middle; ">소득자 구분</caption>
- <line id="line13" class="line_2" style="x1:0px; y1:84px; x2:543px; y2:84px; "/>
- <select1 id="rdo_incmpsnflag" ref="/root/main/incmpsn/incmpsnflag" navindex="5" overflow="visible" appearance="full" cellspacing="20" cols="2" style="left:103px; top:113px; width:145px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>사업자</label>
- <value>1</value>
- </item>
- <item>
- <label>개인</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (model.getValue("/root/main/incmpsn/incmpsnflag") == "1") {
- ipt_entrregno.disabled = false;
- ipt_custnm.disabled = false;
- } else {
- model.setValue("/root/main/incmpsn/entrregno","");
- model.setValue("/root/main/incmpsn/custnm","");
- model.refresh();
- ipt_entrregno.disabled = true;
- ipt_custnm.disabled = true;
- }
- ]]>
- </script>
- </select1>
- <line id="line14" class="line_2" style="x1:0px; y1:108px; x2:543px; y2:108px; "/>
- <caption id="caption11" class="cell_1" style="left:0px; top:134px; width:100px; height:23px; vertical-align:middle; ">사업자등록번호</caption>
- <input id="ipt_entrregno" ref="/root/main/incmpsn/entrregno" class="input_default" disabled="true" navindex="6" format="999-99-99999" showmask="true" style="left:103px; top:135px; width:150px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- model.setFocus("ipt_custnm");
- }
- ]]>
- </script>
- </input>
- <caption id="caption12" class="cell_1" style="left:260px; top:134px; width:100px; height:23px; vertical-align:middle; ">상호</caption>
- <input id="ipt_custnm" ref="/root/main/incmpsn/custnm" class="input_default" disabled="true" navindex="7" style="left:363px; top:135px; width:180px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- model.setFocus("btn_zipcd");
- }
- ]]>
- </script>
- </input>
- <line id="line15" class="line_2" style="x1:0px; y1:277px; x2:543px; y2:277px; "/>
- <caption id="caption13" class="cell_1" style="left:0px; top:255px; width:100px; height:23px; vertical-align:middle; ">e-mail주소</caption>
- <input id="ipt_emailaddr" ref="/root/main/incmpsn/emailaddr" class="input_essential" navindex="12" style="left:103px; top:256px; width:252px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- model.setFocus("cmb_induflag");
- }
- ]]>
- </script>
- </input>
- <line id="line16" class="line_2" style="x1:0px; y1:301px; x2:543px; y2:301px; "/>
- <caption id="caption14" class="cell_1" style="left:0px; top:279px; width:100px; height:23px; vertical-align:middle; ">업종/소득구분</caption>
- <line id="line17" class="line_2" style="x1:0px; y1:325px; x2:543px; y2:325px; "/>
- <caption id="caption15" class="cell_1" style="left:0px; top:303px; width:100px; height:23px; vertical-align:middle; ">계좌번호</caption>
- <input id="ipt_depor" ref="/root/main/incmpsn/depor" class="input_default" navindex="17" style="left:363px; top:328px; width:177px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- model.setFocus("ipt_cmt");
- }
- ]]>
- </script>
- </input>
- <line id="line18" class="line_2" style="x1:0px; y1:349px; x2:543px; y2:349px; "/>
- <line id="line19" class="line_2" style="x1:0px; y1:373px; x2:543px; y2:373px; "/>
- <caption id="caption16" class="cell_1" style="left:0px; top:327px; width:100px; height:23px; vertical-align:middle; ">은행</caption>
- <caption id="caption17" class="cell_1" style="left:260px; top:327px; width:100px; height:23px; vertical-align:middle; ">예금주</caption>
- <input id="ipt_aactno" ref="/root/main/incmpsn/aactno" class="input_default" navindex="15" style="left:103px; top:304px; width:150px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- model.setFocus("cmb_bankcd");
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_residncnati" ref="/root/main/incmpsn/residncnati" disabled="true" navindex="4" appearance="minimal" editmode="inputsearch" itemcount="20" showvalue="true" style="left:363px; top:87px; width:150px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/R0282list/R0282">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_zipcd" class="icon_search" style="left:222px; top:162px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fOpenPopupZipHelp(opt_zipcd1,"zipcd1,zipcd2,supaddr,zipcdseqno");
-
- ]]>
- </script>
- </button>
- <output id="opt_zipcd1" ref="/root/main/incmpsn/zipcd1" visibility="hidden" style="left:266px; top:161px; width:35px; height:19px; text-align:left; "/>
- <output id="opt_zipcd2" ref="/root/main/incmpsn/zipcd2" visibility="hidden" style="left:301px; top:161px; width:30px; height:19px; text-align:left; "/>
- <input id="ipt_supaddr" ref="/root/main/incmpsn/supaddr" class="input_default" navindex="9" style="left:103px; top:184px; width:440px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- model.setFocus("ipt_infaddr");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_zipcd" ref="/root/main/incmpsn/zipcd" class="input_default" navindex="8" editable="false" style="left:103px; top:160px; width:115px; height:19px; "/>
- <output id="opt_zipcdseqno" ref="/root/main/incmpsn/zipcdseqno" visibility="hidden" style="left:331px; top:161px; width:25px; height:19px; text-align:left; "/>
- <input id="ipt_infaddr" ref="/root/main/incmpsn/infaddr" class="input_default" navindex="10" style="left:103px; top:208px; width:340px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- model.setFocus("ipt_cntctel");
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_bankcd" ref="/root/main/incmpsn/bankcd" navindex="16" appearance="minimal" style="left:103px; top:328px; width:150px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/R0001list/R0001">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_induflag" ref="/root/main/incmpsn/induflag" navindex="13" appearance="minimal" style="left:103px; top:280px; width:227px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/R0278list/R0278">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_incmflag" ref="/root/main/incmpsn/incmflag" navindex="14" appearance="minimal" style="left:346px; top:280px; width:197px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/R0279list/R0279">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption18" style="left:334px; top:280px; width:10px; height:20px; ">/</caption>
- <input id="ipt_passportno" ref="/root/main/incmpsn/passportno" class="input_default" navindex="18" style="left:103px; top:352px; width:440px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- model.setFocus("btn_save");
- }
- ]]>
- </script>
- </input>
- <caption id="caption19" class="cell_1" style="left:0px; top:351px; width:100px; height:23px; vertical-align:middle; ">여권번호</caption>
- <caption id="caption20" class="cell_1" style="left:0px; top:86px; width:100px; height:23px; vertical-align:middle; ">거주자 구분</caption>
- <select1 id="rdo_residentflag" ref="/root/main/incmpsn/residentflag" navindex="3" overflow="visible" appearance="full" cellspacing="20" cols="2" style="left:103px; top:87px; width:152px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>거주자</label>
- <value>1</value>
- </item>
- <item>
- <label>비거주자</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- if (model.getValue("/root/main/incmpsn/residentflag") == "1")
- {
- model.setValue("/root/main/incmpsn/residncnati", "");
- ipt_rrgstno.attribute("format") = '999999-9999999';
- cmb_residncnati.disabled = true;
- }
- else
- {
- ipt_rrgstno.attribute("format") = "";
- cmb_residncnati.disabled = false;
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:422px; width:544px; height:27px; ">
- <button id="btn_close" class="btn4_letter2" style="left:487px; top:3px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <line id="line1" class="line_6" visibility="hidden" style="x1:0px; y1:1px; x2:543px; y2:1px; "/>
- <button id="btn_delete" class="btn4_letter2" visibility="hidden" style="left:375px; top:3px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDeleteClick();
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:431px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(!fCheckNumber()) return false;
- fSaveClick();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|