123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207 |
- <?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>소득자 관리 HELP</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <incmpsnlist/>
- </list>
- </main>
- <init>
- <refcond>
- <label>소득자명</label>
- <value>name</value>
- <label>주민등록번호</label>
- <value>code</value>
- </refcond>
- </init>
- <send>
- <retrnm/>
- <refcond/>
- </send>
- <target/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fInit()
- {
- rdo_refcond.select(0);
- model.removeNode("/root/main/list/incmpsnlist");
-
- misfMsterDetailSet(grd_incmpsnlist, null, "TRRAC90901", "N");
-
- if(model.getValue("/root/target/defaultvalue/name") != "" && model.getValue("/root/target/defaultvalue/name") != null)
- {
- model.setValue("/root/send/retrnm", model.getValue("/root/target/defaultvalue/name"));
- model.setValue("/root/send/refcond", "name");
- misfMsterDetailRetrieve();
- }
- else if(model.getValue("/root/target/defaultvalue/code") != "" && model.getValue("/root/target/defaultvalue/code") != null)
- {
- model.setValue("/root/send/retrnm", model.getValue("/root/target/defaultvalue/code"));
- model.setValue("/root/send/refcond", "code");
- misfMsterDetailRetrieve();
- }
- else
- {
- model.copyNode("/root/main/list","/root/target/validation");
-
- model.refresh();
- }
-
- model.setFocus("ipt_refcond");
-
- model.refresh();
- }
-
- ]]>
- </script>
- <submission id="TRRAC90901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="1000" pageheight="570" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:8px; top:0px; width:950px; height:525px; ">
- <group id="group2" style="left:0px; top:5px; width:950; height:35px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:950; height:35px; "/>
- <input id="ipt_refcond" ref="/root/send/retrnm" class="input_s_essential" style="left:360px; top:8px; width:148px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- ipt_refcond.value = ipt_refcond.currentText;
-
- btn_search.dispatch("DOMActivate");
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- if(ipt_refcond.value != "")
- {
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- <button id="btn_search" class="btn1_letter2" style="left:879px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- misfMsterDetailRetrieve();
-
- if(instance1.selectNodes("/root/main/list/incmpsnlist").length == 0)
- {
- messageBox("조회된 내용이", "I004");
- }
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:864px; y1:5px; x2:864px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption2" class="search_name" style="left:274px; top:9px; width:86px; height:17px; ">조회조건 :</caption>
- <caption id="caption3" class="search_name" style="left:15; top:9px; width:86px; height:17px; ">조회조건 :</caption>
- <select1 id="rdo_refcond" ref="/root/send/refcond" class="radio_search" overflow="visible" appearance="full" cols="2" style="left:100px; top:8px; width:148px; height:20px; border-style:solid; ">
- <choices>
- <itemset nodeset="/root/init/refcond">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setFocus("ipt_refcond");
- ]]>
- </script>
- </select1>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:49px; width:145px; height:14px; ">소득자리스트</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:64px; x2:950; y2:64px; "/>
- <datagrid id="grd_incmpsnlist" nodeset="/root/main/list/incmpsnlist" caption="주민등록번호^성명^사업자등록번호^상호^우편번호^우편번호1^우편번호2^우편번호일련번호^주소^상세주소^전화번호^이메일주소^여권번호^비고^내외국인^내외국인구분^소득구분코드^거주자구분" colsep="^" colwidth="100, 97, 91, 151, 56, 0, 0, 0, 193, 137, 126, 118, 120, 200, 30, 30, 30, 30" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:69px; width:950px; height:451px; ">
- <col ref="rrgstno" format="999999-9999999"/>
- <col ref="name"/>
- <col ref="entrregno" format="999-99-99999"/>
- <col ref="custnm"/>
- <col ref="zipcd"/>
- <col ref="zipcd1"/>
- <col ref="zipcd2"/>
- <col ref="zipcdseqno"/>
- <col ref="supaddr"/>
- <col ref="infaddr"/>
- <col ref="cntctel"/>
- <col ref="emailaddr"/>
- <col ref="passportno"/>
- <col ref="cmt"/>
- <col ref="ionatiflag"/>
- <col ref="incmflag" visibility="hidden"/>
- <col ref="residentflag"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if( grd_incmpsnlist.isCell(event.target) && grd_incmpsnlist.row >= grd_incmpsnlist.fixedRows )
- {
- btn_confirm.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_openpsn" class="btn2_letter5" style="left:874px; top:44px; width:75px; height:19px; ">
- <caption>소득자등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPRAC00611");
-
- ]]>
- </script>
- </button>
- </group>
- <group id="group1" scroll="auto" style="left:8px; top:524px; width:950; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" style="left:837px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- misfPopUpListReturn(grd_incmpsnlist);
- //SMRAT00500_기타소득소득자별연간집계표.xrw
-
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" style="left:894px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- window.close();
-
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:950; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|