123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>
- <list1>
- <incmlist/>
- </list1>
- <list2>
- <incmpsn>
- <instcd/>
- <rrgstno/>
- <name/>
- <ionatiflag>1</ionatiflag>
- <residentflag>1</residentflag>
- <residncnati/>
- <incmpsnflag>2</incmpsnflag>
- <entrregno/>
- <custnm/>
- <zipcd/>
- <zipcd1/>
- <zipcd2/>
- <zipcdseqno/>
- <supaddr/>
- <infaddr/>
- <cntctel/>
- <emailaddr/>
- <induflag/>
- <incmflag/>
- <aactno/>
- <bankcd/>
- <depor/>
- <passportno/>
- <cmt/>
- <status/>
- </incmpsn>
- </list2>
- <info>
- </info>
- </main>
- <send>
- <retrparams>
- <instcd/>
- <rrgstno/>
- <name/>
- <retrflag>name</retrflag>
- <retrref/>
- </retrparams>
- <retrparams2>
- <instcd/>
- <rrgstno/>
- <name/>
- <retrflag/>
- </retrparams2>
- </send>
- <init/>
- <hidden>
- <incmpsn/>
- <tmpincmpsn>
- <instcd/>
- <rrgstno/>
- <name/>
- <ionatiflag>1</ionatiflag>
- <residentflag/>
- <residncnati/>
- <incmpsnflag>2</incmpsnflag>
- <entrregno/>
- <custnm/>
- <zipcd/>
- <zipcd1/>
- <zipcd2/>
- <zipcdseqno/>
- <supaddr/>
- <infaddr/>
- <cntctel/>
- <emailaddr/>
- <induflag/>
- <incmflag/>
- <aactno/>
- <bankcd/>
- <depor/>
- <passportno/>
- <cmt/>
- <status/>
- </tmpincmpsn>
- </hidden>
- <temp>
- </temp>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/acntcommonweb/js/RAD001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- fCheckAuth();//권한체크
-
- fOpenForm();//그리드 초기화
-
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- //========================================================================================
- //버튼에 대한 화면 권한 체크(R : 읽기, X : 입력/수정/삭제, P : 출력)
- //========================================================================================
- function fCheckAuth()
- {
- btn_search.disabled = !checkAuth("R") ;
- btn_save.disabled = !checkAuth("X") ;
- }
-
- //========================================================================================
- //화면 로드시 초기화 함수
- //========================================================================================
- function fOpenForm()
- {
- model.removenode("/root/main/list");
- model.setValue("/root/send/retrparams/instcd", getUserInfo("dutplceinstcd"));
- misfComboComCdListMulti("R0282,R0278,R0279,R0001", "cmb_residncnati,cmb_induflag,cmb_incmflag,cmb_bankcd");
- model.setValue("/root/main/list2/incmpsn/status", "i");
- rdo_retrflag.dispatch("xforms-value-changed");
- model.refresh();
- }
-
- function fRetrieve()
- {
- var sRetrFlag = model.getValue("/root/send/retrparams/retrflag");
-
- if(sRetrFlag == "code")
- {
- model.setValue("/root/send/retrparams/rrgstno", model.getValue("/root/send/retrparams/retrref"));
- model.setValue("/root/send/retrparams/name", "");
- }
- else if(sRetrFlag == "name")
- {
- model.setValue("/root/send/retrparams/rrgstno", "");
- model.setValue("/root/send/retrparams/name", model.getValue("/root/send/retrparams/retrref"));
- }
-
- submit("TRRAC01001");
- }
- function fSave()
- {
- var sRrgstNo = model.getValue("/root/main/list2/incmpsn/rrgstno");
- var sName = model.getValue("/root/main/list2/incmpsn/name");
- var sResidentflag = model.getValue("/root/main/list2/incmpsn/residentflag");
- var sResidncnati = model.getValue("/root/main/list2/incmpsn/residncnati");
-
- if(sRrgstNo.getTrim().length != 13 && model.getValue(rdo_residentflag.attribute("ref")) == "1")
- {
- messageBox("주민등록번호를", "C001");
- return;
- }
- if(sName.getTrim() == "")
- {
- messageBox("성명을", "C001");
- return;
- }
-
- if(sResidentflag == "2" && sResidncnati == "")
- {
- messageBox("거주지국을 선택하세요", "C001");
- return;
- }
- submit("TXRAC00611");
-
- var sStatus = model.getValue("/root/main/list2/incmpsn/status");
- if(sStatus == "u")
- {
- model.copyNode(grd_incmlist.nodeset + "[" + grd_incmlist.row + "]", "/root/main/list2/incmpsn");
- }
- else if(sStatus == "i")
- {
- grd_incmlist.addRow();
- model.copyNode(grd_incmlist.nodeset + "[" + grd_incmlist.row + "]", "/root/main/list2/incmpsn");
- }
- model.refresh();
- }
-
- function fRetrieveExistList(sType)
- {
- var instcd = getUserInfo("dutplceinstcd");
- var rrgstno = model.getValue("/root/main/list2/incmpsn/rrgstno");
- var name = model.getValue("/root/main/list2/incmpsn/name");
- model.copyNode("/root/hidden/incmpsn", "/root/main/list2/incmpsn")
- model.setValue("/root/send/retrparams2/instcd", instcd);
- model.setValue("/root/send/retrparams2/rrgstno", rrgstno);
- model.setValue("/root/send/retrparams2/name", name);
- model.setValue("/root/send/retrparams2/retrflag", sType);
-
- if (rrgstno != "" || name != "")
- {
- submit("TRRAC00611");
- // if(model.getValue("/root/main/list2/incmpsn/instcd") == "")
- // {
- if(instance1.selectNodes("/root/hidden/incmpsn").length == 0)
- {
- model.makeNode("/root/main/list2/incmpsn");
- model.copyNode("/root/main/list2/incmpsn", "/root/hidden/tmpincmpsn");
- model.setValue("/root/main/list2/incmpsn/instcd", instcd);
- model.setValue("/root/main/list2/incmpsn/rrgstno", rrgstno);
- model.setValue("/root/main/list2/incmpsn/ionatiflag", "1");
- model.setValue("/root/main/list2/incmpsn/incmpsnflag", "2");
- model.setValue("/root/main/list2/incmpsn/residentflag", "1");
- model.setValue("/root/main/list2/incmpsn/status", "i");
- model.refresh();
- }
- else
- {
- model.makeNode("/root/main/list2/incmpsn");
- model.copyNode("/root/main/list2/incmpsn", "/root/hidden/incmpsn");
- model.setValue("/root/main/list2/incmpsn/status","u");
- model.refresh();
-
- ipt_rrgstno.disabled = true;
- }
- // }
- // else
- // {
- // model.refresh();
- // }
-
- rdo_ionatiflag.dispatch("xforms-value-changed");
- rdo_incmpsnflag.dispatch("xforms-value-changed");
- }
- else
- {
- model.setValue("/root/main/list2/incmpsn/status","i");
- model.refresh();
- }
- }
- function fResetControl()
- {
- model.removenode("/root/main/list2/incmpsn");
- model.makeNode("/root/main/list2/incmpsn");
- model.copyNode("/root/main/list2/incmpsn", "/root/hidden/tmpincmpsn");
- model.setValue("/root/main/list2/incmpsn/status", "i");
- model.refresh();
- ipt_rrgstno.disabled = false;
- ipt_name.disabled = false;
- }
-
- //========================================================================================
- //주민등록번호 체크
- //========================================================================================
- function fCheckNumber()
- {
- var sRrgstno = model.getValue("/root/main/list2/incmpsn/rrgstno");
-
- 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>
- <submission id="TRRAC01001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams" resultref="/root/main/list1"/>
- <submission id="TRRAC00611" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams2" resultref="/root/hidden/incmpsn"/>
- <submission id="TXRAC00611" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list2/incmpsn" resultref="/root/temp"/>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="784" guideline="1,1196;1,1196;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:230px; height:14px; ">소득자 관리</caption>
- <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195; height:744px; ">
- <line id="line1" class="line_1" style="x1:0px; y1:69px; x2:558px; y2:69px; "/>
- <group id="group4" style="left:0px; top:10px; width:558px; height:35px; vertical-align:top; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:558px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption7" class="search_name" style="left:11px; top:10px; width:99px; height:17px; ">조회조건 :</caption>
- <line id="line3" class="line_4" style="top:54; x1:471px; y1:7px; x2:471px; y2:29px; "/>
- <input id="ipt_retrref" ref="/root/send/retrparams/retrref" class="input_s_essential" navindex="1" style="left:250px; top:9px; width:165px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- model.setFocus("btn_search");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fRetrieve();
- ]]>
- </script>
- </input>
- <button id="btn_search" class="btn1_letter2" navindex="5" style="left:486px; top:7px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fRetrieve()
- ]]>
- </script>
- </button>
- <select1 id="rdo_retrflag" ref="/root/send/retrparams/retrflag" overflow="visible" appearance="full" cellspacing="10" cols="2" style="left:97px; top:10px; width:145px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>주민등록번호</label>
- <value>code</value>
- </item>
- <item>
- <label>성명</label>
- <value>name</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/send/retrparams/retrflag") == "code")
- {
- ipt_retrref.attribute("format") = "999999-9999999";
- }
- else
- {
- ipt_retrref.attribute("format") = "";
- }
-
- model.setFocus("ipt_retrref");
-
- model.refresh();
- ]]>
- </script>
- </select1>
- </group>
- <line id="line4" class="line_1" style="x1:563px; y1:30px; x2:1195px; y2:30px; "/>
- <caption id="caption21" class="tit_2" style="left:5px; top:54px; width:118px; height:13px; ">소득자 목록</caption>
- <caption id="caption22" class="tit_2" style="left:568px; top:15px; width:118px; height:14px; ">소득자 정보</caption>
- <datagrid id="grd_incmlist" nodeset="/root/main/list1/incmlist" caption="주민등록번호^성명^내/외국인^소득자구분^기관코드^거주지구분^거주지국^사업자등록번호^거래처명^우편번호^우편번호1^우편번호2^우편번호일련번호^상위주소^하위주소^전화번호^e-Mail^업종구분^소득구분^은행코드^예금주^계좌번호^여권번호^비고^Status" colwidth="130, 140, 110, 110, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50" dataheight="25" defaultrows="0" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:74px; width:558px; height:646px; ">
- <col class="text_center" ref="rrgstno" format="999999-9999999"/>
- <col ref="name" style="text-align:center; "/>
- <col disabled="true" ref="ionatiflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>내국인</label>
- <value>1</value>
- </item>
- <item>
- <label>외국인</label>
- <value>9</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="incmpsnflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>사업자</label>
- <value>1</value>
- </item>
- <item>
- <label>개인</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="instcd" visibility="hidden"/>
- <col ref="residentflag" visibility="hidden"/>
- <col ref="residncnati" visibility="hidden"/>
- <col ref="entrregno" visibility="hidden"/>
- <col ref="custnm" visibility="hidden"/>
- <col ref="zipcd" visibility="hidden"/>
- <col ref="zipcd1" visibility="hidden"/>
- <col ref="zipcd2" visibility="hidden"/>
- <col ref="zipcdseqno" visibility="hidden"/>
- <col ref="supaddr" visibility="hidden"/>
- <col ref="infaddr" visibility="hidden"/>
- <col ref="cntctel" visibility="hidden"/>
- <col ref="emailaddr" visibility="hidden"/>
- <col ref="induflag" visibility="hidden"/>
- <col ref="incmflag" visibility="hidden"/>
- <col ref="bankcd" visibility="hidden"/>
- <col ref="depor" visibility="hidden"/>
- <col ref="aactno" visibility="hidden"/>
- <col ref="passportno" visibility="hidden"/>
- <col ref="cmt" visibility="hidden"/>
- <col ref="status" visibility="hidden"/>
- <col ref="rrgstnovalidyn" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- model.copyNode("/root/main/list2/incmpsn", grd_incmlist.nodeset + "[" + grd_incmlist.row + "]");
- model.setValue("/root/main/list2/incmpsn/status", "u");
-
- grd_incmlist.dispatch("onmouseup");
-
- model.refresh();
- ipt_rrgstno.disabled = true;
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_incmlist.gridToInstance();
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <button id="btn_add" class="btn2_letter2" style="left:1149px; top:10px; width:42px; height:19px; ">
- <caption>신규</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fResetControl();
- ]]>
- </script>
- </button>
- <button id="btn_excsave" class="btn2_letter4" style="left:494px; top:49px; width:64px; height:19px; text-align:left; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- misfSaveExcel(grd_incmlist);
- ]]>
- </script>
- </button>
- <line id="line8" class="line_2" style="x1:564px; y1:294px; x2:1194px; y2:294px; "/>
- <select1 id="cmb_residncnati" ref="/root/main/list2/incmpsn/residncnati" disabled="true" navindex="14" appearance="minimal" editmode="inputsearch" itemcount="20" showvalue="true" style="left:667px; top:141px; width:150px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/R0282list/R0282">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line9" class="line_3" style="x1:564px; y1:527px; x2:1194px; y2:527px; "/>
- <button id="btn_zipcd" class="icon_search" style="left:786px; top:246px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("04", opt_zipcd1, "", "zipcd1,zipcd2,supaddr,zipcdseqno");
-
- var sZipcd = model.getValue("/root/main/list2/incmpsn/zipcd1") + '-' + model.getValue("/root/main/list2/incmpsn/zipcd2");
- model.setValue("/root/main/list2/incmpsn/zipcd", sZipcd);
-
- model.refresh();
-
- ]]>
- </script>
- </button>
- <line id="line10" class="line_2" style="x1:564px; y1:320px; x2:1194px; y2:320px; "/>
- <input id="ipt_cmt" ref="/root/main/list2/incmpsn/cmt" class="input_default" navindex="28" style="left:667px; top:530px; width:440px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- model.setFocus("btn_save");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_rrgstno" ref="/root/main/list2/incmpsn/rrgstno" class="input_essential" navindex="11" style="left:667px; top:38px; width:150px; height:19px; font-weight:bold; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fRetrieveExistList("code");
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- model.setFocus("ipt_name");
- }
- ]]>
- </script>
- </input>
- <line id="line11" class="line_2" style="x1:564px; y1:164px; x2:1194px; y2:164px; "/>
- <select1 id="cmb_incmflag" ref="/root/main/list2/incmpsn/incmflag" navindex="24" appearance="minimal" style="left:667px; top:401px; width:197px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/R0279list/R0279">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <output id="opt_zipcd1" ref="/root/main/list2/incmpsn/zipcd1" visibility="hidden" style="left:830px; top:245px; width:35px; height:19px; text-align:left; "/>
- <line id="line13" class="line_2" style="x1:564px; y1:112px; x2:1194px; y2:112px; "/>
- <caption id="caption1" class="cell_1" style="left:564px; top:321px; width:100px; height:23px; vertical-align:middle; ">전화번호</caption>
- <caption id="caption10" class="cell_1" style="left:564px; top:295px; width:100px; height:23px; vertical-align:middle; ">상세주소</caption>
- <output id="opt_zipcd2" ref="/root/main/list2/incmpsn/zipcd2" visibility="hidden" style="left:865px; top:245px; width:30px; height:19px; text-align:left; "/>
- <input id="ipt_aactno" ref="/root/main/list2/incmpsn/aactno" class="input_default" navindex="25" style="left:667px; top:427px; width:150px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- model.setFocus("cmb_bankcd");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_custnm" ref="/root/main/list2/incmpsn/custnm" class="input_default" disabled="true" navindex="17" style="left:667px; top:219px; width:180px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- model.setFocus("btn_zipcd");
- }
- ]]>
- </script>
- </input>
- <caption id="caption11" class="cell_1" style="left:564px; top:191px; width:100px; height:23px; vertical-align:middle; ">사업자등록번호</caption>
- <line id="line14" class="line_2" style="x1:564px; y1:138px; x2:1194px; y2:138px; "/>
- <caption id="caption2" class="cell_1" style="left:564px; top:139px; width:100px; height:23px; vertical-align:middle; ">거주지국</caption>
- <line id="line15" class="line_2" style="x1:564px; y1:346px; x2:1194px; y2:346px; "/>
- <caption id="caption12" class="cell_1" style="left:564px; top:217px; width:100px; height:23px; vertical-align:middle; ">상호</caption>
- <caption id="caption3" class="cell_1" style="left:564px; top:113px; width:100px; height:23px; vertical-align:middle; ">성명</caption>
- <input id="ipt_zipcd" ref="/root/main/list2/incmpsn/zipcd" class="input_default" navindex="18" editable="false" style="left:667px; top:245px; width:115px; height:19px; "/>
- <input id="ipt_supaddr" ref="/root/main/list2/incmpsn/supaddr" class="input_default" navindex="19" style="left:667px; top:271px; width:440px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- model.setFocus("ipt_infaddr");
- }
- ]]>
- </script>
- </input>
- <line id="line16" class="line_2" style="x1:564px; y1:372px; x2:1194px; y2:372px; "/>
- <caption id="caption13" class="cell_1" style="left:564px; top:347px; width:100px; height:23px; vertical-align:middle; ">e-mail주소</caption>
- <caption id="caption5" class="cell_1" style="left:564px; top:243px; width:100px; height:23px; vertical-align:middle; ">우편번호</caption>
- <select1 id="cmb_bankcd" ref="/root/main/list2/incmpsn/bankcd" navindex="26" appearance="minimal" style="left:667px; top:453px; width:150px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/R0001list/R0001">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_depor" ref="/root/main/list2/incmpsn/depor" class="input_default" navindex="27" style="left:667px; top:479px; width:150px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- model.setFocus("ipt_cmt");
- }
- ]]>
- </script>
- </input>
- <line id="line17" class="line_2" style="x1:564px; y1:424px; x2:1194px; y2:424px; "/>
- <caption id="caption14" class="cell_1" style="left:564px; top:373px; width:100px; height:23px; vertical-align:middle; ">업종구분</caption>
- <input id="ipt_emailaddr" ref="/root/main/list2/incmpsn/emailaddr" class="input_essential" navindex="22" style="left:667px; top:349px; width:252px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- model.setFocus("cmb_induflag");
- }
- ]]>
- </script>
- </input>
- <select1 id="rdo_incmpsnflag" ref="/root/main/list2/incmpsn/incmpsnflag" navindex="15" overflow="visible" appearance="full" cellspacing="20" cols="2" style="left:667px; top:167px; 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/list2/incmpsn/incmpsnflag") == "1")
- {
- ipt_entrregno.disabled = false;
- ipt_custnm.disabled = false;
- }
- else
- {
- model.setValue("/root/main/list2/incmpsn/entrregno","");
- model.setValue("/root/main/list2/incmpsn/custnm","");
- model.refresh();
- ipt_entrregno.disabled = true;
- ipt_custnm.disabled = true;
- }
- ]]>
- </script>
- </select1>
- <caption id="caption8" class="cell_1" style="left:564px; top:269px; width:100px; height:23px; vertical-align:middle; ">주소</caption>
- <caption id="caption47" class="cell_1" style="left:564px; top:62px; width:100px; height:23px; vertical-align:middle; ">내/외국인구분</caption>
- <output id="opt_zipcdseqno" ref="/root/main/list2/incmpsn/zipcdseqno" visibility="hidden" style="left:895px; top:245px; width:25px; height:19px; text-align:left; "/>
- <line id="line18" class="line_2" style="x1:564px; y1:450px; x2:1194px; y2:450px; "/>
- <caption id="caption15" class="cell_1" style="left:564px; top:425px; width:100px; height:23px; vertical-align:middle; ">계좌번호</caption>
- <input id="ipt_name" ref="/root/main/list2/incmpsn/name" class="input_essential" navindex="12" style="left:667px; top:115px; 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>
- <caption id="caption16" class="cell_1" style="left:564px; top:451px; width:100px; height:23px; vertical-align:middle; ">은행</caption>
- <line id="line19" class="line_2" style="x1:564px; y1:476px; x2:1194px; y2:476px; "/>
- <input id="ipt_entrregno" ref="/root/main/list2/incmpsn/entrregno" class="input_default" disabled="true" navindex="16" format="999-99-99999" showmask="true" style="left:667px; top:193px; width:150px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- model.setFocus("ipt_custnm");
- }
- ]]>
- </script>
- </input>
- <select1 id="rdo_ionatiflag" ref="/root/main/list2/incmpsn/ionatiflag" navindex="13" overflow="visible" appearance="full" cellspacing="20" cols="2" style="left:667px; top:65px; width:145px; height:15px; 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:564px; top:530px; width:100px; height:23px; vertical-align:middle; ">비고</caption>
- <line id="line5" class="line_2" style="x1:564px; y1:60px; x2:1194px; y2:60px; "/>
- <select1 id="cmb_induflag" ref="/root/main/list2/incmpsn/induflag" navindex="23" appearance="minimal" style="left:667px; top:376px; width:227px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/R0278list/R0278">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption17" class="cell_1" style="left:564px; top:477px; width:100px; height:23px; vertical-align:middle; ">예금주</caption>
- <caption id="caption18" class="cell_1" style="left:564px; top:36px; width:100px; height:23px; vertical-align:middle; ">주민등록번호</caption>
- <line id="line6" class="line_2" style="x1:564px; y1:86px; x2:1194px; y2:86px; "/>
- <caption id="caption20" class="cell_1" style="left:564px; top:165px; width:100px; height:23px; vertical-align:middle; ">소득자구분</caption>
- <line id="line7" class="line_2" style="x1:564px; y1:190px; x2:1194px; y2:190px; "/>
- <line id="line12" class="line_2" style="x1:564px; y1:267px; x2:1107px; y2:267px; "/>
- <input id="ipt_infaddr" ref="/root/main/list2/incmpsn/infaddr" class="input_default" navindex="20" style="left:667px; top:297px; width:340px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- model.setFocus("ipt_cntctel");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_cntctel" ref="/root/main/list2/incmpsn/cntctel" class="input_default" navindex="21" style="left:667px; top:324px; width:150px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- model.setFocus("ipt_emailaddr");
- }
- ]]>
- </script>
- </input>
- <line id="line20" class="line_2" style="x1:564px; y1:268px; x2:1194px; y2:268px; "/>
- <caption id="caption23" class="cell_1" style="left:564px; top:399px; width:100px; height:23px; vertical-align:middle; ">소득구분</caption>
- <line id="line21" class="line_2" style="x1:564px; y1:398px; x2:1194px; y2:398px; "/>
- <line id="line22" class="line_2" style="x1:564px; y1:216px; x2:1194px; y2:216px; "/>
- <caption id="caption19" class="cell_1" style="left:564px; top:503px; width:100px; height:23px; vertical-align:middle; ">여권번호</caption>
- <line id="line23" class="line_2" style="x1:564px; y1:501px; x2:1194px; y2:501px; "/>
- <input id="ipt_passportno" ref="/root/main/list2/incmpsn/passportno" class="input_default" navindex="28" style="left:667px; top:505px; width:440px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_cmt");
- }
- ]]>
- </script>
- </input>
- <button id="button1" class="btn2_letter10" style="left:100px; top:49px; width:130px; height:19px; text-align:left; ">
- <caption>주민등록번호오류검사</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- openLoadingBar("작업중");
-
- for(var i = grd_incmlist.fixedRows ; i < grd_incmlist.rows ; i++)
- {
- var sRrgstno = grd_incmlist.valueMatrix(i, grd_incmlist.colRef("rrgstno"));
-
- if((grd_incmlist.valueMatrix(i, grd_incmlist.colRef("residentflag")) == "1") &&
- ((!radfJuminCheck(sRrgstno) && grd_incmlist.valueMatrix(i, grd_incmlist.colRef("ionatiflag")) == "1" )
- || (!radfFgnJuminCheck(sRrgstno) && grd_incmlist.valueMatrix(i, grd_incmlist.colRef("ionatiflag")) == "9")))
- {
-
- grd_incmlist.rowStyle(i, "data", "background-color") = "#ff99cc";
- model.setValue(grd_incmlist.nodeset + "[" + i + "]/rrgstnovalidyn", "N");
-
- }
-
- }
- grd_incmlist.refresh();
- closeLoadingBar();
- ]]>
- </script>
- </button>
- <caption id="caption24" class="cell_1" style="left:564px; top:88px; width:100px; height:23px; vertical-align:middle; ">거주자 구분</caption>
- <select1 id="rdo_residentflag" ref="/root/main/list2/incmpsn/residentflag" navindex="13" overflow="visible" appearance="full" cellspacing="20" cols="2" style="left:667px; top:91px; width:158px; height:15px; 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/list2/incmpsn/residentflag") == "1")
- {
- model.setValue("/root/main/list2/incmpsn/residncnati", "");
- cmb_residncnati.disabled = true;
- }
- else
- {
- cmb_residncnati.disabled = false;
- }
- model.refresh();
-
- ]]>
- </script>
- </select1>
- <caption id="caption25" style="left:820px; top:38px; width:137px; height:20px; font-weight:bold; color:#0000ff; text-align:left; ">( '-' 없이 입력하세요)</caption>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <line id="line2" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="btn_save" class="btn4_letter2" style="left:1076px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!fCheckNumber()) return false;
- fSave();
- ]]>
- </script>
- </button>
- <button id="btn_delete" class="btn4_letter2" style="left:1135px; top:3px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var dlgRslt = messageBox("선택하신 소득자를", "Q001");
- if(dlgRslt == 6)
- {
- model.setValue("/root/main/list2/incmpsn/status", "d");
- submit("TXRAC00611");
- fRetrieve();
- fResetControl();
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|