PPRAC01200_유가증권HELP.xrw 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <validation>
  11. <wtpplist/>
  12. </validation>
  13. </main>
  14. <send>
  15. <condition>
  16. <retrkind>wtppcd</retrkind>
  17. <getcond/>
  18. </condition>
  19. </send>
  20. <target>
  21. <defaultvalue/>
  22. </target>
  23. <init>
  24. </init>
  25. </root>
  26. </instance>
  27. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  28. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  29. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  30. <script type="javascript" ev:event="xforms-ready">
  31. <![CDATA[
  32. fOpenForm();
  33. ]]>
  34. </script>
  35. <script type="javascript">
  36. <![CDATA[
  37. //========================================================================================
  38. //화면 로드시 초기화 함수
  39. //========================================================================================
  40. function fOpenForm()
  41. {
  42. model.removenode("/root/main/wtpplist");
  43. if(instance1.selectNodes("/root/target/validation/wtpplist").length == 0)
  44. {
  45. fGetWtppList();
  46. }
  47. else
  48. {
  49. model.copyNode("root/main","/root/target/validation");
  50. }
  51. model.setFocus("ipt_retrnm");
  52. model.refresh();
  53. }
  54. //========================================================================================
  55. //계좌코드 조회
  56. //========================================================================================
  57. function fGetWtppList()
  58. {
  59. model.removenode("/root/main/wtpplist");//조회시 기존 데이터 삭제
  60. submit("TRRAC91201");
  61. model.refresh();
  62. }
  63. ]]>
  64. </script>
  65. <submission id="TRRAC91201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condition" resultref="/root/main/validation"/>
  66. </model>
  67. </xhtml:head>
  68. <xhtml:body pagewidth="710" pageheight="560" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  69. <group id="group3" scroll="auto" style="left:8px; top:0px; width:680px; height:520px; ">
  70. <caption id="caption1" class="tit_2" style="left:5px; top:49px; width:118px; height:13px; ">유가증권 리스트</caption>
  71. <line id="line1" class="line_1" style="x1:0px; y1:64px; x2:680px; y2:64px; "/>
  72. <group id="group6" style="left:0px; top:5px; width:680px; height:35px; vertical-align:top; ">
  73. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:680px; height:35; "/>
  74. <line id="line8" class="line_4" style="x1:594px; y1:6px; x2:594px; y2:29px; "/>
  75. <caption id="caption5" class="search_name" style="left:15; top:9; width:88px; height:17px; ">조회조건 :</caption>
  76. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:609px; top:7px; width:56px; height:22px; y1:7; ">
  77. <caption>조회</caption>
  78. <script type="javascript" ev:event="DOMActivate">
  79. <![CDATA[
  80. fGetWtppList();
  81. ]]>
  82. </script>
  83. </button>
  84. <select1 id="rdo_refcond" ref="/root/send/condition/retrkind" class="radio_search" navindex="1" overflow="visible" appearance="full" cellspacing="15" cols="2" style="left:100px; top:9px; width:220px; height:19px; border-style:none; ">
  85. <choices>
  86. <item>
  87. <label>유가증권번호</label>
  88. <value>wtppcd</value>
  89. </item>
  90. <item>
  91. <label>유가증권명칭</label>
  92. <value>wtppnm</value>
  93. </item>
  94. </choices>
  95. </select1>
  96. <input id="ipt_retrnm" ref="/root/send/condition/getcond" class="input_s_essential" navindex="3" style="left:328px; top:8px; width:195px; height:19px; ">
  97. <script type="javascript" ev:event="onkeypress">
  98. <![CDATA[
  99. if(event.keyCode == 13)
  100. {
  101. ipt_retrnm.value = ipt_retrnm.currentText;
  102. btn_search.dispatch("DOMActivate");
  103. }
  104. ]]>
  105. </script>
  106. </input>
  107. </group>
  108. <datagrid id="grd_wtpplist" nodeset="/root/main/validation/wtpplist" caption="유가증권번호^계좌번호^유가증권명칭^유가증권구분^기관코드^계정과목^발행처사업자등록번호^청구처사업자등록번호^채권번호FROM^채권번호TO^매수(수량)^취득금액^발행일자^취득일자^만기일자^이자율^매각일자^매입목적^사용여부^이자지급구분^발행처사업자거래처명^청구처사업자거래처명" colsep="^" colwidth="85, 150, 89, 100, 80, 100, 100, 100, 100, 100, 71, 100, 100, 100, 100, 70, 100, 100, 100, 100, 100, 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; ">
  109. <col ref="wtppcd"/>
  110. <col ref="aactno"/>
  111. <col ref="wtppnm"/>
  112. <col ref="wtppcls"/>
  113. <col ref="instcd" visibility="hidden"/>
  114. <col ref="acntcd" visibility="hidden"/>
  115. <col ref="suspentrregno" visibility="hidden"/>
  116. <col ref="reqentrregno" visibility="hidden"/>
  117. <col ref="bondfromno" visibility="hidden"/>
  118. <col ref="bondtono" visibility="hidden"/>
  119. <col ref="qty"/>
  120. <col ref="acqtamt"/>
  121. <col ref="suspdd" visibility="hidden"/>
  122. <col ref="joindd" visibility="hidden"/>
  123. <col ref="exprdd" visibility="hidden"/>
  124. <col ref="restrate"/>
  125. <col ref="saledd" visibility="hidden"/>
  126. <col ref="buyresn" visibility="hidden"/>
  127. <col ref="useyn" visibility="hidden"/>
  128. <col ref="acntnm"/>
  129. <col ref="suspcustnm"/>
  130. <col ref="reqcustnm"/>
  131. <script type="javascript" ev:event="ondblclick">
  132. <![CDATA[
  133. if( grd_wtpplist.isCell(event.target) && grd_wtpplist.row >= grd_wtpplist.fixedRows )
  134. {
  135. btn_confirm.dispatch("DOMActivate");
  136. }
  137. ]]>
  138. </script>
  139. <script type="javascript" ev:event="onaftersort">
  140. <![CDATA[
  141. grd_wtpplist.gridToInstance();
  142. ]]>
  143. </script>
  144. </datagrid>
  145. </group>
  146. <group id="group1" scroll="auto" style="left:8px; top:521px; width:580px; height:27px; ">
  147. <button id="btn_confirm" class="btn4_letter2" style="left:466px; top:5px; width:56px; height:22px; ">
  148. <caption>확인</caption>
  149. <script type="javascript" ev:event="DOMActivate">
  150. <![CDATA[
  151. misfPopUpListReturn(grd_wtpplist);
  152. ]]>
  153. </script>
  154. </button>
  155. <button id="btn_cancel" class="btn4_letter2" style="left:524px; top:5px; width:56px; height:22px; ">
  156. <caption>닫기</caption>
  157. <script type="javascript" ev:event="DOMActivate">
  158. <![CDATA[
  159. window.close();
  160. ]]>
  161. </script>
  162. </button>
  163. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:580; y2:0px; "/>
  164. </group>
  165. </xhtml:body>
  166. </xhtml:html>