SMRAD04200_계정별보조부.xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  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>계정별보조부</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <grnt>
  11. <grntlist1>
  12. <instcd/>
  13. <chr01/>
  14. <chr02/>
  15. <chr03/>
  16. <chr04/>
  17. <chr05/>
  18. <chr06/>
  19. <chr07/>
  20. <chr08/>
  21. <chr09/>
  22. <chr10/>
  23. <rmrk/>
  24. <inamt/>
  25. <outamt/>
  26. <janamt/>
  27. <acntnm/>
  28. <title/>
  29. </grntlist1>
  30. </grnt>
  31. </main>
  32. <init/>
  33. <send>
  34. <fromdd/>
  35. <todd/>
  36. <instcd/>
  37. <acntcd/>
  38. <fromacntcd/>
  39. <fromacntnm/>
  40. <toacntcd/>
  41. <toacntnm/>
  42. <fromcustcode/>
  43. <tocustcode/>
  44. <fromcustnm/>
  45. <tocustnm/>
  46. <custcode/>
  47. <line/>
  48. <gubun/>
  49. <prntflag/>
  50. </send>
  51. <custinfo>
  52. <custlist>
  53. <aactno/>
  54. <bankcd/>
  55. <depor/>
  56. <custnm/>
  57. </custlist>
  58. </custinfo>
  59. <init>
  60. <combo3>
  61. <acntcmb>
  62. <acntcd/>
  63. <acntnm/>
  64. </acntcmb>
  65. </combo3>
  66. </init>
  67. <hidden>
  68. <resultflag/>
  69. </hidden>
  70. </root>
  71. </instance>
  72. <script type="javascript" ev:event="xforms-ready">
  73. <![CDATA[
  74. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  75. makeReportPreview(0,140,1195,620);
  76. var today = getCurrentDate();
  77. var cur_yymm = parseInt(today.substring(0, 6));
  78. model.setValue("/root/send/fromdd", today);
  79. model.setValue("/root/send/todd", today);
  80. //ipt_payym.refresh();
  81. submit("TRRAD01504");
  82. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  83. model.setValue(cmb_prntflag.attribute("ref") , getUserInfo("dutplceinstcd"));
  84. model.setValue("/root/send/gubun", "1");
  85. model.refresh();
  86. model.setFocus("ipt_payym");
  87. ]]>
  88. </script>
  89. <submission id="TRRAD04201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/grnt"/>
  90. <submission id="TRRAD01504" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/paydedu" resultref="/root/init/combo3"/>
  91. <submission id="TRRAD01502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/custinfo"/>
  92. </model>
  93. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  94. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  95. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  96. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  97. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  98. <script type="javascript" src="../../../mis/paybnusmngtweb/js/RWP001.js"/>
  99. </xhtml:head>
  100. <xhtml:body style="margin-left:8; margin-right:8; ">
  101. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  102. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">계정별보조부</caption>
  103. </group>
  104. <group id="group2" scroll="auto" style="left:0px; top:40px; width:1195px; height:740px; ">
  105. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1193px; height:65px; background-color:#fffbf2; border-color:#ffd799; "/>
  106. <button id="btn_search" class="btn1_letter2" style="left:1130px; top:17px; width:56px; height:22px; ">
  107. <caption>조회</caption>
  108. <script type="javascript" ev:event="DOMActivate">
  109. <![CDATA[
  110. submit("TRRAD04201");
  111. model.setValue("/root/hidden/resultflag",cmb_prntflag.label);
  112. if(model.getValue("/root/send/gubun") == "1"){
  113. exeReportPreview("RPRAD04201", "XMLSTR");//, "/root/main/payamt");
  114. }else{
  115. exeReportPreview("RPRAD04301", "XMLSTR");//, "/root/main/payamt");
  116. }
  117. ]]>
  118. </script>
  119. </button>
  120. <line id="line13" class="line_4" style="x1:1120px; y1:10px; x2:1120px; y2:64px; "/>
  121. <caption id="cap_payinst" class="search_name" style="left:15px; top:19px; width:86px; height:17px; ">소속기관:</caption>
  122. <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" disabled="true" appearance="minimal" style="left:96px; top:18px; width:154px; height:19px; ">
  123. <choices>
  124. <itemset>
  125. <label/>
  126. <value/>
  127. </itemset>
  128. </choices>
  129. </select1>
  130. <caption id="caption22" class="search_name" style="left:256px; top:18px; width:81px; height:17px; ">기준일자:</caption>
  131. <input id="ipt_payym" ref="/root/send/fromdd" class="input_default" navindex="1" inputtype="date" format="yyyy-mm-dd" style="left:340px; top:18px; width:105px; height:19px; text-align:center; vertical-align:middle; "/>
  132. <caption id="caption28" class="tit_2" style="left:5px; top:82px; width:209px; height:13px; ">계정별내역</caption>
  133. <line id="line193" class="line_1" style="x1:2px; y1:95px; x2:1192px; y2:95px; "/>
  134. <caption id="caption2" class="search_name" style="left:595px; top:18px; width:94px; height:17px; ">계정과목:</caption>
  135. <input id="input1" ref="/root/send/todd" class="input_default" navindex="2" inputtype="date" format="yyyy-mm-dd" style="left:460px; top:18px; width:105px; height:19px; text-align:center; vertical-align:middle; "/>
  136. <caption id="caption4" style="left:445px; top:20px; width:15px; height:20px; text-align:center; ">~</caption>
  137. <select1 id="combo2" ref="/root/send/fromacntcd" visibility="hidden" appearance="minimal" editmode="inputsearch" style="left:935px; top:70px; width:115px; height:19px; ">
  138. <choices>
  139. <itemset nodeset="/root/init/combo3/acntcmb">
  140. <label ref="acntnm"/>
  141. <value ref="acntcd"/>
  142. </itemset>
  143. </choices>
  144. </select1>
  145. <select1 id="combo3" ref="/root/send/toacntcd" visibility="hidden" appearance="minimal" editmode="inputsearch" style="left:1075px; top:70px; width:115px; height:19px; ">
  146. <choices>
  147. <itemset nodeset="/root/init/combo3/acntcmb">
  148. <label ref="acntnm"/>
  149. <value ref="acntcd"/>
  150. </itemset>
  151. </choices>
  152. </select1>
  153. <caption id="caption1" visibility="hidden" style="left:1055px; top:72px; width:15px; height:20px; text-align:center; ">~</caption>
  154. <caption id="caption3" class="search_name" style="left:256px; top:48px; width:79px; height:17px; ">LINE수:</caption>
  155. <input id="input2" ref="/root/send/line" style="left:340px; top:47px; width:55px; height:19px; "/>
  156. <input id="ipt_acntnm" ref="/root/send/fromacntnm" class="input_default" navindex="6" style="left:810px; top:18px; width:220px; height:19px; ">
  157. <script type="javascript" ev:event="onkeypress">
  158. <![CDATA[
  159. if(event.keyCode == 13)
  160. {
  161. ipt_acntnm.value = ipt_acntnm.currentText;
  162. misfValidationCheck("05", "", "fromacntcd,fromacntnm");
  163. model.refresh();
  164. }
  165. ]]>
  166. </script>
  167. </input>
  168. <caption id="caption5" class="search_name" style="left:415px; top:47px; width:94px; height:17px; ">출력구분:</caption>
  169. <select1 id="cmb_prntflag" ref="/root/send/prntflag" appearance="minimal" style="left:500px; top:47px; width:65px; height:19px; ">
  170. <choices>
  171. <item>
  172. <label>[본원]</label>
  173. <value>031</value>
  174. </item>
  175. <item>
  176. <label>[칠곡]</label>
  177. <value>032</value>
  178. </item>
  179. <item>
  180. <label>[통합]</label>
  181. <value>ALL</value>
  182. </item>
  183. </choices>
  184. </select1>
  185. <button id="btn_fine2" class="icon_search" style="left:790px; top:19px; width:16px; height:16px; ">
  186. <caption/>
  187. <script type="javascript" ev:event="DOMActivate">
  188. <![CDATA[
  189. misfOpenPopUpList("05", ipt_acntcd, "", "fromacntcd,fromacntnm");
  190. model.refresh();
  191. ]]>
  192. </script>
  193. </button>
  194. <input id="ipt_acntcd" ref="/root/send/fromacntcd" class="input_essential" navindex="5" maxlength="8" style="left:679px; top:18px; width:105px; height:19px; text-align:center; ">
  195. <script type="javascript" ev:event="onkeypress">
  196. <![CDATA[
  197. if(event.keyCode == 13)
  198. {
  199. ipt_acntcd.value = ipt_acntcd.currentText;
  200. misfValidationCheck("05", "", "fromacntcd,fromacntnm");
  201. model.refresh();
  202. }
  203. ]]>
  204. </script>
  205. </input>
  206. <input id="input3" ref="/root/send/toacntnm" class="input_default" navindex="6" style="left:811px; top:47px; width:220px; height:19px; ">
  207. <script type="javascript" ev:event="onkeypress">
  208. <![CDATA[
  209. if(event.keyCode == 13)
  210. {
  211. input3.value = input3.currentText;
  212. misfValidationCheck("05", "", "toacntcd,toacntnm");
  213. model.refresh();
  214. model.setFocus("input2");
  215. }
  216. ]]>
  217. </script>
  218. </input>
  219. <button id="button1" class="icon_search" style="left:791px; top:48px; width:16px; height:16px; ">
  220. <caption/>
  221. <script type="javascript" ev:event="DOMActivate">
  222. <![CDATA[
  223. misfOpenPopUpList("05", ipt_acntcd, "", "toacntcd,toacntnm");
  224. model.refresh();
  225. ]]>
  226. </script>
  227. </button>
  228. <input id="input4" ref="/root/send/toacntcd" class="input_essential" navindex="5" maxlength="8" style="left:680px; top:47px; width:105px; height:19px; text-align:center; ">
  229. <script type="javascript" ev:event="onkeypress">
  230. <![CDATA[
  231. if(event.keyCode == 13)
  232. {
  233. input4.value = input4.currentText;
  234. misfValidationCheck("05", "", "toacntcd,toacntnm");
  235. model.refresh();
  236. model.setFocus("input2");
  237. }
  238. ]]>
  239. </script>
  240. </input>
  241. <caption id="caption7" style="left:1035px; top:20px; width:15px; height:20px; text-align:center; ">~</caption>
  242. <select1 id="radio1" ref="/root/send/gubun" appearance="full" cols="2" overflow="visible" style="left:95px; top:48px; width:165px; height:17px; border-style:none; ">
  243. <choices>
  244. <item>
  245. <label>보조부</label>
  246. <value>1</value>
  247. </item>
  248. <item>
  249. <label>보조부(편철용)</label>
  250. <value>2</value>
  251. </item>
  252. </choices>
  253. </select1>
  254. <caption id="caption8" class="search_name" style="left:15px; top:48px; width:86px; height:17px; ">소속기관:</caption>
  255. <datagrid id="datagrid1" nodeset="/root/main/grnt/grntlist1" caption="caption1^caption2^caption3^caption4^caption5^caption6^caption7^caption8^caption9^caption10^caption11^caption12^caption13^caption14^caption15^caption16" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:85px; top:160px; width:820px; height:50px; ">
  256. <col ref="instcd"/>
  257. <col ref="chr01"/>
  258. <col ref="chr02"/>
  259. <col ref="chr03"/>
  260. <col ref="chr04"/>
  261. <col ref="chr05"/>
  262. <col ref="chr06"/>
  263. <col ref="chr07"/>
  264. <col ref="chr08"/>
  265. <col ref="chr09"/>
  266. <col ref="chr10"/>
  267. <col ref="rmrk"/>
  268. <col ref="inamt"/>
  269. <col ref="outamt"/>
  270. <col ref="janamt"/>
  271. <col ref="acntnm"/>
  272. <col ref="title"/>
  273. </datagrid>
  274. <button id="button3" class="btn2_letter4" style="left:1055px; top:45px; width:64px; height:19px; text-align:left; ">
  275. <caption>엑셀출력</caption>
  276. <script type="javascript" ev:event="onclick">
  277. <![CDATA[
  278. //radfSaveExcel(ipt_detailist);
  279. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  280. datagrid1.saveExcel(fileName,"SheetName:sheet1");
  281. ]]>
  282. </script>
  283. </button>
  284. </group>
  285. <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1195px; height:25px; "/>
  286. </xhtml:body>
  287. </xhtml:html>