123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304 |
- <?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>
- <grnt>
- <grntlist1>
- <gubun/>
- <month/>
- <defrayreqdd/>
- <acntcd/>
- <acntnm/>
- <custnm/>
- <cdbojo1/>
- <slipcmt/>
- <drcrflag/>
- <sanctslipdd/>
- <sanctslipno/>
- <balacntcd/>
- <balacntnm/>
- <dramt/>
- <cramt/>
- <miamt/>
- <title/>
- </grntlist1>
- </grnt>
- </main>
- <init/>
- <send>
- <fromdd/>
- <todd/>
- <instcd/>
- <acntcd/>
- <fromacntcd/>
- <toacntcd/>
- <fromcustcode/>
- <tocustcode/>
- <fromcustnm/>
- <tocustnm/>
- <custcode/>
- </send>
- <custinfo>
- <custlist>
- <aactno/>
- <bankcd/>
- <depor/>
- <custnm/>
- </custlist>
- </custinfo>
- <init>
- <combo3>
- <acntcmb>
- <acntcd/>
- <acntnm/>
- </acntcmb>
- </combo3>
- </init>
- <hidden/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
- makeReportPreview(0,110,1195,650);
-
- var today = getCurrentDate();
- var cur_yymm = parseInt(today.substring(0, 6));
-
- model.setValue("/root/send/fromdd", today);
- model.setValue("/root/send/todd", today);
- //ipt_payym.refresh();
- //submit("TRRAD01504");
- model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
- model.refresh();
- model.setFocus("ipt_payym");
- ]]>
- </script>
- <submission id="TRRAD04101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/grnt"/>
- <submission id="TRRAD01504" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/paydedu" resultref="/root/init/combo3"/>
- <submission id="TRRAD01502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/custinfo"/>
- </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" src="../../../mis/paybnusmngtweb/js/RWP001.js"/>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-right:8; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">거래처원장</caption>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:40px; width:1195px; height:740px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1193px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1130px; top:17px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRRAD04101");
- exeReportPreview("RPRAD04101", "XMLSTR");//, "/root/main/payamt");
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1120px; y1:10px; x2:1120px; y2:44px; "/>
- <caption id="cap_payinst" class="search_name" style="left:15px; top:19px; width:86px; height:17px; ">소속기관:</caption>
- <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" disabled="true" appearance="minimal" style="left:96px; top:18px; width:125px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption22" class="search_name" style="left:231px; top:18px; width:81px; height:17px; ">기준일자:</caption>
- <input id="ipt_payym" ref="/root/send/fromdd" class="input_default" navindex="1" inputtype="date" format="yyyy-mm-dd" style="left:315px; top:18px; width:105px; height:19px; text-align:center; vertical-align:middle; "/>
- <caption id="caption28" class="tit_2" style="left:5px; top:53px; width:209px; height:14px; ">거래처거래내역</caption>
- <line id="line193" class="line_1" style="x1:2px; y1:66px; x2:1192px; y2:66px; "/>
- <caption id="caption2" class="search_name" style="left:540px; top:18px; width:94px; height:17px; ">계정과목:</caption>
- <select1 id="combo1" ref="/root/send/acntcd" navindex="3" appearance="minimal" style="left:625px; top:18px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>외상매입금</label>
- <value>21110100</value>
- </item>
- <item>
- <label>미지급금</label>
- <value>21130000</value>
- </item>
- <item>
- <label>전체</label>
- <value/>
- </item>
- </choices>
- </select1>
- <caption id="caption1" class="search_name" style="left:730px; top:18px; width:74px; height:17px; ">거래처:</caption>
- <input id="ipt_custnm" ref="/root/send/fromcustnm" class="input_essential" disabled="true" navindex="5" imemode="hangul" style="left:865px; top:18px; width:85px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var custflag = model.getValue("/root/main/unsl_one/custflag");
-
- switch (custflag) {
- case "1": //거래처
- fValidationCheck("14", "custcd,custnm", "", "", "", "", "name");
- model.setValue("/root/hidden/seizureyn", radfseizureynCheck(getUserInfo("dutplceinstcd"), model.getValue("/root/main/unsl_one/custcd"), "Y"));
- break;
- // case "2": //은행
- // fValidationCheck("03", "custcd,custnm", "R0001", "");
- // break;
- case "3": //부서
- fValidationCheck("02", "custcd,custnm", "", "");
- break;
- case "4": //교직원
- // fValidationCheck("01-2", "custcd,custnm", "", "");
- model.setValue("/root/hidden/tempnode/emplnm", model.getValue("/root/main/unsl_one/custnm"));
- ipt_emplnm.dispatch("xforms-value-changed");
- break;
- case "5": //개인
- fValidationCheck("31", "custcd,custnm", "", "ipt_amt", "", "", "name");
- break;
- default :
- return;
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- model.setFocus("ipt_amt");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_custcd" ref="/root/send/fromcustcode" class="input_essential" navindex="4" style="left:800px; top:18px; width:41px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (model.getValue("/root/send/fromcustcode") != ""){
- model.setValue("/root/send/custcode", model.getValue("/root/send/fromcustcode"));
- if (submit("TRRAD01502")){
- model.setValue("/root/send/fromcustnm", model.getValue("/root/custinfo/custlist/custnm"));
- model.refresh();
- }
- }else{
- model.setValue("/root/send/fromcustnm", "");
- }
- model.refresh();
- //btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_custcd" class="icon_search" navindex="-1" style="left:845px; top:19px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fOpenPopupHelp("14", ipt_custcd, "fromcustcode,fromcustnm", "", "");
- //btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <input id="input8" ref="/root/send/tocustnm" class="input_essential" disabled="true" navindex="7" imemode="hangul" style="left:1030px; top:18px; width:85px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var custflag = model.getValue("/root/main/unsl_one/custflag");
-
- switch (custflag) {
- case "1": //거래처
- fValidationCheck("14", "custcd,custnm", "", "", "", "", "name");
- model.setValue("/root/hidden/seizureyn", radfseizureynCheck(getUserInfo("dutplceinstcd"), model.getValue("/root/main/unsl_one/custcd"), "Y"));
- break;
- // case "2": //은행
- // fValidationCheck("03", "custcd,custnm", "R0001", "");
- // break;
- case "3": //부서
- fValidationCheck("02", "custcd,custnm", "", "");
- break;
- case "4": //교직원
- // fValidationCheck("01-2", "custcd,custnm", "", "");
- model.setValue("/root/hidden/tempnode/emplnm", model.getValue("/root/main/unsl_one/custnm"));
- ipt_emplnm.dispatch("xforms-value-changed");
- break;
- case "5": //개인
- fValidationCheck("31", "custcd,custnm", "", "ipt_amt", "", "", "name");
- break;
- default :
- return;
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- model.setFocus("ipt_amt");
- }
- ]]>
- </script>
- </input>
- <input id="input9" ref="/root/send/tocustcode" class="input_essential" navindex="6" style="left:965px; top:18px; width:41px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (model.getValue("/root/send/tocustcode") != ""){
- model.setValue("/root/send/custcode", model.getValue("/root/send/tocustcode"));
- if (submit("TRRAD01502")){
- model.setValue("/root/send/tocustnm", model.getValue("/root/custinfo/custlist/custnm"));
- model.refresh();
- }
- }else{
- model.setValue("/root/send/tocustnm", "");
- }
- model.refresh();
- //btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <button id="button2" class="icon_search" navindex="-1" style="left:1010px; top:20px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fOpenPopupHelp("14", input9, "tocustcode,tocustnm", "", "");
- //btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <caption id="caption3" style="left:950px; top:19px; width:15px; height:20px; text-align:center; ">~</caption>
- <input id="input1" ref="/root/send/todd" class="input_default" navindex="2" inputtype="date" format="yyyy-mm-dd" style="left:435px; top:18px; width:105px; height:19px; text-align:center; vertical-align:middle; "/>
- <caption id="caption4" style="left:420px; top:20px; width:15px; height:20px; text-align:center; ">~</caption>
- <datagrid id="datagrid1" nodeset="/root/main/grnt/grntlist1" caption="caption1^caption2^caption3^caption4^caption5^caption6^caption7^caption8^caption9^caption10^caption11^caption12^caption13^caption14^caption15^caption16^caption17" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:40px; top:125px; width:615px; height:70px; ">
- <col ref="gubun"/>
- <col ref="month"/>
- <col ref="defrayreqdd"/>
- <col ref="acntcd"/>
- <col ref="acntnm"/>
- <col ref="custnm"/>
- <col ref="cdbojo1"/>
- <col ref="slipcmt"/>
- <col ref="drcrflag"/>
- <col ref="sanctslipdd"/>
- <col ref="sanctslipno"/>
- <col ref="balacntcd"/>
- <col ref="balacntnm"/>
- <col ref="dramt"/>
- <col ref="cramt"/>
- <col ref="miamt"/>
- <col ref="title"/>
- </datagrid>
- <button id="button3" class="btn2_letter4" style="left:1125px; top:45px; width:64px; height:19px; text-align:left; ">
- <caption>엑셀출력</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //radfSaveExcel(ipt_detailist);
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- datagrid1.saveExcel(fileName,"SheetName:sheet1");
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1195px; height:25px; "/>
- </xhtml:body>
- </xhtml:html>
|