123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <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">
- <xhtml:head>
- <xhtml:title>법인카드복사</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <copycardnoinfo/>
- </list>
- </main>
- <send>
- <instcd/>
- <emplno/>
- <emplnm/>
- <retrparams>
- <copycardnoinfo/>
- </retrparams>
- <relation>Y</relation>
- </send>
- <init>
- <cardcd/>
- </init>
- <temp>
- </temp>
- </root>
- </instance>
- <submission id="TRRAC00705" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
- <submission id="TXRAC00705" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams" resultref="/root/temp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- //========================================================================================
- //초기화
- //========================================================================================
- function fInitialize()
- {
- var instcd = getUserInfo("dutplceinstcd");
- model.removenode("/root/main/list/copycardnoinfo");
- model.setValue("/root/send/instcd", instcd);
-
- if(instcd == '001')
- {
- rdo_relation.visible = true;
- cap_relation.visible = true;
- }
-
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="680" pageheight="510" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group1" style="left:0px; top:0px; width:610; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:190px; height:14px; ">법인카드복사</caption>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:12px; width:660px; height:457px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:27px; width:660px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption1" class="tit_2" style="left:10px; top:74px; width:190px; height:13px; ">법인카드</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:88px; x2:660px; y2:88px; "/>
- <line id="line21" class="line_4" style="x1:574px; y1:34px; x2:574px; y2:56px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:589px; top:34px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRRAC00705");
- ]]>
- </script>
- </button>
- <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; ">
- <col ref="copyinstcd" visibility="hidden"/>
- <col ref="instcd"/>
- <col ref="instnm" style="text-align:center; "/>
- <col ref="cardcd" style="text-align:center; "/>
- <col ref="cardno" style="text-align:center; "/>
- <col ref="cardkind"/>
- <col ref="issdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="todd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="valiym" style="text-align:center; "/>
- <col ref="issstat" style="text-align:center; "/>
- <col ref="possdeptcd"/>
- <col ref="posspsn"/>
- <col ref="posspsnnm"/>
- <col ref="copycardcd" visibility="hidden"/>
- </datagrid>
- <line id="line13" class="line_2" style="x1:29px; y1:87px; x2:379px; y2:87px; "/>
- <caption id="cap_cardcd" class="cell_1" style="left:312px; top:64px; width:150px; height:23px; text-align:center; vertical-align:middle; ">카 드 코 드</caption>
- <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; "/>
- <button id="btn_save" class="btn4_letter2" navindex="23" style="left:590px; top:65px; width:56px; height:22px; ">
- <caption>복사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(grd_copycardnoinfo.row < grd_copycardnoinfo.fixedRows)
- {
- messageBox("복사할 카드를 마우스로 클릭하여 선택하세요.", "I000");
- return;
- }
-
- if(model.getValue("/root/init/cardcd") == "")
- {
- messageBox("생성할 카드코드를 입력하세요", "I000");
- return;
- }
-
- model.setValue(grd_copycardnoinfo.nodeset + "[" + grd_copycardnoinfo.row + "]/copycardcd", model.getValue("/root/init/cardcd"));
-
- grd_copycardnoinfo.rowStatus(grd_copycardnoinfo.row) = 2;
-
- model.makeValue("/root/send/retrparams/copycardnoinfo", grd_copycardnoinfo.getUpdateData());
-
- submit("TXRAC00705");
-
- messageBox("복사가 완료되었습니다.", "I000");
-
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <caption id="caption10" class="search_name" style="left:10px; top:37px; width:91px; height:17px; ">소유자 :</caption>
- <input id="ipt_name" ref="/root/send/emplnm" class="input_default" navindex="2" style="left:207px; top:36px; width:91px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- model.setFocus("btn_search");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rpbfValidationCheck("EMPLNM", "emplno,emplnm");
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_emplno" class="icon_search" style="left:183px; top:38px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rpbfOpenPopUpList("SPRPB00101", ipt_emplno, "emplno,emplnm", "", "N");
- model.refresh();
-
- ]]>
- </script>
- </button>
- <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; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- model.setFocus("btn_search");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- rpbfValidationCheck("EMPLNO", "emplno,emplnm");
- model.refresh();
- ]]>
- </script>
- </input>
- <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; ">
- <choices>
- <item>
- <label>겸직</label>
- <value>Y</value>
- </item>
- <item>
- <label>기타</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="cap_relation" class="search_relation" visibility="hidden" style="left:355px; top:37px; width:88px; height:17px; ">겸직여부 :</caption>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:469px; width:660px; height:27px; ">
- <line id="line1" class="line_6" style="x1:0px; y1:0px; x2:610px; y2:-10px; "/>
- <button id="btn_close" class="btn4_letter2" style="left:604px; top:2px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|