SMRBP01800_분기별예산집행현황.xrw 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686
  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. <bugtexecprescond>
  12. <deptnm/>
  13. <deptcd/>
  14. <supacntnm2/>
  15. <supacntnm3/>
  16. <supacntnm4/>
  17. <acntnm/>
  18. <yearbugtamt/>
  19. <bugtamt/>
  20. <execamt/>
  21. <execrate/>
  22. <bugtbal/>
  23. </bugtexecprescond>
  24. </list>
  25. </main>
  26. <send>
  27. <retrparam>
  28. <acntyy/>
  29. <deptcd/>
  30. <deptnm/>
  31. <supacntcd2/>
  32. <supacntcd3/>
  33. <supacntcd4/>
  34. <acntcd/>
  35. <flag/>
  36. <fromym/>
  37. <toym/>
  38. <selgbn>A</selgbn>
  39. <bugtflag>2</bugtflag>
  40. <fromquarter/>
  41. <toquarter/>
  42. <userid/>
  43. </retrparam>
  44. <retrprarms2>
  45. <instcd/>
  46. <mngtcd>%</mngtcd>
  47. </retrprarms2>
  48. <date/>
  49. </send>
  50. <init>
  51. <temp>
  52. <supacntcd2/>
  53. <supacntnm2/>
  54. <supacntcd3/>
  55. <supacntnm3/>
  56. <supacntcd4/>
  57. <supacntnm4/>
  58. <acntcd/>
  59. <acntnm/>
  60. </temp>
  61. <code>
  62. <codelist/>
  63. </code>
  64. </init>
  65. <temp>
  66. <cadldd/>
  67. </temp>
  68. <deptinfo>
  69. <deptyn/>
  70. </deptinfo>
  71. </root>
  72. </instance>
  73. <submission id="TRRAZ00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrprarms2" resultref="/root/init/code/codelist"/>
  74. <submission id="TRRBP01801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparam" resultref="/root/main/list"/>
  75. <submission id="TRRBP01802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparam" resultref="/root/deptinfo"/>
  76. </model>
  77. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  78. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  79. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  80. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  81. <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
  82. <script type="javascript" src="../../../mis/miscommonweb/js/RBC001.js"/>
  83. <script type="javascript" src="../../../mis/acntcommonweb/js/RAD001.js"/>
  84. <script type="javascript" ev:event="xforms-ready">
  85. <![CDATA[
  86. fCheckAuth();
  87. fResetForm();
  88. ]]>
  89. </script>
  90. <script type="javascript">
  91. <![CDATA[
  92. var sPreSupAcntCd2 = "";
  93. var sPreSupAcntCd3 = "";
  94. var sPreSupAcntCd4 = "";
  95. var sPreAcntCd = "";
  96. var Deptcd = getUserInfo("dutplcecd");
  97. var Deptnm = getUserInfo("dutplcenm");
  98. var Emplno = getUserInfo("userid");
  99. var acntdept = ""; //재무팀 부서코드 default 값 "4030100000"
  100. var bugtdept = ""; //기획팀 부서코드 default 값 "4060100000"
  101. //========================================================================================
  102. //화면 권한 체크
  103. //========================================================================================
  104. function fCheckAuth()
  105. {
  106. btn_search.disabled = !checkAuth("R") ;
  107. }
  108. function fResetForm()
  109. {
  110. model.removenode("/root/main/list/bugtexecprescond");
  111. misfMsterDetailSet(grd_bugtexecprescond, null, "TRRBP01801", "N");
  112. model.setValue("/root/send/retrparam/flag", "2");
  113. rbcfGetSupAcntListCombo(cmb_supacntcd2, "Y", "supacntcd2,supacntnm2");
  114. model.setValue("/root/send/date", getCurrentDate());
  115. racfGetCadlYmd("/root/send/date", "/root/temp");
  116. ipt_acntyy.value = model.getValue("/root/temp/acntyy");
  117. model.setValue("/root/send/retrparam/fromquarter", "1");
  118. model.setValue("/root/send/retrparam/toquarter", "4");
  119. model.setValue("/root/send/retrparam/deptcd", Deptcd);
  120. model.setValue("/root/send/retrparam/deptnm", Deptnm);
  121. model.setValue("/root/send/retrprarms2/instcd", getUserInfo("dutplceinstcd"));
  122. model.setValue("/root/send/retrparam/userid", getUserInfo("userid"));
  123. submit("TRRBP01802");
  124. var deptyn = model.getValue("/root/deptinfo/deptyn");
  125. if(deptyn == 'Y'){
  126. ipt_deptcd.disabled = false;
  127. ipt_deptnm.disabled = false;
  128. btn_depthelp.disabled = false;
  129. }else{
  130. ipt_deptcd.disabled = true;
  131. ipt_deptnm.disabled = true;
  132. btn_depthelp.disabled = true;
  133. }
  134. /*
  135. submit("TRRAZ00001");
  136. for (i=1; i<=instance1.selectNodes("root/init/code/code/codelist").length; i++)
  137. {
  138. cdgbn = model.getValue("/root/init/code/code/codelist[" + i + "]/cdgbn");
  139. if (cdgbn == "acntdept")
  140. {
  141. acntdept = model.getValue("/root/init/code/code/codelist[" + i + "]/cdid");
  142. }
  143. else if (cdgbn == "bugtdept")
  144. {
  145. bugtdept = model.getValue("/root/init/code/code/codelist[" + i + "]/cdid");
  146. }
  147. }
  148. if(!(bugtdept == getUserInfo("dutplcecd") || acntdept == getUserInfo("dutplcecd")))
  149. {
  150. rdo_retrflag.value = "D";
  151. rdo_retrflag.disabled = true;
  152. model.setValue("/root/send/retrparam/deptcd", getUserInfo("dutplcecd"));
  153. model.setValue("/root/send/retrparam/deptnm", getUserInfo("dutplcenm"));
  154. //ipt_deptcd.disabled = true;
  155. //ipt_deptnm.disabled = true;
  156. //btn_depthelp.disabled = true;
  157. rdo_retrflag.dispatch("xforms-value-changed");
  158. }*/
  159. model.setFocus("ipt_deptnm");
  160. model.refresh();
  161. }
  162. //========================================================================================
  163. //부서코드 Help Open
  164. //========================================================================================
  165. function fOpenPopupDeptHelp(pControl, pInstance)
  166. {
  167. misfOpenPopUpList("11", pControl, "", pInstance);
  168. model.refresh();
  169. }
  170. //========================================================================================
  171. //예산사용부서 관,항,목,세목 계정코드 조회 Help
  172. //========================================================================================
  173. function fOpenPopupBugtUseAcntHelp(pControl, pInstance)
  174. {
  175. misfOpenPopUpList("17", pControl, "", pInstance);
  176. model.refresh();
  177. }
  178. function fsetAcntCdCombo()
  179. {
  180. cmb_supacntcd2.value = model.getValue("/root/init/temp/supacntcd2");
  181. model.setValue("/root/send/retrparam/flag", "3");
  182. rbcfGetSupAcntListCombo(cmb_supacntcd3, "Y", "supacntcd3,supacntnm3");
  183. cmb_supacntcd3.value = model.getValue("/root/init/temp/supacntcd3");
  184. model.setValue("/root/send/retrparam/flag", "4");
  185. rbcfGetSupAcntListCombo(cmb_supacntcd4, "Y", "supacntcd4,supacntnm4");
  186. cmb_supacntcd4.value = model.getValue("/root/init/temp/supacntcd4");
  187. model.setValue("/root/send/retrparam/flag", "5");
  188. rbcfGetSupAcntListCombo(cmb_acntcd, "Y", "acntcd,acntnm");
  189. cmb_acntcd.value = model.getValue("/root/init/temp/acntcd");
  190. }
  191. ]]>
  192. </script>
  193. </xhtml:head>
  194. <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  195. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  196. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:230px; height:14px; ">분기별예산집행현황</caption>
  197. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  198. </group>
  199. <group id="group3" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  200. <datagrid id="grd_bugtexecprescond" nodeset="/root/main/list/bugtexecprescond" caption="구분^부서코드^관^항^목^계정명^조정후예산액^배정누계액^집행액^집행율(%)^품의가능액" colsep="^" colwidth="170, 130, 130, 130, 180, 100, 100, 100, 100, 100, 100" dataheight="25" mergecells="byrestriccol" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:135px; width:1194px; height:600px; ">
  201. <col ref="deptnm" style="text-align:center; "/>
  202. <col ref="deptcd" visibility="hidden"/>
  203. <col ref="supacntnm2"/>
  204. <col ref="supacntnm3"/>
  205. <col ref="supacntnm4"/>
  206. <col ref="acntnm"/>
  207. <col ref="yearbugtamt" format="(-)#,###" style="text-align:right; "/>
  208. <col ref="bugtamt" format="(-)#,###" style="text-align:right; "/>
  209. <col ref="execamt" format="(-)#,###" style="text-align:right; "/>
  210. <col ref="execrate" format="###.##" style="text-align:right; "/>
  211. <col ref="bugtbal" format="(-)#,###" style="text-align:right; "/>
  212. </datagrid>
  213. <line id="line1" class="line_1" style="x1:0px; y1:130px; x2:1194px; y2:130px; "/>
  214. <group id="group2" style="left:0px; top:10px; width:1194px; height:90px; vertical-align:top; ">
  215. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:85px; background-color:#fffbf2; border-color:#ffd799; "/>
  216. <caption id="caption9" class="search_name" style="left:10px; top:9px; width:86px; height:17px; ">회계년도 :</caption>
  217. <caption id="caption10" class="search_name" style="left:10px; top:35px; width:86px; height:17px; ">계정과목</caption>
  218. <caption id="caption11" class="search_name" style="left:98px; top:35px; width:52px; height:17px; ">관 :</caption>
  219. <caption id="caption12" class="search_name" style="left:292px; top:35px; width:53px; height:17px; ">항 :</caption>
  220. <caption id="caption13" class="search_name" style="left:489px; top:35px; width:52px; height:17px; ">목 :</caption>
  221. <caption id="caption14" class="search_name" style="left:688px; top:35px; width:67px; height:17px; ">세목 :</caption>
  222. <line id="line30" class="line_4" style="x1:1107px; y1:4px; x2:1107px; y2:57px; "/>
  223. <button id="btn_search" class="btn1_letter2" style="left:1123; top:19px; width:56px; height:22px; ">
  224. <caption>조회</caption>
  225. <script type="javascript" ev:event="DOMActivate">
  226. <![CDATA[
  227. if(getUserInfo("dutplcecd") == model.getValue(ipt_deptcd.attribute("ref"))
  228. || radfCheckBugtAuth(getUserInfo("dutplceinstcd"), getUserInfo("userid"), model.getValue(ipt_deptcd.attribute("ref")), 'BUGTSEARCHYN') == "Y"
  229. || getUserInfo("dutplcecd") == bugtdept )
  230. {
  231. misfMsterDetailRetrieve();
  232. grd_bugtexecprescond.subtotalposition = "below";
  233. grd_bugtexecprescond.multitotals = true;
  234. grd_bugtexecprescond.subtotal("sum", -1, 7, "format:#,###; roundmode:round; roundpostion:2", "background-color:#3366ff; color:#ffffff; ", 1, "전 체 합 계", false);
  235. grd_bugtexecprescond.subtotal("sum", -1, 8, "format:#,###; roundmode:round; roundpostion:2", "background-color:#3366ff; color:#ffffff; ", 1, "전 체 합 계", false);
  236. grd_bugtexecprescond.subtotal("sum", -1, 9, "format:#,###; roundmode:round; roundpostion:2", "background-color:#3366ff; color:#ffffff; ", 1, "전 체 합 계", false);
  237. grd_bugtexecprescond.subtotal("sum", -1, 11, "format:#,###; roundmode:round; roundpostion:2", "background-color:#3366ff; color:#ffffff; ", 1, "전 체 합 계", false);
  238. grd_bugtexecprescond.subtotal("sum", 1, 7, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; ", 1, "부서 예산합계", true);
  239. grd_bugtexecprescond.subtotal("sum", 1, 8, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; ", 1, "부서 예산합계", true);
  240. grd_bugtexecprescond.subtotal("sum", 1, 9, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; ", 1, "부서 예산합계", true);
  241. grd_bugtexecprescond.subtotal("sum", 1, 11, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; ", 1, "부서 예산합계", true);
  242. grd_bugtexecprescond.subtotal("sum", 3, 7, "format:#,###; roundmode:round; roundpostion:2", "background-color:#00ffff; color:#000000; ", 3, "소 계", true);
  243. grd_bugtexecprescond.subtotal("sum", 3, 8, "format:#,###; roundmode:round; roundpostion:2", "background-color:#00ffff; color:#000000; ", 3, "소 계", true);
  244. grd_bugtexecprescond.subtotal("sum", 3, 9, "format:#,###; roundmode:round; roundpostion:2", "background-color:#00ffff; color:#000000; ", 3, "소 계", true);
  245. grd_bugtexecprescond.subtotal("sum", 3, 11, "format:#,###; roundmode:round; roundpostion:2", "background-color:#00ffff; color:#000000; ", 3, "소 계", true);
  246. grd_bugtexecprescond.subtotal("sum", 4, 7, "format:#,###; roundmode:round; roundpostion:2", "background-color:#ccffff; color:#000000; ", 4, "소 계", true);
  247. grd_bugtexecprescond.subtotal("sum", 4, 8, "format:#,###; roundmode:round; roundpostion:2", "background-color:#ccffff; color:#000000; ", 4, "소 계", true);
  248. grd_bugtexecprescond.subtotal("sum", 4, 9, "format:#,###; roundmode:round; roundpostion:2", "background-color:#ccffff; color:#000000; ", 4, "소 계", true);
  249. grd_bugtexecprescond.subtotal("sum", 4, 11, "format:#,###; roundmode:round; roundpostion:2", "background-color:#ccffff; color:#000000; ", 4, "소 계", true);
  250. grd_bugtexecprescond.subtotal("sum", 5, 7, "format:#,###; roundmode:round; roundpostion:2", "background-color:#ccffcc; color:#000000; ", 5, "소 계", true);
  251. grd_bugtexecprescond.subtotal("sum", 5, 8, "format:#,###; roundmode:round; roundpostion:2", "background-color:#ccffcc; color:#000000; ", 5, "소 계", true);
  252. grd_bugtexecprescond.subtotal("sum", 5, 9, "format:#,###; roundmode:round; roundpostion:2", "background-color:#ccffcc; color:#000000; ", 5, "소 계", true);
  253. grd_bugtexecprescond.subtotal("sum", 5, 11, "format:#,###; roundmode:round; roundpostion:2", "background-color:#ccffcc; color:#000000; ", 5, "소 계", true);
  254. grd_bugtexecprescond.refresh();
  255. }
  256. else
  257. {
  258. messageBox("조회권한이 없습니다.", "I000");
  259. }
  260. ]]>
  261. </script>
  262. </button>
  263. <input id="ipt_acntyy" ref="/root/send/retrparam/acntyy" class="input_s_essential" navindex="1" maxlength="4" style="left:100px; top:8px; width:70px; height:19px; text-align:center; ">
  264. <script type="javascript" ev:event="xforms-value-changed">
  265. <![CDATA[
  266. if(model.getValue("/root/send/retrparam/acntyy").length != 4)
  267. {
  268. messageBox("회계년도가 잘못입력 되었습니다.", "I999");
  269. return;
  270. }
  271. model.setValue("/root/send/date", model.getValue("/root/send/retrparam/acntyy"));
  272. racfGetCadlYmd("/root/send/date", "/root/temp");
  273. ipt_fromym.value = model.getValue("/root/temp/fromdd").substr(0, 6);
  274. ipt_toym.value = model.getValue("/root/temp/todd").substr(0, 6);
  275. ]]>
  276. </script>
  277. </input>
  278. <button id="btn_supacnthelp" class="icon_search" style="left:872px; top:35px; width:16px; height:16px; ">
  279. <caption/>
  280. <script type="javascript" ev:event="DOMActivate">
  281. <![CDATA[
  282. fOpenPopupBugtUseAcntHelp(opt_temp, "supacntcd2,supacntnm2,supacntcd3,supacntnm3,supacntcd4,supacntnm4,acntcd,acntnm");
  283. fsetAcntCdCombo();
  284. ]]>
  285. </script>
  286. </button>
  287. <output id="opt_temp" ref="/root/init/temp/supacntcd2" visibility="hidden" style="left:1095px; top:5px; width:20px; height:19px; "/>
  288. <caption id="caption1" class="search_name" style="left:413px; top:8px; width:86px; height:17px; ">조회기간 :</caption>
  289. <caption id="caption3" style="left:561px; top:8px; width:15px; height:20px; ">~</caption>
  290. <button id="btn_depthelp" class="icon_search" style="left:873px; top:8px; width:16px; height:16px; ">
  291. <caption/>
  292. <script type="javascript" ev:event="DOMActivate">
  293. <![CDATA[
  294. fOpenPopupDeptHelp(ipt_deptcd, "deptcd,deptnm");
  295. ]]>
  296. </script>
  297. </button>
  298. <input id="ipt_deptnm" ref="/root/send/retrparam/deptnm" class="input_s_essential" disabled="true" navindex="3" imemode="hangul" style="left:894px; top:8px; width:178px; height:19px; ">
  299. <script type="javascript" ev:event="onkeypress">
  300. <![CDATA[
  301. if(event.keyCode == 13)
  302. {
  303. model.setFocus("btn_search");
  304. }
  305. ]]>
  306. </script>
  307. <script type="javascript" ev:event="xforms-value-changed">
  308. <![CDATA[
  309. racfDeptValidCheck("deptcd,deptnm");
  310. if(ipt_deptcd.value != "" &&ipt_deptnm.value != "")
  311. {
  312. btn_search.dispatch("DOMActivate");
  313. }
  314. ]]>
  315. </script>
  316. </input>
  317. <input id="ipt_deptcd" ref="/root/send/retrparam/deptcd" class="input_s_essential" disabled="true" navindex="2" maxlength="10" style="left:779px; top:8px; width:89px; height:19px; ">
  318. <script type="javascript" ev:event="onkeypress">
  319. <![CDATA[
  320. if(event.keyCode == 13)
  321. {
  322. model.setFocus("ipt_deptnm");
  323. }
  324. ]]>
  325. </script>
  326. <script type="javascript" ev:event="xforms-value-changed">
  327. <![CDATA[
  328. racfDeptValidCheck("deptcd,deptnm");
  329. if(ipt_deptcd.value != "" &&ipt_deptnm.value != "")
  330. {
  331. btn_search.dispatch("DOMActivate");
  332. }
  333. ]]>
  334. </script>
  335. </input>
  336. <caption id="caption5" class="search_name" style="left:184px; top:9px; width:95px; height:17px; ">조회구분 :</caption>
  337. <caption id="cpt_deptcd" class="search_name" style="left:690px; top:8px; width:96px; height:17px; ">부 서 :</caption>
  338. <select1 id="rdo_bugtflag" ref="/root/send/retrparam/bugtflag" overflow="visible" appearance="full" cellspacing="20" cols="4" style="left:96px; top:60px; width:254px; height:20px; border-style:none; ">
  339. <choices>
  340. <item>
  341. <label>수입</label>
  342. <value>1</value>
  343. </item>
  344. <item>
  345. <label>비용</label>
  346. <value>2</value>
  347. </item>
  348. <item>
  349. <label>구매</label>
  350. <value>3</value>
  351. </item>
  352. <item>
  353. <label>자본</label>
  354. <value>4</value>
  355. </item>
  356. </choices>
  357. <script type="javascript" ev:event="xforms-value-changed">
  358. <![CDATA[
  359. /*var selgbn = model.getValue("/root/send/retrparam/selgbn");
  360. if (selgbn == "A") {
  361. cpt_deptcd.visible = false;
  362. ipt_deptcd.visible = false;
  363. btn_depthelp.visible = false;
  364. ipt_deptnm.visible = false;
  365. //grd_bugtexecprescond.colHidden(grd_bugtexecprescond.colRef("deptnm")) = true;
  366. grd_bugtexecprescond.caption = "구분^부서코드^관^항^목^계정명^계정(관)코드^계정(항)코드^계정(목)코드^계정코드^예산액^집행액^집행율(%)^예산잔액";
  367. model.setValue("/root/send/retrparam/deptcd","");
  368. model.setValue("/root/send/retrparam/deptnm","");
  369. model.refresh();
  370. } else {
  371. cpt_deptcd.visible = true;
  372. ipt_deptcd.visible = true;
  373. btn_depthelp.visible = true;
  374. ipt_deptnm.visible = true;
  375. //grd_bugtexecprescond.colHidden(grd_bugtexecprescond.colRef("deptnm")) = false;
  376. grd_bugtexecprescond.caption = "부서명^부서코드^관^항^목^계정명^계정(관)코드^계정(항)코드^계정(목)코드^계정코드^예산액^집행액^집행율(%)^예산잔액";
  377. }*/
  378. btn_search.dispatch("DOMActivate");
  379. ]]>
  380. </script>
  381. </select1>
  382. <caption id="caption2" class="search_name" style="left:10px; top:60px; width:95px; height:17px; ">예산구분 :</caption>
  383. <select1 id="rdo_retrflag" ref="/root/send/retrparam/selgbn" overflow="visible" appearance="full" cellspacing="20" cols="2" style="left:275px; top:9px; width:125px; height:20px; border-style:none; ">
  384. <choices>
  385. <item>
  386. <label>전체</label>
  387. <value>A</value>
  388. </item>
  389. <item>
  390. <label>부서별</label>
  391. <value>D</value>
  392. </item>
  393. </choices>
  394. <script type="javascript" ev:event="xforms-value-changed">
  395. <![CDATA[/*
  396. var selgbn = model.getValue("/root/send/retrparam/selgbn");
  397. if (selgbn == "A") {
  398. cpt_deptcd.visible = false;
  399. ipt_deptcd.visible = false;
  400. btn_depthelp.visible = false;
  401. ipt_deptnm.visible = false;
  402. //grd_bugtexecprescond.colHidden(grd_bugtexecprescond.colRef("deptnm")) = true;
  403. grd_bugtexecprescond.caption = "구분^부서코드^관^항^목^계정명^계정(관)코드^계정(항)코드^계정(목)코드^계정코드^예산액^집행액^집행율(%)^예산잔액";
  404. model.setValue("/root/send/retrparam/deptcd","");
  405. model.setValue("/root/send/retrparam/deptnm","");
  406. model.refresh();
  407. } else {
  408. cpt_deptcd.visible = true;
  409. ipt_deptcd.visible = true;
  410. btn_depthelp.visible = true;
  411. ipt_deptnm.visible = true;
  412. //grd_bugtexecprescond.colHidden(grd_bugtexecprescond.colRef("deptnm")) = false;
  413. grd_bugtexecprescond.caption = "부서명^부서코드^관^항^목^계정명^계정(관)코드^계정(항)코드^계정(목)코드^계정코드^예산액^집행액^집행율(%)^예산잔액";
  414. }*/
  415. btn_search.dispatch("DOMActivate");
  416. ]]>
  417. </script>
  418. </select1>
  419. </group>
  420. <caption id="caption35" class="tit_2" style="left:5px; top:114px; width:139px; height:14px; ">분기별예산집행 목록</caption>
  421. <select1 id="cmb_supacntcd2" ref="/root/send/retrparam/supacntcd2" class="combo_s_essential" navindex="32" appearance="minimal" style="left:146px; top:44px; width:129px; height:19px; ">
  422. <choices>
  423. <itemset>
  424. <label/>
  425. <value/>
  426. </itemset>
  427. </choices>
  428. <script type="javascript" ev:event="xforms-value-changed">
  429. <![CDATA[
  430. if(cmb_supacntcd2.value != sPreSupAcntCd2)
  431. {
  432. model.setValue("/root/send/retrparam/supacntcd3", "");
  433. model.setValue("/root/send/retrparam/supacntcd4", "");
  434. model.setValue("/root/send/retrparam/acntcd", "");
  435. model.removeNodeset("/root/init/cmb_supacntcd3");
  436. model.removeNodeset("/root/init/cmb_supacntcd4");
  437. model.removeNodeset("/root/init/cmb_acntcd");
  438. sPreSupAcntCd2 = cmb_supacntcd2.value;
  439. model.refresh();
  440. }
  441. model.setValue("/root/send/retrparam/flag", "3");
  442. rbcfGetSupAcntListCombo(cmb_supacntcd3, "Y", "supacntcd3,supacntnm3");
  443. ]]>
  444. </script>
  445. </select1>
  446. <select1 id="cmb_supacntcd3" ref="/root/send/retrparam/supacntcd3" class="combo_s_essential" navindex="32" appearance="minimal" style="left:342px; top:44px; width:123px; height:19px; ">
  447. <choices>
  448. <itemset>
  449. <label/>
  450. <value/>
  451. </itemset>
  452. </choices>
  453. <script type="javascript" ev:event="xforms-value-changed">
  454. <![CDATA[
  455. if(cmb_supacntcd3.value == sPreSupAcntCd3)
  456. {
  457. model.setValue("/root/send/retrparam/supacntcd4", "");
  458. model.setValue("/root/send/retrparam/acntcd", "");
  459. model.removeNodeset("/root/init/cmb_supacntcd4");
  460. model.removeNodeset("/root/init/cmb_acntcd");
  461. sPreSupAcntCd3 = cmb_supacntcd3.value;
  462. model.refresh();
  463. }
  464. model.setValue("/root/send/retrparam/flag", "4");
  465. rbcfGetSupAcntListCombo(cmb_supacntcd4, "Y", "supacntcd4,supacntnm4");
  466. ]]>
  467. </script>
  468. </select1>
  469. <select1 id="cmb_supacntcd4" ref="/root/send/retrparam/supacntcd4" class="combo_s_essential" navindex="32" appearance="minimal" style="left:539px; top:44px; width:131px; height:19px; ">
  470. <choices>
  471. <itemset>
  472. <label/>
  473. <value/>
  474. </itemset>
  475. </choices>
  476. <script type="javascript" ev:event="xforms-value-changed">
  477. <![CDATA[
  478. model.setValue("/root/send/retrparam/flag", "5");
  479. rbcfGetSupAcntListCombo(cmb_acntcd, "Y", "acntcd,acntnm");
  480. if(cmb_supacntcd4.value == "")
  481. {
  482. model.setValue("/root/send/retrparam/acntcd", "");
  483. model.removeNodeset("/root/init/cmb_acntcd");
  484. model.refresh();
  485. }
  486. ]]>
  487. </script>
  488. </select1>
  489. <select1 id="cmb_acntcd" ref="/root/send/retrparam/acntcd" class="combo_s_essential" navindex="32" appearance="minimal" style="left:752px; top:44px; width:113px; height:19px; ">
  490. <choices>
  491. <itemset>
  492. <label/>
  493. <value/>
  494. </itemset>
  495. </choices>
  496. <script type="javascript" ev:event="xforms-value-changed">
  497. <![CDATA[
  498. btn_search.dispatch("DOMActivate");
  499. ]]>
  500. </script>
  501. </select1>
  502. <button id="btn_excel" class="btn2_letter2" style="left:1150px; top:110px; width:42px; height:19px; ">
  503. <caption>엑셀</caption>
  504. <script type="javascript" ev:event="DOMActivate">
  505. <![CDATA[
  506. misfSaveExcel(grd_bugtexecprescond);
  507. ]]>
  508. </script>
  509. </button>
  510. <select1 id="combo1" ref="/root/send/retrparam/fromquarter" class="combo_s_essential" navindex="32" appearance="minimal" style="left:503px; top:18px; width:50px; height:19px; ">
  511. <choices>
  512. <item>
  513. <label>1</label>
  514. <value>1</value>
  515. </item>
  516. <item>
  517. <label>2</label>
  518. <value>2</value>
  519. </item>
  520. <item>
  521. <label>3</label>
  522. <value>3</value>
  523. </item>
  524. <item>
  525. <label>4</label>
  526. <value>4</value>
  527. </item>
  528. </choices>
  529. <script type="javascript" ev:event="xforms-value-changed">
  530. <![CDATA[
  531. if(cmb_supacntcd2.value != sPreSupAcntCd2)
  532. {
  533. model.setValue("/root/send/retrparam/supacntcd3", "");
  534. model.setValue("/root/send/retrparam/supacntcd4", "");
  535. model.setValue("/root/send/retrparam/acntcd", "");
  536. model.removeNodeset("/root/init/cmb_supacntcd3");
  537. model.removeNodeset("/root/init/cmb_supacntcd4");
  538. model.removeNodeset("/root/init/cmb_acntcd");
  539. sPreSupAcntCd2 = cmb_supacntcd2.value;
  540. model.refresh();
  541. }
  542. model.setValue("/root/send/retrparam/flag", "3");
  543. rbcfGetSupAcntListCombo(cmb_supacntcd3, "Y", "supacntcd3,supacntnm3");
  544. ]]>
  545. </script>
  546. </select1>
  547. <select1 id="combo2" ref="/root/send/retrparam/toquarter" class="combo_s_essential" navindex="32" appearance="minimal" style="left:580px; top:18px; width:50px; height:19px; ">
  548. <choices>
  549. <item>
  550. <label>1</label>
  551. <value>1</value>
  552. </item>
  553. <item>
  554. <label>2</label>
  555. <value>2</value>
  556. </item>
  557. <item>
  558. <label>3</label>
  559. <value>3</value>
  560. </item>
  561. <item>
  562. <label>4</label>
  563. <value>4</value>
  564. </item>
  565. </choices>
  566. <script type="javascript" ev:event="xforms-value-changed">
  567. <![CDATA[
  568. if(cmb_supacntcd2.value != sPreSupAcntCd2)
  569. {
  570. model.setValue("/root/send/retrparam/supacntcd3", "");
  571. model.setValue("/root/send/retrparam/supacntcd4", "");
  572. model.setValue("/root/send/retrparam/acntcd", "");
  573. model.removeNodeset("/root/init/cmb_supacntcd3");
  574. model.removeNodeset("/root/init/cmb_supacntcd4");
  575. model.removeNodeset("/root/init/cmb_acntcd");
  576. sPreSupAcntCd2 = cmb_supacntcd2.value;
  577. model.refresh();
  578. }
  579. model.setValue("/root/send/retrparam/flag", "3");
  580. rbcfGetSupAcntListCombo(cmb_supacntcd3, "Y", "supacntcd3,supacntnm3");
  581. ]]>
  582. </script>
  583. </select1>
  584. </group>
  585. <group id="group5" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
  586. <button id="button8" class="btn6_letter2" visibility="hidden" style="left:0px; top:3px; width:56px; height:22px; ">
  587. <caption>출력</caption>
  588. <script type="javascript" ev:event="DOMActivate">
  589. <![CDATA[
  590. ]]>
  591. </script>
  592. </button>
  593. <line id="line2" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  594. </group>
  595. </xhtml:body>
  596. </xhtml:html>