PPRAC00800_법인카드HELP.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  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>법인카드 Help</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <cardlist/>
  11. </main>
  12. <send>
  13. <condition>
  14. <refcond>cardno</refcond>
  15. <retrnm/>
  16. <acntcd/>
  17. <instcd/>
  18. <deptcd/>
  19. <depthngnm/>
  20. <emplno/>
  21. <emplnm/>
  22. <cardkind/>
  23. </condition>
  24. </send>
  25. <target>
  26. </target>
  27. <init>
  28. </init>
  29. </root>
  30. </instance>
  31. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  32. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  33. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  34. <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
  35. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  36. <script type="javascript" ev:event="xforms-ready">
  37. <![CDATA[
  38. fOpenForm();
  39. ]]>
  40. </script>
  41. <script type="javascript">
  42. <![CDATA[
  43. //========================================================================================
  44. //화면 로드시 초기화 함수
  45. //========================================================================================
  46. function fOpenForm()
  47. {
  48. model.setValue("/root/send/condition/instcd", model.getValue("/root/target/cardinfo/instcd"));
  49. model.setValue("/root/send/condition/deptcd", model.getValue("/root/target/cardinfo/deptcd"));
  50. // if(model.getValue("/root/target/cardinfo/deptcd") == "")
  51. // {
  52. // cap_deptnm.visible = true;
  53. // ipt_deptcd.visible = true;
  54. // btn_possdepthelp.visible = true;
  55. // ipt_depthngnm.visible = true;
  56. // }
  57. model.removenode("/root/main/cardlist");
  58. if(instance1.selectNodes("/root/target/validation/cardlist").length == 0)
  59. {
  60. fGetcardList();
  61. }
  62. else
  63. {
  64. model.copyNode("root/main","/root/target/validation");
  65. }
  66. model.setFocus("ipt_retrnm");
  67. model.refresh();
  68. }
  69. //========================================================================================
  70. //계좌코드 조회
  71. //========================================================================================
  72. function fGetcardList()
  73. {
  74. model.removenode("/root/main/cardlist");//조회시 기존 데이터 삭제
  75. submit("TRRAC90801");
  76. }
  77. ]]>
  78. </script>
  79. <submission id="TRRAC90801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condition" resultref="/root/main/cardlist"/>
  80. </model>
  81. </xhtml:head>
  82. <xhtml:body pagewidth="720" pageheight="680" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  83. <group id="group3" scroll="auto" style="left:8px; top:0px; width:680px; height:622px; ">
  84. <caption id="caption1" class="tit_2" style="left:5px; top:96px; width:139px; height:13px; ">법인카드 리스트</caption>
  85. <line id="line1" class="line_1" style="x1:0px; y1:110px; x2:680px; y2:110px; "/>
  86. <group id="group6" style="left:0px; top:5px; width:680px; height:85px; vertical-align:top; ">
  87. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:680px; height:85px; "/>
  88. <line id="line8" class="line_4" style="x1:604px; y1:12px; x2:604px; y2:76px; "/>
  89. <caption id="caption5" class="search_name" style="left:5px; top:9px; width:88px; height:17px; ">조회조건 :</caption>
  90. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:614px; top:32px; width:56px; height:22px; ">
  91. <caption>조회</caption>
  92. <script type="javascript" ev:event="DOMActivate">
  93. <![CDATA[
  94. fGetcardList();
  95. ]]>
  96. </script>
  97. </button>
  98. <select1 id="rdo_refcond" ref="/root/send/condition/refcond" class="radio_search" navindex="1" overflow="visible" appearance="full" cellspacing="15" cols="2" style="left:95px; top:9px; width:158px; height:19px; border-style:none; ">
  99. <choices>
  100. <item>
  101. <label>카드코드</label>
  102. <value>cardcd</value>
  103. </item>
  104. <item>
  105. <label>카드번호</label>
  106. <value>cardno</value>
  107. </item>
  108. </choices>
  109. </select1>
  110. <input id="ipt_retrnm" ref="/root/send/condition/retrnm" class="input_s_essential" navindex="3" style="left:264px; top:8px; width:195px; height:19px; ">
  111. <script type="javascript" ev:event="onkeypress">
  112. <![CDATA[
  113. if(event.keyCode == 13)
  114. {
  115. ipt_retrnm.value = ipt_retrnm.currentText;
  116. btn_search.dispatch("DOMActivate");
  117. }
  118. ]]>
  119. </script>
  120. </input>
  121. <caption id="caption16" class="search_name" style="left:5px; top:35px; width:86px; height:17px; ">공용구분 :</caption>
  122. <select1 id="rdo_cardkind" ref="/root/send/condition/cardkind" navindex="5" overflow="hidden" appearance="full" cellspacing="30" cols="3" style="left:95px; top:35px; width:265px; height:17px; border-style:none; ">
  123. <choices>
  124. <item>
  125. <label>전체</label>
  126. <value/>
  127. </item>
  128. <item>
  129. <label>법인공용</label>
  130. <value>1</value>
  131. </item>
  132. <item>
  133. <label>법인개별</label>
  134. <value>2</value>
  135. </item>
  136. </choices>
  137. </select1>
  138. <caption id="caption10" class="search_name" style="left:5px; top:60px; width:91px; height:17px; ">소 유 자 :</caption>
  139. <button id="btn_emplno" class="icon_search" style="left:169px; top:61px; width:16px; height:16px; ">
  140. <caption/>
  141. <script type="javascript" ev:event="DOMActivate">
  142. <![CDATA[
  143. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, "emplno,emplnm", "", "N");
  144. model.refresh();
  145. ]]>
  146. </script>
  147. </button>
  148. <input id="ipt_emplno" ref="/root/send/condition/emplno" class="input_s_essential" navindex="1" maxlength="8" style="left:95px; top:59px; width:70px; height:19px; text-align:center; ">
  149. <script type="javascript" ev:event="onkeypress">
  150. <![CDATA[
  151. if(event.keyCode == 13)
  152. {
  153. model.setFocus("btn_search");
  154. }
  155. ]]>
  156. </script>
  157. <script type="javascript" ev:event="xforms-value-changed">
  158. <![CDATA[
  159. rpbfValidationCheck("EMPLNO", "emplno,emplnm");
  160. model.refresh();
  161. ]]>
  162. </script>
  163. </input>
  164. <input id="ipt_name" ref="/root/send/condition/emplnm" class="input_default" navindex="2" style="left:188px; top:59px; width:87px; height:19px; ">
  165. <script type="javascript" ev:event="onkeypress">
  166. <![CDATA[
  167. if(event.keyCode == 13)
  168. {
  169. model.setFocus("btn_search");
  170. }
  171. ]]>
  172. </script>
  173. <script type="javascript" ev:event="xforms-value-changed">
  174. <![CDATA[
  175. rpbfValidationCheck("EMPLNM", "emplno,emplnm");
  176. model.refresh();
  177. ]]>
  178. </script>
  179. </input>
  180. <input id="ipt_depthngnm" ref="/root/send/condition/depthngnm" class="input_default" navindex="2" visibility="visible" style="left:478px; top:60px; width:117px; height:19px; ">
  181. <script type="javascript" ev:event="onkeypress">
  182. <![CDATA[
  183. if(event.keyCode == 13)
  184. {
  185. model.setFocus("btn_search");
  186. }
  187. ]]>
  188. </script>
  189. <script type="javascript" ev:event="xforms-value-changed">
  190. <![CDATA[
  191. racfDeptValidCheck("deptcd,depthngnm");
  192. ]]>
  193. </script>
  194. </input>
  195. <caption id="cap_deptnm" class="search_name" visibility="visible" style="left:286px; top:60px; width:91px; height:17px; ">소유부서 :</caption>
  196. <input id="ipt_deptcd" ref="/root/send/condition/deptcd" class="input_s_essential" navindex="1" visibility="visible" maxlength="8" style="left:375px; top:60px; width:80px; height:19px; text-align:center; ">
  197. <script type="javascript" ev:event="onkeypress">
  198. <![CDATA[
  199. if(event.keyCode == 13)
  200. {
  201. model.setFocus("ipt_depthngnm");
  202. }
  203. ]]>
  204. </script>
  205. <script type="javascript" ev:event="xforms-value-changed">
  206. <![CDATA[
  207. racfDeptValidCheck("deptcd,depthngnm");
  208. ]]>
  209. </script>
  210. </input>
  211. <button id="btn_possdepthelp" class="icon_search" visibility="visible" style="left:459px; top:60px; width:16px; height:16px; ">
  212. <caption/>
  213. <script type="javascript" ev:event="DOMActivate">
  214. <![CDATA[
  215. misfOpenPopUpList("02", ipt_deptcd, "", "deptcd,depthngnm");
  216. model.refresh()
  217. ]]>
  218. </script>
  219. </button>
  220. </group>
  221. <datagrid id="grd_cardlist" nodeset="/root/main/cardlist" caption="카드종류^카드코드^카드번호^소유자^소유자^소유 부서^소유 부서^발급일자^종료일자^폐기일자" colsep="^" colwidth="70, 55, 125, 35, 60, 35, 100, 75, 75, 75" dataheight="23" defaultrows="0" ellipsis="true" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="byrow" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:115px; width:680px; height:505px; ">
  222. <col ref="cardkind" type="combo" style="text-align:center; ">
  223. <choices>
  224. <item>
  225. <label>법인공용</label>
  226. <value>1</value>
  227. </item>
  228. <item>
  229. <label>법인개별</label>
  230. <value>2</value>
  231. </item>
  232. </choices>
  233. </col>
  234. <col ref="cardcd" style="text-align:center; "/>
  235. <col ref="cardno" format="9999-9999-9999-9999" style="text-align:center; "/>
  236. <col ref="posspsnid" visibility="hidden"/>
  237. <col ref="posspsnnm"/>
  238. <col ref="possdeptcd" visibility="hidden"/>
  239. <col ref="possdeptnm"/>
  240. <col ref="issdd" format="yyyy-mm-dd" style="text-align:center; "/>
  241. <col ref="todd" format="yyyy-mm-dd" style="text-align:center; "/>
  242. <col ref="abndd" format="yyyy-mm-dd" style="text-align:center; "/>
  243. <script type="javascript" ev:event="ondblclick">
  244. <![CDATA[
  245. if( grd_cardlist.isCell(event.target) && grd_cardlist.row >= grd_cardlist.fixedRows )
  246. {
  247. btn_confirm.dispatch("DOMActivate");
  248. }
  249. ]]>
  250. </script>
  251. <script type="javascript" ev:event="onaftersort">
  252. <![CDATA[
  253. grd_cardlist.gridToInstance();
  254. ]]>
  255. </script>
  256. </datagrid>
  257. </group>
  258. <group id="group1" scroll="auto" style="left:8px; top:631px; width:580px; height:27px; ">
  259. <button id="btn_confirm" class="btn4_letter2" style="left:466px; top:5px; width:56px; height:22px; ">
  260. <caption>확인</caption>
  261. <script type="javascript" ev:event="DOMActivate">
  262. <![CDATA[
  263. //model.makeValue("root/source/cardno", grd_cardlist.valueMatrix(grd_cardlist.row, grd_cardlist.colRef("cardno")));
  264. opener.model.setValue("/root/main/list/cardexpsevdnc/instcardseqno", grd_cardlist.valueMatrix(grd_cardlist.row, grd_cardlist.colRef("cardno")).replace("-",""));
  265. window.close();
  266. //misfPopUpListReturn(grd_cardlist);
  267. ]]>
  268. </script>
  269. </button>
  270. <button id="btn_cancel" class="btn4_letter2" style="left:524px; top:5px; width:56px; height:22px; ">
  271. <caption>취소</caption>
  272. <script type="javascript" ev:event="DOMActivate">
  273. <![CDATA[
  274. window.close();
  275. ]]>
  276. </script>
  277. </button>
  278. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:578px; y2:0px; "/>
  279. </group>
  280. </xhtml:body>
  281. </xhtml:html>