123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>법인카드 Help</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <cardlist/>
- </main>
- <send>
- <condition>
- <refcond>cardno</refcond>
- <retrnm/>
- <acntcd/>
- <instcd/>
- <deptcd/>
- <depthngnm/>
- <emplno/>
- <emplnm/>
- <cardkind/>
- </condition>
- </send>
- <target>
- </target>
- <init>
- </init>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fOpenForm();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- //========================================================================================
- //화면 로드시 초기화 함수
- //========================================================================================
- function fOpenForm()
- {
- model.setValue("/root/send/condition/instcd", model.getValue("/root/target/cardinfo/instcd"));
- model.setValue("/root/send/condition/deptcd", model.getValue("/root/target/cardinfo/deptcd"));
-
- // if(model.getValue("/root/target/cardinfo/deptcd") == "")
- // {
- // cap_deptnm.visible = true;
- // ipt_deptcd.visible = true;
- // btn_possdepthelp.visible = true;
- // ipt_depthngnm.visible = true;
- // }
-
- model.removenode("/root/main/cardlist");
-
- if(instance1.selectNodes("/root/target/validation/cardlist").length == 0)
- {
- fGetcardList();
- }
- else
- {
- model.copyNode("root/main","/root/target/validation");
- }
-
- model.setFocus("ipt_retrnm");
- model.refresh();
- }
-
- //========================================================================================
- //계좌코드 조회
- //========================================================================================
- function fGetcardList()
- {
- model.removenode("/root/main/cardlist");//조회시 기존 데이터 삭제
- submit("TRRAC90801");
- }
- ]]>
- </script>
- <submission id="TRRAC90801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condition" resultref="/root/main/cardlist"/>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="720" pageheight="680" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:8px; top:0px; width:680px; height:622px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:96px; width:139px; height:13px; ">법인카드 리스트</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:110px; x2:680px; y2:110px; "/>
- <group id="group6" style="left:0px; top:5px; width:680px; height:85px; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:680px; height:85px; "/>
- <line id="line8" class="line_4" style="x1:604px; y1:12px; x2:604px; y2:76px; "/>
- <caption id="caption5" class="search_name" style="left:5px; top:9px; width:88px; height:17px; ">조회조건 :</caption>
- <button id="btn_search" class="btn1_letter2" navindex="4" style="left:614px; top:32px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetcardList();
- ]]>
- </script>
- </button>
- <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; ">
- <choices>
- <item>
- <label>카드코드</label>
- <value>cardcd</value>
- </item>
- <item>
- <label>카드번호</label>
- <value>cardno</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_retrnm" ref="/root/send/condition/retrnm" class="input_s_essential" navindex="3" style="left:264px; top:8px; width:195px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- ipt_retrnm.value = ipt_retrnm.currentText;
-
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- <caption id="caption16" class="search_name" style="left:5px; top:35px; width:86px; height:17px; ">공용구분 :</caption>
- <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; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>법인공용</label>
- <value>1</value>
- </item>
- <item>
- <label>법인개별</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption10" class="search_name" style="left:5px; top:60px; width:91px; height:17px; ">소 유 자 :</caption>
- <button id="btn_emplno" class="icon_search" style="left:169px; top:61px; 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/condition/emplno" class="input_s_essential" navindex="1" maxlength="8" style="left:95px; top:59px; width:70px; 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>
- <input id="ipt_name" ref="/root/send/condition/emplnm" class="input_default" navindex="2" style="left:188px; top:59px; width:87px; 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>
- <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; ">
- <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[
- racfDeptValidCheck("deptcd,depthngnm");
- ]]>
- </script>
- </input>
- <caption id="cap_deptnm" class="search_name" visibility="visible" style="left:286px; top:60px; width:91px; height:17px; ">소유부서 :</caption>
- <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; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
-
- if(event.keyCode == 13)
- {
- model.setFocus("ipt_depthngnm");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- racfDeptValidCheck("deptcd,depthngnm");
- ]]>
- </script>
- </input>
- <button id="btn_possdepthelp" class="icon_search" visibility="visible" style="left:459px; top:60px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- misfOpenPopUpList("02", ipt_deptcd, "", "deptcd,depthngnm");
- model.refresh()
-
- ]]>
- </script>
- </button>
- </group>
- <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; ">
- <col ref="cardkind" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>법인공용</label>
- <value>1</value>
- </item>
- <item>
- <label>법인개별</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="cardcd" style="text-align:center; "/>
- <col ref="cardno" format="9999-9999-9999-9999" style="text-align:center; "/>
- <col ref="posspsnid" visibility="hidden"/>
- <col ref="posspsnnm"/>
- <col ref="possdeptcd" visibility="hidden"/>
- <col ref="possdeptnm"/>
- <col ref="issdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="todd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="abndd" format="yyyy-mm-dd" style="text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
-
- if( grd_cardlist.isCell(event.target) && grd_cardlist.row >= grd_cardlist.fixedRows )
- {
- btn_confirm.dispatch("DOMActivate");
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_cardlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group1" scroll="auto" style="left:8px; top:631px; width:580px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" style="left:466px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- //model.makeValue("root/source/cardno", grd_cardlist.valueMatrix(grd_cardlist.row, grd_cardlist.colRef("cardno")));
-
- opener.model.setValue("/root/main/list/cardexpsevdnc/instcardseqno", grd_cardlist.valueMatrix(grd_cardlist.row, grd_cardlist.colRef("cardno")).replace("-",""));
-
-
- window.close();
- //misfPopUpListReturn(grd_cardlist);
-
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" style="left:524px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:578px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|