123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPPMC06200_가상계좌기관코드관리.xrw
- * 설 명 : 가상계좌기관코드관리
- * 설 계 자 : JHP
- * 작 성 자 : JHP
- * 작 성 일 : 2008.12.22
- -->
- <?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>가상계좌기관코드관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <grid>
- <vainstlist>
- <vainst/>
- </vainstlist>
- </grid>
- </main>
- <send>
- <vainstref>
- <vainstnm/>
- <vainstcd/>
- </vainstref>
- <savevainst>
- <vainstcd/>
- <vainstnm/>
- <remfact/>
- <saveflag/>
- </savevainst>
- </send>
- <hidden>
- <savecnt>
- <setcnt/>
- <msg/>
- </savecnt>
- <transvainstcd>
- <vainstcd/>
- </transvainstcd>
- </hidden>
- <init/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRPAM00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/hidden/tmp"/>
- <submission id="TRPMC06200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/vainstref" resultref="/root/main/grid/vainstlist"/>
- <submission id="TXPMC06200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savevainst" resultref="/root/hidden/savecnt"/>
- <submission id="TXPMB02000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/updateData/grdGroupData"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize()
- {
- // var saveflag = ipt_saveflag.value;
- // if(saveflag == 'I' || saveflag == ''){
- // ipt_savevainstcd.disabled= false;
- // }else{
- // ipt_savevainstcd.disabled=true;
- // }
- }
-
- // 저장
- function fSaveVainstcd(){
- model.resetInstanceNode("/root/hidden/savecnt");
- var vainstcd = ipt_savevainstcd.value;
- var vainstnm = ipt_savevainstnm.value;
- var remfact = ipt_saveremfact.value;
- //if(vainstcd == "" || vainstnm == ""){
- if(vainstnm == ""){
- messageBox("저장내용을 ","C001");
- return false;
- }else{
- var message = messageBox("입력하신 가상계좌기관코드를 저장 ","Q004");
- if(message == '6'){
- var saveflag1 = model.getValue("/root/send/savevainst/saveflag");
- if(saveflag1 == ""){
- model.setValue("/root/send/savevainst/saveflag","I");
- model.refreshpart("/root/send/savevainst/saveflag");
- }
- submit("TXPMC06200");
- }else{
- messageBox("저장/수정 ", "E009");
- }
- }
- }
-
- // 저장 / 수정
- function fDelVainstcd(){
- model.resetInstanceNode("/root/hidden/savecnt");
- var vainstcd = ipt_savevainstcd.value;
- var vainstnm = ipt_savevainstnm.value;
- var remfact = ipt_saveremfact.value;
- if(vainstcd == ""){
- messageBox("삭제내용을 ","C001");
- return false;
- }else{
- var message = messageBox("입력하신 가상계좌기관코드를 ","Q001");
- if(message == '6'){
- model.setValue("/root/send/savevainst/saveflag","D");
- submit("TXPMC06200");
- }else{
- messageBox("삭제를 ", "E009");
- }
- }
- }
-
- // 재조회
- function fReRef(){
- var cnt = model.getValue("/root/hidden/savecnt/setcnt");
- var msg = model.getValue("/root/hidden/savecnt/msg");
- if(msg != ""){
- alert(msg);
- }
- submit("TRPMC06200");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="660" pageheight="550" style="margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
- <group id="group2" scroll="auto" style="left:5px; top:54px; width:650px; height:465px; ">
- <datagrid id="datagrid2" nodeset="/root/main/grid/vainstlist/vainst" visibility="visible" caption="가상계좌기관코드^가상계좌기관명^비고^최초등록자^최초등록일시^최종수정자^최종수정일시" colsep="^" colwidth="110, 192, 323, 98, 150, 94, 153" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" navindex="10" style="left:2px; top:109px; width:648px; height:352px; ">
- <col ref="vainstcd" style="text-align:center; "/>
- <col ref="vainstnm" style="text-align:center; "/>
- <col ref="remfact" style="text-align:left; "/>
- <col ref="fstrgstrid" style="text-align:left; "/>
- <col ref="fstrgstdt" style="text-align:right; "/>
- <col ref="lastupdtrid" style="text-align:center; "/>
- <col ref="lastupdtdt" style="text-align:center; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- ipt_savevainstcd.disabled=true;
-
- var row = datagrid2.row;
- if(row > 0){
- model.copyNode("/root/send/savevainst","/root/main/grid/vainstlist/vainst[" + row + "]");
- model.makeNode("/root/send/savevainst/saveflag");
- model.setValue("/root/send/savevainst/saveflag","U");
-
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var vainstcd = model.getValue("/root/main/grid/vainstlist/vainst[" + datagrid2.row + "]/vainstcd");
- model.setValue("/root/hidden/transvainstcd/vainstcd",vainstcd);
- if ( checkOpener() ) { // (common.js) 자신을 Open한 opener의 현재 UID가 자신을 open한 시점의 UID와 비교하여 변경되었는지 여부를 반환
- model.setValue(opener.root.send.send_pid.pid, vainstcd); // 심사자여부
- model.refreshpart(opener.root.send.send_pid.pid);
- opener.javascript.fPatInfo();
- } else {
- messageBox("상위화면이 변경되어 데이터를 전달할 수", "I004"); ///상위화면이 변경되어 데이터를 전달할 수 없습니다.
- }
- window.close();
- ]]>
- </script>
- </datagrid>
- <button id="btn_save" class="btn2_letter2" navindex="8" style="left:561px; top:6px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveVainstcd();
- fReRef();
- ]]>
- </script>
- </button>
- <caption id="caption9" class="tit_2" style="left:4px; top:89px; width:135px; height:13px; ">상세 코드 조회</caption>
- <line id="line5" class="line_1" style="x1:0px; y1:104px; x2:650px; y2:104px; "/>
- <input id="ipt_saveremfact" ref="/root/send/savevainst/remfact" navindex="7" autonext="false" style="left:121px; top:56px; width:526px; height:19px; "/>
- <caption id="caption13" class="cell_1" style="left:4px; top:28px; width:116px; height:23px; ">가상계좌기관코드</caption>
- <caption id="caption14" class="cell_1" style="left:228px; top:28px; width:116px; height:23px; ">가상계좌 기관명</caption>
- <input id="ipt_savevainstnm" ref="/root/send/savevainst/vainstnm" navindex="6" autonext="false" style="left:344px; top:30px; width:303px; height:19px; "/>
- <caption id="caption16" class="cell_1" style="left:4px; top:54px; width:116px; height:23px; ">비 고</caption>
- <input id="ipt_savevainstcd" ref="/root/send/savevainst/vainstcd" disabled="true" navindex="5" autonext="false" style="left:120px; top:30px; width:105px; height:19px; "/>
- <line id="line12" class="line_2" style="x1:0px; y1:78px; x2:650px; y2:78px; "/>
- <line id="line1" class="line_2" style="x1:0px; y1:26px; x2:650px; y2:26px; "/>
- <line id="line2" class="line_2" style="x1:0px; y1:52px; x2:650px; y2:52px; "/>
- <button id="btn_del" class="btn5_letter2" navindex="9" style="left:604px; top:6px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelVainstcd();
- fReRef();
- ]]>
- </script>
- </button>
- <input id="ipt_saveflag" ref="/root/send/savevainst/saveflag" disabled="true" navindex="4" visibility="hidden" autonext="false" style="left:5px; top:5px; width:15px; height:19px; "/>
- </group>
- <group id="group1" style="left:6px; top:3px; width:650px; height:13px; ">
- <caption id="caption7" class="tit_1" style="left:0px; top:0px; width:254px; height:14px; ">가상계좌 기관코드관리</caption>
- </group>
- <group id="group5" style="left:5px; top:521px; width:650px; height:27px; vertical-align:top; ">
- <button id="button3" class="btn4_letter3" navindex="11" style="left:580px; top:2px; width:68px; height:22px; text-align:left; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.reset();
- fInitialize();
- ]]>
- </script>
- </button>
- </group>
- <group id="group3" style="left:5px; top:18px; width:650px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:650px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption1" class="search_name" style="left:5px; top:8px; width:75px; height:17px; ">기관명 :</caption>
- <caption id="caption2" class="search_name" style="left:295px; top:8px; width:90px; height:17px; vertical-align:middle; ">기관코드 :</caption>
- <button id="btn_search" class="btn1_letter2" navindex="3" style="left:588px; top:8px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRPMC06200");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_vainstnm" ref="/root/send/vainstref/vainstnm" navindex="1" style="left:80px; top:7px; width:205px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_vainstcd" ref="/root/send/vainstref/vainstcd" navindex="2" maxlength="14" style="left:385px; top:7px; width:105px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <line id="line4" class="line_4" style="x1:579px; y1:8px; x2:579px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|