SMRAC00750_법인카드복사.xrw 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  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. <copycardnoinfo/>
  12. </list>
  13. </main>
  14. <send>
  15. <instcd/>
  16. <emplno/>
  17. <emplnm/>
  18. <retrparams>
  19. <copycardnoinfo/>
  20. </retrparams>
  21. <relation>Y</relation>
  22. </send>
  23. <init>
  24. <cardcd/>
  25. </init>
  26. <temp>
  27. </temp>
  28. </root>
  29. </instance>
  30. <submission id="TRRAC00705" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
  31. <submission id="TXRAC00705" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams" resultref="/root/temp"/>
  32. </model>
  33. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  34. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  35. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  36. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  37. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  38. <script type="javascript" ev:event="xforms-ready">
  39. <![CDATA[
  40. fInitialize();
  41. ]]>
  42. </script>
  43. <script type="javascript">
  44. <![CDATA[
  45. //========================================================================================
  46. //초기화
  47. //========================================================================================
  48. function fInitialize()
  49. {
  50. var instcd = getUserInfo("dutplceinstcd");
  51. model.removenode("/root/main/list/copycardnoinfo");
  52. model.setValue("/root/send/instcd", instcd);
  53. if(instcd == '001')
  54. {
  55. rdo_relation.visible = true;
  56. cap_relation.visible = true;
  57. }
  58. model.refresh();
  59. }
  60. ]]>
  61. </script>
  62. </xhtml:head>
  63. <xhtml:body pagewidth="680" pageheight="510" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  64. <group id="group1" style="left:0px; top:0px; width:610; height:13px; ">
  65. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:190px; height:14px; ">법인카드복사</caption>
  66. </group>
  67. <group id="group2" scroll="auto" style="left:0px; top:12px; width:660px; height:457px; ">
  68. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:27px; width:660px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  69. <caption id="caption1" class="tit_2" style="left:10px; top:74px; width:190px; height:13px; ">법인카드</caption>
  70. <line id="line2" class="line_1" style="x1:0px; y1:88px; x2:660px; y2:88px; "/>
  71. <line id="line21" class="line_4" style="x1:574px; y1:34px; x2:574px; y2:56px; "/>
  72. <button id="btn_search" class="btn1_letter2" style="left:589px; top:34px; width:56px; height:22px; ">
  73. <caption>조회</caption>
  74. <script type="javascript" ev:event="DOMActivate">
  75. <![CDATA[
  76. submit("TRRAC00705");
  77. ]]>
  78. </script>
  79. </button>
  80. <datagrid id="grd_copycardnoinfo" nodeset="/root/main/list/copycardnoinfo" caption="복사기관코드^기관코드^기관명^카드코드^카드번호^카드종류^발급일자^종료일자^유효년월^발급상태^소유부서코드^소유자사번^소유자명^생성카드코드" colsep="^" colwidth="0, 0, 100, 90, 140, 0, 70, 70, 60, 60, 0, 0, 0, 0" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" format="9999-9999-9999-9999" style="left:0px; top:93px; width:660px; height:364px; ">
  81. <col ref="copyinstcd" visibility="hidden"/>
  82. <col ref="instcd"/>
  83. <col ref="instnm" style="text-align:center; "/>
  84. <col ref="cardcd" style="text-align:center; "/>
  85. <col ref="cardno" style="text-align:center; "/>
  86. <col ref="cardkind"/>
  87. <col ref="issdd" format="yyyy-mm-dd" style="text-align:center; "/>
  88. <col ref="todd" format="yyyy-mm-dd" style="text-align:center; "/>
  89. <col ref="valiym" style="text-align:center; "/>
  90. <col ref="issstat" style="text-align:center; "/>
  91. <col ref="possdeptcd"/>
  92. <col ref="posspsn"/>
  93. <col ref="posspsnnm"/>
  94. <col ref="copycardcd" visibility="hidden"/>
  95. </datagrid>
  96. <line id="line13" class="line_2" style="x1:29px; y1:87px; x2:379px; y2:87px; "/>
  97. <caption id="cap_cardcd" class="cell_1" style="left:312px; top:64px; width:150px; height:23px; text-align:center; vertical-align:middle; ">카 드 코 드</caption>
  98. <input id="ipt_cardcd" ref="/root/init/cardcd" class="input_s_essential" navindex="3" maxlength="3" style="left:464px; top:66px; width:120px; height:19px; text-align:center; "/>
  99. <button id="btn_save" class="btn4_letter2" navindex="23" style="left:590px; top:65px; width:56px; height:22px; ">
  100. <caption>복사</caption>
  101. <script type="javascript" ev:event="DOMActivate">
  102. <![CDATA[
  103. if(grd_copycardnoinfo.row < grd_copycardnoinfo.fixedRows)
  104. {
  105. messageBox("복사할 카드를 마우스로 클릭하여 선택하세요.", "I000");
  106. return;
  107. }
  108. if(model.getValue("/root/init/cardcd") == "")
  109. {
  110. messageBox("생성할 카드코드를 입력하세요", "I000");
  111. return;
  112. }
  113. model.setValue(grd_copycardnoinfo.nodeset + "[" + grd_copycardnoinfo.row + "]/copycardcd", model.getValue("/root/init/cardcd"));
  114. grd_copycardnoinfo.rowStatus(grd_copycardnoinfo.row) = 2;
  115. model.makeValue("/root/send/retrparams/copycardnoinfo", grd_copycardnoinfo.getUpdateData());
  116. submit("TXRAC00705");
  117. messageBox("복사가 완료되었습니다.", "I000");
  118. btn_search.dispatch("DOMActivate");
  119. ]]>
  120. </script>
  121. </button>
  122. <caption id="caption10" class="search_name" style="left:10px; top:37px; width:91px; height:17px; ">소유자 :</caption>
  123. <input id="ipt_name" ref="/root/send/emplnm" class="input_default" navindex="2" style="left:207px; top:36px; width:91px; height:19px; ">
  124. <script type="javascript" ev:event="onkeypress">
  125. <![CDATA[
  126. if(event.keyCode == 13)
  127. {
  128. model.setFocus("btn_search");
  129. }
  130. ]]>
  131. </script>
  132. <script type="javascript" ev:event="xforms-value-changed">
  133. <![CDATA[
  134. rpbfValidationCheck("EMPLNM", "emplno,emplnm");
  135. model.refresh();
  136. ]]>
  137. </script>
  138. </input>
  139. <button id="btn_emplno" class="icon_search" style="left:183px; top:38px; 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/emplno" class="input_s_essential" navindex="1" maxlength="8" style="left:84px; top:36px; width:91px; 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. <select1 id="rdo_relation" ref="/root/send/relation" class="radio_search" navindex="1" visibility="hidden" overflow="visible" appearance="full" cellspacing="15" cols="2" style="left:440px; top:37px; width:115px; height:19px; border-style:none; ">
  165. <choices>
  166. <item>
  167. <label>겸직</label>
  168. <value>Y</value>
  169. </item>
  170. <item>
  171. <label>기타</label>
  172. <value>N</value>
  173. </item>
  174. </choices>
  175. </select1>
  176. <caption id="cap_relation" class="search_relation" visibility="hidden" style="left:355px; top:37px; width:88px; height:17px; ">겸직여부 :</caption>
  177. </group>
  178. <group id="grp_btn" scroll="auto" style="left:0px; top:469px; width:660px; height:27px; ">
  179. <line id="line1" class="line_6" style="x1:0px; y1:0px; x2:610px; y2:-10px; "/>
  180. <button id="btn_close" class="btn4_letter2" style="left:604px; top:2px; width:56px; height:22px; ">
  181. <caption>닫기</caption>
  182. <script type="javascript" ev:event="DOMActivate">
  183. <![CDATA[
  184. window.close();
  185. ]]>
  186. </script>
  187. </button>
  188. </group>
  189. </xhtml:body>
  190. </xhtml:html>