SMRAI00100_회계실적정보.xrw 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711
  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. <slipinfolist/>
  12. <textlist/>
  13. </list>
  14. </main>
  15. <send>
  16. <condition>
  17. <instcd/>
  18. <costcntrdeptcd/>
  19. <costcntrdeptnm/>
  20. <slipdeptcd/>
  21. <slipdeptnm/>
  22. <emplno/>
  23. <emplnm/>
  24. <fracntcd/>
  25. <fracntnm/>
  26. <toacntcd/>
  27. <toacntnm/>
  28. <acntflag/>
  29. <slipflag>%</slipflag>
  30. <ddkind>od</ddkind>
  31. <frdd/>
  32. <todd/>
  33. <framt/>
  34. <toamt/>
  35. <slipkind>%</slipkind>
  36. <autoslipflag>%</autoslipflag>
  37. <acntclsflag>0</acntclsflag>
  38. </condition>
  39. </send>
  40. <init>
  41. <R0008list>
  42. <R0008>
  43. <cdnm/>
  44. <cdid/>
  45. </R0008>
  46. </R0008list>
  47. </init>
  48. <temp/>
  49. <hidden>
  50. </hidden>
  51. </root>
  52. </instance>
  53. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  54. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  55. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  56. <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
  57. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  58. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  59. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  60. <script type="javascript" ev:event="xforms-ready">
  61. <![CDATA[
  62. fCheckAuth();//화면 권한체크
  63. fOpenForm();
  64. ]]>
  65. </script>
  66. <script type="javascript">
  67. <![CDATA[
  68. //========================================================================================
  69. //버튼에 대한 화면 권한 체크(R : 읽기, X : 입력/수정/삭제, P : 출력)
  70. //========================================================================================
  71. function fCheckAuth()
  72. {
  73. btn_search.disabled = !checkAuth("R") ;
  74. }
  75. //========================================================================================
  76. //화면 로드시 초기화 함수
  77. //========================================================================================
  78. function fOpenForm()
  79. {
  80. misfComboComCdList("Z0007", cmb_instcd, "Y");
  81. zbcfGetCodeList(new Array("R0008"), new Array("/root/init/R0008list"));
  82. var sToday = getCurrentDate().toString();
  83. model.setValue("/root/send/condition/frdd", sToday);
  84. model.setValue("/root/send/condition/todd", sToday);
  85. model.setValue("/root/send/condition/instcd", getUserInfo("dutplceinstcd"));
  86. model.removenode("/root/main/list/slipinfolist");
  87. model.refresh();
  88. }
  89. //========================================================================================
  90. //코드 Validation Check
  91. //========================================================================================
  92. function fValidationCheck(vgbn, recvlist, pcdgrupid, pNextIndex, pValueControl, pNodeName)
  93. {
  94. if(event.keyCode == 13 || event.name == "xforms-value-changed")
  95. {
  96. document.controls(event.currentTarget).value = document.controls(event.currentTarget).currentText;
  97. misfValidationCheck(vgbn, pcdgrupid, recvlist, pValueControl, pNodeName);
  98. model.refresh();
  99. model.setFocus(pNextIndex);
  100. }
  101. }
  102. //========================================================================================
  103. //각종 코드 Help Open
  104. //========================================================================================
  105. function fOpenPopupHelp(pHelper, pControl, pInstance, pCdgrupid, pValueControl, pNodeName)
  106. {
  107. misfOpenPopUpList(pHelper, pControl, pCdgrupid, pInstance, pValueControl, pNodeName);
  108. model.refresh();
  109. }
  110. ]]>
  111. </script>
  112. <submission id="TRRAI00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condition" resultref="/root/main/list"/>
  113. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  114. <submission id="TRRAI00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condition" resultref="/root/main/list"/>
  115. <submission id="TRRAI00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condition" resultref="/root/main/list"/>
  116. <submission id="TRRAI00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condition" resultref="/root/main/list"/>
  117. </model>
  118. </xhtml:head>
  119. <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  120. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  121. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:293px; height:14px; ">전표정보</caption>
  122. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  123. </group>
  124. <group id="group3" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  125. <group id="grp_sea" style="left:0px; top:10px; width:1195; height:107px; vertical-align:top; ">
  126. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195; height:107px; background-color:#fffbf2; border-color:#ffd799; "/>
  127. <line id="line5" class="line_4" style="x1:1107px; y1:8px; x2:1107px; y2:100px; border-color:#ffe4bb; border-left-style:solid; "/>
  128. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1123px; top:43px; width:56px; height:22px; text-align:left; ">
  129. <caption>조회</caption>
  130. <script type="javascript" ev:event="DOMActivate">
  131. <![CDATA[
  132. model.removeNodeset("/root/main/list/slipinfolist");
  133. model.refresh();
  134. submit("TRRAI00101");
  135. ]]>
  136. </script>
  137. </button>
  138. <input id="ipt_costcntrdeptnm" ref="/root/send/condition/costcntrdeptnm" class="input_essential" navindex="7" style="left:209px; top:32px; width:181px; height:19px; ">
  139. <script type="javascript" ev:event="onkeypress">
  140. <![CDATA[
  141. if (event.keyCode == "13") {
  142. model.setFocus("btn_search");
  143. }
  144. ]]>
  145. </script>
  146. <script type="javascript" ev:event="xforms-value-changed">
  147. <![CDATA[
  148. fValidationCheck("02", "costcntrdeptcd,costcntrdeptnm", "", "btn_search");
  149. ]]>
  150. </script>
  151. </input>
  152. <input id="ipt_costcntrdeptcd" ref="/root/send/condition/costcntrdeptcd" class="input_essential" navindex="6" style="left:105px; top:32px; width:80px; height:19px; ">
  153. <script type="javascript" ev:event="onkeypress">
  154. <![CDATA[
  155. if (event.keyCode == "13") {
  156. model.setFocus("btn_search");
  157. }
  158. ]]>
  159. </script>
  160. <script type="javascript" ev:event="xforms-value-changed">
  161. <![CDATA[
  162. fValidationCheck("02", "costcntrdeptcd,costcntrdeptnm", "", "btn_search");
  163. ]]>
  164. </script>
  165. </input>
  166. <caption id="caption37" class="search_name" style="left:16px; top:33px; width:91px; height:17px; ">귀속부서 :</caption>
  167. <button id="btn_costcntrdeptcd" class="icon_search" style="left:189px; top:33px; width:16px; height:21px; ">
  168. <caption/>
  169. <script type="javascript" ev:event="DOMActivate">
  170. <![CDATA[
  171. fOpenPopupHelp("02", ipt_slipdeptcd, "costcntrdeptcd,costcntrdeptnm", "");
  172. model.setFocus("rdo_profflag");
  173. ]]>
  174. </script>
  175. </button>
  176. <input id="ipt_slipdeptnm" ref="/root/send/condition/slipdeptnm" class="input_essential" navindex="7" style="left:209px; top:55px; width:181px; height:19px; ">
  177. <script type="javascript" ev:event="onkeypress">
  178. <![CDATA[
  179. if (event.keyCode == "13") {
  180. model.setFocus("btn_search");
  181. }
  182. ]]>
  183. </script>
  184. <script type="javascript" ev:event="xforms-value-changed">
  185. <![CDATA[
  186. fValidationCheck("02", "slipdeptcd,slipdeptnm", "", "btn_search");
  187. ]]>
  188. </script>
  189. </input>
  190. <input id="ipt_slipdeptcd" ref="/root/send/condition/slipdeptcd" class="input_essential" navindex="6" style="left:105px; top:55px; width:80px; height:19px; ">
  191. <script type="javascript" ev:event="onkeypress">
  192. <![CDATA[
  193. if (event.keyCode == "13") {
  194. model.setFocus("btn_search");
  195. }
  196. ]]>
  197. </script>
  198. <script type="javascript" ev:event="xforms-value-changed">
  199. <![CDATA[
  200. fValidationCheck("02", "slipdeptcd,slipdeptnm", "", "btn_search");
  201. ]]>
  202. </script>
  203. </input>
  204. <caption id="caption1" class="search_name" style="left:16px; top:56px; width:91px; height:17px; ">발의부서 :</caption>
  205. <button id="btn_slipdeptcd" class="icon_search" style="left:189px; top:56px; width:16px; height:16px; ">
  206. <caption/>
  207. <script type="javascript" ev:event="DOMActivate">
  208. <![CDATA[
  209. fOpenPopupHelp("02", ipt_slipdeptcd, "slipdeptcd,slipdeptnm", "");
  210. model.setFocus("rdo_profflag");
  211. ]]>
  212. </script>
  213. </button>
  214. <select1 id="cmb_instcd" ref="/root/send/condition/instcd" class="combo_s_essential" navindex="1" appearance="minimal" style="left:105px; top:9px; width:285px; height:19px; ">
  215. <choices>
  216. <itemset>
  217. <label/>
  218. <value/>
  219. </itemset>
  220. </choices>
  221. <script type="javascript" ev:event="xforms-value-changed">
  222. <![CDATA[
  223. model.setValue("/root/send/condition/fracntcd", "");
  224. model.setValue("/root/send/condition/fracntnm", "");
  225. model.setValue("/root/send/condition/toacntcd", "");
  226. model.setValue("/root/send/condition/toacntnm", "");
  227. model.refresh();
  228. ]]>
  229. </script>
  230. </select1>
  231. <caption id="caption5" class="search_name" style="left:16px; top:10px; width:90px; height:17px; ">기관코드 :</caption>
  232. <button id="btn_toacnthelp2" class="icon_search" style="left:576px; top:33px; width:16px; height:16px; ">
  233. <caption/>
  234. <script type="javascript" ev:event="DOMActivate">
  235. <![CDATA[
  236. misfOpenPopUpList("05", ipt_fracntcd, "", "toacntcd,toacntnm", "cmb_instcd,cmb_acntclsflag", "instcd,acntclsflag");
  237. model.refresh();
  238. ]]>
  239. </script>
  240. </button>
  241. <input id="ipt_toacntnm" ref="/root/send/condition/toacntnm" class="input_s_essential" navindex="7" style="left:594px; top:33px; width:176px; height:19px; ">
  242. <script type="javascript" ev:event="onkeypress">
  243. <![CDATA[
  244. if(event.keyCode == 13)
  245. {
  246. model.setFocus("btn_search");
  247. }
  248. ]]>
  249. </script>
  250. <script type="javascript" ev:event="xforms-value-changed">
  251. <![CDATA[
  252. fValidationCheck("05", "toacntcd,toacntnm", "", "", "cmb_instcd,cmb_acntclsflag", "instcd,acntclsflag");
  253. ]]>
  254. </script>
  255. </input>
  256. <input id="ipt_fracntnm" ref="/root/send/condition/fracntnm" class="input_s_essential" navindex="5" style="left:594px; top:10px; width:176px; height:19px; ">
  257. <script type="javascript" ev:event="onkeypress">
  258. <![CDATA[
  259. if(event.keyCode == 13)
  260. {
  261. model.setFocus("btn_search");
  262. }
  263. ]]>
  264. </script>
  265. <script type="javascript" ev:event="xforms-value-changed">
  266. <![CDATA[
  267. fValidationCheck("05", "fracntcd,fracntnm", "", "", "cmb_instcd,cmb_acntclsflag", "instcd,acntclsflag");
  268. ]]>
  269. </script>
  270. </input>
  271. <input id="ipt_toacntcd" ref="/root/send/condition/toacntcd" class="input_s_essential" navindex="6" style="left:497px; top:33px; width:75px; 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. fValidationCheck("05", "toacntcd,toacntnm", "", "", "cmb_instcd,cmb_acntclsflag", "instcd,acntclsflag");
  283. ]]>
  284. </script>
  285. </input>
  286. <button id="btn_fracnthelp2" class="icon_search" style="left:576px; top:10px; width:16px; height:16px; ">
  287. <caption/>
  288. <script type="javascript" ev:event="DOMActivate">
  289. <![CDATA[
  290. misfOpenPopUpList("05", ipt_fracntcd, "", "fracntcd,fracntnm", "cmb_instcd,cmb_acntclsflag", "instcd,acntclsflag");
  291. model.refresh();
  292. ]]>
  293. </script>
  294. </button>
  295. <input id="ipt_fracntcd" ref="/root/send/condition/fracntcd" class="input_s_essential" navindex="4" style="left:497px; top:10px; width:75px; height:19px; ">
  296. <script type="javascript" ev:event="onkeypress">
  297. <![CDATA[
  298. if(event.keyCode == 13)
  299. {
  300. model.setFocus("btn_search");
  301. }
  302. ]]>
  303. </script>
  304. <script type="javascript" ev:event="xforms-value-changed">
  305. <![CDATA[
  306. fValidationCheck("05", "fracntcd,fracntnm", "", "", "cmb_instcd,cmb_acntclsflag", "instcd,acntclsflag");
  307. ]]>
  308. </script>
  309. </input>
  310. <caption id="caption28" class="search_name" style="left:405px; top:10px; width:90px; height:17px; ">계정과목 :</caption>
  311. <select1 id="cmb_ddkind" ref="/root/send/condition/ddkind" disabled="true" appearance="minimal" style="left:800px; top:10px; width:75px; height:19px; font-family:굴림체; font-size:8pt; font-weight:bold; ">
  312. <choices>
  313. <item>
  314. <label>발의일자</label>
  315. <value>wd</value>
  316. </item>
  317. <item>
  318. <label>출금일자</label>
  319. <value>od</value>
  320. </item>
  321. </choices>
  322. </select1>
  323. <caption id="caption38" style="left:980px; top:10px; width:15px; height:20px; ">~</caption>
  324. <input id="input3" ref="/root/send/condition/todd" class="input_s_essential" inputtype="date" style="left:995px; top:10px; width:100px; height:19px; "/>
  325. <input id="input6" ref="/root/send/condition/frdd" class="input_s_essential" inputtype="date" style="left:875px; top:10px; width:100px; height:19px; "/>
  326. <caption id="caption2" class="search_name" style="left:786px; top:32px; width:91px; height:17px; ">전표금액 :</caption>
  327. <caption id="caption3" style="left:980px; top:30px; width:15px; height:20px; ">~</caption>
  328. <input id="input4" ref="/root/send/condition/framt" class="input_essential" navindex="6" format="(-)#,###" style="left:875px; top:32px; width:100px; height:19px; text-align:right; "/>
  329. <input id="input5" ref="/root/send/condition/toamt" class="input_essential" navindex="6" format="(-)#,###" style="left:995px; top:32px; width:100px; height:19px; text-align:right; "/>
  330. <caption id="caption22" class="search_name" style="left:405px; top:78px; width:91px; height:17px; ">전표구분 :</caption>
  331. <select1 id="cmb_slipflag" ref="/root/send/condition/slipflag" class="combo_default" appearance="minimal" style="left:497px; top:78px; width:274px; height:19px; ">
  332. <choices>
  333. <itemset nodeset="/root/init/R0008list/R0008">
  334. <label ref="cdnm"/>
  335. <value ref="cdid"/>
  336. </itemset>
  337. </choices>
  338. </select1>
  339. <select1 id="rdo_slipkind" ref="/root/send/condition/slipkind" class="radio_search" overflow="visible" appearance="full" cellspacing="0" cols="5" style="left:876px; top:55px; width:259px; height:20px; vertical-align:middle; border-style:none; ">
  340. <choices>
  341. <item>
  342. <label>전체</label>
  343. <value>%</value>
  344. </item>
  345. <item>
  346. <label>대체</label>
  347. <value>1</value>
  348. </item>
  349. <item>
  350. <label>입금</label>
  351. <value>2</value>
  352. </item>
  353. <item>
  354. <label>출금</label>
  355. <value>3</value>
  356. </item>
  357. <item>
  358. <label>지출대체</label>
  359. <value>4</value>
  360. </item>
  361. </choices>
  362. </select1>
  363. <caption id="caption8" class="search_name" style="left:786px; top:55px; width:91px; height:17px; ">전표유형 :</caption>
  364. <select1 id="radio1" ref="/root/send/condition/autoslipflag" class="radio_search" overflow="visible" appearance="full" cellspacing="10" cols="3" style="left:876px; top:78px; width:211px; height:20px; vertical-align:middle; border-style:none; ">
  365. <choices>
  366. <item>
  367. <label>전체</label>
  368. <value>%</value>
  369. </item>
  370. <item>
  371. <label>일반전표</label>
  372. <value>N</value>
  373. </item>
  374. <item>
  375. <label>자동분개</label>
  376. <value>Y</value>
  377. </item>
  378. </choices>
  379. </select1>
  380. <caption id="caption7" class="search_name" style="left:786px; top:78px; width:91px; height:17px; ">전표종류 :</caption>
  381. <input id="ipt_name" ref="/root/send/condition/emplnm" class="input_default" navindex="2" style="left:209px; top:78px; width:181px; height:19px; ">
  382. <script type="javascript" ev:event="onkeypress">
  383. <![CDATA[
  384. if(event.keyCode == 13)
  385. {
  386. model.setFocus("btn_search");
  387. }
  388. ]]>
  389. </script>
  390. <script type="javascript" ev:event="xforms-value-changed">
  391. <![CDATA[
  392. rpbfValidationCheck("EMPLNM", "emplno,emplnm");
  393. model.refresh();
  394. ]]>
  395. </script>
  396. </input>
  397. <button id="btn_emplno" class="icon_search" style="left:189px; top:79px; width:16px; height:16px; ">
  398. <caption/>
  399. <script type="javascript" ev:event="DOMActivate">
  400. <![CDATA[
  401. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, "emplno,emplnm", "", "N");
  402. model.refresh();
  403. ]]>
  404. </script>
  405. </button>
  406. <input id="ipt_emplno" ref="/root/send/condition/emplno" class="input_s_essential" navindex="1" maxlength="8" style="left:105px; top:78px; width:80px; height:19px; text-align:center; ">
  407. <script type="javascript" ev:event="onkeypress">
  408. <![CDATA[
  409. if(event.keyCode == 13)
  410. {
  411. model.setFocus("btn_search");
  412. }
  413. ]]>
  414. </script>
  415. <script type="javascript" ev:event="xforms-value-changed">
  416. <![CDATA[
  417. rpbfValidationCheck("EMPLNO", "emplno,emplnm");
  418. model.refresh();
  419. ]]>
  420. </script>
  421. </input>
  422. <caption id="caption9" class="search_name" style="left:16px; top:78px; width:91px; height:17px; ">발 의 자 :</caption>
  423. <caption id="caption10" class="search_name" style="left:405px; top:56px; width:86px; height:17px; ">계정구분 :</caption>
  424. <select1 id="cmb_acntflag" ref="/root/send/condition/acntflag" class="combo_s_essential" navindex="1" appearance="minimal" style="left:497px; top:55px; width:274px; height:19px; ">
  425. <choices>
  426. <item>
  427. <label/>
  428. <value/>
  429. </item>
  430. <item>
  431. <label>자산</label>
  432. <value>1</value>
  433. </item>
  434. <item>
  435. <label>부채</label>
  436. <value>2</value>
  437. </item>
  438. <item>
  439. <label>자본</label>
  440. <value>3</value>
  441. </item>
  442. <item>
  443. <label>수익</label>
  444. <value>4</value>
  445. </item>
  446. <item>
  447. <label>비용</label>
  448. <value>5</value>
  449. </item>
  450. </choices>
  451. </select1>
  452. <select1 id="cmb_acntclsflag" ref="/root/send/condition/acntclsflag" class="combo_s_essential" visibility="hidden" appearance="minimal" style="left:432px; top:34px; width:63px; height:19px; text-align:center; vertical-align:middle; ">
  453. <choices>
  454. <item>
  455. <label>대분류</label>
  456. <value>4</value>
  457. </item>
  458. <item>
  459. <label>관</label>
  460. <value>3</value>
  461. </item>
  462. <item>
  463. <label>항</label>
  464. <value>2</value>
  465. </item>
  466. <item>
  467. <label>목</label>
  468. <value>1</value>
  469. </item>
  470. <item>
  471. <label>세목</label>
  472. <value>0</value>
  473. </item>
  474. </choices>
  475. <script type="javascript" ev:event="xforms-value-changed">
  476. <![CDATA[
  477. model.setValue("/root/main/dept/fracntcd", "");
  478. model.setValue("/root/main/dept/fracntnm", "");
  479. model.setValue("/root/main/dept/toacntcd", "");
  480. model.setValue("/root/main/dept/toacntnm", "");
  481. model.refresh();
  482. ]]>
  483. </script>
  484. </select1>
  485. </group>
  486. <line id="line3" class="line_1" style="x1:0px; y1:142px; x2:1194px; y2:142px; "/>
  487. <caption id="caption21" class="tit_2" style="left:5px; top:126px; width:131px; height:13px; ">전표정보</caption>
  488. <datagrid id="grd_slipinfolist" nodeset="/root/main/list/slipinfolist" caption="기관코드^기관명^대분류코드^대분류명^관코드^관명^항코드^항명^목코드^목명^세목코드^세목명^기표부서코드^기표부서명^귀속부서코드^귀속부서명^실사용부서코드^실사용부서명^발의자사번^발의자명^미결전표일자^미결전표번호^미결전표일련번호^승인전표일자^승인번표번호^승인전표일련번호^상대처구분코드^상대처구분^상대처코드^상대처명^전표적요^전표세부적요^차변금액^대변금액^자동분개구분" colsep="^" colwidth="80, 150, 80, 120, 80, 120, 80, 120, 80, 120, 80, 120, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="16" rowsep="|" style="left:0px; top:147px; width:1194px; height:591px; ">
  489. <col class="text_center" ref="instcd"/>
  490. <col ref="instnm" style="padding-left:10; "/>
  491. <col ref="acntcd1" style="padding-left:10; "/>
  492. <col ref="acntnm1" style="padding-left:10; "/>
  493. <col ref="acntcd2" style="padding-left:10; "/>
  494. <col ref="acntnm2" style="padding-left:10; "/>
  495. <col ref="acntcd3" style="padding-left:10; "/>
  496. <col ref="acntnm3" style="padding-left:10; "/>
  497. <col ref="acntcd4" style="padding-left:10; "/>
  498. <col ref="acntnm4" style="padding-left:10; "/>
  499. <col ref="acntcd5" style="padding-left:10; "/>
  500. <col ref="acntnm5" style="padding-left:10; "/>
  501. <col class="text_center" ref="slipdeptcd"/>
  502. <col ref="slipdeptnm" style="padding-left:10; "/>
  503. <col class="text_center" ref="costcntrdeptcd"/>
  504. <col ref="costcntrdeptnm" style="padding-left:10; "/>
  505. <col ref="costbelongdeptcd" style="padding-left:10; "/>
  506. <col ref="costbelongdeptnm" style="padding-left:10; "/>
  507. <col class="text_center" ref="emplno"/>
  508. <col class="text_center" ref="emplnm"/>
  509. <col class="text_center" ref="unsldd"/>
  510. <col class="text_center" ref="unslno"/>
  511. <col class="text_center" ref="unslseqno"/>
  512. <col class="text_center" ref="sanctslipdd"/>
  513. <col class="text_center" ref="sanctslipno"/>
  514. <col class="text_center" ref="sanctslipseqno"/>
  515. <col class="text_center" ref="custflag"/>
  516. <col ref="custflagnm" style="padding-left:10; "/>
  517. <col ref="custcd" style="padding-left:10; "/>
  518. <col ref="custnm" style="padding-left:10; "/>
  519. <col ref="slipcmt" style="padding-left:10; "/>
  520. <col ref="etcnotefact" style="padding-left:10; "/>
  521. <col class="text_right" ref="dramt" format="(-)#,###"/>
  522. <col class="text_right" ref="cramt" format="(-)#,###"/>
  523. <col class="text_center" ref="autjournflag"/>
  524. <script type="javascript" ev:event="onaftersort">
  525. <![CDATA[
  526. grd_notelist.gridToInstance();
  527. ]]>
  528. <col class="text_center" ref="autjournflag"/>
  529. </script>
  530. </datagrid>
  531. <datagrid id="grd_text" nodeset="/root/main/list/textlist" visibility="hidden" caption="Data" colsep="^" colwidth="500" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="16" rowsep="|" style="left:15px; top:205px; width:525px; height:338px; ">
  532. <col ref="data"/>
  533. </datagrid>
  534. </group>
  535. <group id="group4" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
  536. <line id="line2" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  537. <button id="btn_prt" class="btn6_letter5" style="left:2px; top:3px; width:56px; height:22px; ">
  538. <caption>excel 출력</caption>
  539. <script type="javascript" ev:event="DOMActivate">
  540. <![CDATA[
  541. var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  542. if (fileName != "")
  543. {
  544. //grd_payamtlist.saveExcel(fileName, "sheetname:sheet1");
  545. var param = "&instcd=" + model.getValue("/root/send/condition/instcd");
  546. param += "&costcntrdeptcd=" + model.getValue("/root/send/condition/costcntrdeptcd");
  547. param += "&slipdeptcd=" + model.getValue("/root/send/condition/slipdeptcd");
  548. param += "&emplno=" + model.getValue("/root/send/condition/emplno");
  549. param += "&fracntcd=" + model.getValue("/root/send/condition/fracntcd");
  550. param += "&toacntcd=" + model.getValue("/root/send/condition/toacntcd");
  551. param += "&acntflag=" + model.getValue("/root/send/condition/acntflag");
  552. param += "&slipflag=" + model.getValue("/root/send/condition/slipflag");
  553. param += "&ddkind=" + model.getValue("/root/send/condition/ddkind");
  554. param += "&frdd=" + model.getValue("/root/send/condition/frdd");
  555. param += "&todd=" + model.getValue("/root/send/condition/todd");
  556. param += "&framt=" + model.getValue("/root/send/condition/framt");
  557. param += "&toamt=" + model.getValue("/root/send/condition/toamt");
  558. param += "&slipkind=" + model.getValue("/root/send/condition/slipkind");
  559. param += "&autoslipflag=" + model.getValue("/root/send/condition/autoslipflag");
  560. param += "&acntclsflag=" + model.getValue("/root/send/condition/acntclsflag");
  561. model.download(getActionURL("TRRAI00102") + param, fileName, true);
  562. window.exec(fileName);
  563. }
  564. ]]>
  565. </script>
  566. </button>
  567. <button id="button1" class="btn6_letter5" visibility="hidden" style="left:200px; top:3px; width:92px; height:22px; ">
  568. <caption>Text 출력</caption>
  569. <script type="javascript" ev:event="DOMActivate">
  570. <![CDATA[
  571. // 데이터를 트러스트폼까지 불러온다.
  572. var fileName = window.fileDialog ("save", ",", false, "text", "txt", "All Files (*.*)|*.*|Text Files(*.txt)|*.txt");
  573. if (fileName != "")
  574. {
  575. submit("TRRAI00103");
  576. }
  577. grd_text.saveText(fileName);
  578. model.removeNodeset("/root/main/list/textlist");
  579. grd_text.refresh();
  580. /*
  581. if (fileName != "")
  582. {
  583. //grd_payamtlist.saveExcel(fileName, "sheetname:sheet1");
  584. var param = "&instcd=" + model.getValue("/root/send/condition/instcd");
  585. param += "&costcntrdeptcd=" + model.getValue("/root/send/condition/costcntrdeptcd");
  586. param += "&slipdeptcd=" + model.getValue("/root/send/condition/slipdeptcd");
  587. param += "&emplno=" + model.getValue("/root/send/condition/emplno");
  588. param += "&fracntcd=" + model.getValue("/root/send/condition/fracntcd");
  589. param += "&toacntcd=" + model.getValue("/root/send/condition/toacntcd");
  590. param += "&acntflag=" + model.getValue("/root/send/condition/acntflag");
  591. param += "&slipflag=" + model.getValue("/root/send/condition/slipflag");
  592. param += "&ddkind=" + model.getValue("/root/send/condition/ddkind");
  593. param += "&frdd=" + model.getValue("/root/send/condition/frdd");
  594. param += "&todd=" + model.getValue("/root/send/condition/todd");
  595. param += "&framt=" + model.getValue("/root/send/condition/framt");
  596. param += "&toamt=" + model.getValue("/root/send/condition/toamt");
  597. param += "&slipkind=" + model.getValue("/root/send/condition/slipkind");
  598. param += "&autoslipflag=" + model.getValue("/root/send/condition/autoslipflag");
  599. param += "&acntclsflag=" + model.getValue("/root/send/condition/acntclsflag");
  600. model.download(getActionURL("TRRAI00103") + param, fileName, true);
  601. window.exec(fileName);
  602. }
  603. */
  604. ]]>
  605. </script>
  606. </button>
  607. <button id="button2" class="btn6_letter5" visibility="visible" style="left:100px; top:3px; width:92px; height:22px; ">
  608. <caption>Text 출력</caption>
  609. <script type="javascript" ev:event="DOMActivate">
  610. <![CDATA[
  611. var fileName = window.fileDialog ("save", "", false, "text.txt", "", "All Files (*.*)|*.*|Text Files(*.txt)|*.txt");
  612. // if (fileName != "")
  613. // {
  614. // submit("TRRAI00104");
  615. // }
  616. //
  617. // grd_text.saveText(fileName);
  618. //
  619. // model.removeNodeset("/root/main/list/textlist");
  620. // grd_text.refresh();
  621. if (fileName != "")
  622. {
  623. //grd_payamtlist.saveExcel(fileName, "sheetname:sheet1");
  624. var param = "&instcd=" + model.getValue("/root/send/condition/instcd");
  625. param += "&costcntrdeptcd=" + model.getValue("/root/send/condition/costcntrdeptcd");
  626. param += "&slipdeptcd=" + model.getValue("/root/send/condition/slipdeptcd");
  627. param += "&emplno=" + model.getValue("/root/send/condition/emplno");
  628. param += "&fracntcd=" + model.getValue("/root/send/condition/fracntcd");
  629. param += "&toacntcd=" + model.getValue("/root/send/condition/toacntcd");
  630. param += "&acntflag=" + model.getValue("/root/send/condition/acntflag");
  631. param += "&slipflag=" + model.getValue("/root/send/condition/slipflag");
  632. param += "&ddkind=" + model.getValue("/root/send/condition/ddkind");
  633. param += "&frdd=" + model.getValue("/root/send/condition/frdd");
  634. param += "&todd=" + model.getValue("/root/send/condition/todd");
  635. param += "&framt=" + model.getValue("/root/send/condition/framt");
  636. param += "&toamt=" + model.getValue("/root/send/condition/toamt");
  637. param += "&slipkind=" + model.getValue("/root/send/condition/slipkind");
  638. param += "&autoslipflag=" + model.getValue("/root/send/condition/autoslipflag");
  639. param += "&acntclsflag=" + model.getValue("/root/send/condition/acntclsflag");
  640. model.download(getActionURL("TRRAI00104") + param, fileName, true);
  641. window.exec(fileName);
  642. }
  643. ]]>
  644. </script>
  645. </button>
  646. </group>
  647. </xhtml:body>
  648. </xhtml:html>