PPRAC00400_계좌번호HELP.xrw 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>계좌 Help</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <aactlist/>
  11. </main>
  12. <send>
  13. <condition>
  14. <refcond>aactcd</refcond>
  15. <retrnm/>
  16. <acntcd/>
  17. </condition>
  18. <retrprarms2>
  19. <instcd/>
  20. <mngtcd>acntdept</mngtcd>
  21. </retrprarms2>
  22. </send>
  23. <target>
  24. <defaultvalue/>
  25. </target>
  26. <init>
  27. <code/>
  28. </init>
  29. </root>
  30. </instance>
  31. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  32. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  33. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  34. <script type="javascript" ev:event="xforms-ready">
  35. <![CDATA[
  36. fOpenForm();
  37. ]]>
  38. </script>
  39. <script type="javascript">
  40. <![CDATA[
  41. //========================================================================================
  42. //화면 로드시 초기화 함수
  43. //========================================================================================
  44. function fOpenForm()
  45. {
  46. model.removenode("/root/main/aactlist");
  47. model.setValue("/root/send/condition/acntcd", model.getValue("/root/target/defaultvalue/acntcd"));
  48. if(instance1.selectNodes("/root/target/validation/aactlist").length == 0)
  49. {
  50. fGetAactList();
  51. }
  52. else
  53. {
  54. model.copyNode("root/main","/root/target/validation");
  55. }
  56. model.setFocus("ipt_retrnm");
  57. model.refresh();
  58. }
  59. //========================================================================================
  60. //계좌코드 조회
  61. //========================================================================================
  62. function fGetAactList()
  63. {
  64. model.removenode("/root/main/aactlist");//조회시 기존 데이터 삭제
  65. grd_aactlist.colHidden(grd_aactlist.colRef("aactno")) = true;
  66. submit("TRRAC90401");
  67. model.setValue("/root/send/retrprarms2/instcd", getUserInfo("dutplceinstcd"));
  68. submit("TRRAZ00001");
  69. var vAactno = '';
  70. var vLength = '';
  71. if(model.getValue("/root/init/code/codelist/cdid") != getUserInfo("dutplcecd") && window.opener.javaScript.getScreenID() != "SMRAF00400")
  72. {
  73. for(var i = 1 ; i <= model.instance1.selectNodes(grd_aactlist.nodeset).length ; i++)
  74. {
  75. vAactno = model.getValue(grd_aactlist.nodeset + "[" + i + "]/aactno");
  76. vLength = model.getValue(grd_aactlist.nodeset + "[" + i + "]/aactno").length;
  77. model.setValue(grd_aactlist.nodeset + "[" + i + "]/aactno", "********** -" + vAactno.substr(vLength-3, 3));
  78. }
  79. }
  80. grd_aactlist.colHidden(grd_aactlist.colRef("aactno")) = false;
  81. //model.refresh();
  82. }
  83. ]]>
  84. </script>
  85. <submission id="TRRAC90401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condition" resultref="/root/main/aactlist"/>
  86. <submission id="TRRAZ00001" ref="/root/send/retrprarms2" resultref="/root/init/code"/>
  87. </model>
  88. </xhtml:head>
  89. <xhtml:body pagewidth="710" pageheight="560" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  90. <group id="group3" scroll="auto" style="left:8px; top:0px; width:680px; height:520px; ">
  91. <caption id="caption1" class="tit_2" style="left:5px; top:49px; width:118px; height:13px; ">계좌번호 리스트</caption>
  92. <line id="line1" class="line_1" style="x1:0px; y1:64px; x2:680px; y2:64px; "/>
  93. <group id="group6" style="left:0px; top:5px; width:680px; height:35px; vertical-align:top; ">
  94. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:680px; height:35; "/>
  95. <line id="line8" class="line_4" style="x1:594px; y1:6px; x2:594px; y2:29px; "/>
  96. <caption id="caption5" class="search_name" style="left:15; top:9; width:88px; height:17px; ">조회조건 :</caption>
  97. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:609px; top:7px; width:56px; height:22px; y1:7; ">
  98. <caption>조회</caption>
  99. <script type="javascript" ev:event="DOMActivate">
  100. <![CDATA[
  101. fGetAactList();
  102. ]]>
  103. </script>
  104. </button>
  105. <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; ">
  106. <choices>
  107. <item>
  108. <label>계좌코드</label>
  109. <value>aactcd</value>
  110. </item>
  111. <item>
  112. <label>계좌번호</label>
  113. <value>aactno</value>
  114. </item>
  115. </choices>
  116. </select1>
  117. <input id="ipt_retrnm" ref="/root/send/condition/retrnm" class="input_s_essential" navindex="3" style="left:258px; top:8px; width:195px; height:19px; ">
  118. <script type="javascript" ev:event="onkeypress">
  119. <![CDATA[
  120. if(event.keyCode == 13)
  121. {
  122. ipt_retrnm.value = ipt_retrnm.currentText;
  123. btn_search.dispatch("DOMActivate");
  124. }
  125. ]]>
  126. </script>
  127. </input>
  128. </group>
  129. <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; ">
  130. <col ref="aactcd" style="text-align:center; "/>
  131. <col ref="fncmnm"/>
  132. <col ref="aactno"/>
  133. <col ref="custnm"/>
  134. <col ref="joindd" format="yyyy-mm-dd" style="text-align:center; "/>
  135. <col ref="cmt"/>
  136. <script type="javascript" ev:event="ondblclick">
  137. <![CDATA[
  138. if( grd_aactlist.isCell(event.target) && grd_aactlist.row >= grd_aactlist.fixedRows )
  139. {
  140. btn_confirm.dispatch("DOMActivate");
  141. }
  142. ]]>
  143. </script>
  144. <script type="javascript" ev:event="onaftersort">
  145. <![CDATA[
  146. grd_aactlist.gridToInstance();
  147. ]]>
  148. </script>
  149. </datagrid>
  150. </group>
  151. <group id="group1" scroll="auto" style="left:8px; top:521px; width:580px; height:27px; ">
  152. <button id="btn_confirm" class="btn4_letter2" style="left:466px; top:5px; width:56px; height:22px; ">
  153. <caption>확인</caption>
  154. <script type="javascript" ev:event="DOMActivate">
  155. <![CDATA[
  156. misfPopUpListReturn(grd_aactlist);
  157. ]]>
  158. </script>
  159. </button>
  160. <button id="btn_cancel" class="btn4_letter2" style="left:524px; top:5px; width:56px; height:22px; ">
  161. <caption>닫기</caption>
  162. <script type="javascript" ev:event="DOMActivate">
  163. <![CDATA[
  164. window.close();
  165. ]]>
  166. </script>
  167. </button>
  168. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:580; y2:0px; "/>
  169. </group>
  170. </xhtml:body>
  171. </xhtml:html>