SPRAD00101_법인카드사용내역관리.xrw 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514
  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. <list>
  11. <cardexpsevdnc>
  12. <instcd/>
  13. <seqno/>
  14. <useflag>1</useflag>
  15. <instcardseqno/>
  16. <cardcmpycd/>
  17. <posspsn/>
  18. <posspsnnm/>
  19. <possdeptcd/>
  20. <possdeptnm/>
  21. <usedd/>
  22. <useamt/>
  23. <mainrec/>
  24. <entrregno/>
  25. <custnm/>
  26. <custaddr/>
  27. <cntctel/>
  28. <unsldd/>
  29. <unslno/>
  30. <undeciseqno/>
  31. <profcnt/>
  32. </cardexpsevdnc>
  33. </list>
  34. </main>
  35. <send>
  36. <retrparams>
  37. <instcd/>
  38. <seqno/>
  39. <useflag/>
  40. </retrparams>
  41. <list>
  42. <cardexpsevdnc>
  43. </cardexpsevdnc>
  44. </list>
  45. <condition>
  46. <refcond>cardno</refcond>
  47. <retrnm/>
  48. <acntcd/>
  49. <instcd/>
  50. </condition>
  51. </send>
  52. <init>
  53. <R0004list>
  54. <R0004>
  55. <cdnm/>
  56. <cdid/>
  57. </R0004>
  58. </R0004list>
  59. </init>
  60. <temp>
  61. <seqno>
  62. <seqno/>
  63. </seqno>
  64. <cardlist/>
  65. </temp>
  66. <target/>
  67. <source/>
  68. </root>
  69. </instance>
  70. <submission id="TRRAD00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams" resultref="/root/send/list"/>
  71. <submission id="TXRAD00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/list/cardexpsevdnc" resultref="/root/temp"/>
  72. <submission id="TRRAC90801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condition" resultref="/root/temp/cardlist"/>
  73. <script type="javascript" ev:event="xforms-ready">
  74. <![CDATA[
  75. fInitialize();
  76. ]]>
  77. </script>
  78. <submission id="TRZBC00101" method="urlencoded-post" replace="instance"/>
  79. </model>
  80. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  81. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  82. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  83. <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
  84. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  85. <script type="javascript" src="../../../mis/acntcommonweb/js/RAD001.js"/>
  86. <script type="javascript">
  87. <![CDATA[
  88. function fInitialize()
  89. {
  90. // 은행코드 조회
  91. zbcfGetCodeList(new Array("R0004"), new Array("/root/init/R0004list"));
  92. var instcd = model.getValue("/root/target/slipinfo/instcd");
  93. var seqno = model.getValue("/root/target/slipinfo/seqno");
  94. var cardno = model.getValue("/root/target/slipinfo/cardno");
  95. var profflag = model.getValue("/root/target/slipinfo/profflag");
  96. var unsldd = model.getValue("/root/target/slipinfo/unsldd");
  97. var unslno = model.getValue("/root/target/slipinfo/unslno");
  98. var unslseqno = model.getValue("/root/target/slipinfo/unslseqno");
  99. var profflag = model.getValue("/root/target/slipinfo/profflag");
  100. var custcd = model.getValue("/root/target/slipinfo/custcd");
  101. var amt = model.getValue("/root/target/slipinfo/amt");
  102. var etcnotefact = model.getValue("/root/target/slipinfo/etcnotefact");
  103. var readonly = model.getValue("/root/target/slipinfo/readonly");
  104. var acntdept = model.getValue("/root/target/slipinfo/acntdept");
  105. var carddept = model.getValue("/root/target/slipinfo/carddeptcd");
  106. //alert(cardno);
  107. if(acntdept == "Y")
  108. {
  109. btn_search.visible = true;
  110. }
  111. if(carddept != "")
  112. {
  113. btn_deptsearch.visible = true;
  114. }
  115. if(readonly == 'Y')
  116. {
  117. btn_delete.disabled = true;
  118. if(acntdept == 'Y')
  119. {
  120. ipt_useamt.disabled = true;
  121. }
  122. else
  123. {
  124. btn_save.disabled = true;
  125. }
  126. }
  127. model.removenode("/root/main/list/cardexpsevdnc");
  128. model.removenode("/root/send/list");
  129. model.refresh();
  130. model.setValue("/root/send/retrparams/instcd", instcd);
  131. model.setValue("/root/send/retrparams/seqno", seqno);
  132. model.setValue("/root/send/retrparams/useflag", profflag);
  133. misfMsterDetailSet(grd_cardexpsevdnc, null, "TRRAD00104", "Y");
  134. misfMsterDetailRetrieve();
  135. if(instance1.selectNodes("/root/send/list/cardexpsevdnc").length == 0)
  136. {
  137. misfGridIUD(grd_cardexpsevdnc, "A");
  138. model.setValue("/root/send/list/cardexpsevdnc/unsldd", unsldd);
  139. model.setValue("/root/send/list/cardexpsevdnc/unslno", unslno);
  140. model.setValue("/root/send/list/cardexpsevdnc/undeciseqno", unslseqno);
  141. model.setValue("/root/send/list/cardexpsevdnc/useflag", profflag);
  142. }
  143. model.copyNode("/root/main/list", "/root/send/list");
  144. model.makeValue("/root/main/list/cardexpsevdnc/dummy", "");
  145. model.refresh();
  146. if(model.getValue("/root/main/list/cardexpsevdnc/instcardseqno") == "")
  147. {
  148. model.makeValue("/root/main/list/cardexpsevdnc/useamt", amt);
  149. model.makeValue("/root/main/list/cardexpsevdnc/mainrec", etcnotefact);
  150. model.makeNode("/root/main/list/cardexpsevdnc/profcnt");
  151. ipt_useamt.refresh();
  152. ipt_cmt.refresh();
  153. if(cardno != "")
  154. {
  155. model.makeValue("/root/main/list/cardexpsevdnc/instcardseqno", cardno);
  156. ipt_cardno.refresh();
  157. ipt_cardno.dispatch("xforms-value-changed");
  158. }
  159. else
  160. {
  161. var vUserCardNO = radGetInstCardNO(instcd, getUserId(), carddept);
  162. if(vUserCardNO != "" && vUserCardNO != null)
  163. {
  164. model.makeValue("/root/main/list/cardexpsevdnc/instcardseqno", vUserCardNO);
  165. ipt_cardno.refresh();
  166. ipt_cardno.dispatch("xforms-value-changed");
  167. }
  168. }
  169. //ipt_cardno.refresh();
  170. if(carddept != "" && model.getValue("/root/main/list/cardexpsevdnc/instcardseqno") == "")
  171. {
  172. btn_deptsearch.dispatch("DOMActivate");
  173. }
  174. }
  175. if (model.getValue("/root/main/list/cardexpsevdnc/entrregno") == "" && custcd != "")
  176. {
  177. model.setValue("/root/main/list/cardexpsevdnc/entrregno", custcd);
  178. ipt_entrregno.refresh();
  179. ipt_entrregno.dispatch("xforms-value-changed");
  180. }
  181. model.setFocus("ipt_cardno");
  182. }
  183. function fNotNullCheck()
  184. {
  185. if(model.getValue(ipt_usedd.attribute("ref")) == "") { messageBox("사용일자는" ,"I003"); model.setFocus("ipt_usedd"); return false; }
  186. if(model.getValue(ipt_useamt.attribute("ref")) == "") { messageBox("금액은" ,"I003"); model.setFocus("ipt_useamt"); return false; }
  187. if(model.getValue(ipt_cmt.attribute("ref")) == "") { messageBox("적요는" ,"I003"); model.setFocus("ipt_cmt"); return false; }
  188. if(model.getValue(ipt_custnm.attribute("ref")) == "" && radfCheckInstMngt(getUserInfo("dutplceinstcd"), 'condition6') == "N")
  189. { messageBox("전표에서 거래처를 먼저 선택하고 입력하세요" ,"I000"); return false; }
  190. return true;
  191. }
  192. function fSave()
  193. {
  194. if(!fNotNullCheck()) return false;
  195. misfGridRowStatusChange(grd_cardexpsevdnc, "/root/send/list", "/root/main/list");
  196. model.refresh();
  197. misfSave("TXRAD00104");
  198. var receiveref = model.getValue("/root/target/receiveref");
  199. var receivecardinforef = model.getValue("/root/target/receivecardinforef");
  200. if (checkOpener())
  201. {
  202. opener.model.setValue(receiveref + "/seqno", model.getValue("/root/temp/seqno/seqno"));
  203. opener.model.setValue(receiveref + "/amt", model.getValue("/root/send/list/cardexpsevdnc/useamt"));
  204. if(opener.model.getValue(receiveref + "/etcnotefact") == "")
  205. {
  206. opener.model.setValue(receiveref + "/etcnotefact", model.getValue("/root/send/list/cardexpsevdnc/mainrec"));
  207. }
  208. opener.model.setValue(receivecardinforef + "/instcardseqno", model.getValue("/root/main/list/cardexpsevdnc/instcardseqno"));
  209. messageBox("저장이 " ,"I002");
  210. }
  211. else
  212. {
  213. messagebox("상위화면이 변경되어 데이터를 전달할 수 ", "I004");
  214. }
  215. model.setValue("/root/main/list/cardexpsevdnc/seqno", model.getValue("/root/temp/seqno/seqno"));
  216. ipt_usedd.disabled = true;
  217. ipt_cardno.disabled = true;
  218. model.refresh();
  219. }
  220. function fDel()
  221. {
  222. misfGridRowStatusChange(grd_cardexpsevdnc, "/root/send/list", "/root/main/list");
  223. grd_cardexpsevdnc.addStatus(1, "delete");
  224. model.refresh();
  225. misfSave("TXRAD00104");
  226. model.removenode("/root/main/list/cardexpsevdnc");
  227. var receiveref = model.getValue("/root/target/receiveref");
  228. if (checkOpener())
  229. {
  230. opener.model.setValue(receiveref + "/seqno", "");
  231. }
  232. else
  233. {
  234. messagebox("상위화면이 변경되어 데이터를 전달할 수 ", "I004");
  235. }
  236. misfGridIUD(grd_cardexpsevdnc, "A");
  237. model.copyNode("/root/main/list", "/root/send/list");
  238. model.makeValue("/root/main/list/cardexpsevdnc/dummy", "");
  239. model.setValue("/root/main/list/cardexpsevdnc/seqno", "");
  240. model.setValue("/root/main/list/cardexpsevdnc/unsldd", model.getValue("/root/target/slipinfo/unsldd"));
  241. model.setValue("/root/main/list/cardexpsevdnc/unslno", model.getValue("/root/target/slipinfo/unslno"));
  242. model.setValue("/root/main/list/cardexpsevdnc/undeciseqno", model.getValue("/root/target/slipinfo/unslseqno"));
  243. model.setValue("/root/main/list/cardexpsevdnc/useflag", model.getValue("/root/target/slipinfo/profflag"));
  244. model.setValue("/root/main/list/cardexpsevdnc/entrregno", model.getValue("/root/target/slipinfo/custcd"));
  245. model.refresh();
  246. ipt_entrregno.dispatch("xforms-value-changed");
  247. ipt_usedd.disabled = false;
  248. ipt_cardno.disabled = false;
  249. model.setFocus("ipt_cardno");
  250. }
  251. ]]>
  252. </script>
  253. </xhtml:head>
  254. <xhtml:body pagewidth="560" pageheight="325" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  255. <group id="group2" scroll="auto" style="left:0px; top:12px; width:543px; height:277px; ">
  256. <line id="line7" class="line_2" style="x1:0px; y1:154px; x2:543px; y2:154px; "/>
  257. <line id="line6" class="line_2" style="x1:0px; y1:106px; x2:543px; y2:106px; "/>
  258. <line id="line5" class="line_2" style="x1:0px; y1:82px; x2:543px; y2:82px; "/>
  259. <line id="line4" class="line_2" style="x1:0px; y1:34px; x2:543px; y2:34px; "/>
  260. <line id="line3" class="line_2" style="x1:0px; y1:130px; x2:543px; y2:130px; "/>
  261. <line id="line12" class="line_2" style="x1:0px; y1:178px; x2:543px; y2:178px; "/>
  262. <line id="line11" class="line_3" style="x1:0px; y1:275px; x2:543px; y2:275px; "/>
  263. <line id="line9" class="line_2" style="x1:0px; y1:202px; x2:543px; y2:202px; "/>
  264. <line id="line2" class="line_1" style="x1:0px; y1:7px; x2:543px; y2:7px; "/>
  265. <caption id="caption3" class="cell_1" style="left:0px; top:107px; width:100px; height:23px; vertical-align:middle; ">사용일자</caption>
  266. <caption id="caption4" class="cell_1" style="left:0px; top:11px; width:100px; height:23px; vertical-align:middle; ">법인카드번호</caption>
  267. <caption id="caption7" class="cell_1" style="left:0px; top:83px; width:100px; height:23px; vertical-align:middle; ">소유부서</caption>
  268. <caption id="caption8" class="cell_1" style="left:0px; top:131px; width:100px; height:23px; vertical-align:middle; ">사용금액</caption>
  269. <caption id="caption10" class="cell_1" style="left:0px; top:59px; width:100px; height:23px; vertical-align:middle; ">소유자</caption>
  270. <caption id="caption14" class="cell_1" style="left:30px; top:179px; width:70px; height:23px; vertical-align:middle; ">사업자번호</caption>
  271. <caption id="caption15" class="cell_1" style="left:0px; top:155px; width:100px; height:23px; vertical-align:middle; ">적요</caption>
  272. <input id="ipt_usedd" ref="/root/main/list/cardexpsevdnc/usedd" class="input_essential" navindex="2" inputtype="date" style="left:103px; top:109px; width:120px; height:19px; ">
  273. <script type="javascript" ev:event="onkeypress">
  274. <![CDATA[
  275. if(event.keyCode == 13) { model.setFocus("ipt_useamt"); }
  276. ]]>
  277. </script>
  278. </input>
  279. <input id="ipt_cardno" ref="/root/main/list/cardexpsevdnc/instcardseqno" class="input_essential" navindex="1" format="9999-9999-9999-9999" mask="exclude" showmask="true" style="left:103px; top:13px; width:222px; height:19px; ">
  280. <script type="javascript" ev:event="xforms-value-changed">
  281. <![CDATA[
  282. var vInstcardseqno = model.getValue("/root/main/list/cardexpsevdnc/instcardseqno");
  283. if (vInstcardseqno.length != 16)
  284. {
  285. messageBox("카드번호 16자리를 정확하게 입력하세요.","I000");
  286. return;
  287. }
  288. model.removenode("/root/temp/cardlist");//조회시 기존 데이터 삭제
  289. model.setValue("/root/send/condition/instcd", model.getValue("/root/target/slipinfo/instcd"));
  290. model.setValue("/root/send/condition/retrnm", model.getValue("/root/main/list/cardexpsevdnc/instcardseqno"));
  291. if (submit("TRRAC90801"))
  292. {
  293. if (instance1.selectNodes("/root/temp/cardlist").length > 0)
  294. {
  295. model.setValue("/root/main/list/cardexpsevdnc/cardcmpycd", model.getValue("/root/temp/cardlist/cardcmpycd"));
  296. model.setValue("/root/main/list/cardexpsevdnc/posspsn", model.getValue("/root/temp/cardlist/posspsnid"));
  297. model.setValue("/root/main/list/cardexpsevdnc/posspsnnm", model.getValue("/root/temp/cardlist/posspsnnm"));
  298. model.setValue("/root/main/list/cardexpsevdnc/possdeptcd", model.getValue("/root/temp/cardlist/possdeptcd"));
  299. model.setValue("/root/main/list/cardexpsevdnc/possdeptnm", model.getValue("/root/temp/cardlist/possdeptnm"));
  300. }
  301. else
  302. {
  303. model.setValue("/root/main/list/cardexpsevdnc/cardcmpycd", "");
  304. model.setValue("/root/main/list/cardexpsevdnc/posspsn", "");
  305. model.setValue("/root/main/list/cardexpsevdnc/posspsnnm", "");
  306. model.setValue("/root/main/list/cardexpsevdnc/possdeptcd", "");
  307. model.setValue("/root/main/list/cardexpsevdnc/possdeptnm", "");
  308. model.setValue("/root/main/list/cardexpsevdnc/instcardseqno", "");
  309. model.refresh();
  310. messageBox("등록된 법인카드가 아닙니다.\n확인 후 다시 입력하세요." ,"I000");
  311. model.setFocus("ipt_cardno");
  312. }
  313. }
  314. model.refresh();
  315. ]]>
  316. </script>
  317. <script type="javascript" ev:event="onkeypress">
  318. <![CDATA[
  319. if(event.keyCode == 13) { model.setFocus("ipt_usedd"); }
  320. ]]>
  321. </script>
  322. </input>
  323. <input id="ipt_useamt" ref="/root/main/list/cardexpsevdnc/useamt" class="input_essential" navindex="3" format="(-)#,###" style="left:103px; top:133px; width:122px; height:19px; text-align:right; ">
  324. <script type="javascript" ev:event="onkeypress">
  325. <![CDATA[
  326. if(event.keyCode == 13) { model.setFocus("ipt_cmt"); }
  327. ]]>
  328. </script>
  329. </input>
  330. <input id="ipt_entrregno" ref="/root/main/list/cardexpsevdnc/entrregno" class="input_default" navindex="-1" editable="false" format="999-99-99999" style="left:103px; top:181px; width:122px; height:19px; ">
  331. <script type="javascript" ev:event="xforms-value-changed">
  332. <![CDATA[
  333. racfCustValidCheck("entrregno,custnm,dummy,cntctel,custaddr", "code");
  334. ]]>
  335. </script>
  336. </input>
  337. <input id="ipt_custnm" ref="/root/main/list/cardexpsevdnc/custnm" class="input_default" navindex="-1" editable="false" style="left:103px; top:205px; width:222px; height:19px; ">
  338. <script type="javascript" ev:event="xforms-value-changed">
  339. <![CDATA[
  340. racfCustValidCheck("entrregno,custnm,dummy,cntctel,custaddr", "name");
  341. ]]>
  342. </script>
  343. </input>
  344. <input id="ipt_cmt" ref="/root/main/list/cardexpsevdnc/mainrec" class="input_essential" navindex="4" style="left:103px; top:157px; width:440px; height:19px; ">
  345. <script type="javascript" ev:event="onkeypress">
  346. <![CDATA[
  347. if(event.keyCode == 13) { model.setFocus("btn_save"); }
  348. ]]>
  349. </script>
  350. </input>
  351. <caption id="caption1" class="cell_1" style="left:0px; top:35px; width:100px; height:23px; vertical-align:middle; ">카드회사</caption>
  352. <line id="line10" class="line_2" style="x1:0px; y1:58px; x2:543px; y2:58px; "/>
  353. <line id="line8" class="line_2" style="x1:0px; y1:226px; x2:543px; y2:226px; "/>
  354. <caption id="caption2" class="cell_1" style="left:30px; top:203px; width:70px; height:23px; vertical-align:middle; ">상호</caption>
  355. <line id="line13" class="line_2" style="x1:0px; y1:250px; x2:543px; y2:250px; "/>
  356. <caption id="caption5" class="cell_1" style="left:30px; top:227px; width:70px; height:23px; vertical-align:middle; ">주소</caption>
  357. <line id="line14" class="line_2" style="x1:0px; y1:274px; x2:543px; y2:274px; "/>
  358. <caption id="caption9" class="cell_1" style="left:30px; top:251px; width:70px; height:23px; vertical-align:middle; ">전화번호</caption>
  359. <caption id="caption11" class="cell_1" style="left:0px; top:179px; width:29px; height:96px; text-align:left; vertical-align:middle; ">가맹점</caption>
  360. <line id="line15" class="line_2" style="x1:29px; y1:178px; x2:29px; y2:275px; "/>
  361. <input id="ipt_custaddr" ref="/root/main/list/cardexpsevdnc/custaddr" class="input_default" navindex="-1" editable="false" style="left:103px; top:228px; width:440px; height:19px; "/>
  362. <input id="ipt_cntctel" ref="/root/main/list/cardexpsevdnc/cntctel" class="input_default" navindex="-1" editable="false" style="left:103px; top:253px; width:222px; height:19px; "/>
  363. <select1 id="cmb_cardcmpycd" ref="/root/main/list/cardexpsevdnc/cardcmpycd" class="combo_default" disabled="true" navindex="-1" appearance="minimal" style="left:103px; top:37px; width:222px; height:19px; ">
  364. <choices>
  365. <itemset nodeset="/root/init/R0004list/R0004">
  366. <label ref="cdnm"/>
  367. <value ref="cdid"/>
  368. </itemset>
  369. </choices>
  370. </select1>
  371. <input id="ipt_posspsnnm" ref="/root/main/list/cardexpsevdnc/posspsnnm" class="input_default" disabled="true" navindex="-1" editable="false" style="left:103px; top:60px; width:222px; height:19px; "/>
  372. <input id="ipt_possdeptnm" ref="/root/main/list/cardexpsevdnc/possdeptnm" class="input_default" disabled="true" navindex="-1" editable="false" style="left:103px; top:85px; width:222px; height:19px; "/>
  373. <button id="btn_search" class="btn1_letter4" navindex="29" visibility="hidden" style="left:385px; top:12px; width:80px; height:22px; text-align:left; ">
  374. <caption>전체조회</caption>
  375. <script type="javascript" ev:event="DOMActivate">
  376. <![CDATA[
  377. model.makeValue("/root/source/cardinfo/instcd", model.getValue("/root/target/slipinfo/instcd"));
  378. model.makeValue("/root/source/cardinfo/deptcd", "");
  379. modal("PPRAC00800","","","","","/root/source", "/root/target" );
  380. ipt_cardno.refresh();
  381. ipt_cardno.dispatch("xforms-value-changed");
  382. model.refresh();
  383. ]]>
  384. </script>
  385. </button>
  386. <button id="btn_deptsearch" class="btn1_letter2" navindex="29" visibility="hidden" style="left:328px; top:12px; width:56px; height:22px; text-align:left; ">
  387. <caption>조회</caption>
  388. <script type="javascript" ev:event="DOMActivate">
  389. <![CDATA[
  390. model.makeValue("/root/source/cardinfo/instcd", model.getValue("/root/target/slipinfo/instcd"));
  391. model.makeValue("/root/source/cardinfo/deptcd", model.getValue("/root/target/slipinfo/carddeptcd"));
  392. modal("PPRAC00800","","","","","/root/source", "/root/target" );
  393. ipt_cardno.refresh();
  394. ipt_cardno.dispatch("xforms-value-changed");
  395. model.refresh();
  396. ]]>
  397. </script>
  398. </button>
  399. <input id="ipt_profcnt" ref="/root/main/list/cardexpsevdnc/profcnt" class="input_essential" navindex="3" format="###" style="left:333px; top:133px; width:122px; height:19px; text-align:right; "/>
  400. <caption id="caption12" class="cell_1" style="left:230px; top:131px; width:100px; height:23px; vertical-align:middle; ">증빙매수</caption>
  401. </group>
  402. <group id="grp_btn" scroll="auto" style="left:0px; top:292px; width:544px; height:30px; ">
  403. <line id="line1" class="line_6" visibility="hidden" style="x1:0px; y1:3px; x2:543px; y2:3px; "/>
  404. <button id="btn_save" class="btn4_letter2" navindex="5" style="left:372px; top:7px; width:56px; height:22px; ">
  405. <caption>저장</caption>
  406. <script type="javascript" ev:event="onkeypress">
  407. <![CDATA[
  408. if(event.keyCode == 13)
  409. {
  410. if(model.getValue("/root/main/list/cardexpsevdnc/cardcmpycd") != "")
  411. {
  412. fSave();
  413. }
  414. model.setFocus("btn_close");
  415. }
  416. ]]>
  417. </script>
  418. <script type="javascript" ev:event="onclick">
  419. <![CDATA[
  420. if(model.getValue("/root/main/list/cardexpsevdnc/cardcmpycd") != "")
  421. {
  422. fSave();
  423. }
  424. ]]>
  425. </script>
  426. </button>
  427. <button id="btn_delete" class="btn4_letter2" navindex="7" style="left:430px; top:7px; width:56px; height:22px; ">
  428. <caption>삭제</caption>
  429. <script type="javascript" ev:event="DOMActivate">
  430. <![CDATA[
  431. fDel();
  432. ]]>
  433. </script>
  434. </button>
  435. <button id="btn_close" class="btn4_letter2" navindex="6" style="left:488px; top:7px; width:56px; height:22px; ">
  436. <caption>닫기</caption>
  437. <script type="javascript" ev:event="DOMActivate">
  438. <![CDATA[
  439. window.close();
  440. ]]>
  441. </script>
  442. </button>
  443. </group>
  444. <group id="group1" style="left:0; top:0; width:544px; height:13px; ">
  445. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:190px; height:14px; ">법인카드 사용내역 관리</caption>
  446. </group>
  447. <datagrid id="grd_cardexpsevdnc" nodeset="/root/send/list/cardexpsevdnc" visibility="hidden" caption="기관코드^일련번호^사용구분^법인카드번호^카드사^소유자id^소유자명^소유부서코드^소유부서명^사용일자^사용금액^적요^사업자등록번호^업체명^주소^전화번호^미결전표일자^미결전표번호^미결일련번호" colwidth="30, 29, 26, 52, 37, 54, 26, 47, 43, 35, 35, 31, 50, 39, 38, 39, 50, 50, 50" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:15px; top:293px; width:45px; height:17px; ">
  448. <col ref="instcd"/>
  449. <col ref="seqno"/>
  450. <col ref="useflag"/>
  451. <col ref="instcardseqno"/>
  452. <col ref="cardcmpycd"/>
  453. <col ref="posspsn"/>
  454. <col ref="posspsnnm"/>
  455. <col ref="possdeptcd"/>
  456. <col ref="possdeptnm"/>
  457. <col ref="usedd"/>
  458. <col ref="useamt"/>
  459. <col ref="mainrec"/>
  460. <col ref="entrregno"/>
  461. <col ref="custnm"/>
  462. <col ref="custaddr"/>
  463. <col ref="cntctel"/>
  464. <col ref="unsldd"/>
  465. <col ref="unslno"/>
  466. <col ref="undeciseqno"/>
  467. <col ref="profcnt"/>
  468. </datagrid>
  469. </xhtml:body>
  470. </xhtml:html>