SMRAC00700_법인카드관리.xrw 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973
  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. <cardnolist/>
  12. </list>
  13. <detail>
  14. <cardnoinfo>
  15. <instcd/>
  16. <cardcd/>
  17. <cardno/>
  18. <cardkind>1</cardkind>
  19. <issdd/>
  20. <todd/>
  21. <valiym/>
  22. <abndd/>
  23. <issstat>1</issstat>
  24. <cardcmpycd/>
  25. <possdeptcd/>
  26. <possdeptnm/>
  27. <posspsn/>
  28. <posspsnnm/>
  29. <uselmtamt/>
  30. <aactno/>
  31. <depor/>
  32. <bankcd/>
  33. <banknm/>
  34. <cmt/>
  35. <flag_state/>
  36. </cardnoinfo>
  37. </detail>
  38. <histlist>
  39. <cardhistlist>
  40. <cardcd/>
  41. <movedd/>
  42. <possdeptcd/>
  43. <possdeptnm/>
  44. <posspsn/>
  45. <posspsnnm/>
  46. <cmt/>
  47. </cardhistlist>
  48. </histlist>
  49. <maxno>
  50. <maxno/>
  51. </maxno>
  52. </main>
  53. <send>
  54. <params>
  55. <instcd/>
  56. <deptcd/>
  57. <depthngnm/>
  58. <emplno/>
  59. <emplnm/>
  60. <cardcd/>
  61. <issstat/>
  62. <cardno/>
  63. <cardkind/>
  64. <cardcmpycd/>
  65. </params>
  66. <detail>
  67. <cardnoinfo/>
  68. </detail>
  69. <temp>
  70. <emplno/>
  71. <emplnm/>
  72. </temp>
  73. <temp>
  74. <temp/>
  75. </temp>
  76. </send>
  77. <init/>
  78. <hidden>
  79. <stateinfo/>
  80. </hidden>
  81. <temp/>
  82. <target/>
  83. </root>
  84. </instance>
  85. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  86. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  87. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  88. <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
  89. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  90. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  91. <script type="javascript" ev:event="xforms-ready">
  92. <![CDATA[
  93. fInit();
  94. ]]>
  95. </script>
  96. <script type="javascript">
  97. <![CDATA[
  98. function fInit()
  99. {
  100. var instcd = getUserInfo("dutplceinstcd");
  101. misfComboComCdList("Z0007", cmb_instcd, "Y");
  102. misfComboComCdList("R0004", cmb_cardcmpycd, "N");
  103. misfComboComCdList("R0004", cmb_searchcardcmpycd, "Y");
  104. model.setValue("/root/send/params/instcd", instcd);
  105. if(instcd == '001') cmb_instcd.disabled = false;
  106. model.removenode("/root/main/list/cardnolist");
  107. fInitCardNo();
  108. fGetCardNolist();
  109. btn_search.dispatch("DOMActivate");
  110. }
  111. function fInitCardNo()
  112. {
  113. ipt_cardcd.disabled = false;
  114. ipt_cardno.disabled = false;
  115. model.setFocus("ipt_cardcd");
  116. model.makeNode("/root/main/detail/cardnoinfo/flag_state");
  117. model.setValue("/root/main/detail/cardnoinfo/flag_state", "i");
  118. }
  119. //저장버튼을 눌렀을 경우
  120. function fInsCardnoInfo()
  121. {
  122. var rtn = "";
  123. if(ipt_cardcd.value == "" || ipt_todd.value == "")
  124. {
  125. alert("[카드 코드]와 [종료 일자]는 필수입니다");
  126. return;
  127. }
  128. if(rdo_issstat.value == "N" && ipt_abndd.value == "")
  129. {
  130. messageBox("폐기되는 카드이므로 폐기일자는", "I003");
  131. return;
  132. }
  133. var gridestate = model.getValue("/root/main/detail/cardnoinfo/flag_state");
  134. if(gridestate != "u")
  135. {
  136. model.setValue("/root/main/detail/cardnoinfo/flag_state", "i");
  137. }
  138. model.makeValue("/root/main/detail/cardnoinfo/instcd", cmb_instcd.value);
  139. model.copyNode("/root/send/cardnoinfo", "/root/main/detail/cardnoinfo");
  140. rtn = messageBox("법인카드를 ", "Q002");
  141. if(rtn == "6" )
  142. {
  143. submit("TXRAC00701");
  144. }
  145. else
  146. {
  147. return;
  148. }
  149. if(ipt_cardcd.disabled == false)
  150. {
  151. ipt_cardcd.disabled = true;
  152. ipt_cardno.disabled = true;
  153. }
  154. if(gridestate == "i")
  155. {
  156. submit("TRRAC00701");
  157. }
  158. else
  159. {
  160. submit("TRRAC00702");
  161. }
  162. //window.reload();
  163. }
  164. //삭제할 경우
  165. function fDelCardnoInfo()
  166. {
  167. var rtn = "";
  168. if(!isRequiredControls("ipt_cardcd"))
  169. {
  170. return false;
  171. }
  172. model.setValue("/root/main/detail/cardnoinfo/flag_state","d");
  173. model.copyNode("/root/send/cardnoinfo","/root/main/detail/cardnoinfo");
  174. rtn = messageBox("법인카드를 ", "Q001");
  175. if(rtn != "6" )
  176. {
  177. return false;
  178. }
  179. submit("TXRAC00701");
  180. submit("TRRAC00701");
  181. model.resetInstanceNode("/root/main/detail/cardnoinfo");
  182. model.refresh();
  183. }
  184. function fGetCardnoInfo(cardcd, cardno)
  185. {
  186. if(cardcd == "" && cardno == "") return;
  187. model.makeNode("/root/send/params/cardcd");
  188. model.setValue("/root/send/params/cardcd", cardcd);
  189. model.makeNode("/root/send/params/cardno");
  190. model.setValue("/root/send/params/cardno", cardno);
  191. //gride의 row를 선택하면
  192. submit("TRRAC00702");
  193. if(model.getValue("/root/send/detail/cardnoinfo/cardcd") != "")
  194. {
  195. model.copyNode("/root/main/detail/cardnoinfo", "/root/send/detail/cardnoinfo");
  196. model.makeNode("/root/main/detail/cardnoinfo/flag_state");
  197. model.setValue("/root/main/detail/cardnoinfo/flag_state", "u");
  198. model.resetInstanceNode("/root/send/detail/cardnoinfo");
  199. ipt_cardcd.disabled = true ;
  200. ipt_cardno.disabled = true;
  201. ipt_todd.disabled = true;
  202. }
  203. model.refresh();
  204. }
  205. function fGetCardNolist()
  206. {
  207. submit("TRRAC00701");
  208. model.refresh();
  209. //그리드 선택
  210. if(grd_cardnolist.rows > 1)
  211. {
  212. grd_cardnolist.row = 1;
  213. fGetCardnoInfo(grd_cardnolist.valueMatrix(grd_cardnolist.row, grd_cardnolist.colRef("cardcd")));
  214. misfSetReadOnlyCol(grd_cardnolist, "issstat", true);
  215. }
  216. }
  217. function fInitCardInfo()
  218. {
  219. model.resetInstanceNode("/root/main/detail/cardnoinfo");
  220. model.makeValue("/root/main/detail/cardnoinfo/instcd", cmb_instcd.value);
  221. fInitCardNo();
  222. ipt_cardcd.disabled = false;
  223. ipt_todd.disabled = false;
  224. //model.setFocus("ipt_cardno");
  225. submit("TRRAC00703");
  226. if(model.getValue(ipt_maxno.attribute("ref")) == "")
  227. {
  228. model.setValue(ipt_maxno.attribute("ref"), "001");
  229. }
  230. var maxno = ipt_maxno.value;
  231. model.setValue("/root/main/detail/cardnoinfo/cardcd", maxno.getLeftPad(3,"0"));
  232. model.makeNode("/root/main/detail/cardnoinfo/flag_state");
  233. model.setValue("/root/main/detail/cardnoinfo/flag_state", "i");
  234. model.setValue("/root/main/detail/cardnoinfo/issstat", "Y");
  235. model.setValue("/root/main/detail/cardnoinfo/uselmtamt", 0);
  236. model.setValue("/root/main/detail/cardnoinfo/todd", "99991231");
  237. model.refresh();
  238. }
  239. //========================================================================================
  240. //코드 Validation Check
  241. //========================================================================================
  242. function fValidationCheck(vgbn, recvlist, pcdgrupid, pNextIndex, pValueControl, pNodeName)
  243. {
  244. if(event.keyCode == 13 || event.name == "xforms-value-changed")
  245. {
  246. document.controls(event.currentTarget).value = document.controls(event.currentTarget).currentText;
  247. misfValidationCheck(vgbn, pcdgrupid, recvlist, pValueControl, pNodeName);
  248. model.refresh();
  249. model.setFocus(pNextIndex);
  250. }
  251. }
  252. ]]>
  253. </script>
  254. <submission id="TRRAC00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/params" resultref="/root/main/list"/>
  255. <submission id="TRRAC00702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/params" resultref="/root/send/detail"/>
  256. <submission id="TXRAC00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/detail/cardnoinfo" resultref="/root/temp"/>
  257. <submission id="TRRAC00703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/params" resultref="/root/main/maxno"/>
  258. </model>
  259. </xhtml:head>
  260. <xhtml:body guideline="1,1193;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  261. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  262. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:293px; height:14px; ">법인카드 관리</caption>
  263. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  264. </group>
  265. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  266. <group id="grp_sea" style="left:0px; top:10px; width:1195; height:35px; vertical-align:top; ">
  267. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" bankground-color="#fffbf2" ellipseheight="10" style="left:0px; top:0px; width:1195; height:35px; border-color:#ffd799; "/>
  268. <button id="btn_search" class="btn1_letter2" navindex="30" style="left:1123px; top:8px; width:56px; height:22px; text-align:left; ">
  269. <caption>조회</caption>
  270. <script type="javascript" ev:event="DOMActivate">
  271. <![CDATA[
  272. fGetCardNolist();
  273. ]]>
  274. </script>
  275. </button>
  276. </group>
  277. <line id="line3" class="line_1" style="x1:0px; y1:115px; x2:560px; y2:115px; "/>
  278. <datagrid id="grd_cardnolist" nodeset="/root/main/list/cardnolist" caption="카드코드^카드사^카드번호^소유자^발급상태^발급일자^종료일자^비고" colsep="^" colwidth="60, 95, 135, 80, 60, 85, 85, 300" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="16" rowsep="|" style="left:0px; top:120px; width:560px; height:620px; ">
  279. <col ref="cardcd" style="text-align:center; "/>
  280. <col disabled="true" ref="cardcmpycd" style="text-align:center; vertical-align:middle; "/>
  281. <col ref="cardno" format="9999-9999-9999-9999" style="left:138px; top:23px; width:171px; height:23px; text-align:center; "/>
  282. <col ref="posspsnnm"/>
  283. <col ref="issstat" type="combo" style="text-align:center; ">
  284. <choices>
  285. <item>
  286. <label>사용</label>
  287. <value>1</value>
  288. </item>
  289. <item>
  290. <label>일시정지</label>
  291. <value>2</value>
  292. </item>
  293. <item>
  294. <label>폐기</label>
  295. <value>3</value>
  296. </item>
  297. </choices>
  298. </col>
  299. <col ref="issdd" format="yyyy-mm-dd" style="text-align:center; "/>
  300. <col ref="todd" format="yyyy-mm-dd" style="text-align:center; "/>
  301. <col ref="cmt"/>
  302. <script type="javascript" ev:event="onclick">
  303. <![CDATA[
  304. if(grd_cardnolist.isCell(event.target) && grd_cardnolist.row >= grd_cardnolist.fixedRows) {
  305. fGetCardnoInfo(grd_cardnolist.textmatrix( grd_cardnolist.row, grd_cardnolist.colRef("cardcd")));
  306. }
  307. ]]>
  308. </script>
  309. <script type="javascript" ev:event="onaftersort">
  310. <![CDATA[
  311. grd_cardnolist.gridToInstance();
  312. ]]>
  313. </script>
  314. <script type="javascript" ev:event="ondblclick">
  315. <![CDATA[
  316. ]]>
  317. </script>
  318. </datagrid>
  319. <line id="line1" class="line_1" style="x1:565px; y1:115px; x2:1195px; y2:115px; "/>
  320. <line id="line8" class="line_2" style="x1:565px; y1:292px; x2:1195px; y2:292px; "/>
  321. <line id="line9" class="line_2" style="x1:565px; y1:342px; x2:1195px; y2:342px; "/>
  322. <line id="line10" class="line_2" style="x1:565px; y1:367px; x2:1195px; y2:367px; "/>
  323. <caption id="cap_depor" class="cell_1" style="left:565px; top:394px; width:150px; height:23px; text-align:center; vertical-align:middle; ">사용한도액</caption>
  324. <caption id="caption11" class="cell_1" style="left:565px; top:194px; width:150px; height:23px; text-align:center; vertical-align:middle; ">발 급 일 자</caption>
  325. <caption id="cap_cardno" class="cell_1" style="left:565px; top:144px; width:150px; height:23px; text-align:center; vertical-align:middle; ">카 드 번 호</caption>
  326. <caption id="cap_bankcd2" class="cell_1" style="left:565px; top:344px; width:150px; height:23px; text-align:center; vertical-align:middle; ">소 유 부 서</caption>
  327. <caption id="cap_areanm" class="cell_1" style="left:565px; top:369px; width:150px; height:23px; text-align:center; vertical-align:middle; ">소 유 자</caption>
  328. <input id="ipt_cardcd" ref="/root/main/detail/cardnoinfo/cardcd" class="input_s_essential" navindex="3" editable="false" maxlength="3" style="left:717px; top:121px; width:120px; height:19px; text-align:center; ">
  329. <script type="javascript" ev:event="DOMFocusOut">
  330. <![CDATA[
  331. fGetCardnoInfo(ipt_cardcd.value,"");
  332. ]]>
  333. </script>
  334. </input>
  335. <line id="line4" class="line_2" style="x1:565px; y1:167px; x2:1195px; y2:167px; "/>
  336. <caption id="cap_cardcd" class="cell_1" style="left:565px; top:119px; width:150px; height:23px; text-align:center; vertical-align:middle; ">카 드 코 드</caption>
  337. <line id="line7" class="line_2" style="x1:565px; y1:267px; x2:1195px; y2:267px; "/>
  338. <line id="line15" class="line_2" style="x1:566px; y1:392px; x2:1195px; y2:392px; "/>
  339. <caption id="caption14" class="cell_1" style="left:565px; top:244px; width:150px; height:23px; text-align:center; vertical-align:middle; ">유 효 년 월</caption>
  340. <caption id="caption15" class="cell_1" style="left:565px; top:219px; width:150px; height:23px; text-align:center; vertical-align:middle; ">종 료 일 자</caption>
  341. <input id="ipt_cmt" ref="/root/main/detail/cardnoinfo/cmt" class="input_default" navindex="21" style="left:717px; top:496px; width:450px; height:19px; "/>
  342. <line id="line14" class="line_2" style="x1:565px; y1:217px; x2:1195px; y2:217px; "/>
  343. <line id="line19" class="line_3" style="x1:563px; y1:519px; x2:1193px; y2:519px; "/>
  344. <caption id="caption12" class="cell_1" style="left:565px; top:294px; width:150px; height:23px; text-align:center; vertical-align:middle; ">폐 기 일 자</caption>
  345. <caption id="cap_acntcd" class="cell_1" style="left:565px; top:319px; width:150px; height:23px; text-align:center; vertical-align:middle; ">카 드 사 명</caption>
  346. <caption id="caption21" class="tit_2" style="left:5px; top:99px; width:131px; height:13px; ">법인카드 목록</caption>
  347. <caption id="caption1" class="tit_2" style="left:570px; top:99px; width:131px; height:13px; ">법인카드 정보</caption>
  348. <button id="btn_excsave" class="btn2_letter4" style="left:496px; top:95px; width:64px; height:19px; ">
  349. <caption>엑셀저장</caption>
  350. <script type="javascript" ev:event="DOMActivate">
  351. <![CDATA[
  352. misfSaveExcel(grd_cardnolist);
  353. ]]>
  354. </script>
  355. </button>
  356. <caption id="cap_bbookdeptcd" class="cell_1" style="left:565px; top:419px; width:150px; height:23px; text-align:center; vertical-align:middle; ">계 좌 번 호</caption>
  357. <line id="line12" class="line_2" style="x1:566px; y1:317px; x2:1195px; y2:317px; "/>
  358. <caption id="caption23" class="cell_1" style="left:565px; top:269px; width:150px; height:23px; text-align:center; vertical-align:middle; ">발 급 상 태</caption>
  359. <line id="line11" class="line_2" style="x1:563px; y1:192px; x2:1195px; y2:192px; "/>
  360. <input id="ipt_cardno" ref="/root/main/detail/cardnoinfo/cardno" class="input_default" navindex="4" maxlength="16" format="9999-9999-9999-9999" style="left:717px; top:146px; width:225px; height:19px; text-align:left; ">
  361. <script type="javascript" ev:event="xforms-value-changed">
  362. <![CDATA[
  363. fGetCardnoInfo("", ipt_cardno.value);
  364. ]]>
  365. </script>
  366. </input>
  367. <line id="line6" class="line_2" style="x1:565px; y1:242px; x2:1195px; y2:242px; "/>
  368. <button id="btn_init" class="btn2_letter2" style="left:1143px; top:95px; width:42px; height:19px; ">
  369. <caption>신규</caption>
  370. <script type="javascript" ev:event="DOMActivate">
  371. <![CDATA[
  372. fInitCardInfo();
  373. ]]>
  374. </script>
  375. </button>
  376. <group id="group2" style="left:0px; top:10px; width:1195px; height:80px; vertical-align:top; ">
  377. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" bankground-color="#fffbf2" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:80px; border-color:#ffd799; "/>
  378. <button id="btn_serch" class="btn1_letter2" navindex="30" style="left:1123px; top:18px; width:56px; height:22px; text-align:left; ">
  379. <caption>조회</caption>
  380. <script type="javascript" ev:event="DOMActivate">
  381. <![CDATA[
  382. fGetCardNolist();
  383. ]]>
  384. </script>
  385. </button>
  386. <caption id="caption2" class="search_name" style="left:371px; top:9px; width:91px; height:17px; ">소유부서 :</caption>
  387. <button id="btn_possdepthelp" class="icon_search" style="left:559px; top:10px; width:16px; height:16px; ">
  388. <caption/>
  389. <script type="javascript" ev:event="DOMActivate">
  390. <![CDATA[
  391. misfOpenPopUpList("02", ipt_deptcd, "", "deptcd,depthngnm");
  392. model.refresh()
  393. ]]>
  394. </script>
  395. </button>
  396. <input id="ipt_deptcd" ref="/root/send/params/deptcd" class="input_s_essential" navindex="1" maxlength="8" style="left:460px; top:8px; width:95px; height:19px; text-align:center; ">
  397. <script type="javascript" ev:event="onkeypress">
  398. <![CDATA[
  399. if(event.keyCode == 13)
  400. {
  401. model.setFocus("ipt_depthngnm");
  402. }
  403. ]]>
  404. </script>
  405. <script type="javascript" ev:event="xforms-value-changed">
  406. <![CDATA[
  407. racfDeptValidCheck("deptcd,depthngnm");
  408. ]]>
  409. </script>
  410. </input>
  411. <input id="ipt_depthngnm" ref="/root/send/params/depthngnm" class="input_default" navindex="2" style="left:583px; top:8px; width:137px; height:19px; ">
  412. <script type="javascript" ev:event="onkeypress">
  413. <![CDATA[
  414. if(event.keyCode == 13)
  415. {
  416. model.setFocus("btn_search");
  417. }
  418. ]]>
  419. </script>
  420. <script type="javascript" ev:event="xforms-value-changed">
  421. <![CDATA[
  422. racfDeptValidCheck("deptcd,depthngnm");
  423. ]]>
  424. </script>
  425. </input>
  426. <input id="ipt_name" ref="/root/send/params/emplnm" class="input_default" navindex="2" style="left:583px; top:34px; width:137px; height:19px; ">
  427. <script type="javascript" ev:event="onkeypress">
  428. <![CDATA[
  429. if(event.keyCode == 13)
  430. {
  431. model.setFocus("btn_search");
  432. }
  433. ]]>
  434. </script>
  435. <script type="javascript" ev:event="xforms-value-changed">
  436. <![CDATA[
  437. rpbfValidationCheck("EMPLNM", "emplno,emplnm");
  438. model.refresh();
  439. ]]>
  440. </script>
  441. </input>
  442. <caption id="caption10" class="search_name" style="left:370px; top:35px; width:91px; height:17px; ">소 유 자 :</caption>
  443. <input id="ipt_emplno" ref="/root/send/params/emplno" class="input_s_essential" navindex="1" maxlength="8" style="left:460px; top:34px; width:95px; height:19px; text-align:center; ">
  444. <script type="javascript" ev:event="onkeypress">
  445. <![CDATA[
  446. if(event.keyCode == 13)
  447. {
  448. model.setFocus("btn_search");
  449. }
  450. ]]>
  451. </script>
  452. <script type="javascript" ev:event="xforms-value-changed">
  453. <![CDATA[
  454. rpbfValidationCheck("EMPLNO", "emplno,emplnm");
  455. model.refresh();
  456. ]]>
  457. </script>
  458. </input>
  459. <button id="btn_emplno" class="icon_search" style="left:559px; top:36px; width:16px; height:16px; ">
  460. <caption/>
  461. <script type="javascript" ev:event="DOMActivate">
  462. <![CDATA[
  463. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, "emplno,emplnm", "", "N");
  464. model.refresh();
  465. ]]>
  466. </script>
  467. </button>
  468. <select1 id="cmb_instcd" ref="/root/send/params/instcd" class="combo_search" disabled="true" navindex="1" appearance="minimal" style="left:105px; top:8px; width:245px; height:19px; ">
  469. <choices>
  470. <itemset>
  471. <label/>
  472. <value/>
  473. </itemset>
  474. </choices>
  475. <script type="javascript" ev:event="xforms-value-changed">
  476. <![CDATA[
  477. fGetCardNolist();
  478. ]]>
  479. </script>
  480. </select1>
  481. <caption id="caption13" class="search_name" style="left:16px; top:9px; width:86px; height:17px; ">기관구분 :</caption>
  482. <line id="line56" class="line_4" style="x1:1107px; y1:8px; x2:1107px; y2:50px; border-color:#ffe4bb; border-left-style:solid; "/>
  483. <caption id="caption62" class="search_name" style="left:745px; top:10px; width:91px; height:17px; ">발급상태 :</caption>
  484. <caption id="caption63" class="search_name" style="left:745px; top:31px; width:91px; height:17px; ">카드번호 :</caption>
  485. <input id="input1" ref="/root/send/params/cardno" class="input_s_essential" navindex="1" maxlength="8" style="left:834px; top:30px; width:261px; height:19px; text-align:center; "/>
  486. <select1 id="rdo_issstat" ref="/root/send/params/issstat" navindex="9" overflow="hidden" appearance="full" cellspacing="20" cols="4" style="left:835px; top:10px; width:288px; height:17px; border-style:none; ">
  487. <choices>
  488. <item>
  489. <label>전체</label>
  490. <value/>
  491. </item>
  492. <item>
  493. <label>사용</label>
  494. <value>1</value>
  495. </item>
  496. <item>
  497. <label>일시정지</label>
  498. <value>2</value>
  499. </item>
  500. <item>
  501. <label>폐기</label>
  502. <value>3</value>
  503. </item>
  504. </choices>
  505. </select1>
  506. <select1 id="rdo_cardkind" ref="/root/send/params/cardkind" navindex="5" overflow="hidden" appearance="full" cellspacing="30" cols="3" style="left:105px; top:35px; width:265px; height:17px; border-style:none; ">
  507. <choices>
  508. <item>
  509. <label>전체</label>
  510. <value/>
  511. </item>
  512. <item>
  513. <label>법인공용</label>
  514. <value>1</value>
  515. </item>
  516. <item>
  517. <label>법인개별</label>
  518. <value>2</value>
  519. </item>
  520. </choices>
  521. </select1>
  522. <caption id="caption16" class="search_name" style="left:16px; top:35px; width:86px; height:17px; ">공용구분 :</caption>
  523. <select1 id="cmb_searchcardcmpycd" ref="/root/send/params/cardcmpycd" class="combo_search" disabled="false" navindex="1" appearance="minimal" style="left:105px; top:58px; width:245px; height:19px; ">
  524. <choices>
  525. <itemset>
  526. <label/>
  527. <value/>
  528. </itemset>
  529. </choices>
  530. <script type="javascript" ev:event="xforms-value-changed">
  531. <![CDATA[
  532. fGetCardNolist();
  533. ]]>
  534. </script>
  535. </select1>
  536. <caption id="caption17" class="search_name" style="left:16px; top:59px; width:86px; height:17px; ">카 드 사 :</caption>
  537. </group>
  538. <input id="ipt_possdeptnm" ref="/root/main/detail/cardnoinfo/possdeptnm" class="input_default" navindex="13" style="left:823px; top:346px; width:180px; height:19px; ">
  539. <script type="javascript" ev:event="onkeypress">
  540. <![CDATA[
  541. if(event.keyCode == 13)
  542. {
  543. model.setFocus("ipt_posspsn");
  544. }
  545. ]]>
  546. </script>
  547. <script type="javascript" ev:event="xforms-value-changed">
  548. <![CDATA[
  549. racfDeptValidCheck("possdeptcd,possdeptnm");
  550. ]]>
  551. </script>
  552. </input>
  553. <button id="button3" class="icon_search" style="left:803px; top:348px; width:16px; height:16px; ">
  554. <caption/>
  555. <script type="javascript" ev:event="DOMActivate">
  556. <![CDATA[
  557. misfOpenPopUpList("02", ipt_possdeptcd, "", "possdeptcd,possdeptnm");
  558. model.refresh();
  559. ]]>
  560. </script>
  561. </button>
  562. <button id="button4" class="icon_search" style="left:803px; top:372px; width:16px; height:16px; ">
  563. <caption/>
  564. <script type="javascript" ev:event="DOMActivate">
  565. <![CDATA[
  566. // misfOpenPopUpList("12", ipt_posspsn, "", "posspsn,posspsnnm");
  567. rpbfOpenPopUpList("SPRPB00101", ipt_emplnotemp, "emplno,emplnm", "", "N");
  568. model.setValue("/root/main/detail/cardnoinfo/posspsn", model.getValue("/root/send/temp/emplno"));
  569. model.setValue("/root/main/detail/cardnoinfo/posspsnnm", model.getValue("/root/send/temp/emplnm"));
  570. model.refresh();
  571. ]]>
  572. </script>
  573. </button>
  574. <input id="ipt_possdeptcd" ref="/root/main/detail/cardnoinfo/possdeptcd" class="input_default" navindex="12" maxlength="10" style="left:717px; top:346px; width:80px; height:19px; text-align:center; ">
  575. <script type="javascript" ev:event="onkeypress">
  576. <![CDATA[
  577. if(event.keyCode == 13)
  578. {
  579. model.setFocus("ipt_possdeptnm");
  580. }
  581. ]]>
  582. </script>
  583. <script type="javascript" ev:event="xforms-value-changed">
  584. <![CDATA[
  585. racfDeptValidCheck("possdeptcd,possdeptnm");
  586. ]]>
  587. </script>
  588. </input>
  589. <input id="ipt_issdd" ref="/root/main/detail/cardnoinfo/issdd" class="input_default" navindex="6" inputtype="date" style="left:717px; top:195px; width:120px; height:19px; text-align:left; "/>
  590. <select1 id="radio1" ref="/root/main/detail/cardnoinfo/issstat" navindex="9" overflow="hidden" appearance="full" cellspacing="55" cols="3" style="left:717px; top:272px; width:288px; height:17px; border-style:none; ">
  591. <choices>
  592. <item>
  593. <label>사용</label>
  594. <value>1</value>
  595. </item>
  596. <item>
  597. <label>일시정지</label>
  598. <value>2</value>
  599. </item>
  600. <item>
  601. <label>폐기</label>
  602. <value>3</value>
  603. </item>
  604. </choices>
  605. <script type="javascript" ev:event="xforms-value-changed">
  606. <![CDATA[
  607. if(rdo_issstat.value == "3")
  608. {
  609. ipt_abndd.disabled = false;
  610. }
  611. else
  612. {
  613. ipt_abndd.value = "";
  614. ipt_abndd.disabled = true;
  615. }
  616. ]]>
  617. </script>
  618. </select1>
  619. <input id="ipt_todd" ref="/root/main/detail/cardnoinfo/todd" class="input_s_essential" navindex="7" inputtype="date" style="left:717px; top:221px; width:120px; height:19px; text-align:left; "/>
  620. <input id="ipt_aactno" ref="/root/main/detail/cardnoinfo/aactno" class="input_default" navindex="17" style="left:717px; top:421px; width:180px; height:19px; ">
  621. <script type="javascript" ev:event="onkeypress">
  622. <![CDATA[
  623. if(event.keyCode == 13)
  624. {
  625. model.setFocus("ipt_depor");
  626. }
  627. ]]>
  628. </script>
  629. </input>
  630. <input id="ipt_uselmtamt" ref="/root/main/detail/cardnoinfo/uselmtamt" class="input_default" navindex="16" format="(-)#,###" style="left:717px; top:396px; width:120px; height:19px; text-align:right; "/>
  631. <input id="ipt_posspsn" ref="/root/main/detail/cardnoinfo/posspsn" class="input_default" navindex="14" maxlength="10" style="left:717px; top:370px; width:80px; height:19px; text-align:center; ">
  632. <script type="javascript" ev:event="onkeypress">
  633. <![CDATA[
  634. if(event.keyCode == 13)
  635. {
  636. model.setFocus("ipt_areanm");
  637. }
  638. ]]>
  639. </script>
  640. <script type="javascript" ev:event="xforms-value-changed">
  641. <![CDATA[
  642. model.setValue("/root/send/temp/emplno", model.getValue("/root/main/detail/cardnoinfo/posspsn"));
  643. model.setValue("/root/send/temp/emplnm", model.getValue("/root/main/detail/cardnoinfo/posspsnnm"));
  644. ipt_emplnotemp.dispatch("xforms-value-changed");
  645. // fValidationCheck("01-1", "posspsn,posspsnnm", "", "ipt_uselmtamt");
  646. ]]>
  647. </script>
  648. </input>
  649. <input id="ipt_posspsnnm" ref="/root/main/detail/cardnoinfo/posspsnnm" class="input_default" navindex="15" style="left:823px; top:370px; width:180px; height:19px; ">
  650. <script type="javascript" ev:event="onkeypress">
  651. <![CDATA[
  652. if(event.keyCode == 13)
  653. {
  654. model.setFocus("ipt_areanm");
  655. }
  656. ]]>
  657. </script>
  658. <script type="javascript" ev:event="xforms-value-changed">
  659. <![CDATA[
  660. model.setValue("/root/send/temp/emplno", model.getValue("/root/main/detail/cardnoinfo/posspsn"));
  661. model.setValue("/root/send/temp/emplnm", model.getValue("/root/main/detail/cardnoinfo/posspsnnm"));
  662. ipt_emplnmtemp.dispatch("xforms-value-changed");
  663. ]]>
  664. </script>
  665. </input>
  666. <line id="line16" class="line_2" style="x1:564px; y1:417px; x2:1193px; y2:417px; "/>
  667. <caption id="caption3" class="cell_1" style="left:565px; top:494px; width:150px; height:23px; text-align:center; vertical-align:middle; ">비 고</caption>
  668. <input id="ipt_abndd" ref="/root/main/detail/cardnoinfo/abndd" class="input_default" disabled="true" navindex="10" inputtype="date" style="left:717px; top:296px; width:120px; height:19px; text-align:left; "/>
  669. <input id="input2" ref="/root/main/detail/cardnoinfo/valiym" class="input_default" navindex="8" inputtype="date" format="yyyy-mm" style="left:717px; top:246px; width:120px; height:19px; text-align:left; "/>
  670. <select1 id="cmb_cardcmpycd" ref="/root/main/detail/cardnoinfo/cardcmpycd" class="combo_default" navindex="11" appearance="minimal" style="left:717px; top:320px; width:160px; height:19px; ">
  671. <choices>
  672. <itemset>
  673. <label/>
  674. <value/>
  675. </itemset>
  676. </choices>
  677. </select1>
  678. <caption id="caption5" class="cell_1" style="left:565px; top:169px; width:150px; height:23px; text-align:center; vertical-align:middle; ">카 드 구 분</caption>
  679. <line id="line5" class="line_2" style="x1:565px; y1:142px; x2:1195px; y2:142px; "/>
  680. <caption id="caption7" class="cell_1" style="left:565px; top:444px; width:150px; height:23px; text-align:center; vertical-align:middle; ">예 금 주</caption>
  681. <line id="line17" class="line_2" style="x1:564px; y1:442px; x2:1193px; y2:442px; "/>
  682. <line id="line18" class="line_2" style="x1:564px; y1:467px; x2:1193px; y2:467px; "/>
  683. <caption id="caption8" class="cell_1" style="left:565px; top:469px; width:150px; height:23px; text-align:center; vertical-align:middle; ">은 행</caption>
  684. <datagrid id="grd_cardhistlist" nodeset="/root/main/histlist/cardhistlist/movedd" caption="카드코드^이동일자^소유부서^소유부서^소유자^소유자^비고" colsep="^" colwidth="0, 89, 89, 103, 100, 95, 130" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="16" rowsep="|" style="left:565px; top:550px; width:628px; height:191px; ">
  685. <col ref="cardcd" visibility="hidden" style="text-align:center; "/>
  686. <col ref="movedd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
  687. <col ref="possdeptcd" type="inputbutton" format="yyyy-mm-dd" style="text-align:center; "/>
  688. <col ref="possdeptnm" type="input"/>
  689. <col ref="posspsn" type="inputbutton"/>
  690. <col ref="posspsnnm" type="input"/>
  691. <col ref="cmt" type="input"/>
  692. </datagrid>
  693. <caption id="caption9" class="tit_2" style="left:570px; top:528px; width:131px; height:13px; ">법인카드 이동 이력</caption>
  694. <line id="line20" class="line_1" style="x1:565px; y1:544px; x2:1195px; y2:544px; "/>
  695. <input id="ipt_banknm" ref="/root/main/detail/cardnoinfo/banknm" class="input_default" navindex="20" style="left:854px; top:471px; width:180px; height:19px; ">
  696. <script type="javascript" ev:event="onkeypress">
  697. <![CDATA[
  698. if(event.keyCode == 13)
  699. {
  700. ipt_banknm.value = ipt_banknm.currentText;
  701. misfValidationCheck("03", "R0001", "bankcd,banknm");
  702. model.refresh();
  703. }
  704. ]]>
  705. </script>
  706. </input>
  707. <input id="ipt_bankcd" ref="/root/main/detail/cardnoinfo/bankcd" class="input_default" navindex="19" style="left:717px; top:471px; width:115px; height:19px; ">
  708. <script type="javascript" ev:event="onkeypress">
  709. <![CDATA[
  710. if(event.keyCode == 13)
  711. {
  712. ipt_bankcd.value = ipt_bankcd.currentText.substr(0, 2);
  713. misfValidationCheck("03", "R0001", "bankcd,banknm");
  714. model.refresh();
  715. }
  716. ]]>
  717. </script>
  718. </input>
  719. <button id="btn_bankhelp" class="icon_search" style="left:835px; top:472px; width:16px; height:16px; ">
  720. <caption/>
  721. <script type="javascript" ev:event="DOMActivate">
  722. <![CDATA[
  723. misfOpenPopUpList("03", ipt_bankcd, "R0001", "bankcd,banknm");
  724. model.refresh()
  725. ]]>
  726. </script>
  727. </button>
  728. <input id="ipt_depor" ref="/root/main/detail/cardnoinfo/depor" class="input_default" navindex="18" style="left:717px; top:446px; width:180px; height:19px; ">
  729. <script type="javascript" ev:event="onkeypress">
  730. <![CDATA[
  731. if(event.keyCode == 13)
  732. {
  733. model.setFocus("ipt_bankcd");
  734. }
  735. ]]>
  736. </script>
  737. </input>
  738. <select1 id="radio2" ref="/root/main/detail/cardnoinfo/cardkind" navindex="5" overflow="hidden" appearance="full" cellspacing="30" cols="2" style="left:717px; top:171px; width:193px; height:17px; border-style:none; ">
  739. <choices>
  740. <item>
  741. <label>법인공용</label>
  742. <value>1</value>
  743. </item>
  744. <item>
  745. <label>법인개별</label>
  746. <value>2</value>
  747. </item>
  748. </choices>
  749. </select1>
  750. <button id="but_grddel" class="btn2_letter3" navindex="52" style="left:1137px; top:523px; width:53px; height:19px; ">
  751. <caption>행삭제</caption>
  752. </button>
  753. <button id="but_grdinst" class="btn2_letter3" navindex="51" style="left:1081px; top:523px; width:53px; height:19px; ">
  754. <caption>행삽입</caption>
  755. </button>
  756. <input id="ipt_emplnotemp" ref="/root/send/temp/emplno" class="input_default" navindex="14" visibility="hidden" maxlength="10" style="left:1025px; top:370px; width:30px; height:19px; text-align:center; ">
  757. <script type="javascript" ev:event="onkeypress">
  758. <![CDATA[
  759. if(event.keyCode == 13)
  760. {
  761. model.setFocus("ipt_areanm");
  762. }
  763. ]]>
  764. </script>
  765. <script type="javascript" ev:event="xforms-value-changed">
  766. <![CDATA[
  767. rpbfValidationCheck("EMPLNO", "emplno,emplnm");
  768. model.setValue("/root/main/detail/cardnoinfo/posspsn", model.getValue("/root/send/temp/emplno"));
  769. model.setValue("/root/main/detail/cardnoinfo/posspsnnm", model.getValue("/root/send/temp/emplnm"));
  770. model.refresh();
  771. ]]>
  772. </script>
  773. </input>
  774. <input id="ipt_emplnmtemp" ref="/root/send/temp/emplnm" class="input_default" navindex="14" visibility="hidden" maxlength="10" style="left:1060px; top:370px; width:30px; height:19px; text-align:center; ">
  775. <script type="javascript" ev:event="onkeypress">
  776. <![CDATA[
  777. if(event.keyCode == 13)
  778. {
  779. model.setFocus("ipt_areanm");
  780. }
  781. ]]>
  782. </script>
  783. <script type="javascript" ev:event="xforms-value-changed">
  784. <![CDATA[
  785. rpbfValidationCheck("EMPLNM", "emplno,emplnm");
  786. model.setValue("/root/main/detail/cardnoinfo/posspsn", model.getValue("/root/send/temp/emplno"));
  787. model.setValue("/root/main/detail/cardnoinfo/posspsnnm", model.getValue("/root/send/temp/emplnm"));
  788. model.refresh();
  789. ]]>
  790. </script>
  791. </input>
  792. <input id="ipt_maxno" ref="/root/main/maxno/maxno" visibility="hidden" style="left:1070px; top:120px; width:45px; height:19px; "/>
  793. </group>
  794. <group id="group4" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
  795. <button id="btn_save" class="btn4_letter2" navindex="22" style="left:1137px; top:2px; width:56px; height:22px; ">
  796. <caption>저장</caption>
  797. <script type="javascript" ev:event="DOMActivate">
  798. <![CDATA[
  799. fInsCardnoInfo();
  800. ]]>
  801. </script>
  802. </button>
  803. <button id="btn_delete" class="btn4_letter2" visibility="hidden" style="left:1080px; top:2px; width:56px; height:22px; ">
  804. <caption>삭제</caption>
  805. <script type="javascript" ev:event="DOMActivate">
  806. <![CDATA[
  807. fDelCardnoInfo();
  808. ]]>
  809. </script>
  810. </button>
  811. <line id="line2" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  812. <button id="btn_prt" class="btn6_letter2" visibility="visible" style="left:2px; top:3px; width:56px; height:22px; ">
  813. <caption>출력</caption>
  814. </button>
  815. <button id="button2" class="btn4_letter2" navindex="22" style="left:60px; top:3px; width:56px; height:22px; ">
  816. <caption>복사</caption>
  817. <script type="javascript" ev:event="DOMActivate">
  818. <![CDATA[
  819. modal("SMRAC00750");
  820. btn_serch.dispatch("DOMActivate");
  821. ]]>
  822. </script>
  823. </button>
  824. </group>
  825. </xhtml:body>
  826. </xhtml:html>