123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288 |
- <?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>계좌구분별 이체계좌HELP</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <transacntinfo>
- <chk/>
- <data1/>
- <acntflagcd/>
- <acntflagnm/>
- <rcipntacntno/>
- <bankcd/>
- <banknm/>
- <depor/>
- </transacntinfo>
- </list>
- </main>
- <send>
- <data1>
- <instcd/>
- <acntflagcd/>
- <acntflagnm/>
- <acntflag/>
- <getcond/>
- <dutplceinstcd/>
- </data1>
- </send>
- <hidden>
- </hidden>
- <init>
- </init>
- <temp/>
- <target/>
- </root>
- </instance>
- <submission id="TRRAD00110" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/main/list"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fOpenForm();
- //공통함수 호출(help명)
- misfMsterDetailSet(grd_transacntinfo, null, "TRRAD00110", "N");
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
- <script type="javascript">
- <![CDATA[
- //========================================================================================
- //화면 로드시 초기화 함수
- //========================================================================================
- function fOpenForm()
- {
- misfComboComCdList("Z0007", cmb_dutplceinstcd, "Y");
-
- var instcd = model.getValue("/root/target/defaultvalue/instcd");
- var acntflag = model.getValue("/root/target/defaultvalue/acntflag");
- var acntflagcd = model.getValue("/root/target/defaultvalue/acntflagcd");
- var acntflagnm = model.getValue("/root/target/defaultvalue/acntflagnm");
- model.removenode("/root/main/list/transacntinfo");
-
- model.refresh()
-
- var sColWidth = "";
- if(acntflag == "4")
- {
- cap_acntsnm.value = "이 름";
- cap_acntscd.value = "사 번";
- cap_dutplceinstcd.visible = true;
- cmb_dutplceinstcd.visible = true;
- cap_title.value = "교직원 이체계좌 HELP";
- sColWidth = "36,100, 90,100,100,80,55,130,130,120";
-
- grd_transacntinfo.caption = "선택^근무지기관^사번^이름^근무부서^직위^은행코드^은행명^계좌번호^예금주"
- }
- else
- {
- if(acntflag == "1")
- {
- cap_acntsnm.value = "거 래 처 명";
- cap_acntscd.value = "사업자등록번호";
- cap_title.value = "거래처 이체계좌 HELP";
-
- grd_transacntinfo.caption = "선택^근무지기관^거래처명^사업자등록번호^근무부서^직위^은행코드^은행명^계좌번호^예금주"
-
- }
- else if(acntflag == "5")
- {
- cap_acntsnm.value = "이 름";
- cap_acntscd.value = "주민등록번호";
- cap_title.value = "소득자 이체계좌 HELP";
-
- grd_transacntinfo.caption = "선택^근무지기관^주민등록번호^이름^근무부서^직위^은행코드^은행명^계좌번호^예금주"
- }
- sColWidth = "36,0, 100,100,0,100,75,150,150,120";
- }
-
- var arrColWidth = sColWidth.split(",");
-
- for(var i = 1; i <= arrColWidth.length; i++)
- {
- grd_transacntinfo.colWidth(i) = parseFloat(arrColWidth[i-1]);
- }
-
- if(instance1.selectNodes("/root/target/defaultvalue").length != 0)
- {
- model.setValue("/root/send/data1/instcd",instcd);
- model.setValue("/root/send/data1/acntflag",acntflag);
- model.setValue("/root/send/data1/acntflagcd",acntflagcd);
- model.setValue("/root/send/data1/acntflagnm",acntflagnm);
- model.refresh();
-
- if (acntflagcd != "" || acntflagnm != "")
- {
- btn_search.dispatch("DOMActivate");
- }
- }
- }
-
- //========================================================================================
- //이체계좌 조회
- //========================================================================================
- function fGettransacnt()
- {
- // model.removenode("/root/main/list/transacntinfo");//조회시 기존 데이터 삭제
- // model.refresh()
-
- var sNm = model.getValue("/root/send/data1/acntflagnm");
- var sCd = model.getValue("/root/send/data1/acntflagcd");
-
- if(model.getValue("/root/target/defaultvalue/acntflag") == "4")
- {
- if(sNm == "" && sCd == "")
- {
- messageBox("코드 또는 명칭을", "C001");
- return;
- }
- }
- if(sNm != "")
- {
- model.setValue("/root/send/data1/getcond", "name");
- }
- else
- {
- model.setValue("/root/send/data1/getcond", "code");
- }
-
- submit("TRRAD00110");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="930" pageheight="760" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:907px; height:35px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:905px; height:35px; "/>
- <button id="btn_search" class="btn1_letter2" navindex="3" style="left:832px; top:6px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGettransacnt();
- ]]>
- </script>
- </button>
- <caption id="cap_acntsnm" class="search_name" visibility="visible" style="left:32px; top:9px; width:102px; height:17px; ">계좌구분명 :</caption>
- <caption id="cap_acntscd" class="search_name" visibility="visible" style="left:300px; top:9px; width:132px; height:17px; ">계좌구분코드 :</caption>
- <line id="line5" class="line_4" style="x1:824px; y1:7px; x2:824px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="input1" ref="/root/send/data1/acntflagnm" class="input_s_essential" navindex="1" style="left:135px; top:8px; width:155px; 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[
- model.setValue("/root/send/data1/acntflagcd", "");
- model.setValue("/root/send/data1/getcond", "name");
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <input id="input2" ref="/root/send/data1/acntflagcd" class="input_s_essential" navindex="2" style="left:418px; top:8px; width:150px; 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[
- model.setValue("/root/send/data1/acntflagnm", "");
- model.setValue("/root/send/data1/getcond", "code");
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <select1 id="cmb_dutplceinstcd" ref="/root/send/data1/dutplceinstcd" class="combo_essential" disabled="false" navindex="-1" visibility="hidden" appearance="minimal" style="left:650px; top:8px; width:158px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_dutplceinstcd" class="search_name" visibility="hidden" style="left:575px; top:9px; width:132px; height:17px; ">기 관 :</caption>
- </group>
- <group id="group1" style="left:0px; top:0px; width:907px; height:13px; ">
- <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:293px; height:14px; ">계좌구분별 이체계좌HELP</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:50px; width:907px; height:654px; ">
- <line id="line3" class="line_1" style="x1:0px; y1:25px; x2:905px; y2:25px; "/>
- <caption id="caption21" class="tit_2" style="left:5px; top:55px; width:131px; height:14px; ">기재사항 코드 목록</caption>
- <datagrid id="grd_transacntinfo" nodeset="/root/main/list/transacntinfo" caption="선택^근무지기관^계좌구분코드^계좌구분명^근무부서^직위^은행코드^은행명^계좌번호^예금주" colsep="^" colwidth="36, 0, 90, 100, 100, 80, 55, 130, 130, 120" dataheight="25" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:30px; width:905px; height:623px; ">
- <col checkvalue="Y,N" ref="chk" type="checkbox"/>
- <col ref="data1"/>
- <col ref="acntflagcd"/>
- <col ref="acntflagnm"/>
- <col ref="deptnm"/>
- <col ref="jobposnm"/>
- <col ref="bankcd"/>
- <col ref="banknm"/>
- <col ref="rcipntacntno"/>
- <col ref="depor"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if( grd_transacntinfo.isCell(event.target) && grd_transacntinfo.row >= grd_transacntinfo.fixedRows )
- {
- misfPopUpListReturn(grd_transacntinfo);
- }
- ]]>
- </script>
- </datagrid>
- <output id="output1" ref="/root/send/data1/instcd" visibility="hidden" style="left:345px; top:5px; width:50px; height:19px; "/>
- <output id="output2" ref="/root/send/data1/acntflag" visibility="hidden" style="left:405px; top:5px; width:50px; height:19px; "/>
- <output id="output3" ref="/root/hidden/condition/unslno" visibility="hidden" style="left:465px; top:5px; width:50px; height:19px; "/>
- <caption id="caption2" class="tit_2" style="left:5px; top:7px; width:165px; height:14px; ">구분별 이체계좌내역</caption>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:704px; width:907px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" style="left:789px; top:2px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- //misfPopUpListReturn(grd_transacntinfo);
- if(misfCountCheckedList(grd_transacntinfo, grd_transacntinfo.colRef("chk")) == 0)
- {
- window.close();
- }
- else
- {
- misfPopUpCheckedListReturn(grd_transacntinfo, grd_transacntinfo.colRef("chk"));
- }
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" style="left:846px; top:2px; 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:702px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|