SPSDE00301_외래신환율.xrw 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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>외래 신환율</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <outfpatrate>
  11. <outfpatratelist/>
  12. <outfpatrateheader/>
  13. </outfpatrate>
  14. </main>
  15. <send>
  16. <in_yyyy/>
  17. <in_mm/>
  18. <in_yymmdd/>
  19. </send>
  20. <hidden>
  21. <menulist1>
  22. <filenm/>
  23. <linkyn/>
  24. <lrgcd/>
  25. <mdlcd/>
  26. <smlcd/>
  27. <filecd/>
  28. </menulist1>
  29. </hidden>
  30. </root>
  31. </instance>
  32. <script type="javascript" ev:event="xforms-ready">
  33. <![CDATA[
  34. fInitialize();
  35. ]]>
  36. </script>
  37. <submission id="TRSDE00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/outfpatrate"/>
  38. </model>
  39. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  40. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  41. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  42. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  43. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  44. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  45. <script type="javascript" src="../../../pam/opatmngtweb/js/PMOCOM.js"/>
  46. <script type="javascript">
  47. <![CDATA[
  48. function fInitialize()
  49. {
  50. var strfromdd=getCurrentDateTime();
  51. var datfromdd = strfromdd.toDate("YYYYMMDD");
  52. var in_fromdd=datfromdd.getAddDate(-1,"Y").getDateFormat("YYYYMMDD");
  53. model.setValue("/root/send/in_yyyy",in_fromdd.substr(0,6));
  54. grdOutFPatRate.caption="^^^^^^^^^^^^^|^^^^^^^^^^^^^";
  55. model.refresh();
  56. }
  57. ]]>
  58. </script>
  59. </xhtml:head>
  60. <xhtml:body>
  61. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  62. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">외래신환율</caption>
  63. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  64. </group>
  65. <shape id="roundrect8" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:25px; width:1195px; height:50px; "/>
  66. <datagrid id="grdOutFPatRate" nodeset="/root/main/outfpatrate/outfpatratelist" caption="^^^^^^^^^^^|^^^^^^^^^^^" colsep="^" colwidth="118, 87, 87, 87, 87,,87, 87, 87, 87, 87, 87, 87, 87" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:90px; width:1195px; height:645px; ">
  67. <col ref="orddeptnm"/>
  68. <col ref="col1"/>
  69. <col ref="col2"/>
  70. <col ref="col3"/>
  71. <col ref="col4"/>
  72. <col ref="col5"/>
  73. <col ref="col6"/>
  74. <col ref="col7"/>
  75. <col ref="col8"/>
  76. <col ref="col9"/>
  77. <col ref="col10"/>
  78. <col ref="col11"/>
  79. <col ref="col12"/>
  80. </datagrid>
  81. <line id="line11" class="line_1" style="x1:4px; y1:15px; x2:1194px; y2:15px; "/>
  82. <caption id="cp_text3_1" ref="/root/init/rptm_cond/cond3/condcd/mdlnm" class="search_name" style="left:10px; top:40px; width:114px; height:17px; ">조회 시작년/월</caption>
  83. <button id="button1" class="btn6_letter3" navindex="3" style="left:1118px; top:40px; width:68px; height:22px; ">
  84. <caption>도움말</caption>
  85. <script type="javascript" ev:event="DOMActivate">
  86. <![CDATA[
  87. model.makeNode("/root/hidden/filecd");
  88. var strfilecd=model.getValue("/root/hidden/menulist1/lrgcd")+model.getValue("/root/hidden/menulist1/mdlcd")+model.getValue("/root/hidden/menulist1/smlcd")
  89. model.setValue("/root/hidden/filecd",strfilecd);
  90. modal("SPSDE00100", "50", "100", "100" ,"SPSDE00100", "/root/hidden/filecd", "/root/source/filecd");
  91. ]]>
  92. </script>
  93. </button>
  94. <button id="btn_execute" class="btn4_letter2" navindex="3" style="left:960px; top:40px; width:56px; height:22px; ">
  95. <caption>조회</caption>
  96. <script type="javascript" ev:event="DOMActivate">
  97. <![CDATA[
  98. model.resetInstanceNode("/root/main/outfpatrate");
  99. model.resetInstanceNode("/root/send/in_yymmdd");
  100. var stryymmdd=model.getValue("/root/send/in_yyyy") + model.getValue("/root/send/in_mm") + '01';
  101. model.setValue("/root/send/in_yymmdd",stryymmdd);
  102. submit("TRSDE00301");
  103. var strHeader = model.getValue("root/main/outfpatrate/outfpatrateheader/ret1");
  104. grdOutFPatRate.caption=strHeader;
  105. model.refresh();
  106. ]]>
  107. </script>
  108. </button>
  109. <button id="button2" class="btn6_letter4" navindex="3" style="left:1028px; top:40px; width:80px; height:22px; ">
  110. <caption>메인화면</caption>
  111. <script type="javascript" ev:event="DOMActivate">
  112. <![CDATA[
  113. window.close();
  114. ]]>
  115. </script>
  116. </button>
  117. <group id="group4" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
  118. <line id="line88" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  119. <button id="button3" class="btn4_letter3" style="left:1126px; top:4px; width:68px; height:22px; ">
  120. <caption>초기화</caption>
  121. <script type="javascript" ev:event="DOMActivate">
  122. <![CDATA[
  123. model.resetInstanceNode("/root/send");
  124. model.resetInstanceNode("/root/main/outfpatrate");
  125. fInitialize();
  126. ]]>
  127. </script>
  128. </button>
  129. </group>
  130. <line id="line1" class="line_1" style="x1:0px; y1:84px; x2:1195px; y2:85px; "/>
  131. <caption id="caption1" style="left:215px; top:40px; width:37px; height:20px; ">년/월</caption>
  132. <input id="cboYear" ref="/root/send/in_yyyy" class="input_search" navindex="2" visibility="visible" inputtype="date" format="yyyy/mm" style="left:130px; top:40px; width:80px; height:19px; text-align:center; "/>
  133. </xhtml:body>
  134. </xhtml:html>