123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268 |
- <?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/>
- </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);
- //ipt_payym.refresh();
- //submit("TRRAD01504");
- model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
- model.refresh();
- ]]>
- </script>
- <submission id="TRRAD03001" 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/paybaseinfomngtweb/js/RWC001.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" src="../../../mis/paybaseinfomngtweb/js/RWC001.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
- <script type="javascript" src="../../../mis/acntcommonweb/js/RAD001.js"/>
- <script type="javascript">
- <![CDATA[
- function fOpenPopupDeptHelp(pControl, pInstance)
- {
- misfOpenPopUpList("02", pControl, "", pInstance);
- model.refresh();
- }
- function fOpenPopupHelp(pHelper, pControl, pInstance, pCdgrupid, pValueControl, pNodeName)
- {
- misfOpenPopUpList(pHelper, pControl, pCdgrupid, pInstance, pValueControl, pNodeName);
- model.refresh();
- }
- ]]>
- </script>
- </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("TRRAD03001");
- exeReportPreview("RPRAD03001", "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" inputtype="date" format="yyyy-mm-dd" style="left:315px; top:18px; width:120px; 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:445px; top:18px; width:94px; height:17px; ">계정과목:</caption>
- <select1 id="combo1" ref="/root/send/acntcd" appearance="minimal" style="left:530px; top:18px; width:125px; 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:670px; top:18px; width:74px; height:17px; ">거래처:</caption>
- <input id="ipt_custnm" ref="/root/send/fromcustnm" class="input_essential" disabled="true" imemode="hangul" style="left:805px; top:18px; width:105px; 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="-1" style="left:740px; 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:785px; 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" imemode="hangul" style="left:990px; top:18px; width:105px; 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="-1" style="left:925px; 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:970px; 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:910px; top:19px; width:15px; height:20px; text-align:center; ">~</caption>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1195px; height:25px; "/>
- </xhtml:body>
- </xhtml:html>
|