123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190 |
- <?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>
- <aactlist/>
- </main>
- <send>
- <condition>
- <refcond>aactcd</refcond>
- <retrnm/>
- <acntcd/>
- </condition>
- <retrprarms2>
- <instcd/>
- <mngtcd>acntdept</mngtcd>
- </retrprarms2>
- </send>
- <target>
- <defaultvalue/>
- </target>
- <init>
- <code/>
- </init>
- </root>
- </instance>
- <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"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fOpenForm();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- //========================================================================================
- //화면 로드시 초기화 함수
- //========================================================================================
- function fOpenForm()
- {
- model.removenode("/root/main/aactlist");
-
- model.setValue("/root/send/condition/acntcd", model.getValue("/root/target/defaultvalue/acntcd"));
-
- if(instance1.selectNodes("/root/target/validation/aactlist").length == 0)
- {
- fGetAactList();
- }
- else
- {
- model.copyNode("root/main","/root/target/validation");
- }
-
- model.setFocus("ipt_retrnm");
- model.refresh();
- }
-
- //========================================================================================
- //계좌코드 조회
- //========================================================================================
- function fGetAactList()
- {
-
-
-
- model.removenode("/root/main/aactlist");//조회시 기존 데이터 삭제
- grd_aactlist.colHidden(grd_aactlist.colRef("aactno")) = true;
- submit("TRRAC90401");
-
- model.setValue("/root/send/retrprarms2/instcd", getUserInfo("dutplceinstcd"));
-
- submit("TRRAZ00001");
-
- var vAactno = '';
- var vLength = '';
-
- if(model.getValue("/root/init/code/codelist/cdid") != getUserInfo("dutplcecd") && window.opener.javaScript.getScreenID() != "SMRAF00400")
- {
- for(var i = 1 ; i <= model.instance1.selectNodes(grd_aactlist.nodeset).length ; i++)
- {
- vAactno = model.getValue(grd_aactlist.nodeset + "[" + i + "]/aactno");
- vLength = model.getValue(grd_aactlist.nodeset + "[" + i + "]/aactno").length;
-
- model.setValue(grd_aactlist.nodeset + "[" + i + "]/aactno", "********** -" + vAactno.substr(vLength-3, 3));
- }
- }
-
- grd_aactlist.colHidden(grd_aactlist.colRef("aactno")) = false;
-
- //model.refresh();
- }
- ]]>
- </script>
- <submission id="TRRAC90401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condition" resultref="/root/main/aactlist"/>
- <submission id="TRRAZ00001" ref="/root/send/retrprarms2" resultref="/root/init/code"/>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="710" pageheight="560" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:8px; top:0px; width:680px; height:520px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:49px; width:118px; height:13px; ">계좌번호 리스트</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:64px; x2:680px; y2:64px; "/>
- <group id="group6" style="left:0px; top:5px; width:680px; height:35px; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:680px; height:35; "/>
- <line id="line8" class="line_4" style="x1:594px; y1:6px; x2:594px; y2:29px; "/>
- <caption id="caption5" class="search_name" style="left:15; top:9; width:88px; height:17px; ">조회조건 :</caption>
- <button id="btn_search" class="btn1_letter2" navindex="4" style="left:609px; top:7px; width:56px; height:22px; y1:7; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetAactList();
- ]]>
- </script>
- </button>
- <select1 id="rdo_refcond" ref="/root/send/condition/refcond" class="radio_search" navindex="1" overflow="visible" appearance="full" cellspacing="15" cols="2" style="left:100; top:9; width:158px; height:19px; border-style:none; ">
- <choices>
- <item>
- <label>계좌코드</label>
- <value>aactcd</value>
- </item>
- <item>
- <label>계좌번호</label>
- <value>aactno</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_retrnm" ref="/root/send/condition/retrnm" class="input_s_essential" navindex="3" style="left:258px; top:8px; width:195px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- ipt_retrnm.value = ipt_retrnm.currentText;
-
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- </group>
- <datagrid id="grd_aactlist" nodeset="/root/main/aactlist" caption="계좌코드^계좌명칭^계좌번호^거래처^가입일^비고" colsep="^" colwidth="55, 120, 122, 140, 90,100" dataheight="23" defaultrows="0" ellipsis="true" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="never" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:69px; width:680px; height:451px; ">
- <col ref="aactcd" style="text-align:center; "/>
- <col ref="fncmnm"/>
- <col ref="aactno"/>
- <col ref="custnm"/>
- <col ref="joindd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="cmt"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
-
- if( grd_aactlist.isCell(event.target) && grd_aactlist.row >= grd_aactlist.fixedRows )
- {
- btn_confirm.dispatch("DOMActivate");
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_aactlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group1" scroll="auto" style="left:8px; top:521px; width:580px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" style="left:466px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfPopUpListReturn(grd_aactlist);
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" style="left:524px; 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:580; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|