SMRPS03300_교육예산종합조회.xrw 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  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. <rpsdbugtotaltlist/>
  11. </main>
  12. <send>
  13. <appyy/>
  14. <instcd/>
  15. <educflag/>
  16. <instnm/>
  17. </send>
  18. <init/>
  19. <temp/>
  20. </root>
  21. </instance>
  22. <script type="javascript" ev:event="xforms-ready">
  23. <![CDATA[
  24. finit();
  25. ]]>
  26. </script>
  27. <submission id="TRRPS03301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rpsdbugtotaltlist"/>
  28. </model>
  29. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  30. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  31. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  32. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  33. <script type="javascript" src="../../../mis/educationmngtweb/js/RPS001.js"/>
  34. <script type="javascript">
  35. <![CDATA[
  36. function finit() {
  37. /* Grid 초기화 */
  38. misfGridInit(grd_rpsdbugtlist);
  39. rpsfMsterDetailSet(grd_rpsdbugtlist,null, "TRRPS03301" ,"N");
  40. var curdate = getCurrentDate();
  41. model.setValue(ipt_appyy.attribute("ref") , curdate.substr(0, 4));
  42. // rpsEducSetComboList(ipt_appyy.value, "M01-001,M01-002", "cmb_educlrgcd,cmb_educmdlcd", "Y", "1,2");
  43. rpsEducSetComboList("M01-002", "cmb_educflag", "Y");
  44. model.refresh();
  45. }
  46. ]]>
  47. </script>
  48. </xhtml:head>
  49. <xhtml:body style="margin-left:8; margin-right:8; ">
  50. <group id="group1" style="left:0px; top:0px; width:1195; height:13px; ">
  51. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:160px; height:14px; ">교육 예산/결산</caption>
  52. </group>
  53. <group id="group2" scroll="auto" style="left:0px; top:43px; width:1195px; height:739px; ">
  54. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:5px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  55. <button id="btn_search" class="btn1_letter2" style="left:1130px; top:12px; width:56px; height:22px; ">
  56. <caption>조회</caption>
  57. <script type="javascript" ev:event="DOMActivate">
  58. <![CDATA[
  59. if(!isRequiredControls("ipt_appyy")) return;
  60. misfGridInit(grd_rpsdbugtlist);
  61. submit("TRRPS03301");
  62. grd_rpsdbugtlist.mergeCells = "bycol";
  63. grd_rpsdbugtlist.mergeCol(grd_rpsdbugtlist.colRef("educcdnm")) = true;
  64. grd_rpsdbugtlist.mergeCol(grd_rpsdbugtlist.colRef("bugtflagnm"))= true;
  65. grd_rpsdbugtlist.mergeCol(grd_rpsdbugtlist.colRef("bugtflag")) = false;
  66. grd_rpsdbugtlist.mergeCol(grd_rpsdbugtlist.colRef("item1")) = false;
  67. grd_rpsdbugtlist.mergeCol(grd_rpsdbugtlist.colRef("item2")) = false;
  68. grd_rpsdbugtlist.mergeCol(grd_rpsdbugtlist.colRef("item3")) = false;
  69. grd_rpsdbugtlist.mergeCol(grd_rpsdbugtlist.colRef("item4")) = false;
  70. grd_rpsdbugtlist.mergeCol(grd_rpsdbugtlist.colRef("item5")) = false;
  71. grd_rpsdbugtlist.mergeCol(grd_rpsdbugtlist.colRef("item6")) = false;
  72. grd_rpsdbugtlist.mergeCol(grd_rpsdbugtlist.colRef("item7")) = false;
  73. grd_rpsdbugtlist.mergeCol(grd_rpsdbugtlist.colRef("item8")) = false;
  74. grd_rpsdbugtlist.mergeCol(grd_rpsdbugtlist.colRef("item9")) = false;
  75. grd_rpsdbugtlist.mergeCol(grd_rpsdbugtlist.colRef("item10")) = false;
  76. grd_rpsdbugtlist.mergeCol(grd_rpsdbugtlist.colRef("item11")) = false;
  77. grd_rpsdbugtlist.mergeCol(grd_rpsdbugtlist.colRef("item12")) = false;
  78. grd_rpsdbugtlist.mergeCol(grd_rpsdbugtlist.colRef("itemtotal")) = false;
  79. grd_rpsdbugtlist.mergeCol(grd_rpsdbugtlist.colRef("choipsncnt"))= false;
  80. grd_rpsdbugtlist.mergeCol(grd_rpsdbugtlist.colRef("appyy")) = false;
  81. grd_rpsdbugtlist.mergeCol(grd_rpsdbugtlist.colRef("instcd")) = false;
  82. grd_rpsdbugtlist.mergeCol(grd_rpsdbugtlist.colRef("educcd")) = false;
  83. grd_rpsdbugtlist.mergeCol(grd_rpsdbugtlist.colRef("unslno")) = false;
  84. grd_rpsdbugtlist.mergeCol(grd_rpsdbugtlist.colRef("unsldd")) = false;
  85. grd_rpsdbugtlist.mergeCol(grd_rpsdbugtlist.colRef("psnbugt")) = false;
  86. grd_rpsdbugtlist.merge();
  87. grd_rpsdbugtlist.rowstyle((grd_rpsdbugtlist.rows-2), "data", "background-color") = "#ffff99";
  88. grd_rpsdbugtlist.rowstyle((grd_rpsdbugtlist.rows-1), "data", "background-color") = "#ffff99";
  89. ]]>
  90. </script>
  91. </button>
  92. <line id="line13" class="line_4" visibility="hidden" style="x1:1110px; y1:12px; x2:1110px; y2:34px; "/>
  93. <line id="line8" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:69px; "/>
  94. <caption id="caption20" class="tit_2" style="left:5px; top:54px; width:169px; height:14px; ">교육 예산/결산(단위:원)</caption>
  95. <caption id="cap_appyy" class="search_name" style="left:32px; top:14px; width:90px; height:17px; ">교육년도 :</caption>
  96. <input id="ipt_appyy" ref="/root/send/appyy" class="input_s_essential" inputtype="date" format="yyyy" style="left:119px; top:13px; width:95px; height:19px; text-align:center; "/>
  97. <caption id="cap_mainbdunit" class="search_name" style="left:291px; top:14px; width:91px; height:17px; ">주체기관 :</caption>
  98. <select1 id="cmb_educflag" ref="/root/send/educflag" class="combo_search" appearance="minimal" style="left:740px; top:13px; width:130px; height:19px; text-align:left; ">
  99. <choices>
  100. <itemset>
  101. <label/>
  102. <value/>
  103. </itemset>
  104. </choices>
  105. </select1>
  106. <caption id="cap_educlrgcd" class="search_name" style="left:652px; top:14px; width:91px; height:17px; ">교육구분 :</caption>
  107. <button id="btn_saveexcel" class="btn2_letter4" style="left:1129px; top:48px; width:64px; height:19px; ">
  108. <caption>엑셀저장</caption>
  109. <script type="javascript" ev:event="DOMActivate">
  110. <![CDATA[
  111. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  112. if (fileName != "")
  113. {
  114. grd_rpsdbugtlist.saveExcel(fileName, "sheet1");
  115. }
  116. ]]>
  117. </script>
  118. </button>
  119. <button id="button8" class="icon_search" style="left:538px; top:13px; width:16px; height:16px; ">
  120. <caption/>
  121. <script type="javascript" ev:event="DOMActivate">
  122. <![CDATA[
  123. var recv_list = "instcd,instnm";
  124. misfOpenPopUpList("03", ipt_instnm,"Z0007", recv_list, "", "") ;
  125. model.refresh();
  126. ]]>
  127. </script>
  128. </button>
  129. <input id="ipt_instnm" ref="/root/send/instnm" class="input_search" appearance="input" style="left:378px; top:13px; width:158px; height:19px; ">
  130. <script type="javascript" ev:event="xforms-value-changed">
  131. <![CDATA[
  132. if( ipt_instnm.value.getByteLength() == '0' ) {
  133. ipt_instcd.value = "" ;
  134. }
  135. model.refresh();
  136. ]]>
  137. </script>
  138. </input>
  139. <input id="ipt_instcd" ref="/root/send/instcd" disabled="true" visibility="hidden" style="left:559px; top:13px; width:50px; height:19px; "/>
  140. <datagrid id="grd_rpsdbugtlist" nodeset="/root/main/rpsdbugtotaltlist" caption="교육명^^구분^숙박비^식비^내부강사비^외부강사비^교통비^대관료^교재비^자료비^간식비^진행비^의복비^예비비^총계^이수인원^인당교육비^년도^기관^교육코드^전표번호^전표일자" colsep="^" colwidth="183, 40, 44, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 80, 60, 80, 80, 80, 80, 80, 80" rowheader="update" rowsep="|" style="left:0px; top:73px; width:1195px; height:652px; ">
  141. <col ref="educcdnm"/>
  142. <col ref="bugtflagnm" style="text-align:center; "/>
  143. <col ref="bugtflag" visibility="hidden"/>
  144. <col ref="item1" type="output" format="#,###" style="text-align:right; "/>
  145. <col ref="item2" type="output" format="#,###" style="text-align:right; "/>
  146. <col ref="item3" type="output" format="#,###" style="text-align:right; "/>
  147. <col ref="item4" type="output" format="#,###" style="text-align:right; "/>
  148. <col ref="item5" type="output" format="#,###" style="text-align:right; "/>
  149. <col ref="item6" type="output" format="#,###" style="text-align:right; "/>
  150. <col ref="item7" type="output" format="#,###" style="text-align:right; "/>
  151. <col ref="item8" type="output" format="#,###" style="text-align:right; "/>
  152. <col ref="item9" type="output" format="#,###" style="text-align:right; "/>
  153. <col ref="item10" type="output" format="#,###" style="text-align:right; "/>
  154. <col ref="item11" type="output" format="#,###" style="text-align:right; "/>
  155. <col ref="item12" type="output" format="#,###" style="text-align:right; "/>
  156. <col ref="itemtotal" format="#,###" style="text-align:right; "/>
  157. <col ref="choipsncnt" style="text-align:right; "/>
  158. <col ref="psnbugt" format="#,###" style="text-align:right; "/>
  159. <col ref="appyy" rowspan="2" visibility="hidden"/>
  160. <col ref="instcd" rowspan="2" visibility="hidden"/>
  161. <col ref="educcd" rowspan="2" visibility="hidden"/>
  162. <col ref="unslno" visibility="hidden"/>
  163. <col ref="unsldd" visibility="hidden" format="yyyy-mm-dd"/>
  164. </datagrid>
  165. </group>
  166. <group id="grp_btn" scroll="auto" style="left:0px; top:17px; width:1195px; height:27px; ">
  167. <button id="btn_init" class="btn4_letter3" style="left:1125px; top:3px; width:68px; height:22px; ">
  168. <caption>초기화</caption>
  169. <script type="javascript" ev:event="DOMActivate">
  170. <![CDATA[
  171. finit();
  172. ]]>
  173. </script>
  174. </button>
  175. <button id="btn_print" class="btn6_letter2" style="left:1px; top:3px; width:56px; height:22px; ">
  176. <caption>출력</caption>
  177. <script type="javascript" ev:event="DOMActivate">
  178. <![CDATA[
  179. exeReportPreview("RPRPS03301", "XMLSTR");
  180. ]]>
  181. </script>
  182. </button>
  183. </group>
  184. </xhtml:body>
  185. </xhtml:html>