SMMNH04200_수입지출관리.xrw 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689
  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. <init>
  10. <A00001>
  11. <cdid/>
  12. <cdnm/>
  13. </A00001>
  14. <A00008>
  15. <cdid/>
  16. <cdnm/>
  17. </A00008>
  18. <A00010>
  19. <cdid/>
  20. <cdnm/>
  21. </A00010>
  22. <A00011>
  23. <cdid/>
  24. <cdnm/>
  25. </A00011>
  26. <A00012>
  27. <cdid/>
  28. <cdnm/>
  29. </A00012>
  30. <A00013>
  31. <cdid/>
  32. <cdnm/>
  33. </A00013>
  34. <acntno>
  35. <cdid/>
  36. <cdnm/>
  37. </acntno>
  38. <supitemcd>
  39. <cdid/>
  40. <cdnm/>
  41. </supitemcd>
  42. <remove/>
  43. </init>
  44. <main>
  45. <inexlist>
  46. <mngtdd/>
  47. <supitemcd/>
  48. <supitemnm/>
  49. <seq/>
  50. <infitemcd/>
  51. <infitemnm/>
  52. <inexetc/>
  53. <inamt/>
  54. <examt/>
  55. <inexflag/>
  56. <seqno/>
  57. </inexlist>
  58. <inexdetl>
  59. <mngtyy/>
  60. <mngtdd/>
  61. <inexflag/>
  62. <supitemcd/>
  63. <infitemcd/>
  64. <seqno/>
  65. <bankflag/>
  66. <acntno/>
  67. <inexamt/>
  68. <inexetc/>
  69. <status/>
  70. </inexdetl>
  71. </main>
  72. <send>
  73. </send>
  74. <hidden>
  75. </hidden>
  76. <temp>
  77. <mngtyy/>
  78. <fromdd/>
  79. <todd/>
  80. <srchflag>1</srchflag>
  81. <flag/>
  82. <inamt/>
  83. <outamt/>
  84. <totamt/>
  85. </temp>
  86. </root>
  87. </instance>
  88. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  89. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  90. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  91. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  92. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  93. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  94. <script type="javascript" src="../../../emr/agonalcareweb/js/SMMNH00001.js"/>
  95. <script type="javascript" ev:event="xforms-ready">
  96. <![CDATA[
  97. fGetCodeList( new Array("A00001","A00008","A00010","A00011","A00012","A00013"), new Array("/root/init","/root/init","/root/init","/root/init","/root/init","/root/init"));//호스피스 코드 조회
  98. fRemoveNode(new Array("A00001","A00008","A00010","A00011","A00012","A00013"));//콤보 공백 제거
  99. getdate = getCurrentDate();
  100. cmb_payyy.value = getdate.substring(0,4);
  101. ipt_fromdd.value = getCurrentDate();
  102. ipt_todd.value = getCurrentDate();
  103. submit("TRMNH02401");
  104. ]]>
  105. </script>
  106. <submission id="TRMNH02401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/acntno"/>
  107. <submission id="TRMNH04301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/supitemcd"/>
  108. <submission id="TRMNH04201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/inexlist"/>
  109. <submission id="TRMNH04202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/inexdetl"/>
  110. <submission id="TXMNH04201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
  111. <submission id="TRMNH00001" mediatype="application/x-www-form-urlencoded" method="post"/>
  112. </model>
  113. <script type="javascript">
  114. <![CDATA[
  115. function supitemcd() {
  116. model.removeNodeset("/root/init/supitemcd");
  117. cmb_infitemcd.choices.itemset.attribute("nodeset") = "/root/init/remove";
  118. model.removenode("/root/send");
  119. model.makeValue("/root/send/inexflag", model.getValue("/root/main/inexdetl/inexflag"));
  120. submit("TRMNH04301");
  121. }
  122. function fSave(flag) {
  123. model.setValue("/root/main/inexdetl/status",flag);
  124. model.removenode("/root/send");
  125. model.makeValue("/root/send/mngtyy", model.getValue("/root/main/inexdetl/mngtyy"));
  126. model.makeValue("/root/send/mngtdd", model.getValue("/root/main/inexdetl/mngtdd"));
  127. model.makeValue("/root/send/inexflag", model.getValue("/root/main/inexdetl/inexflag"));
  128. var supitemcd = model.getValue("/root/main/inexdetl/supitemcd");
  129. model.makeValue("/root/send/supitemcd",supitemcd.substr(0,2));
  130. var infitemcd = model.getValue("/root/main/inexdetl/infitemcd");
  131. if(infitemcd== ""){
  132. infitemcd ="00";
  133. }
  134. model.makeValue("/root/send/infitemcd", infitemcd);
  135. model.makeValue("/root/send/seqno", model.getValue("/root/main/inexdetl/seqno"));
  136. model.makeValue("/root/send/bankflag", model.getValue("/root/main/inexdetl/bankflag"));
  137. model.makeValue("/root/send/acntno", model.getValue("/root/main/inexdetl/acntno"));
  138. model.makeValue("/root/send/inexamt", model.getValue("/root/main/inexdetl/inexamt"));
  139. model.makeValue("/root/send/inexetc", model.getValue("/root/main/inexdetl/inexetc"));
  140. model.makeValue("/root/send/status", model.getValue("/root/main/inexdetl/status"));
  141. submit("TXMNH04201");
  142. }
  143. function fSearch() {
  144. model.removeNodeset("/root/main/inexlist");
  145. model.resetInstanceNode("/root/main/inexdetl");
  146. model.removenode("/root/send");
  147. model.makeValue("/root/send/mngtyy", model.getValue("/root/temp/mngtyy"));
  148. model.makeValue("/root/send/fromdd", model.getValue("/root/temp/fromdd"));
  149. model.makeValue("/root/send/todd", model.getValue("/root/temp/todd"));
  150. model.makeValue("/root/send/srchflag", model.getValue("/root/temp/srchflag"));
  151. model.makeValue("/root/send/flag", model.getValue("/root/temp/flag"));
  152. submit("TRMNH04201");
  153. cmb_mngtyy.disabled = false;
  154. ipt_mngtdd.disabled = false;
  155. rdo_inexflag.disabled = false;
  156. cmb_supitemcd.disabled = false;
  157. cmb_infitemcd.disabled = false;
  158. var totinamt = 0;
  159. var totoutamt = 0;
  160. var inamt = 0;
  161. var outamt = 0;
  162. var totamt = 0;
  163. for(var i = grd_incmexpslist.fixedRows; i < grd_incmexpslist.rows; i++) {
  164. inamt = grd_incmexpslist.valueMatrix(i, grd_incmexpslist.colRef("inamt"));
  165. outamt = grd_incmexpslist.valueMatrix(i, grd_incmexpslist.colRef("examt"));
  166. if(inamt == "" || inamt == null) {
  167. inamt = 0;
  168. }
  169. if(outamt == "" || outamt == null) {
  170. outamt = 0;
  171. }
  172. totinamt += parseInt(inamt);
  173. totoutamt += parseInt(outamt);
  174. }
  175. totamt = totinamt - totoutamt;
  176. model.setValue("/root/temp/inamt", totinamt);
  177. model.setValue("/root/temp/outamt", totoutamt);
  178. model.setValue("/root/temp/totamt", totamt);
  179. ipt_inamt.refresh();
  180. ipt_outamt.refresh();
  181. ipt_totamt.refresh();
  182. }
  183. function fClicedGrid() {
  184. model.removeNodeset("/root/main/bugtdetl");
  185. model.removenode("/root/send");
  186. model.makeValue("/root/send/mngtyy", model.getValue("/root/temp/mngtyy"));
  187. model.makeValue("/root/send/mngtdd", model.getValue("/root/main/inexlist["+grd_incmexpslist.row+"]/mngtdd"));
  188. model.makeValue("/root/send/inexflag", model.getValue("/root/main/inexlist["+grd_incmexpslist.row+"]/inexflag"));
  189. model.makeValue("/root/send/supitemcd", model.getValue("/root/main/inexlist["+grd_incmexpslist.row+"]/supitemcd"));
  190. model.makeValue("/root/send/infitemcd", model.getValue("/root/main/inexlist["+grd_incmexpslist.row+"]/infitemcd"));
  191. model.makeValue("/root/send/seqno", model.getValue("/root/main/inexlist["+grd_incmexpslist.row+"]/seqno"));
  192. submit("TRMNH04202");
  193. supitemcd();
  194. cmb_supitemcd.dispatch("xforms-value-changed");
  195. model.removenode("/root/send");
  196. model.makeValue("/root/send/bankflagcd", cmb_bankflag.value);
  197. submit("TRMNH02401");
  198. cmb_mngtyy.disabled = true;
  199. ipt_mngtdd.disabled = true;
  200. rdo_inexflag.disabled = true;
  201. cmb_supitemcd.disabled = true;
  202. cmb_infitemcd.disabled = true;
  203. }
  204. function fClear() {
  205. model.resetInstanceNode("/root/main/inexdetl");
  206. cmb_mngtyy.disabled = false;
  207. ipt_mngtdd.disabled = false;
  208. rdo_inexflag.disabled = false;
  209. cmb_supitemcd.disabled = false;
  210. cmb_infitemcd.disabled = false;
  211. model.refresh();
  212. }
  213. ]]>
  214. </script>
  215. </xhtml:head>
  216. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  217. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  218. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:181px; height:14px; ">수입지출관리</caption>
  219. </group>
  220. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:697px; ">
  221. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:40px; vertical-align:top; ">
  222. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
  223. <button id="button1" class="btn1_letter2" style="left:1076px; top:7px; width:56px; height:22px; ">
  224. <caption>조회</caption>
  225. <script type="javascript" ev:event="DOMActivate">
  226. <![CDATA[
  227. fSearch();
  228. ]]>
  229. </script>
  230. </button>
  231. <line id="line13" class="line_4" style="x1:1067px; y1:7px; x2:1067px; y2:29px; "/>
  232. <caption id="caption1" class="search_no_b" style="left:440px; top:9px; width:12px; height:17px; ">~</caption>
  233. <input id="ipt_fromdd" ref="/root/temp/fromdd" class="input_default" disabled="true" navindex="1" inputtype="date" style="left:352px; top:10px; width:86px; height:19px; ">
  234. <script type="javascript" ev:event="xforms-value-changed">
  235. <![CDATA[
  236. if(ipt_fromdd.value.substr(0,4) != cmb_payyy.value ){
  237. messageBox("관리년도 범위를 벗어 났습니다.", "E");
  238. ipt_fromdd.value =getCurrentDate();
  239. }
  240. ]]>
  241. </script>
  242. </input>
  243. <input id="ipt_todd" ref="/root/temp/todd" class="input_default" disabled="true" navindex="2" inputtype="date" style="left:455px; top:10px; width:83px; height:19px; ">
  244. <script type="javascript" ev:event="xforms-value-changed">
  245. <![CDATA[
  246. if(ipt_todd.value.substr(0,4) != cmb_payyy.value ){
  247. messageBox("관리년도 범위를 벗어 났습니다.", "E");
  248. ipt_todd.value =getCurrentDate();
  249. }
  250. ]]>
  251. </script>
  252. </input>
  253. <caption id="caption7" class="search_name" style="left:20px; top:10px; width:91px; height:17px; ">조회구분 :</caption>
  254. <select1 id="rdo_srchflag" ref="/root/temp/srchflag" appearance="full" cellspacing="100" cols="2" overflow="visible" style="left:107px; top:12px; width:240px; height:15px; border-style:none; ">
  255. <choices>
  256. <item>
  257. <label>관리연도</label>
  258. <value>1</value>
  259. </item>
  260. <item>
  261. <label>조회기간</label>
  262. <value>2</value>
  263. </item>
  264. </choices>
  265. <script type="javascript" ev:event="xforms-value-changed">
  266. <![CDATA[
  267. var srchflag = model.getValue(rdo_srchflag.attribute("ref"));
  268. if(srchflag == "1") {
  269. cmb_payyy.disabled = false;
  270. ipt_fromdd.disabled = true;
  271. ipt_todd.disabled = true;
  272. } else {
  273. cmb_payyy.disabled = true;
  274. ipt_fromdd.disabled = false;
  275. ipt_todd.disabled = false;
  276. }
  277. ]]>
  278. </script>
  279. </select1>
  280. <select1 id="cmb_payyy" ref="/root/temp/mngtyy" class="combo_search" appearance="minimal" style="left:185px; top:10px; width:84px; height:19px; ">
  281. <choices>
  282. <item>
  283. <label>2000년</label>
  284. <value>2000</value>
  285. </item>
  286. <item>
  287. <label>2001년</label>
  288. <value>2001</value>
  289. </item>
  290. <item>
  291. <label>2002년</label>
  292. <value>2002</value>
  293. </item>
  294. <item>
  295. <label>2003년</label>
  296. <value>2003</value>
  297. </item>
  298. <item>
  299. <label>2004년</label>
  300. <value>2004</value>
  301. </item>
  302. <item>
  303. <label>2005년</label>
  304. <value>2005</value>
  305. </item>
  306. <item>
  307. <label>2006년</label>
  308. <value>2006</value>
  309. </item>
  310. <item>
  311. <label>2007년</label>
  312. <value>2007</value>
  313. </item>
  314. <item>
  315. <label>2008년</label>
  316. <value>2008</value>
  317. </item>
  318. <item>
  319. <label>2009년</label>
  320. <value>2009</value>
  321. </item>
  322. <item>
  323. <label>2010년</label>
  324. <value>2010</value>
  325. </item>
  326. <item>
  327. <label>2011년</label>
  328. <value>2011</value>
  329. </item>
  330. <item>
  331. <label>2012년</label>
  332. <value>2012</value>
  333. </item>
  334. <item>
  335. <label>2013년</label>
  336. <value>2013</value>
  337. </item>
  338. <item>
  339. <label>2014년</label>
  340. <value>2014</value>
  341. </item>
  342. <item>
  343. <label>2015년</label>
  344. <value>2015</value>
  345. </item>
  346. <item>
  347. <label>2016년</label>
  348. <value>2016</value>
  349. </item>
  350. <item>
  351. <label>2017년</label>
  352. <value>2017</value>
  353. </item>
  354. <item>
  355. <label>2018년</label>
  356. <value>2018</value>
  357. </item>
  358. <item>
  359. <label>2019년</label>
  360. <value>2019</value>
  361. </item>
  362. <item>
  363. <label>2020년</label>
  364. <value>2020</value>
  365. </item>
  366. </choices>
  367. <script type="javascript" ev:event="xforms-value-changed">
  368. <![CDATA[
  369. fSearch()
  370. ]]>
  371. </script>
  372. </select1>
  373. <caption id="caption4" class="search_name" style="left:550px; top:10px; width:91px; height:17px; ">수입구분 :</caption>
  374. <select1 id="radio2" ref="/root/temp/flag" appearance="full" cellspacing="10" cols="3" overflow="visible" style="left:638px; top:13px; width:190px; height:13px; border-style:none; ">
  375. <choices>
  376. <item>
  377. <label>전체</label>
  378. <value/>
  379. </item>
  380. <item>
  381. <label>수입</label>
  382. <value>01</value>
  383. </item>
  384. <item>
  385. <label>지출</label>
  386. <value>02</value>
  387. </item>
  388. </choices>
  389. </select1>
  390. <button id="button3" class="btn1_letter2" style="left:1134px; top:7px; width:56px; height:22px; ">
  391. <caption>엑셀</caption>
  392. <script type="javascript" ev:event="DOMActivate">
  393. <![CDATA[
  394. var fileName = window.fileDialog("save", ",", false, "수입지출관리", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  395. grd_incmexpslist.saveExcel(fileName, "sheetname:sheet1;colhiddenextend:false;rowhiddenextend:false;");
  396. ]]>
  397. </script>
  398. </button>
  399. </group>
  400. <datagrid id="grd_incmexpslist" nodeset="/root/main/inexlist" scroll="auto" caption="일자^caption1^항목분류^항목분류^상세항목^상세항목^비고^수입^지출^" colsep="^" colwidth="100, 6, 143, 19, 10, 100, 368, 191, 181, 21, 14" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:1px; top:80px; width:1194px; height:444px; text-align:center; ">
  401. <col ref="mngtdd" format="yyyy-mm-dd"/>
  402. <col ref="supitemcd" visibility="hidden"/>
  403. <col ref="supitemnm" style="text-align:center; "/>
  404. <col ref="seq" style="text-align:left; "/>
  405. <col ref="infitemcd" visibility="hidden"/>
  406. <col ref="infitemnm" style="text-align:center; "/>
  407. <col ref="inexetc" style="text-align:left; "/>
  408. <col ref="inamt" format="#,###,###,###"/>
  409. <col ref="examt" format="#,###,###,###"/>
  410. <col ref="inexflag" visibility="hidden"/>
  411. <col ref="seqno" visibility="hidden"/>
  412. <script type="javascript" ev:event="onclick">
  413. <![CDATA[
  414. if(isDataCell()){
  415. fClicedGrid();
  416. }
  417. ]]>
  418. </script>
  419. </datagrid>
  420. <caption id="caption2" class="tit_2" style="left:5px; top:58px; width:139px; height:14px; ">수입지출 내역리스트</caption>
  421. <line id="line2" class="line_1" style="x1:0px; y1:75px; x2:1194px; y2:75px; "/>
  422. <button id="button15" class="btn2_letter3" style="left:1049px; top:569px; width:53px; height:19px; ">
  423. <caption>초기화</caption>
  424. <script type="javascript" ev:event="DOMActivate">
  425. <![CDATA[
  426. fClear();
  427. ]]>
  428. </script>
  429. </button>
  430. <select1 id="cmb_supitemcd" ref="/root/main/inexdetl/supitemcd" class="combo_default" appearance="minimal" style="left:176px; top:621px; width:207px; height:19px; ">
  431. <choices>
  432. <itemset nodeset="/root/init/supitemcd">
  433. <label ref="cdnm"/>
  434. <value ref="cdid"/>
  435. </itemset>
  436. </choices>
  437. <script type="javascript" ev:event="xforms-value-changed">
  438. <![CDATA[
  439. var supitemcd = model.getValue("/root/main/inexdetl/supitemcd");
  440. var leng = supitemcd.length;
  441. if(leng > 2){
  442. var supgrup = supitemcd.substr(leng-5,leng);
  443. }
  444. if(supgrup == '00008')
  445. cmb_infitemcd.choices.itemset.attribute("nodeset") = "/root/init/A00008";
  446. else if(supgrup == '00010')
  447. cmb_infitemcd.choices.itemset.attribute("nodeset") = "/root/init/A00010";
  448. else if(supgrup == '00011')
  449. cmb_infitemcd.choices.itemset.attribute("nodeset") = "/root/init/A00011";
  450. else if(supgrup == '00012')
  451. cmb_infitemcd.choices.itemset.attribute("nodeset") = "/root/init/A00012";
  452. else if(supgrup == '00013')
  453. cmb_infitemcd.choices.itemset.attribute("nodeset") = "/root/init/A00013";
  454. else
  455. cmb_infitemcd.choices.itemset.attribute("nodeset") = "/root/init/remove";
  456. cmb_infitemcd.refresh();
  457. ]]>
  458. </script>
  459. </select1>
  460. <input id="ipt_inexetc" ref="/root/main/inexdetl/inexetc" class="input_default" navindex="12" style="left:176px; top:671px; width:1015px; height:19px; "/>
  461. <line id="line8" class="line_2" style="x1:0px; y1:618px; x2:1194px; y2:618px; "/>
  462. <line id="line9" class="line_2" style="x1:0px; y1:667px; x2:1194px; y2:667px; "/>
  463. <button id="button2" class="btn5_letter2" style="left:1148px; top:569px; width:42px; height:19px; ">
  464. <caption>삭제</caption>
  465. <script type="javascript" ev:event="DOMActivate">
  466. <![CDATA[
  467. if(model.getValue("/root/main/inexdetl/status")=="update"){
  468. fSave("delete");
  469. }
  470. fSearch();
  471. ]]>
  472. </script>
  473. </button>
  474. <input id="ipt_inexamt" ref="/root/main/inexdetl/inexamt" class="input_default" format="#,###,###,###" style="left:946px; top:646px; width:245px; height:19px; "/>
  475. <output id="opt_seqno" ref="/root/main/inexdetl/seqno" class="output_fix" style="left:946px; top:621px; width:245px; height:19px; "/>
  476. <caption id="caption20" class="cell_1" style="left:772px; top:645px; width:172px; height:23px; text-align:center; vertical-align:middle; ">수입/지출금액</caption>
  477. <caption id="caption21" class="cell_1" style="left:2px; top:644px; width:172px; height:23px; text-align:center; vertical-align:middle; ">은행구분</caption>
  478. <caption id="caption22" class="cell_1" style="left:387px; top:645px; width:172px; height:23px; text-align:center; vertical-align:middle; ">계좌(지로)번호</caption>
  479. <select1 id="cmb_infitemcd" ref="/root/main/inexdetl/infitemcd" class="combo_default" appearance="minimal" style="left:561px; top:621px; width:207px; height:19px; ">
  480. <choices>
  481. <itemset nodeset="/root/init/remove">
  482. <label ref="cdnm"/>
  483. <value ref="cdid"/>
  484. </itemset>
  485. </choices>
  486. </select1>
  487. <caption id="caption3" class="cell_1" style="left:2px; top:669px; width:172px; height:23px; text-align:center; vertical-align:middle; ">비고</caption>
  488. <caption id="caption12" class="cell_1" style="left:772px; top:595px; width:172px; height:23px; text-align:center; vertical-align:middle; ">수입(지출)구분</caption>
  489. <select1 id="cmb_acntno" ref="/root/main/inexdetl/acntno" class="combo_default" appearance="minimal" style="left:561px; top:646px; width:207px; height:19px; ">
  490. <choices>
  491. <itemset nodeset="/root/init/acntno">
  492. <label ref="cdnm"/>
  493. <value ref="cdid"/>
  494. </itemset>
  495. </choices>
  496. </select1>
  497. <caption id="caption13" class="cell_1" style="left:772px; top:620px; width:172px; height:23px; text-align:center; vertical-align:middle; ">일련번호</caption>
  498. <button id="btn_incmexpssave" class="btn5_letter2" style="left:1104px; top:569px; width:42px; height:19px; ">
  499. <caption>저장</caption>
  500. <script type="javascript" ev:event="DOMActivate">
  501. <![CDATA[
  502. if(model.getValue("/root/main/inexdetl/status")=="update"){
  503. fSave("update");
  504. }else{
  505. fSave("insert");
  506. }
  507. fSearch();
  508. ]]>
  509. </script>
  510. </button>
  511. <caption id="caption5" class="cell_1" style="left:2px; top:594px; width:172px; height:23px; text-align:center; vertical-align:middle; ">관리연도</caption>
  512. <caption id="caption15" class="tit_2" style="left:3px; top:574px; width:133px; height:13px; ">수입/지출금액 등록</caption>
  513. <line id="line4" class="line_1" style="x1:2px; y1:589px; x2:1193px; y2:589px; "/>
  514. <caption id="caption8" class="cell_1" style="left:387px; top:595px; width:172px; height:23px; text-align:center; vertical-align:middle; ">발생일자</caption>
  515. <input id="ipt_mngtdd" ref="/root/main/inexdetl/mngtdd" class="input_default" inputtype="date" style="left:561px; top:596px; width:207px; height:19px; "/>
  516. <select1 id="rdo_inexflag" ref="/root/main/inexdetl/inexflag" navindex="21" appearance="full" cols="3" overflow="visible" style="left:946px; top:598px; width:245px; height:20px; border-style:none; ">
  517. <choices>
  518. <item>
  519. <label>수입</label>
  520. <value>01</value>
  521. </item>
  522. <item>
  523. <label>지출</label>
  524. <value>02</value>
  525. </item>
  526. </choices>
  527. <script type="javascript" ev:event="xforms-value-changed">
  528. <![CDATA[
  529. supitemcd();
  530. ]]>
  531. </script>
  532. </select1>
  533. <caption id="caption18" class="cell_1" style="left:2px; top:619px; width:172px; height:23px; text-align:center; vertical-align:middle; ">항목분류</caption>
  534. <line id="line6" class="line_2" style="x1:2px; y1:643px; x2:1194px; y2:643px; "/>
  535. <caption id="caption19" class="cell_1" style="left:387px; top:620px; width:172px; height:23px; text-align:center; vertical-align:middle; ">상세항목</caption>
  536. <line id="line7" class="line_3" style="x1:0px; y1:693px; x2:1194px; y2:693px; "/>
  537. <select1 id="cmb_bankflag" ref="/root/main/inexdetl/bankflag" class="combo_default" appearance="minimal" style="left:176px; top:646px; width:207px; height:19px; ">
  538. <choices>
  539. <itemset nodeset="/root/init/A00001">
  540. <label ref="cdnm"/>
  541. <value ref="cdid"/>
  542. </itemset>
  543. </choices>
  544. <script type="javascript" ev:event="xforms-value-changed">
  545. <![CDATA[
  546. cmb_acntno.value = "";
  547. model.removenode("/root/send");
  548. model.makeValue("/root/send/bankflagcd", cmb_bankflag.value);
  549. submit("TRMNH02401");
  550. ]]>
  551. </script>
  552. </select1>
  553. <select1 id="cmb_mngtyy" ref="/root/main/inexdetl/mngtyy" class="combo_search" appearance="minimal" style="left:176px; top:596px; width:207px; height:19px; ">
  554. <choices>
  555. <item>
  556. <label>2000년</label>
  557. <value>2000</value>
  558. </item>
  559. <item>
  560. <label>2001년</label>
  561. <value>2001</value>
  562. </item>
  563. <item>
  564. <label>2002년</label>
  565. <value>2002</value>
  566. </item>
  567. <item>
  568. <label>2003년</label>
  569. <value>2003</value>
  570. </item>
  571. <item>
  572. <label>2004년</label>
  573. <value>2004</value>
  574. </item>
  575. <item>
  576. <label>2005년</label>
  577. <value>2005</value>
  578. </item>
  579. <item>
  580. <label>2006년</label>
  581. <value>2006</value>
  582. </item>
  583. <item>
  584. <label>2007년</label>
  585. <value>2007</value>
  586. </item>
  587. <item>
  588. <label>2008년</label>
  589. <value>2008</value>
  590. </item>
  591. <item>
  592. <label>2009년</label>
  593. <value>2009</value>
  594. </item>
  595. <item>
  596. <label>2010년</label>
  597. <value>2010</value>
  598. </item>
  599. <item>
  600. <label>2011년</label>
  601. <value>2011</value>
  602. </item>
  603. <item>
  604. <label>2012년</label>
  605. <value>2012</value>
  606. </item>
  607. <item>
  608. <label>2013년</label>
  609. <value>2013</value>
  610. </item>
  611. <item>
  612. <label>2014년</label>
  613. <value>2014</value>
  614. </item>
  615. <item>
  616. <label>2015년</label>
  617. <value>2015</value>
  618. </item>
  619. <item>
  620. <label>2016년</label>
  621. <value>2016</value>
  622. </item>
  623. <item>
  624. <label>2017년</label>
  625. <value>2017</value>
  626. </item>
  627. <item>
  628. <label>2018년</label>
  629. <value>2018</value>
  630. </item>
  631. <item>
  632. <label>2019년</label>
  633. <value>2019</value>
  634. </item>
  635. <item>
  636. <label>2020년</label>
  637. <value>2020</value>
  638. </item>
  639. </choices>
  640. <script type="javascript" ev:event="xforms-value-changed">
  641. <![CDATA[
  642. ]]>
  643. </script>
  644. </select1>
  645. <input id="ipt_inamt" ref="/root/temp/inamt" editable="false" format="(-)#,###" style="left:176px; top:527px; width:207px; height:19px; "/>
  646. <input id="ipt_outamt" ref="/root/temp/outamt" editable="false" format="(-)#,###" style="left:561px; top:527px; width:207px; height:19px; "/>
  647. <input id="ipt_totamt" ref="/root/temp/totamt" editable="false" format="(-)#,###" style="left:946px; top:527px; width:245px; height:19px; "/>
  648. <caption id="caption9" class="cell_1" style="left:2px; top:525px; width:172px; height:23px; text-align:center; vertical-align:middle; ">수입계</caption>
  649. <caption id="caption10" class="cell_1" style="left:387px; top:525px; width:172px; height:23px; text-align:center; vertical-align:middle; ">지출계</caption>
  650. <caption id="caption11" class="cell_1" style="left:772px; top:525px; width:172px; height:24px; text-align:center; vertical-align:middle; ">총계(수입-지출계)</caption>
  651. <line id="line1" class="line_3" style="x1:0px; y1:548px; x2:1194px; y2:548px; "/>
  652. </group>
  653. </xhtml:body>
  654. </xhtml:html>