SMRAF00300_자금일보월보.xrw 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628
  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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list1>
  11. <acntpr/>
  12. </list1>
  13. <list2>
  14. <fundscdpr/>
  15. </list2>
  16. <list3>
  17. <planexeclist/>
  18. </list3>
  19. <daylist/>
  20. </main>
  21. <send>
  22. <retrparams>
  23. <instcd/>
  24. <instnm/>
  25. <frdate/>
  26. <todate/>
  27. <kind/>
  28. </retrparams>
  29. <retrparams2>
  30. <instcd/>
  31. <frdate/>
  32. <kind/>
  33. </retrparams2>
  34. <retrparams3>
  35. <instcd/>
  36. <frdate/>
  37. <kind/>
  38. </retrparams3>
  39. <retrparams4>
  40. <instcd/>
  41. <dutym/>
  42. </retrparams4>
  43. </send>
  44. <init/>
  45. <temp/>
  46. </root>
  47. </instance>
  48. <submission id="TRRAF00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams" resultref="/root/main/list1"/>
  49. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  50. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  51. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  52. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  53. <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
  54. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  55. <script type="javascript" ev:event="xforms-ready">
  56. <![CDATA[
  57. fInit();
  58. ]]>
  59. </script>
  60. <script type="javascript">
  61. <![CDATA[
  62. var arrBaseDD = new Array();
  63. var arrHoliFlag = new Array();
  64. var arrDayNm = new Array();
  65. function fInit()
  66. {
  67. misfComboComCdListMulti("Z0007,Z0007,Z0007", "cmb_instcd,cmb_instcd2,cmb_instcd3");
  68. model.removenode("/root/main/list1/acntpr");
  69. model.removenode("/root/main/list2/fundscdpr");
  70. model.removenode("/root/main/list3/planexeclist");
  71. model.setValue("/root/send/retrparams/instcd", getUserInfo("dutplceinstcd"));
  72. model.setValue("/root/send/retrparams/frdate", getCurrentDate());
  73. model.setValue("/root/send/retrparams/todate", getCurrentDate());
  74. model.setValue("/root/send/retrparams2/instcd", getUserInfo("dutplceinstcd"));
  75. model.setValue("/root/send/retrparams2/frdate", getCurrentDate().substr(0, 6));
  76. model.setValue("/root/send/retrparams3/instcd", getUserInfo("dutplceinstcd"));
  77. model.setValue("/root/send/retrparams3/frdate", getCurrentDate().substr(0, 6));
  78. fSetGridMonth("C");
  79. if(getUserInfo("dutplceinstcd") == '001')
  80. {
  81. cmb_instcd.visible = true;
  82. }
  83. model.refresh();
  84. }
  85. function fRetrieveAcntPr()
  86. {
  87. model.setValue("/root/send/retrparams/kind", "acntpr");
  88. submit("TRRAF00301");
  89. for(var i=2; i<grd_acntpr.rows; i++)
  90. {
  91. var sOrderFlag = model.getValue(grd_acntpr.nodeset + "[" + (i - 1) + "]/orderflag");
  92. if(sOrderFlag == "1") grd_acntpr.rowStyle(i, "all", "background-color") = "#ffffff";
  93. else if(sOrderFlag == "2") grd_acntpr.rowStyle(i, "all", "background-color") = "#ffffcc";
  94. else if(sOrderFlag == "3") grd_acntpr.rowStyle(i, "all", "background-color") = "#ccffcc";
  95. }
  96. model.refresh();
  97. }
  98. function fRetrieveFundsCdPr()
  99. {
  100. model.setValue("/root/send/retrparams2/kind", "fundscdpr");
  101. submit("TRRAF00302");
  102. model.refresh();
  103. for(var i=2; i<grd_fundscdpr.rows; i++)
  104. {
  105. var sOrderFlag = model.getValue(grd_fundscdpr.nodeset + "[" + (i - 1) + "]/orderflag");
  106. var sFundsCd = model.getValue(grd_fundscdpr.nodeset + "[" + (i - 1) + "]/setfundscd");
  107. if(sOrderFlag == "1")
  108. {
  109. if(sFundsCd == "0000" || sFundsCd == "9700") grd_fundscdpr.rowStyle(i, "all", "background-color") = "#eaeaea";
  110. else if(sFundsCd == "9800") grd_fundscdpr.rowStyle(i, "all", "background-color") = "#dddddd";
  111. else if(sFundsCd == "9900") grd_fundscdpr.rowStyle(i, "all", "background-color") = "#c0c0c0";
  112. else grd_fundscdpr.rowStyle(i, "all", "background-color") = "#ffffff";
  113. }
  114. else if(sOrderFlag == "2") grd_fundscdpr.rowStyle(i, "all", "background-color") = "#ffffcc";
  115. else if(sOrderFlag == "3") grd_fundscdpr.rowStyle(i, "all", "background-color") = "#ccffcc";
  116. }
  117. fSetGridMonth("R");
  118. fSetSumAmt(grd_fundscdpr);
  119. }
  120. function fRetrievePlanExecList()
  121. {
  122. model.setValue("/root/send/retrparams3/kind", "planexeclist");
  123. submit("TRRAF00303");
  124. model.refresh();
  125. for(var i=2; i<grd_planexeclist.rows; i++)
  126. {
  127. var sOrderFlag = model.getValue(grd_planexeclist.nodeset + "[" + (i - 1) + "]/orderflag");
  128. var sFundsCd = model.getValue(grd_planexeclist.nodeset + "[" + (i - 1) + "]/setfundscd");
  129. if(sOrderFlag == "1")
  130. {
  131. if(sFundsCd == "0000" || sFundsCd == "9700") grd_planexeclist.rowStyle(i, "all", "background-color") = "#eaeaea";
  132. else if(sFundsCd == "9800") grd_planexeclist.rowStyle(i, "all", "background-color") = "#dddddd";
  133. else if(sFundsCd == "9900") grd_planexeclist.rowStyle(i, "all", "background-color") = "#c0c0c0";
  134. else grd_planexeclist.rowStyle(i, "all", "background-color") = "#ffffff";
  135. }
  136. else if(sOrderFlag == "2") grd_planexeclist.rowStyle(i, "all", "background-color") = "#ffffcc";
  137. else if(sOrderFlag == "3") grd_planexeclist.rowStyle(i, "all", "background-color") = "#ccffcc";
  138. }
  139. fSetSumAmt(grd_planexeclist);
  140. }
  141. function fSetSumAmt(pGrid)
  142. {
  143. var iFundsGb1Sum = 0;
  144. var iFundsGb1DrAmt = 0;
  145. var iFundsGb1CrAmt = 0;
  146. var iFundsGb1RowIdx = -1;
  147. var iFundsGB2Sum = 0;
  148. var iFundsGb2DrAmt = 0;
  149. var iFundsGb2CrAmt = 0;
  150. var iFundsGb2RowIdx = -1;
  151. var iFundsGB3Sum = 0;
  152. var iFundsGb3DrAmt = 0;
  153. var iFundsGb3CrAmt = 0;
  154. var iFundsGb3RowIdx = -1;
  155. var iFundsGB4Sum = 0;
  156. var iFundsGb4DrAmt = 0;
  157. var iFundsGb4CrAmt = 0;
  158. var iFundsGb4RowIdx = -1;
  159. var iFundsGB5Sum = 0;
  160. var iFundsGb5DrAmt = 0;
  161. var iFundsGb5CrAmt = 0;
  162. var iFundsGb5RowIdx = -1;
  163. var iPreMonthAmt = 0; // 전기이월금액
  164. var iNextACntAmt = 0; // 차기이월금액
  165. var iAcntAmt = 0; // 제예금잔액 = 차입실행액 - 예금인출액
  166. var iSendAmt = 0; // 차입금잔액 = 차입실행액 - 차입상환액
  167. var i7100Amt = 0; // 예금인출액
  168. var i8100Amt = 0; // 예금불입액
  169. var i7300Amt = 0; // 차입실행액
  170. var i8300Amt = 0; // 차입상환액
  171. var iPreMonthRowIdx = pGrid.findRow("0000", 2, pGrid.colRef("setfundscd")); // 전기이월 Row Index
  172. var iNextAcntRowIdx = pGrid.findRow("9700", 2, pGrid.colRef("setfundscd")); // 차기이월금액 Row Index
  173. var iAcntRowIdx = pGrid.findRow("9800", 2, pGrid.colRef("setfundscd")); // 제예금잔액 Row Index
  174. var iSendRowIdx = pGrid.findRow("9900", 2, pGrid.colRef("setfundscd")); // 차입금잔액 Row Index
  175. var i7100RowIdx = pGrid.findRow("7100", 2, pGrid.colRef("setfundscd")); // 예금인출 Row Index
  176. var i8100RowIdx = pGrid.findRow("8100", 2, pGrid.colRef("setfundscd")); // 예금불입 Row Index
  177. var i7300RowIdx = pGrid.findRow("7300", 2, pGrid.colRef("setfundscd")); // 차입실행 Row Index
  178. var i8300RowIdx = pGrid.findRow("8300", 2, pGrid.colRef("setfundscd")); // 차입상환 Row Index
  179. for(var i=2; i<pGrid.rows; i++)
  180. {
  181. if(pGrid.valueMatrix(i, pGrid.colRef("fundssumgb")) == "02" && pGrid.valueMatrix(i, pGrid.colRef("orderflag")) == "3")
  182. {
  183. iFundsGb1RowIdx = i;
  184. }
  185. else if(pGrid.valueMatrix(i, pGrid.colRef("fundssumgb")) == "04" && pGrid.valueMatrix(i, pGrid.colRef("orderflag")) == "3")
  186. {
  187. iFundsGb2RowIdx = i;
  188. }
  189. else if(pGrid.valueMatrix(i, pGrid.colRef("fundssumgb")) == "06" && pGrid.valueMatrix(i, pGrid.colRef("orderflag")) == "3")
  190. {
  191. iFundsGb3RowIdx = i;
  192. }
  193. else if(pGrid.valueMatrix(i, pGrid.colRef("fundssumgb")) == "08" && pGrid.valueMatrix(i, pGrid.colRef("orderflag")) == "3")
  194. {
  195. iFundsGb4RowIdx = i;
  196. }
  197. else if(pGrid.valueMatrix(i, pGrid.colRef("fundssumgb")) == "10" && pGrid.valueMatrix(i, pGrid.colRef("orderflag")) == "3")
  198. {
  199. iFundsGb5RowIdx = i;
  200. }
  201. }
  202. var iLastCol = 1;
  203. if(pGrid.attribute("id") == "grd_planexeclist") iLastCol = 2;
  204. for(var i=pGrid.frozenCols; i<pGrid.cols - iLastCol; i++)
  205. {
  206. for(var j=2; j<pGrid.rows; j++)
  207. {
  208. if(pGrid.valueMatrix(j, pGrid.colRef("fundssumgb")) == "01" && pGrid.valueMatrix(j, pGrid.colRef("orderflag")) == "2")
  209. {
  210. iFundsGb1DrAmt = parseInt(pGrid.valueMatrix(j, i), 10);
  211. }
  212. else if(pGrid.valueMatrix(j, pGrid.colRef("fundssumgb")) == "02" && pGrid.valueMatrix(j, pGrid.colRef("orderflag")) == "2")
  213. {
  214. iFundsGb1CrAmt = parseInt(pGrid.valueMatrix(j, i), 10);
  215. }
  216. else if(pGrid.valueMatrix(j, pGrid.colRef("fundssumgb")) == "03" && pGrid.valueMatrix(j, pGrid.colRef("orderflag")) == "1")
  217. {
  218. iFundsGb2DrAmt = parseInt(pGrid.valueMatrix(j, i), 10);
  219. }
  220. else if(pGrid.valueMatrix(j, pGrid.colRef("fundssumgb")) == "04" && pGrid.valueMatrix(j, pGrid.colRef("orderflag")) == "1")
  221. {
  222. iFundsGb2CrAmt = parseInt(pGrid.valueMatrix(j, i), 10);
  223. }
  224. else if(pGrid.valueMatrix(j, pGrid.colRef("fundssumgb")) == "05" && pGrid.valueMatrix(j, pGrid.colRef("orderflag")) == "1")
  225. {
  226. iFundsGb3DrAmt = parseInt(pGrid.valueMatrix(j, i), 10);
  227. }
  228. else if(pGrid.valueMatrix(j, pGrid.colRef("fundssumgb")) == "06" && pGrid.valueMatrix(j, pGrid.colRef("orderflag")) == "1")
  229. {
  230. iFundsGb3CrAmt = parseInt(pGrid.valueMatrix(j, i), 10);
  231. }
  232. else if(pGrid.valueMatrix(j, pGrid.colRef("fundssumgb")) == "07" && pGrid.valueMatrix(j, pGrid.colRef("orderflag")) == "2")
  233. {
  234. iFundsGb4DrAmt = parseInt(pGrid.valueMatrix(j, i), 10);
  235. }
  236. else if(pGrid.valueMatrix(j, pGrid.colRef("fundssumgb")) == "08" && pGrid.valueMatrix(j, pGrid.colRef("orderflag")) == "2")
  237. {
  238. iFundsGb4CrAmt = parseInt(pGrid.valueMatrix(j, i), 10);
  239. }
  240. else if(pGrid.valueMatrix(j, pGrid.colRef("fundssumgb")) == "09" && pGrid.valueMatrix(j, pGrid.colRef("orderflag")) == "1")
  241. {
  242. iFundsGb5DrAmt = parseInt(pGrid.valueMatrix(j, i), 10);
  243. }
  244. else if(pGrid.valueMatrix(j, pGrid.colRef("fundssumgb")) == "10" && pGrid.valueMatrix(j, pGrid.colRef("orderflag")) == "1")
  245. {
  246. iFundsGb5CrAmt = parseInt(pGrid.valueMatrix(j, i), 10);
  247. }
  248. }
  249. i7100Amt = parseInt(pGrid.valueMatrix(i7100RowIdx, i), 10);
  250. i8100Amt = parseInt(pGrid.valueMatrix(i8100RowIdx, i), 10);
  251. i7300Amt = parseInt(pGrid.valueMatrix(i7300RowIdx, i), 10);
  252. i8300Amt = parseInt(pGrid.valueMatrix(i8300RowIdx, i), 10);
  253. if(i == pGrid.frozenCols || pGrid.attribute("id") == "grd_planexeclist")
  254. {
  255. iPreMonthAmt = parseInt(pGrid.valueMatrix(iPreMonthRowIdx, i) == "" ? 0 : pGrid.valueMatrix(iPreMonthRowIdx, i), 10);
  256. iAcntAmt = parseInt(pGrid.valueMatrix(iAcntRowIdx, i) == "" ? 0 : pGrid.valueMatrix(iAcntRowIdx, i), 10);
  257. iSendAmt = parseInt(pGrid.valueMatrix(iSendRowIdx, i) == "" ? 0 : pGrid.valueMatrix(iSendRowIdx, i), 10);
  258. }
  259. else
  260. {
  261. iPreMonthAmt = 0;
  262. iAcntAmt = 0;
  263. iSendAmt = 0;
  264. }
  265. iFundsGb1Sum = iFundsGb1DrAmt - iFundsGb1CrAmt;
  266. iFundsGB2Sum = iFundsGb2DrAmt - iFundsGb2CrAmt;
  267. iFundsGB3Sum = iFundsGb3DrAmt - iFundsGb3CrAmt;
  268. iFundsGB4Sum = iFundsGb4DrAmt - iFundsGb4CrAmt;
  269. iFundsGB5Sum = iFundsGb5DrAmt - iFundsGb5CrAmt;
  270. iNextACntAmt = iPreMonthAmt + (iFundsGb1Sum + iFundsGB2Sum + iFundsGB3Sum + iFundsGB4Sum + iFundsGB5Sum);
  271. iAcntAmt = iAcntAmt + (i8100Amt - i7100Amt);
  272. iSendAmt = iSendAmt + (i7300Amt - i8300Amt);
  273. model.setValue(pGrid.nodeset + "[" + (iFundsGb1RowIdx - 1) + "]/" + pGrid.colAttribute(i, "ref"), iFundsGb1Sum);
  274. model.setValue(pGrid.nodeset + "[" + (iFundsGb2RowIdx - 1) + "]/" + pGrid.colAttribute(i, "ref"), iFundsGB2Sum);
  275. model.setValue(pGrid.nodeset + "[" + (iFundsGb3RowIdx - 1) + "]/" + pGrid.colAttribute(i, "ref"), iFundsGB3Sum);
  276. model.setValue(pGrid.nodeset + "[" + (iFundsGb4RowIdx - 1) + "]/" + pGrid.colAttribute(i, "ref"), iFundsGB4Sum);
  277. model.setValue(pGrid.nodeset + "[" + (iFundsGb5RowIdx - 1) + "]/" + pGrid.colAttribute(i, "ref"), iFundsGB5Sum);
  278. model.setValue(pGrid.nodeset + "[" + (iNextAcntRowIdx - 1) + "]/" + pGrid.colAttribute(i, "ref"), iNextACntAmt);
  279. if((pGrid.attribute("id") != "grd_planexeclist" && i == pGrid.frozenCols) || (i != pGrid.frozenCols))
  280. {
  281. model.setValue(pGrid.nodeset + "[" + (iAcntRowIdx - 1) + "]/" + pGrid.colAttribute(i, "ref"), iAcntAmt);
  282. model.setValue(pGrid.nodeset + "[" + (iSendRowIdx - 1) + "]/" + pGrid.colAttribute(i, "ref"), iSendAmt);
  283. }
  284. }
  285. }
  286. function fSetGridMonth(sType)
  287. {
  288. arrBaseDD = new Array();
  289. arrHoliFlag = new Array();
  290. arrDayNm = new Array();
  291. if(sType == "C")
  292. {
  293. model.setValue("/root/send/retrparams4/instcd", model.getValue("/root/send/retrparams/instcd"));
  294. model.setValue("/root/send/retrparams4/dutym", model.getValue("/root/send/retrparams/frdate").substr(0, 6));
  295. submit("TRRPD02206");
  296. }
  297. else
  298. {
  299. for(var i=1; i<=31; i++)
  300. {
  301. arrBaseDD[i - 1] = model.getValue("/root/main/daylist[" + i + "]/basedd");
  302. arrHoliFlag[i - 1] = model.getValue("/root/main/daylist[" + i + "]/holiflag");
  303. arrDayNm[i - 1] = model.getValue("/root/main/daylist[" + i + "]/daynm");
  304. if(arrBaseDD[i - 1] == "")
  305. {
  306. grd_fundscdpr.colHidden(i + 6) = true;
  307. }
  308. else
  309. {
  310. grd_fundscdpr.colHidden(i + 6) = false;
  311. }
  312. if(arrHoliFlag[i - 1] == '4')
  313. {
  314. grd_fundscdpr.colStyle((i + 6), "all", "color") = "#0000FF";
  315. }
  316. else if(arrHoliFlag[i - 1] == '0')
  317. {
  318. grd_fundscdpr.colStyle((i + 6), "all", "color") = "#FF0000";
  319. }
  320. else
  321. {
  322. grd_fundscdpr.colStyle((i + 6), "all", "color") = "#000000";
  323. }
  324. }
  325. }
  326. }
  327. ]]>
  328. </script>
  329. <submission id="TRRAF00302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams2" resultref="/root/main/list2"/>
  330. <submission id="TRRPD02206" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams4" resultref="/root/main/daylist"/>
  331. <submission id="TRRAF00303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams3" resultref="/root/main/list3"/>
  332. </model>
  333. </xhtml:head>
  334. <xhtml:body pagewidth="1211" pageheight="784" guideline="1,1195;2,777;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  335. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  336. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:293px; height:14px; ">자금일보/월보</caption>
  337. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  338. </group>
  339. <group id="group3" scroll="auto" style="left:0px; top:65px; width:1195px; height:715px; ">
  340. <switch id="switch1" style="left:0px; top:0px; width:1195px; height:715px; ">
  341. <case id="case1" selected="true">
  342. <group id="grp_sea" style="left:0px; top:10px; width:1193px; height:35px; vertical-align:top; ">
  343. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  344. <line id="line5" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  345. <caption id="caption1" class="search_name" style="left:305px; top:9px; width:86px; height:17px; ">조회일자 :</caption>
  346. <select1 id="cmb_instcd" ref="/root/send/retrparams/instcd" class="combo_search" disabled="true" navindex="1" appearance="minimal" style="left:105px; top:8px; width:145px; height:19px; ">
  347. <choices>
  348. <itemset>
  349. <label/>
  350. <value/>
  351. </itemset>
  352. </choices>
  353. <script type="javascript" ev:event="xforms-value-changed">
  354. <![CDATA[
  355. ]]>
  356. </script>
  357. </select1>
  358. <caption id="caption7" class="search_name" style="left:16px; top:9px; width:86px; height:17px; ">기관구분 :</caption>
  359. <input id="ipt_frdate" ref="/root/send/retrparams/frdate" class="input_s_essential" inputtype="date" style="left:395px; top:8px; width:100px; height:19px; text-align:center; "/>
  360. <button id="btn_searchacntpr" class="btn1_letter2" navindex="4" style="left:1124px; top:7px; width:56px; height:22px; text-align:left; ">
  361. <caption>조회</caption>
  362. <script type="javascript" ev:event="DOMActivate">
  363. <![CDATA[
  364. fRetrieveAcntPr();
  365. ]]>
  366. </script>
  367. </button>
  368. <input id="input1" ref="/root/send/retrparams/todate" class="input_s_essential" inputtype="date" style="left:513px; top:8px; width:100px; height:19px; text-align:center; "/>
  369. <caption id="caption3" style="left:498px; top:11px; width:14px; height:15px; ">~</caption>
  370. </group>
  371. <button id="btn_excelforacntpr" class="btn2_letter2" style="left:1148px; top:50px; width:42px; height:19px; text-align:left; ">
  372. <caption>엑셀</caption>
  373. <script type="javascript" ev:event="DOMActivate">
  374. <![CDATA[
  375. misfSaveExcel(grd_acntpr);
  376. ]]>
  377. </script>
  378. </button>
  379. <line id="line3" class="line_1" style="x1:0px; y1:70px; x2:1193px; y2:70px; "/>
  380. <caption id="caption21" class="tit_2" style="left:5px; top:55px; width:131px; height:14px; ">계좌별현황</caption>
  381. <datagrid id="grd_acntpr" nodeset="/root/main/list1/acntpr" allowuserresize="false" backcoloralternate="transparent" caption="구분^구분^구분^전일잔액^입금^출금^잔액|자금구분^은행명^계좌명^전일잔액^입금^출금^잔액" colsep="^" colwidth="114, 200, 140, 160, 160, 160, 160" frozencols="3" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="16" rowsep="|" style="left:0px; top:75px; width:1193px; height:638px; ">
  382. <col ref="fundskind"/>
  383. <col ref="custnm"/>
  384. <col ref="fncmnm"/>
  385. <col ref="balamt" format="(-)#,###" style="text-align:right; "/>
  386. <col ref="dramt" format="(-)#,###" style="text-align:right; "/>
  387. <col ref="cramt" format="(-)#,###" style="text-align:right; "/>
  388. <col ref="curbalamt" format="(-)#,###" style="text-align:right; "/>
  389. </datagrid>
  390. </case>
  391. <case id="case2" style="left:0px; top:0px; width:1192px; height:713px; ">
  392. <group id="group2" style="left:0px; top:10px; width:1192px; height:35px; vertical-align:top; ">
  393. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1192px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  394. <button id="btn_search2" class="btn1_letter2" navindex="4" style="left:1123px; top:7px; width:56px; height:22px; text-align:left; ">
  395. <caption>조회</caption>
  396. <script type="javascript" ev:event="DOMActivate">
  397. <![CDATA[
  398. fRetrieveFundsCdPr();
  399. ]]>
  400. </script>
  401. </button>
  402. <line id="line1" class="line_4" style="x1:1107px; y1:8px; x2:1107px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
  403. <caption id="caption2" class="search_name" style="left:305px; top:9px; width:86px; height:17px; ">조회년월 :</caption>
  404. <caption id="caption8" class="search_name" style="left:16px; top:9px; width:86px; height:17px; ">기관구분 :</caption>
  405. <select1 id="cmb_instcd2" ref="/root/send/retrparams2/instcd" class="combo_search" disabled="false" navindex="1" appearance="minimal" style="left:105px; top:8px; width:145px; height:19px; ">
  406. <choices>
  407. <itemset>
  408. <label/>
  409. <value/>
  410. </itemset>
  411. </choices>
  412. <script type="javascript" ev:event="xforms-value-changed">
  413. <![CDATA[
  414. fSetGridMonth("C");
  415. fRetrieveFundsCdPr();
  416. ]]>
  417. </script>
  418. </select1>
  419. <input id="ipt_frdate2" ref="/root/send/retrparams2/frdate" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:395px; top:8px; width:100px; height:19px; text-align:center; ">
  420. <script type="javascript" ev:event="xforms-value-changed">
  421. <![CDATA[
  422. fSetGridMonth("C");
  423. fRetrieveFundsCdPr();
  424. ]]>
  425. </script>
  426. </input>
  427. </group>
  428. <caption id="caption9" class="tit_2" style="left:5px; top:55px; width:131px; height:14px; ">자금과목별현황</caption>
  429. <datagrid id="grd_fundscdpr" nodeset="/root/main/list2/fundscdpr" autoresize="false" backcoloralternate="#ffffff" caption="구분^합계구분^구분^구분^정렬Flag^합계^1^2^3^4^5^6^7^8^9^10^11^12^13^14^15^16^17^18^19^20^21^22^23^24^25^26^27^28^29^30^31^Set자금코드|자금구분^합계구분^자금과목^자금과목^정렬Flag^합계^1^2^3^4^5^6^7^8^9^10^11^12^13^14^15^16^17^18^19^20^21^22^23^24^25^26^27^28^29^30^31^Set자금코드" colsep="^" colwidth="114, 0, 157, 80, 0, 100, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 0" frozencols="6" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="16" rowsep="|" style="left:0px; top:75px; width:1192px; height:638px; ">
  430. <col ref="fundsgb" style="text-align:center; "/>
  431. <col ref="fundssumgb"/>
  432. <col ref="fundsnm" style="text-align:center; "/>
  433. <col ref="fundscd" style="text-align:center; "/>
  434. <col ref="orderflag" visibility="hidden"/>
  435. <col ref="sumamt" format="(-)#,###" style="text-align:right; padding-right:2; "/>
  436. <col ref="day01" format="(-)#,###" style="text-align:right; padding-right:2; "/>
  437. <col ref="day02" format="(-)#,###" style="text-align:right; padding-right:2; "/>
  438. <col ref="day03" format="(-)#,###" style="text-align:right; padding-right:2; "/>
  439. <col ref="day04" format="(-)#,###" style="text-align:right; padding-right:2; "/>
  440. <col ref="day05" format="(-)#,###" style="text-align:right; padding-right:2; "/>
  441. <col ref="day06" format="(-)#,###" style="text-align:right; padding-right:2; "/>
  442. <col ref="day07" format="(-)#,###" style="text-align:right; padding-right:2; "/>
  443. <col ref="day08" format="(-)#,###" style="text-align:right; padding-right:2; "/>
  444. <col ref="day09" format="(-)#,###" style="text-align:right; padding-right:2; "/>
  445. <col ref="day10" format="(-)#,###" style="text-align:right; padding-right:2; "/>
  446. <col ref="day11" format="(-)#,###" style="text-align:right; padding-right:2; "/>
  447. <col ref="day12" format="(-)#,###" style="text-align:right; padding-right:2; "/>
  448. <col ref="day13" format="(-)#,###" style="text-align:right; padding-right:2; "/>
  449. <col ref="day14" format="(-)#,###" style="text-align:right; padding-right:2; "/>
  450. <col ref="day15" format="(-)#,###" style="text-align:right; padding-right:2; "/>
  451. <col ref="day16" format="(-)#,###" style="text-align:right; padding-right:2; "/>
  452. <col ref="day17" format="(-)#,###" style="text-align:right; padding-right:2; "/>
  453. <col ref="day18" format="(-)#,###" style="text-align:right; padding-right:2; "/>
  454. <col ref="day19" format="(-)#,###" style="text-align:right; padding-right:2; "/>
  455. <col ref="day20" format="(-)#,###" style="text-align:right; padding-right:2; "/>
  456. <col ref="day21" format="(-)#,###" style="text-align:right; padding-right:2; "/>
  457. <col ref="day22" format="(-)#,###" style="text-align:right; padding-right:2; "/>
  458. <col ref="day23" format="(-)#,###" style="text-align:right; padding-right:2; "/>
  459. <col ref="day24" format="(-)#,###" style="text-align:right; padding-right:2; "/>
  460. <col ref="day25" format="(-)#,###" style="text-align:right; padding-right:2; "/>
  461. <col ref="day26" format="(-)#,###" style="text-align:right; padding-right:2; "/>
  462. <col ref="day27" format="(-)#,###" style="text-align:right; padding-right:2; "/>
  463. <col ref="day28" format="(-)#,###" style="text-align:right; padding-right:2; "/>
  464. <col ref="day29" format="(-)#,###" style="text-align:right; padding-right:2; "/>
  465. <col ref="day30" format="(-)#,###" style="text-align:right; padding-right:2; "/>
  466. <col ref="day31" format="(-)#,###" style="text-align:right; padding-right:2; "/>
  467. <col ref="setfundscd" visibility="hidden"/>
  468. </datagrid>
  469. <button id="btn_excelfundscdpr" class="btn2_letter2" style="left:1148px; top:50px; width:42px; height:19px; text-align:left; ">
  470. <caption>엑셀</caption>
  471. <script type="javascript" ev:event="DOMActivate">
  472. <![CDATA[
  473. misfSaveExcel(grd_fundscdpr);
  474. ]]>
  475. </script>
  476. </button>
  477. <line id="line4" class="line_1" style="x1:0px; y1:70px; x2:1192px; y2:70px; "/>
  478. </case>
  479. <case id="case3">
  480. <button id="btn_excelplanexeclist" class="btn2_letter2" style="left:1148px; top:50px; width:42px; height:19px; text-align:left; ">
  481. <caption>엑셀</caption>
  482. <script type="javascript" ev:event="DOMActivate">
  483. <![CDATA[
  484. misfSaveExcel(grd_planexeclist);
  485. ]]>
  486. </script>
  487. </button>
  488. <caption id="caption12" class="tit_2" style="left:5px; top:55px; width:131px; height:14px; ">계획대비실적</caption>
  489. <group id="group6" style="left:0px; top:10px; width:1192px; height:35px; vertical-align:top; ">
  490. <shape id="roundrect4" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1192px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  491. <line id="line8" class="line_4" style="x1:1107px; y1:8px; x2:1107px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
  492. <caption id="caption13" class="search_name" style="left:305px; top:9px; width:86px; height:17px; ">조회년월 :</caption>
  493. <caption id="caption14" class="search_name" style="left:16px; top:9px; width:86px; height:17px; ">기관구분 :</caption>
  494. <select1 id="cmb_instcd3" ref="/root/send/retrparams3/instcd" class="combo_search" disabled="false" navindex="1" appearance="minimal" style="left:105px; top:8px; width:145px; height:19px; ">
  495. <choices>
  496. <itemset>
  497. <label/>
  498. <value/>
  499. </itemset>
  500. </choices>
  501. <script type="javascript" ev:event="xforms-value-changed">
  502. <![CDATA[
  503. fRetrievePlanExecList();
  504. ]]>
  505. </script>
  506. </select1>
  507. <input id="ipt_frdate3" ref="/root/send/retrparams3/frdate" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:395px; top:8px; width:100px; height:19px; text-align:center; ">
  508. <script type="javascript" ev:event="xforms-value-changed">
  509. <![CDATA[
  510. fRetrievePlanExecList();
  511. ]]>
  512. </script>
  513. </input>
  514. <button id="btn_search3" class="btn1_letter2" navindex="4" style="left:1123px; top:7px; width:56px; height:22px; text-align:left; ">
  515. <caption>조회</caption>
  516. <script type="javascript" ev:event="DOMActivate">
  517. <![CDATA[
  518. fRetrievePlanExecList();
  519. ]]>
  520. </script>
  521. </button>
  522. </group>
  523. <line id="line9" class="line_1" style="x1:0px; y1:70px; x2:1192px; y2:70px; "/>
  524. <datagrid id="grd_planexeclist" nodeset="/root/main/list3/planexeclist" autoresize="false" backcoloralternate="#ffffff" caption="구분^합계구분^구분^구분^정렬Flag^계획^실적^실적율^Set자금코드|자금구분^합계구분^자금과목^자금과목^정렬Flag^계획^실적^실적율^Set자금코드" colsep="^" colwidth="114, 0, 157, 80, 0, 220, 220, 70, 0" frozencols="6" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="16" rowsep="|" style="left:0px; top:75px; width:1192px; height:638px; ">
  525. <col ref="fundsgb" style="text-align:center; "/>
  526. <col ref="fundssumgb"/>
  527. <col ref="fundsnm" style="text-align:center; "/>
  528. <col ref="fundscd" style="text-align:center; "/>
  529. <col ref="orderflag" visibility="hidden"/>
  530. <col ref="plansumamt" format="(-)#,###" style="text-align:right; padding-right:3; "/>
  531. <col ref="execsumamt" format="(-)#,###" style="text-align:right; padding-right:3; "/>
  532. <col ref="execrate" style="text-align:right; padding-right:3; "/>
  533. <col ref="setfundscd" visibility="hidden"/>
  534. </datagrid>
  535. </case>
  536. </switch>
  537. </group>
  538. <group id="group4" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
  539. <line id="line2" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  540. </group>
  541. <button id="button65" class="btn_sw" group="tab" selected="true" style="left:0px; top:45px; width:80px; height:22px; ">
  542. <caption>계좌별</caption>
  543. <toggle case="case1" ev:event="onclick"/>
  544. </button>
  545. <button id="button64" class="btn_sw" group="tab" style="left:80px; top:45px; width:100px; height:22px; ">
  546. <caption>자금과목별</caption>
  547. <toggle case="case2" ev:event="onclick"/>
  548. </button>
  549. <button id="button1" class="btn_sw" group="tab" style="left:180px; top:45px; width:105px; height:22px; ">
  550. <caption>계획대비실적</caption>
  551. <toggle case="case3" ev:event="onclick"/>
  552. </button>
  553. </xhtml:body>
  554. </xhtml:html>