SMAYA02300_수입지출관리.xrw 59 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410
  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. <search>
  11. <entryy/>
  12. <fromdd/>
  13. <todd/>
  14. <acntflagcd1/>
  15. <acntflagcdnm1/>
  16. <toddmth/>
  17. <toddyear/>
  18. <itemexpendflagcd1/>
  19. </search>
  20. <cond>
  21. <condinfo>
  22. <incmexpsflagcd/>
  23. <incmexpsdd/>
  24. <acntflagcd/>
  25. <itemexpendflagcd/>
  26. <incmamt/>
  27. <appcnts/>
  28. <expsamt/>
  29. <seqno/>
  30. <instcd/>
  31. <acntflagcdnm/>
  32. <itemexpendflagcdnm/>
  33. <entryy/>
  34. <qurtyy/>
  35. <status/>
  36. <etcflag/>
  37. </condinfo>
  38. </cond>
  39. <grdlist>
  40. <itemlist>
  41. <incmexpsdd/>
  42. <acntflagcdnm/>
  43. <itemexpendflagcdnm/>
  44. <appcnts/>
  45. <incmamt/>
  46. <expsamt/>
  47. <acntflagcd/>
  48. <itemexpendflagcd/>
  49. <seqno/>
  50. <instcd/>
  51. <incmexpsflagcd/>
  52. <status/>
  53. <incdispmmdd/>
  54. </itemlist>
  55. <sumlist>
  56. <sumlistinfo>
  57. <incmamtlstmth/>
  58. <expsamtlstmth/>
  59. <minusamtlstmth/>
  60. <incmamtthismth/>
  61. <expsamtthismth/>
  62. <incmamtthisyear/>
  63. <expsamtthisyear/>
  64. <minusamtthisyear/>
  65. <incmamtlstyear/>
  66. </sumlistinfo>
  67. </sumlist>
  68. </grdlist>
  69. </main>
  70. <send>
  71. <reqdata/>
  72. <savedata/>
  73. </send>
  74. <hidden>
  75. <init>
  76. <comcd>
  77. <A0452>
  78. <cdid/>
  79. <cdnm/>
  80. </A0452>
  81. </comcd>
  82. </init>
  83. </hidden>
  84. <init>
  85. <brodcstflagcd>
  86. <A0452>
  87. <cdid/>
  88. <cdnm/>
  89. </A0452>
  90. </brodcstflagcd>
  91. </init>
  92. </root>
  93. </instance>
  94. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  95. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  96. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  97. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  98. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  99. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  100. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  101. <script type="javascript" src="../../../ast/fthcnstweb/js/SMAYA02300.js"/>
  102. <script type="javascript" ev:event="xforms-ready">
  103. <![CDATA[
  104. fInit();
  105. fReqIncmExpsAmt();
  106. ]]>
  107. </script>
  108. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  109. <submission id="TRZBC00105" mediatype="application/x-www-form-urlencoded" method="post"/>
  110. <submission id="TRZBC00122" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  111. <submission id="TXAYA02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata"/>
  112. <submission id="TRAYA02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/search" resultref="/root/main/grdlist"/>
  113. <submission id="TRAYA02302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/cond"/>
  114. <submission id="TRAYA02303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/search" resultref="/root/main/grdlist/sumlist"/>
  115. </model>
  116. </xhtml:head>
  117. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  118. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  119. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:181px; height:14px; ">수입지출관리</caption>
  120. </group>
  121. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  122. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:40px; vertical-align:top; ">
  123. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
  124. <button id="button1" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  125. <caption>조회</caption>
  126. <script type="javascript" ev:event="DOMActivate">
  127. <![CDATA[
  128. fReqIncmExpsAmt();
  129. ]]>
  130. </script>
  131. </button>
  132. <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
  133. <caption id="caption3" class="search_name" style="left:615px; top:10px; width:86px; height:17px; ">계정과목 :</caption>
  134. <caption id="caption5" class="search_no_b" style="left:445px; top:9px; width:12px; height:17px; ">~</caption>
  135. <input id="ipt_todd" ref="/root/main/search/todd" class="input_search" navindex="3" inputtype="date" style="left:465px; top:9px; width:95px; height:19px; ">
  136. <script type="javascript" ev:event="onkeypress">
  137. <![CDATA[
  138. if(event.keyCode==13)
  139. fReqIncmExpsAmt();
  140. ]]>
  141. </script>
  142. <script type="javascript" ev:event="ondayselect">
  143. <![CDATA[
  144. model.setFocus("cmb_acntflag");
  145. ]]>
  146. </script>
  147. </input>
  148. <input id="ipt_fromdd" ref="/root/main/search/fromdd" class="input_search" navindex="2" inputtype="date" style="left:345px; top:9px; width:95px; height:19px; ">
  149. <script type="javascript" ev:event="ondayselect">
  150. <![CDATA[
  151. model.setFocus("ipt_todd");
  152. ]]>
  153. </script>
  154. <script type="javascript" ev:event="onkeyup">
  155. <![CDATA[
  156. if(event.keyCode==13)
  157. fReqIncmExpsAmt();
  158. ]]>
  159. </script>
  160. <script type="javascript" ev:event="xforms-value-changed">
  161. <![CDATA[
  162. ftdateselect();
  163. ]]>
  164. </script>
  165. </input>
  166. <caption id="caption12" class="search_name" style="left:250px; top:10px; width:91px; height:17px; ">조회기간 :</caption>
  167. <select1 id="cmb_acntflag" ref="/root/main/search/acntflagcd1" class="combo_search" navindex="4" appearance="minimal" style="left:705px; top:9px; width:110px; height:19px; ">
  168. <choices>
  169. <itemset nodeset="/root/init/brodcstflagcd/A0451">
  170. <label ref="cdnm"/>
  171. <value ref="cdid"/>
  172. </itemset>
  173. </choices>
  174. <script type="javascript" ev:event="xforms-select">
  175. <![CDATA[
  176. fAcntflagcdSelect2();
  177. fReqIncmExpsAmt();
  178. ]]>
  179. </script>
  180. </select1>
  181. <caption id="caption10" class="search_name" style="left:25px; top:10px; width:91px; height:17px; ">사업년도 :</caption>
  182. <input id="ipt_entryy" ref="/root/main/search/entryy" class="input_s_essential" navindex="1" maxlength="4" format="yyyy" style="left:125px; top:9px; width:80px; height:19px; ">
  183. <script type="javascript" ev:event="onkeypress">
  184. <![CDATA[
  185. if(event.keyCode==13)
  186. fReqIncmExpsAmt();
  187. ]]>
  188. </script>
  189. </input>
  190. <caption id="caption22" class="search_name" style="left:845px; top:10px; width:60px; height:17px; ">비목 :</caption>
  191. <select1 id="cmb_itemexpendflag" ref="/root/main/search/itemexpendflagcd1" class="combo_search" navindex="5" appearance="minimal" style="left:910px; top:9px; width:110px; height:19px; ">
  192. <choices>
  193. <itemset nodeset="/root/init/brodcstflagcd/A0452">
  194. <label ref="cdnm"/>
  195. <value ref="cdid"/>
  196. </itemset>
  197. </choices>
  198. <script type="javascript" ev:event="onkeydown">
  199. <![CDATA[
  200. if(event.keyCode==13)
  201. fReqIncmExpsAmt();
  202. ]]>
  203. </script>
  204. <script type="javascript" ev:event="xforms-select">
  205. <![CDATA[
  206. fReqIncmExpsAmt();
  207. ]]>
  208. </script>
  209. </select1>
  210. </group>
  211. <datagrid id="grd_incmexpslist" nodeset="/root/main/grdlist/itemlist" scroll="auto" caption="일자^계정과목^비목^적요^수입금액^지출금액^" colsep="^" colwidth="118, 143, 151, 368, 191, 170,10" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:1px; top:75px; width:1194px; height:510px; text-align:right; ">
  212. <col ref="incmexpsdd" format="yyyy-mm-dd" style="text-align:center; "/>
  213. <col ref="acntflagcdnm" style="text-align:center; "/>
  214. <col ref="itemexpendflagcdnm" style="text-align:center; "/>
  215. <col ref="appcnts" style="text-align:left; "/>
  216. <col ref="incmamt" format="(-)#,###"/>
  217. <col ref="expsamt" format="(-)#,###"/>
  218. <script type="javascript" ev:event="onclick">
  219. <![CDATA[
  220. if(grd_incmexpslist.isCell(event.target) && grd_incmexpslist.mouseRow >= grd_incmexpslist.fixedrows) // 01클릭하는 위치가 그리드 안에 있을 때만 함수 실행
  221. {
  222. fIncmExpsAmtInfo();
  223. model.setValue("/root/main/cond/condinfo/status","u");
  224. }
  225. else
  226. {
  227. return;
  228. }
  229. ]]>
  230. </script>
  231. </datagrid>
  232. <caption id="caption2" class="tit_2" style="left:5px; top:58px; width:139px; height:7px; ">수입지출 내역리스트</caption>
  233. <line id="line2" class="line_1" style="x1:0px; y1:75px; x2:1194px; y2:75px; "/>
  234. <group id="grp_incexpssavebox" disabled="false" visibility="visible" style="left:0px; top:594px; width:555px; height:141px; ">
  235. <caption id="caption4" class="cell_1" style="left:9px; top:59px; width:125px; height:23px; vertical-align:middle; ">계정과목</caption>
  236. <select1 id="rdo_incmexpsflagcd" ref="/root/main/cond/condinfo/incmexpsflagcd" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" style="left:137px; top:35px; width:105px; height:20px; border-style:none; ">
  237. <choices>
  238. <item>
  239. <label>수입</label>
  240. <value>1</value>
  241. </item>
  242. <item>
  243. <label>지출</label>
  244. <value>2</value>
  245. </item>
  246. </choices>
  247. </select1>
  248. <caption id="caption14" class="cell_1" style="left:9px; top:84px; width:125px; height:23px; vertical-align:middle; ">수입/지출금액</caption>
  249. <caption id="caption15" class="tit_2" style="left:10px; top:13px; width:133px; height:13px; ">수입/지출금액 등록</caption>
  250. <select1 id="cmb_acntflagcd" ref="/root/main/cond/condinfo/acntflagcd" class="combo_default" appearance="minimal" style="left:137px; top:60px; width:128px; height:19px; ">
  251. <choices>
  252. <itemset nodeset="/root/hidden/init/comcd/A0451">
  253. <label ref="cdnm"/>
  254. <value ref="cdid"/>
  255. </itemset>
  256. </choices>
  257. <script type="javascript" ev:event="xforms-value-changed">
  258. <![CDATA[
  259. fAcntflagcdSelect();
  260. ]]>
  261. </script>
  262. </select1>
  263. <caption id="caption7" class="cell_1" style="left:9px; top:33px; width:125px; height:23px; vertical-align:middle; ">구분</caption>
  264. <select1 id="cmb_itemexpendflagcd" ref="/root/main/cond/condinfo/itemexpendflagcd" class="combo_default" appearance="minimal" style="left:411px; top:60px; width:130px; height:19px; ">
  265. <choices>
  266. <itemset nodeset="/root/hidden/init/comcd/A0452">
  267. <label ref="cdnm"/>
  268. <value ref="cdid"/>
  269. </itemset>
  270. </choices>
  271. <script type="javascript" ev:event="xforms-select">
  272. <![CDATA[
  273. //var subcdid = model.getValue("/root/main/cond/condinfo/itemexpendflagcd");
  274. //if(subcdid=='')
  275. //{
  276. // model.setValue("/root/main/cond/condinfo/itemexpendflagcd","A8");
  277. // }
  278. ]]>
  279. </script>
  280. </select1>
  281. <line id="line3" class="line_2" style="x1:9px; y1:56px; x2:544px; y2:56px; "/>
  282. <input id="ipt_appcnts" ref="/root/main/cond/condinfo/appcnts" class="input_default" maxlength="100" appearance="input" style="left:136px; top:111px; width:407px; height:19px; ">
  283. <script type="javascript" ev:event="onkeypress">
  284. <![CDATA[
  285. if(event.keyCode==13)
  286. {
  287. inputEnterKey("btn_incmexpssave", "DOMActivate"); //인풋에 Enter Key 입력시 controlID에 Dispatch 이벤트 호출
  288. }
  289. ]]>
  290. </script>
  291. </input>
  292. <line id="line4" class="line_1" style="x1:9px; y1:28px; x2:544px; y2:28px; "/>
  293. <caption id="caption17" style="left:267px; top:88px; width:20px; height:15px; vertical-align:middle; ">원</caption>
  294. <input id="ipt_incmexpsdd" ref="/root/main/cond/condinfo/incmexpsdd" class="input_default" inputtype="date" style="left:411px; top:34px; width:130px; height:19px; ">
  295. <script type="javascript" ev:event="xforms-value-changed">
  296. <![CDATA[
  297. // model.setFocus("cmb_acntflagcd");
  298. ]]>
  299. </script>
  300. </input>
  301. <caption id="caption9" class="cell_1" style="left:9px; top:109px; width:125px; height:23px; vertical-align:middle; ">적요</caption>
  302. <input id="ipt_incmamt" ref="/root/main/cond/condinfo/incmamt" class="input_default" maxlength="9" format="(-)#,###" appearance="input" style="left:136px; top:85px; width:128px; height:19px; text-align:right; ">
  303. <script type="javascript" ev:event="onkeypress">
  304. <![CDATA[
  305. if(event.keyCode==13)
  306. model.setFocus("ipt_appcnts");
  307. ]]>
  308. </script>
  309. </input>
  310. <line id="line1" class="line_2" style="x1:5px; y1:83px; x2:540px; y2:83px; "/>
  311. <line id="line5" class="line_2" style="x1:9px; y1:107px; x2:544px; y2:107px; "/>
  312. <button id="btn_incmexpssave" class="btn5_letter2" style="left:395px; top:5px; width:42px; height:19px; ">
  313. <caption>저장</caption>
  314. <script type="javascript" ev:event="DOMActivate">
  315. <![CDATA[
  316. fIncmExpsSave();
  317. ]]>
  318. </script>
  319. </button>
  320. <button id="button2" class="btn5_letter2" style="left:442px; top:5px; width:42px; height:19px; ">
  321. <caption>삭제</caption>
  322. <script type="javascript" ev:event="DOMActivate">
  323. <![CDATA[
  324. fDelIncmExpsAmt();
  325. ]]>
  326. </script>
  327. </button>
  328. <button id="button15" class="btn5_letter3" style="left:489px; top:5px; width:53px; height:19px; ">
  329. <caption>초기화</caption>
  330. <script type="javascript" ev:event="DOMActivate">
  331. <![CDATA[
  332. fResetIncmExpsAmt();
  333. ]]>
  334. </script>
  335. </button>
  336. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:554px; height:140px; background-color:transparent; border-color:#7cbbdd; border-style:solid; "/>
  337. <col checkvalue="1,0" ref="chk" type="checkbox"/>
  338. <bool id="bool_etcflag" checkvalue="Y,N" ref="/root/main/cond/condinfo/etcflag" style="left:409px; top:86px; width:25px; height:20px; ">
  339. <script type="javascript" ev:event="xforms-select">
  340. <![CDATA[
  341. fIncmExpsAmtrsavechk();
  342. // rdo_incmexpsflagcd.value='1'; // 자동으로 수입 값이 셋팅
  343. /// rdo_incmexpsflagcd.disabled=true;
  344. ]]>
  345. </script>
  346. </bool>
  347. <caption id="caption23" class="cell_1" style="left:284px; top:33px; width:125px; height:23px; vertical-align:middle; ">일자</caption>
  348. <caption id="caption11" class="cell_1" style="left:284px; top:58px; width:125px; height:23px; vertical-align:middle; ">비목</caption>
  349. <caption id="caption16" class="cell_1" style="left:284px; top:84px; width:125px; height:23px; vertical-align:middle; ">전년도 이월금 여부</caption>
  350. </group>
  351. <button id="button99" class="btn6_letter8" style="left:1065px; top:52px; width:128px; height:22px; ">
  352. <caption>수입ㆍ지출내역서</caption>
  353. <script type="javascript" ev:event="DOMActivate">
  354. <![CDATA[
  355. exeReportPreview("RPAYA02301", "XMLSTR"); //미리보기
  356. ]]>
  357. </script>
  358. </button>
  359. <group id="group7" style="left:575px; top:594px; width:619px; height:141px; ">
  360. <shape id="roundrect5" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:619px; height:140px; background-color:transparent; border-color:#7cbbdd; border-style:solid; "/>
  361. <output id="input31" ref="/root/main/grdlist/sumlist/sumlistinfo/incmamtlstmth" class="output_fix" format="(-)#,###" appearance="output" style="left:161px; top:58px; width:148px; height:19px; text-align:right; "/>
  362. <caption id="caption31" class="cell_2" style="left:5px; top:80px; width:150px; height:23px; vertical-align:middle; background-color:#ffff99; ">월 계</caption>
  363. <output id="output1" ref="/root/main/grdlist/sumlist/sumlistinfo/expsamtlstmth" class="output_fix" format="(-)#,###" appearance="output" style="left:311px; top:58px; width:148px; height:19px; text-align:right; "/>
  364. <output id="output2" ref="/root/main/grdlist/sumlist/sumlistinfo/minusamtlstmth" class="output_fix" format="(-)#,###" appearance="output" style="left:461px; top:58px; width:148px; height:19px; text-align:right; "/>
  365. <output id="output3" ref="/root/main/grdlist/sumlist/sumlistinfo/incmamtthismth" class="output_fix" format="(-)#,###" appearance="output" style="left:161px; top:83px; width:148px; height:19px; text-align:right; "/>
  366. <output id="output4" ref="/root/main/grdlist/sumlist/sumlistinfo/expsamtthismth" class="output_fix" format="(-)#,###" appearance="output" style="left:311px; top:83px; width:148px; height:19px; text-align:right; "/>
  367. <caption id="caption1" class="cell_2" style="left:5px; top:55px; width:150px; height:23px; vertical-align:middle; background-color:#feccfe; ">전 월</caption>
  368. <output id="output6" ref="/root/main/grdlist/sumlist/sumlistinfo/expsamtthisyear" class="output_fix" format="(-)#,###" appearance="output" style="left:311px; top:108px; width:148px; height:19px; text-align:right; "/>
  369. <output id="output7" ref="/root/main/grdlist/sumlist/sumlistinfo/minusamtthisyear" class="output_fix" format="(-)#,###" appearance="output" style="left:461px; top:108px; width:148px; height:19px; text-align:right; "/>
  370. <caption id="caption8" class="cell_2" style="left:5px; top:5px; width:150px; height:23px; vertical-align:middle; ">구분</caption>
  371. <output id="output8" ref="/root/main/grdlist/sumlist/sumlistinfo/incmamtthisyear" class="output_fix" format="(-)#,###" appearance="output" style="left:161px; top:108px; width:148px; height:19px; text-align:right; "/>
  372. <caption id="caption13" class="cell_2" style="left:161px; top:5px; width:148px; height:23px; vertical-align:middle; ">수입금액</caption>
  373. <caption id="caption18" class="cell_2" style="left:311px; top:5px; width:148px; height:23px; vertical-align:middle; ">지출금액</caption>
  374. <caption id="caption19" class="cell_2" style="left:461px; top:5px; width:148px; height:23px; vertical-align:middle; ">잔액</caption>
  375. <caption id="caption20" class="cell_1" style="left:5px; top:105px; width:150px; height:23px; text-align:center; vertical-align:middle; ">누 계</caption>
  376. <caption id="caption21" class="cell_1" style="left:5px; top:30px; width:150px; height:23px; text-align:center; vertical-align:middle; ">전년도 이월금</caption>
  377. <output id="output5" ref="/root/main/grdlist/sumlist/sumlistinfo/incmamtlstyear" class="output_fix" format="(-)#,###" appearance="output" style="left:161px; top:33px; width:148px; height:19px; text-align:right; "/>
  378. <output id="output9" class="output_fix" format="(-)#,###" appearance="output" style="left:311px; top:33px; width:148px; height:19px; text-align:right; "/>
  379. <output id="output10" class="output_fix" format="(-)#,###" appearance="output" style="left:461px; top:33px; width:148px; height:19px; text-align:right; "/>
  380. </group>
  381. </group>
  382. <group id="group5" scroll="auto" style="left:0px; top:755px; width:1195px; height:27px; ">
  383. <line id="line37" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  384. </group>
  385. </xhtml:body>
  386. </xhtml:html>