SMRBP01200_예산배정총괄(구).xrw 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  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. <list>
  11. <datalist>
  12. <instcd/>
  13. <gubn/>
  14. <acntyy/>
  15. <deptcd/>
  16. <bugtflag/>
  17. <supacntnm2/>
  18. <supacntnm3/>
  19. <supacntnm4/>
  20. <acntnm/>
  21. <totalorgbugtamt/>
  22. <totalrevsupmbugtamt/>
  23. <orgbugtamt1/>
  24. <orgbugtamt2/>
  25. <orgbugtamt3/>
  26. <orgbugtamt4/>
  27. <balance/>
  28. <revsupmbugtamt1/>
  29. <revsupmbugtamt2/>
  30. <revsupmbugtamt3/>
  31. <revsupmbugtamt4/>
  32. <aggregate/>
  33. </datalist>
  34. </list>
  35. </main>
  36. <send>
  37. <retrparams>
  38. <instcd/>
  39. <acntyy/>
  40. <deptcd/>
  41. <depthngnm/>
  42. <bugtflag/>
  43. </retrparams>
  44. <date/>
  45. </send>
  46. <hidden>
  47. </hidden>
  48. <init>
  49. </init>
  50. <temp/>
  51. </root>
  52. </instance>
  53. <submission id="TRRBP01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams" resultref="/root/main/list"/>
  54. </model>
  55. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  56. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  57. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  58. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  59. <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
  60. <script type="javascript" src="../../../mis/bugtcommonweb/js/RBC001.js"/>
  61. <script type="javascript" src="../../../mis/acntcommonweb/js/RAD001.js"/>
  62. <script type="javascript" ev:event="xforms-ready">
  63. <![CDATA[
  64. fCheckAuth();
  65. fInitialize();
  66. ]]>
  67. </script>
  68. <script type="javascript">
  69. <![CDATA[
  70. var acntdept = ""; //재무팀 부서코드 default 값 "4030100000"
  71. var bugtdept = ""; //기획팀 부서코드 default 값 "4060100000"
  72. var Deptcd = getUserInfo("dutplcecd");
  73. var Deptnm = getUserInfo("dutplcenm");
  74. //========================================================================================
  75. //화면 권한 체크
  76. //========================================================================================
  77. function fCheckAuth()
  78. {
  79. btn_search.disabled = !checkAuth("R") ;
  80. }
  81. //========================================================================================
  82. //초기화
  83. //========================================================================================
  84. function fInitialize()
  85. {
  86. model.removenode("/root/main/list/bugtexeclist");
  87. misfComboComCdListMulti("Z0007","cmb_instcd");
  88. model.setValue("/root/send/retrparams/instcd", getUserInfo("dutplceinstcd"));
  89. model.setValue("/root/send/date", getCurrentDate());
  90. racfGetCadlYmd("/root/send/date", "/root/temp");
  91. ipt_acntyy.value = model.getValue("/root/temp/acntyy");
  92. model.setValue("/root/send/retrparams/deptcd", Deptcd);
  93. model.setValue("/root/send/retrparams/depthngnm", Deptnm);
  94. rdo_bugtflag.value = "2"
  95. if(getUserInfo("dutplceinstcd") != "001")
  96. {
  97. cmb_instcd.disabled = true;
  98. }
  99. model.setFocus("ipt_deptcd");
  100. model.refresh();
  101. }
  102. //========================================================================================
  103. //부서코드 Help Open
  104. //========================================================================================
  105. function fOpenPopupDeptHelp(pControl, pInstance)
  106. {
  107. misfOpenPopUpList("11", pControl, "", pInstance);
  108. model.refresh();
  109. }
  110. //========================================================================================
  111. //각종 코드 Help Open
  112. //========================================================================================
  113. function fOpenPopupHelp(pHelper, pControl, pInstance, pCdgrupid, pValueControl, pNodeName)
  114. {
  115. misfOpenPopUpList(pHelper, pControl, pCdgrupid, pInstance, pValueControl, pNodeName);
  116. model.refresh();
  117. }
  118. //========================================================================================
  119. //출력
  120. //========================================================================================
  121. function fPrint()
  122. {
  123. exeReportPreview("RPRBP01201", "XMLSTR");
  124. model.refresh();
  125. }
  126. ]]>
  127. </script>
  128. </xhtml:head>
  129. <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  130. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  131. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:270px; height:14px; ">예산배정총괄(수익,비용,자본,구매예산)-구</caption>
  132. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  133. </group>
  134. <group id="group3" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  135. <line id="line1" class="line_1" style="x1:0px; y1:80px; x2:1195px; y2:80px; "/>
  136. <group id="group2" style="left:0px; top:10px; width:1194px; height:40px; vertical-align:top; ">
  137. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  138. <caption id="caption9" class="search_name" style="left:265px; top:12px; width:86px; height:17px; ">예산년도 :</caption>
  139. <button id="btn_search" class="btn1_letter2" navindex="8" style="left:1123px; top:9px; width:56px; height:22px; text-align:left; ">
  140. <caption>조회</caption>
  141. <script type="javascript" ev:event="DOMActivate">
  142. <![CDATA[
  143. model.removeNodeset(grd_bugtexecist.nodeset);
  144. model.refresh();
  145. submit("TRRBP01201");
  146. for(var i = 0 ; i < grd_bugtexecist.rows ; i++)
  147. {
  148. if(grd_bugtexecist.valueMatrix(i, grd_bugtexecist.colRef("gubn")) == "0"){
  149. grd_bugtexecist.rowStyle(i, "all", "background-color") = "#ff99cc";
  150. }else if(grd_bugtexecist.valueMatrix(i, grd_bugtexecist.colRef("gubn")) == "1"){
  151. grd_bugtexecist.rowStyle(i, "all", "background-color") = "#ffcc99";
  152. }else if(grd_bugtexecist.valueMatrix(i, grd_bugtexecist.colRef("gubn")) == "2"){
  153. grd_bugtexecist.rowStyle(i, "all", "background-color") = "#ffff99";
  154. }else if(grd_bugtexecist.valueMatrix(i, grd_bugtexecist.colRef("gubn")) == "3"){
  155. grd_bugtexecist.rowStyle(i, "all", "background-color") = "#ccffcc";
  156. }else if(grd_bugtexecist.valueMatrix(i, grd_bugtexecist.colRef("gubn")) == "4"){
  157. grd_bugtexecist.rowStyle(i, "all", "background-color") = "#cc99ff";
  158. }else if(grd_bugtexecist.valueMatrix(i, grd_bugtexecist.colRef("gubn")) == "5"){
  159. grd_bugtexecist.rowStyle(i, "all", "background-color") = "#ffffff";
  160. }
  161. }
  162. ]]>
  163. </script>
  164. </button>
  165. <line id="line2" class="line_4" style="x1:1107px; y1:8px; x2:1107px; y2:31px; border-color:#ffe4bb; border-left-style:solid; "/>
  166. <input id="ipt_acntyy" ref="/root/send/retrparams/acntyy" class="input_s_essential" navindex="2" style="left:355px; top:11px; width:100px; height:19px; text-align:center; "/>
  167. <select1 id="cmb_instcd" ref="/root/send/retrparams/instcd" class="combo_search" navindex="1" appearance="minimal" style="left:102px; top:11px; width:153px; height:19px; ">
  168. <choices>
  169. <itemset>
  170. <label/>
  171. <value/>
  172. </itemset>
  173. </choices>
  174. </select1>
  175. <caption id="caption8" class="search_name" style="left:14px; top:12px; width:86px; height:17px; ">소속기관 :</caption>
  176. <select1 id="rdo_bugtflag" ref="/root/send/retrparams/bugtflag" navindex="27" overflow="visible" appearance="full" cellspacing="10" cols="4" style="left:884px; top:11px; width:206px; height:20px; border-style:none; ">
  177. <choices>
  178. <item>
  179. <label>수입</label>
  180. <value>1</value>
  181. </item>
  182. <item>
  183. <label>비용</label>
  184. <value>2</value>
  185. </item>
  186. <item>
  187. <label>구매</label>
  188. <value>3</value>
  189. </item>
  190. <item>
  191. <label>자본</label>
  192. <value>4</value>
  193. </item>
  194. </choices>
  195. <script type="javascript" ev:event="xforms-value-changed">
  196. <![CDATA[
  197. btn_search.dispatch("DOMActivate");
  198. ]]>
  199. </script>
  200. </select1>
  201. <caption id="caption5" class="search_name" style="left:795px; top:12px; width:87px; height:17px; ">예산구분 :</caption>
  202. <input id="ipt_depthngnm" ref="/root/send/retrparams/depthngnm" class="input_s_essential" disabled="false" navindex="3" imemode="hangul" style="left:635px; top:11px; width:150px; height:19px; ">
  203. <script type="javascript" ev:event="onkeypress">
  204. <![CDATA[
  205. racfBugtDeptValidCheck("deptcd,depthngnm", "name");
  206. if(event.keyCode == 13)
  207. {
  208. btn_search.dispatch("DOMActivate");
  209. }
  210. ]]>
  211. </script>
  212. <script type="javascript" ev:event="xforms-value-changed">
  213. <![CDATA[
  214. racfBugtDeptValidCheck("deptcd,depthngnm", "name");
  215. if(ipt_deptcd.value != "" && ipt_depthngnm.value != "")
  216. {
  217. btn_search.dispatch("DOMActivate");
  218. }
  219. ]]>
  220. </script>
  221. </input>
  222. <button id="btn_depthelp" class="icon_search" disabled="false" style="left:614px; top:11px; width:16px; height:16px; ">
  223. <caption/>
  224. <script type="javascript" ev:event="DOMActivate">
  225. <![CDATA[
  226. fOpenPopupDeptHelp(ipt_deptcd, "deptcd,depthngnm");
  227. if(ipt_deptcd.value != "" &&ipt_depthngnm.value != "")
  228. {
  229. btn_search.dispatch("DOMActivate");
  230. }
  231. ]]>
  232. </script>
  233. </button>
  234. <caption id="caption3" class="search_name" style="left:466px; top:12px; width:107px; height:17px; ">부서 :</caption>
  235. <input id="ipt_deptcd" ref="/root/send/retrparams/deptcd" class="input_s_essential" disabled="false" navindex="2" maxlength="10" style="left:530px; top:11px; width:80px; height:19px; ">
  236. <script type="javascript" ev:event="onkeypress">
  237. <![CDATA[
  238. if(event.keyCode == 13)
  239. {
  240. model.setFocus("ipt_depthngnm");
  241. }
  242. ]]>
  243. </script>
  244. <script type="javascript" ev:event="xforms-value-changed">
  245. <![CDATA[
  246. racfBugtDeptValidCheck("deptcd,depthngnm", "code");
  247. if(ipt_deptcd.value != "" &&ipt_depthngnm.value != "")
  248. {
  249. btn_search.dispatch("DOMActivate");
  250. }
  251. ]]>
  252. </script>
  253. </input>
  254. </group>
  255. <caption id="caption2" class="tit_2" style="left:5px; top:65px; width:126px; height:14px; ">예산배정총괄-구</caption>
  256. <button id="btn_excel" class="btn2_letter4" style="left:1125px; top:55px; width:64px; height:19px; text-align:left; ">
  257. <caption>엑셀출력</caption>
  258. <script type="javascript" ev:event="DOMActivate">
  259. <![CDATA[
  260. ]]>
  261. </script>
  262. </button>
  263. <datagrid id="grd_bugtexecist" nodeset="/root/main/list/datalist" caption="기관코드^구분^예산연도^부서코드^예산구분^계정과목^계정과목^계정과목^계정과목^예산액^추경예산액^분기별 배정^분기별 배정^분기별 배정^분기별 배정^배정잔액^예산조정(추가,감액,전용)^예산조정(추가,감액,전용)^예산조정(추가,감액,전용)^예산조정(추가,감액,전용)^배정누계|기관코드^구분^예산연도^부서코드^예산구분^관^항^목^세목^예산액^추경예산액^1/4 분기^2/4 분기^3/4 분기^4/4 분기^배정잔액^1/4 분기^2/4 분기^3/4 분기^4/4 분기^배정누계" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:85px; width:1190px; height:645px; ">
  264. <col ref="instcd" visibility="hidden"/>
  265. <col ref="gubn" visibility="hidden"/>
  266. <col ref="acntyy" visibility="hidden"/>
  267. <col ref="deptcd" visibility="hidden"/>
  268. <col ref="bugtflag" visibility="hidden"/>
  269. <col ref="supacntnm2"/>
  270. <col ref="supacntnm3"/>
  271. <col ref="supacntnm4"/>
  272. <col ref="acntnm"/>
  273. <col ref="totalorgbugtamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  274. <col ref="totalrevsupmbugtamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  275. <col ref="orgbugtamt1" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  276. <col ref="orgbugtamt2" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  277. <col ref="orgbugtamt3" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  278. <col ref="orgbugtamt4" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  279. <col ref="balance" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  280. <col ref="revsupmbugtamt1" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  281. <col ref="revsupmbugtamt2" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  282. <col ref="revsupmbugtamt3" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  283. <col ref="revsupmbugtamt4" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  284. <col ref="aggregate" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  285. </datagrid>
  286. </group>
  287. <group id="group4" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
  288. <line id="line5" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  289. <button id="btn_print" class="btn4_letter2" style="left:1136px; top:3px; width:56px; height:22px; ">
  290. <caption>출력</caption>
  291. <script type="javascript" ev:event="DOMActivate">
  292. <![CDATA[
  293. fPrint();
  294. ]]>
  295. </script>
  296. </button>
  297. </group>
  298. </xhtml:body>
  299. </xhtml:html>