SMRAD00210_전표조회.xrw 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543
  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>전표조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <slipreflist>
  11. <instcd/>
  12. <unsldd/>
  13. <unslno/>
  14. <slipflag/>
  15. <slipdeptnm/>
  16. <usernm/>
  17. <slipstatus/>
  18. <defrayreqdd/>
  19. <slipdd/>
  20. <slipno/>
  21. <amt/>
  22. <slipcmt/>
  23. <slipkind/>
  24. <slipdeptcd/>
  25. <unslwrit/>
  26. </slipreflist>
  27. <slipdetlspec/>
  28. </main>
  29. <send>
  30. <data1>
  31. <instcd/>
  32. <slipfr/>
  33. <slipto/>
  34. <slipkind/>
  35. <slipflag/>
  36. <slipdeptcd/>
  37. <slipgubn/>
  38. <framt/>
  39. <toamt/>
  40. <emplno/>
  41. <ddkind/>
  42. <checkyn/>
  43. </data1>
  44. <data2>
  45. <instcd/>
  46. <unsldd/>
  47. <unslno/>
  48. </data2>
  49. <data3>
  50. <mngtcd/>
  51. <instcd/>
  52. </data3>
  53. </send>
  54. <hidden>
  55. <condition>
  56. <instcd/>
  57. <slipfr/>
  58. <slipto/>
  59. <slipkind/>
  60. <slipflag/>
  61. <slipdeptcd/>
  62. <slipdeptnm/>
  63. <slipgubn>%</slipgubn>
  64. <framt/>
  65. <toamt/>
  66. <emplno/>
  67. <emplnm/>
  68. <ddkind/>
  69. <checkyn/>
  70. </condition>
  71. <unsl>
  72. <drsum/>
  73. <crsum/>
  74. </unsl>
  75. </hidden>
  76. <init>
  77. <R0008list>
  78. <R0008>
  79. <cdnm/>
  80. <cdid/>
  81. </R0008>
  82. </R0008list>
  83. <code>
  84. <codelist/>
  85. </code>
  86. </init>
  87. <temp/>
  88. </root>
  89. </instance>
  90. <submission id="TRRAD00211" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/main/slipreflist"/>
  91. <submission id="TRRAD00212" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" resultref="/root/main/slipdetlspec"/>
  92. <submission id="TRRAZ00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data3" resultref="/root/init/code/codelist"/>
  93. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  94. <script type="javascript" ev:event="xforms-ready">
  95. <![CDATA[
  96. fCheckAuth();
  97. fInitialize();
  98. ]]>
  99. </script>
  100. </model>
  101. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  102. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  103. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  104. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  105. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  106. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  107. <script type="javascript" src="../../../mis/acntcommonweb/js/RAD001.js"/>
  108. <script type="javascript">
  109. <![CDATA[
  110. var acntdept = "";
  111. var bugtdept = "";
  112. //========================================================================================
  113. //화면 권한 체크
  114. //========================================================================================
  115. function fCheckAuth() {
  116. btn_search.disabled = !checkAuth("R") ;
  117. }
  118. //========================================================================================
  119. //초기화
  120. //========================================================================================
  121. function fInitialize() {
  122. var sToday = getCurrentDate().toString();
  123. var instcd = getUserInfo("dutplceinstcd");
  124. var deptcd = getUserInfo("dutplcecd");
  125. var deptnm = getUserInfo("dutplcenm");
  126. zbcfGetCodeList(new Array("R0008"), new Array("/root/init/R0008list"));
  127. model.removenode("/root/main/slipreflist");
  128. model.removenode("/root/main/slipdetlspec");
  129. //-----------------------------------------------------------------------------------------------------
  130. model.setValue("/root/send/data3/instcd", instcd);
  131. model.setValue("/root/send/data3/mngtcd", "acntdept");
  132. model.refresh();
  133. submit("TRRAZ00001");
  134. acntdept = model.getValue("/root/init/code/code/codelist[1]/cdid");
  135. model.removenode("/root/init/code/code/codelist");
  136. model.setValue("/root/send/data3/instcd", instcd);
  137. model.setValue("/root/send/data3/mngtcd", "bugtdept");
  138. model.refresh();
  139. submit("TRRAZ00001");
  140. bugtdept = model.getValue("/root/init/code/code/codelist[1]/cdid");
  141. if(radfCheckInstMngt(getUserInfo("dutplceinstcd"), 'condition7') == "Y")
  142. {
  143. misfComboComCdList("R0360", rdo_slipkind, "Y");
  144. }
  145. else
  146. {
  147. misfComboComCdList("R0359", rdo_slipkind, "Y");
  148. }
  149. if (instance1.selectNodes("root/init/code/code/codelist").length != 0) {
  150. //alert(bugtdept)
  151. if (!(deptcd == acntdept || deptcd == bugtdept)) {
  152. //model.setValue("/root/hidden/condition/slipdeptcd", deptcd);
  153. //model.setValue("/root/hidden/condition/slipdeptnm", deptnm);
  154. model.refresh();
  155. //ipt_slipdeptcd.disabled = true;
  156. ipt_slipdeptnm.disabled = true;
  157. //btn_slipdeptcd.disabled = true;
  158. }
  159. }
  160. //-----------------------------------------------------------------------------------------------------
  161. model.setValue("/root/hidden/condition/slipfr", sToday);
  162. model.setValue("/root/hidden/condition/slipto", sToday);
  163. model.setValue("/root/hidden/condition/instcd", getUserInfo("dutplceinstcd"));
  164. model.setValue("/root/hidden/condition/ddkind", "wd");
  165. //cmb_ddkind.disabled = true;
  166. cmb_ddkind.refresh();
  167. grd_slipreflist.colDisabled(grd_slipreflist.colRef("checkyn")) = true;
  168. model.refresh();
  169. }
  170. //========================================================================================
  171. //각종 코드 Help Open
  172. //========================================================================================
  173. function fOpenPopupHelp(pHelper, pControl, pInstance, pCdgrupid, pValueControl, pNodeName)
  174. {
  175. misfOpenPopUpList(pHelper, pControl, pCdgrupid, pInstance, pValueControl, pNodeName);
  176. model.refresh();
  177. }
  178. //========================================================================================
  179. //코드 Validation Check
  180. //========================================================================================
  181. function fValidationCheck(vgbn, recvlist, pcdgrupid, pNextIndex, pValueControl, pNodeName)
  182. {
  183. if(event.keyCode == 13 || event.name == "xforms-value-changed")
  184. {
  185. document.controls(event.currentTarget).value = document.controls(event.currentTarget).currentText;
  186. misfValidationCheck(vgbn, pcdgrupid, recvlist, pValueControl, pNodeName);
  187. model.refresh();
  188. model.setFocus(pNextIndex);
  189. }
  190. }
  191. ]]>
  192. </script>
  193. </xhtml:head>
  194. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  195. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  196. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:230px; height:14px; ">전표조회</caption>
  197. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  198. </group>
  199. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:767px; ">
  200. <datagrid id="grd_slipdetlspec" nodeset="/root/main/slipdetlspec" caption="연번^계정코드^계정과목^상대처^적요^차변금액^대변금액^보조과목^금액^발의일자^발의번호^기관코드" colsep="^" colwidth="31, 63, 143, 129, 322, 115, 117, 150, 0, 0, 0, 0" dataheight="25" ellipsis="true" extendlastcol="false" mergecells="byrestriccol" rowheader="select" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:469px; width:959px; height:298px; ">
  201. <col ref="unslseqno" style="text-align:center; "/>
  202. <col ref="acntcd" style="text-align:center; "/>
  203. <col ref="acntnm"/>
  204. <col ref="custnm"/>
  205. <col ref="etcnotefact"/>
  206. <col ref="dramt" format="(-)#,###" style="text-align:right; "/>
  207. <col ref="cramt" format="(-)#,###" style="text-align:right; "/>
  208. <col ref="nmbojo1" style="text-align:left; "/>
  209. <col ref="amt" visibility="hidden"/>
  210. <col ref="unsldd" visibility="hidden"/>
  211. <col ref="unslno" visibility="hidden"/>
  212. <col ref="instcd" visibility="hidden"/>
  213. </datagrid>
  214. <datagrid id="grd_slipreflist" nodeset="/root/main/slipreflist" caption="기관코드^발의일자^발의번호^전표구분^발의부서^발의자^전표상태^기표일자^승인일자^승인일자^금액^전표적요^전표유형^발의부서^발의자^확인" colsep="^" colwidth="0, 75, 56, 119, 127, 72, 68, 100, 71, 41, 80, 340, 59, 0, 0, 30" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="select" rowheight="25" rowsep="|" style="left:0px; top:110px; width:1193px; height:322px; ">
  215. <col ref="instcd" visibility="hidden"/>
  216. <col ref="unsldd" format="yyyy-mm-dd" style="text-align:center; "/>
  217. <col ref="unslno" style="text-align:center; "/>
  218. <col ref="slipflag"/>
  219. <col ref="slipdeptnm"/>
  220. <col ref="usernm"/>
  221. <col ref="slipstatus" style="text-align:center; "/>
  222. <col ref="defrayreqdd" format="yyyy-mm-dd" style="text-align:center; "/>
  223. <col ref="slipdd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  224. <col ref="slipno" visibility="hidden" style="text-align:center; "/>
  225. <col ref="amt" format="(-)#,###" style="text-align:right; "/>
  226. <col ref="slipcmt"/>
  227. <col disabled="true" ref="slipkind" type="combo" style="text-align:center; ">
  228. <choices>
  229. <item>
  230. <label>대체</label>
  231. <value>1</value>
  232. </item>
  233. <item>
  234. <label>입금</label>
  235. <value>2</value>
  236. </item>
  237. <item>
  238. <label>출금</label>
  239. <value>3</value>
  240. </item>
  241. <item>
  242. <label>지출대체</label>
  243. <value>4</value>
  244. </item>
  245. </choices>
  246. </col>
  247. <col ref="slipdeptcd" visibility="hidden"/>
  248. <col ref="unslwrit" visibility="hidden"/>
  249. <col checkvalue="Y,N" ref="checkyn" type="checkbox"/>
  250. <script type="javascript" ev:event="onrowchanged">
  251. <![CDATA[
  252. var cur_row = grd_slipreflist.row;
  253. if ( cur_row > 0) {
  254. model.setValue("/root/send/data2/instcd", model.getValue("/root/main/slipreflist["+cur_row+"]/instcd"));
  255. model.setValue("/root/send/data2/unsldd", model.getValue("/root/main/slipreflist["+cur_row+"]/unsldd"));
  256. model.setValue("/root/send/data2/unslno", model.getValue("/root/main/slipreflist["+cur_row+"]/unslno"));
  257. model.refresh();
  258. submit("TRRAD00212");
  259. }
  260. grd_slipreflist.dispatch("onmouseup");
  261. grd_slipdetlspec.subtotalposition = "above";
  262. grd_slipdetlspec.multitotals = true;
  263. grd_slipdetlspec.subtotal("sum", -1, 6, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#00ffff; color:#000000; font-weight:bold; ", 3, "합 계", true);
  264. grd_slipdetlspec.subtotal("sum", -1, 7, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#00ffff; color:#000000; font-weight:bold; ", 3, "합 계", true);
  265. ]]>
  266. </script>
  267. <script type="javascript" ev:event="ondblclick">
  268. <![CDATA[
  269. if (grd_slipreflist.isCell(event.target) && grd_slipreflist.row > 0) {
  270. model.makeValue("/root/source/slipinfo/instcd", model.getValue("/root/main/slipreflist["+grd_slipreflist.row+"]/instcd"));
  271. model.makeValue("/root/source/slipinfo/slipdt", model.getValue("/root/main/slipreflist["+grd_slipreflist.row+"]/unsldd"));
  272. model.makeValue("/root/source/slipinfo/slipno", model.getValue("/root/main/slipreflist["+grd_slipreflist.row+"]/unslno"));
  273. model.refresh();
  274. modal("SMRAD00100","","","","","/root/source", "/root/target" );
  275. }
  276. ]]>
  277. </script>
  278. </datagrid>
  279. <line id="line1" class="line_1" style="x1:0px; y1:102px; x2:1193px; y2:102px; "/>
  280. <group id="group4" style="left:0px; top:10px; width:1195; height:89; vertical-align:top; ">
  281. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:89px; background-color:#fffbf2; border-color:#ffd799; "/>
  282. <caption id="caption5" class="search_name" style="left:776px; top:11px; width:88px; height:17px; ">발의일자 :</caption>
  283. <caption id="caption7" class="search_name" style="left:419px; top:63px; width:91px; height:17px; ">전표상태 :</caption>
  284. <line id="line30" class="line_4" style="x1:1099px; y1:12px; x2:1099px; y2:53px; "/>
  285. <caption id="caption8" class="search_name" style="left:419px; top:37px; width:91px; height:17px; ">전표유형 :</caption>
  286. <caption id="caption37" class="search_name" style="left:16px; top:11px; width:91px; height:17px; ">발의부서 :</caption>
  287. <input id="input6" ref="/root/hidden/condition/slipfr" class="input_s_essential" inputtype="date" style="left:865px; top:11px; width:100px; height:19px; "/>
  288. <input id="input2" ref="/root/hidden/condition/slipto" class="input_s_essential" inputtype="date" style="left:985px; top:11px; width:100px; height:19px; "/>
  289. <caption id="caption38" style="left:970px; top:11px; width:15px; height:20px; ">~</caption>
  290. <select1 id="rdo_gubn" ref="/root/hidden/condition/slipgubn" class="radio_search" overflow="visible" appearance="full" cellspacing="25" cols="4" itemwidth="70" style="left:508px; top:63px; width:325px; height:20px; vertical-align:middle; border-style:none; ">
  291. <choices>
  292. <item>
  293. <label>전 체</label>
  294. <value>%</value>
  295. </item>
  296. <item>
  297. <label>승 인</label>
  298. <value>A</value>
  299. </item>
  300. <item>
  301. <label>미승인</label>
  302. <value>U</value>
  303. </item>
  304. <item>
  305. <label>미전송</label>
  306. <value>W</value>
  307. </item>
  308. </choices>
  309. </select1>
  310. <select1 id="rdo_slipkind" ref="/root/hidden/condition/slipkind" class="radio_search" overflow="visible" appearance="full" cellspacing="5" cols="5" style="left:508px; top:37px; width:267px; height:20px; vertical-align:middle; border-style:none; ">
  311. <choices>
  312. <itemset>
  313. <label/>
  314. <value/>
  315. </itemset>
  316. </choices>
  317. </select1>
  318. <input id="ipt_slipdeptnm" ref="/root/hidden/condition/slipdeptnm" class="input_essential" navindex="7" style="left:209px; top:11px; width:196px; height:19px; ">
  319. <script type="javascript" ev:event="onkeypress">
  320. <![CDATA[
  321. if (event.keyCode == "13") {
  322. model.setFocus("btn_search");
  323. }
  324. ]]>
  325. </script>
  326. <script type="javascript" ev:event="xforms-value-changed">
  327. <![CDATA[
  328. fValidationCheck("02", "slipdeptcd,slipdeptnm", "", "btn_search");
  329. ]]>
  330. </script>
  331. </input>
  332. <button id="btn_slipdeptcd" class="icon_search" style="left:189px; top:13px; width:16px; height:16px; ">
  333. <caption/>
  334. <script type="javascript" ev:event="DOMActivate">
  335. <![CDATA[
  336. fOpenPopupHelp("02", ipt_slipdeptcd, "slipdeptcd,slipdeptnm", "");
  337. model.setFocus("rdo_profflag");
  338. ]]>
  339. </script>
  340. </button>
  341. <input id="ipt_slipdeptcd" ref="/root/hidden/condition/slipdeptcd" class="input_essential" navindex="6" style="left:105px; top:11px; width:80px; height:19px; ">
  342. <script type="javascript" ev:event="onkeypress">
  343. <![CDATA[
  344. if (event.keyCode == "13") {
  345. model.setFocus("btn_search");
  346. }
  347. ]]>
  348. </script>
  349. <script type="javascript" ev:event="xforms-value-changed">
  350. <![CDATA[
  351. fValidationCheck("02", "slipdeptcd,slipdeptnm", "", "btn_search");
  352. ]]>
  353. </script>
  354. </input>
  355. <button id="btn_search" class="btn1_letter2" style="left:1115px; top:23px; width:56px; height:22px; ">
  356. <caption>조회</caption>
  357. <script type="javascript" ev:event="DOMActivate">
  358. <![CDATA[
  359. model.setValue("/root/send/data1/instcd" ,model.getValue("/root/hidden/condition/instcd"));
  360. model.setValue("/root/send/data1/slipfr" ,model.getValue("/root/hidden/condition/slipfr"));
  361. model.setValue("/root/send/data1/slipto" ,model.getValue("/root/hidden/condition/slipto"));
  362. model.setValue("/root/send/data1/slipkind" ,model.getValue("/root/hidden/condition/slipkind"));
  363. model.setValue("/root/send/data1/slipflag" ,model.getValue("/root/hidden/condition/slipflag"));
  364. model.setValue("/root/send/data1/checkyn" ,model.getValue("/root/hidden/condition/checkyn"));
  365. model.setValue("/root/send/data1/slipdeptcd" ,model.getValue("/root/hidden/condition/slipdeptcd"));
  366. model.setValue("/root/send/data1/slipgubn" ,model.getValue("/root/hidden/condition/slipgubn"));
  367. model.setValue("/root/send/data1/framt" ,model.getValue("/root/hidden/condition/framt"));
  368. model.setValue("/root/send/data1/toamt" ,model.getValue("/root/hidden/condition/toamt"));
  369. model.setValue("/root/send/data1/ddkind" ,model.getValue("/root/hidden/condition/ddkind"));
  370. model.setValue("/root/send/data1/emplno" ,model.getValue("/root/hidden/condition/emplno"));
  371. model.refresh();
  372. model.removeNodeset("/root/main/slipdetlspec");
  373. model.refresh();
  374. submit("TRRAD00211");
  375. for (i=1; i<grd_slipreflist.rows; i++) {
  376. if (model.getValue("/root/main/slipreflist["+i+"]/slipstatus") == "미전송") {
  377. grd_slipreflist.cellStyle("color", i, grd_slipreflist.colRef("slipstatus")) = "#000000";
  378. } else if (model.getValue("/root/main/slipreflist["+i+"]/slipstatus") == "미승인") {
  379. grd_slipreflist.cellStyle("color", i, grd_slipreflist.colRef("slipstatus")) = "#0000FF";
  380. } else {
  381. grd_slipreflist.cellStyle("color", i, grd_slipreflist.colRef("slipstatus")) = "#FF0000";
  382. }
  383. }
  384. ]]>
  385. </script>
  386. </button>
  387. <input id="input1" ref="/root/hidden/condition/framt" class="input_essential" navindex="6" format="(-)#,###" style="left:865px; top:37px; width:100px; height:19px; text-align:right; "/>
  388. <caption id="caption1" class="search_name" style="left:776px; top:37px; width:91px; height:17px; ">전표금액 :</caption>
  389. <input id="input3" ref="/root/hidden/condition/toamt" class="input_essential" navindex="6" format="(-)#,###" style="left:985px; top:37px; width:100px; height:19px; text-align:right; "/>
  390. <caption id="caption2" style="left:970px; top:35px; width:15px; height:20px; ">~</caption>
  391. <caption id="caption22" class="search_name" style="left:419px; top:12px; width:91px; height:17px; ">전표구분 :</caption>
  392. <select1 id="cmb_slipflag" ref="/root/hidden/condition/slipflag" class="combo_default" appearance="minimal" style="left:509px; top:11px; width:200px; height:19px; ">
  393. <choices>
  394. <itemset nodeset="/root/init/R0008list/R0008">
  395. <label ref="cdnm"/>
  396. <value ref="cdid"/>
  397. </itemset>
  398. </choices>
  399. </select1>
  400. <caption id="caption9" class="search_name" style="left:16px; top:37px; width:91px; height:17px; ">발 의 자 :</caption>
  401. <select1 id="cmb_ddkind" ref="/root/hidden/condition/ddkind" appearance="minimal" style="left:790px; top:11px; width:75px; height:19px; font-family:굴림체; font-size:8pt; font-weight:bold; ">
  402. <choices>
  403. <item>
  404. <label>발의일자</label>
  405. <value>wd</value>
  406. </item>
  407. <item>
  408. <label>기표일자</label>
  409. <value>od</value>
  410. </item>
  411. </choices>
  412. </select1>
  413. <input id="ipt_name" ref="/root/hidden/condition/emplnm" class="input_default" navindex="2" style="left:209px; top:37px; width:196px; height:19px; ">
  414. <script type="javascript" ev:event="onkeypress">
  415. <![CDATA[
  416. if(event.keyCode == 13)
  417. {
  418. model.setFocus("btn_search");
  419. }
  420. ]]>
  421. </script>
  422. <script type="javascript" ev:event="xforms-value-changed">
  423. <![CDATA[
  424. rpbfValidationCheck("EMPLNM", "emplno,emplnm");
  425. model.refresh();
  426. ]]>
  427. </script>
  428. </input>
  429. <button id="btn_emplno" class="icon_search" style="left:189px; top:39px; width:16px; height:16px; ">
  430. <caption/>
  431. <script type="javascript" ev:event="DOMActivate">
  432. <![CDATA[
  433. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, "emplno,emplnm", "", "N");
  434. model.refresh();
  435. ]]>
  436. </script>
  437. </button>
  438. <input id="ipt_emplno" ref="/root/hidden/condition/emplno" class="input_s_essential" navindex="1" maxlength="8" style="left:105px; top:37px; width:80px; height:19px; text-align:center; ">
  439. <script type="javascript" ev:event="onkeypress">
  440. <![CDATA[
  441. if(event.keyCode == 13)
  442. {
  443. model.setFocus("btn_search");
  444. }
  445. ]]>
  446. </script>
  447. <script type="javascript" ev:event="xforms-value-changed">
  448. <![CDATA[
  449. rpbfValidationCheck("EMPLNO", "emplno,emplnm");
  450. model.refresh();
  451. ]]>
  452. </script>
  453. </input>
  454. <select1 id="cmb_checkyn" ref="/root/hidden/condition/checkyn" appearance="minimal" style="left:880px; top:63px; width:75px; height:19px; font-family:굴림체; font-size:8pt; font-weight:bold; ">
  455. <choices>
  456. <item>
  457. <label>전체</label>
  458. <value/>
  459. </item>
  460. <item>
  461. <label>확인</label>
  462. <value>Y</value>
  463. </item>
  464. <item>
  465. <label>미확인</label>
  466. <value>N</value>
  467. </item>
  468. </choices>
  469. </select1>
  470. </group>
  471. <line id="line4" class="line_1" style="x1:0px; y1:460px; x2:1193px; y2:460px; "/>
  472. <caption id="caption35" class="tit_2" style="left:0px; top:86px; width:118px; height:13px; ">전표 목록</caption>
  473. <caption id="caption3" class="tit_2" style="left:0px; top:444px; width:118px; height:13px; ">전표 세부 내역</caption>
  474. <shape id="roundrect3" class="roundrect_btnset" appearance="roundrect" style="left:965px; top:469px; width:230px; height:298px; border-color:#c0c0c0; "/>
  475. <button id="btn_excel" class="btn2_letter9" style="left:840px; top:437px; width:119px; height:19px; text-align:left; ">
  476. <caption>세부내역 엑셀출력</caption>
  477. <script type="javascript" ev:event="DOMActivate">
  478. <![CDATA[
  479. misfSaveExcel(grd_excel);
  480. ]]>
  481. </script>
  482. </button>
  483. <datagrid id="grd_excel" nodeset="/root/main/slipdetlspec" visibility="hidden" caption="발의일자^발의번호^연번^계정코드^계정과목^상대처^적요^차변금액^대변금액" colsep="^" colwidth="100,100,100,100,100,100,100,100,100" dataheight="25" ellipsis="true" extendlastcol="false" mergecells="byrestriccol" rowheader="select" rowheight="25" rowsep="|" tooltip="true" style="left:180px; top:600px; width:734px; height:147px; ">
  484. <col ref="unsldd" style="text-align:center; "/>
  485. <col ref="unslno" style="text-align:center; "/>
  486. <col ref="unslseqno" style="text-align:center; "/>
  487. <col ref="acntcd" style="text-align:center; "/>
  488. <col ref="acntnm" style="text-align:center; "/>
  489. <col ref="custnm" style="text-align:center; "/>
  490. <col ref="etcnotefact" style="text-align:center; "/>
  491. <col ref="dramt" format="(-)#,###" style="text-align:right; "/>
  492. <col ref="cramt" format="(-)#,###" style="text-align:right; "/>
  493. </datagrid>
  494. <button id="button1" class="btn2_letter9" style="left:1072px; top:437px; width:119px; height:19px; text-align:left; ">
  495. <caption>전체내역 엑셀출력</caption>
  496. <script type="javascript" ev:event="DOMActivate">
  497. <![CDATA[
  498. radfSaveExcel(grd_slipreflist);
  499. ]]>
  500. </script>
  501. </button>
  502. </group>
  503. </xhtml:body>
  504. </xhtml:html>