SMRBP00100_예산집행현황.xrw 24 KB

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