123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet ype="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>비용예산집행현황</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <stocklist/>
- </main>
- <send>
- <search>
- <instcd/>
- <monthfrom/>
- <monthto/>
- <wareflag/>
- <acntfrom/>
- <acntto/>
- <wareflagnm/>
- </search>
- <save/>
- </send>
- <init>
- <acnt/>
- </init>
- <hidden/>
- <temp>
- <maxasset/>
- <clsepriv/>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- //화면 Control을 초기화한다
- makeReportPreview(0,123,1195,637);
- model.removenode( "/root/main/stocklist");
- //misfComboComCdListMulti("Z0007","cmb_instcd"); //기관코드
- misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
- misfComboComCdList("030M0001",cmb_wareflag, "Y"); //창고 (Y: 전체 item 추가시)
-
- model.setValue("/root/send/search/instcd", getUserInfo("dutplceinstcd")); //기관 설정
- model.setValue("/root/send/search/monthfrom" , getCurrentDate().substr(0,6)); //기간 년월 설정
- model.setValue("/root/send/search/monthto" , getCurrentDate().substr(0,6)); //기간 년월 설정
- submit("TRRSO20602"); //계정 목록 조회
- submit("TRRSO20802"); //자산계정코드 중 Max 조회
- submit("TRRSO22302"); //월말정산완료 관리 권한 조회
-
- cmb_acntfrom.select(0); //계정 from 설정
- //cmb_acntto.select(cmb_acntto.length - 1); //계정 to 설정
- cmb_acntto.value = model.getValue("/root/temp/maxasset/acntcd"); //계정 to 설정 - 자산계정코드 중 Max 값
- if( model.getValue("/root/temp/clsepriv/flag") == "1" ) { //월말정산완료 관리 권한이 있으면
- btn_clse.visible = true;
- }
-
- model.refresh();
-
-
- ]]>
- </script>
- <submission id="TRRSO20602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/init/acnt"/>
- <submission id="TRRSO20801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/"/>
- <submission id="TRRSO20802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/temp/maxasset"/>
- <submission id="TRRSO22302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/temp/clsepriv"/>
- </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="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript">
- <![CDATA[
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:243px; height:14px; ">비용예산집행현황</caption>
- </group>
- <group id="group1" style="left:0px; top:12; width:1195px; height:27px; ">
- <line id="line17" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25px; "/>
- <button id="btn_clse" class="btn3_letter8" visibility="hidden" style="left:1065px; top:3px; width:128px; height:22px; ">
- <caption>월 정산완료 관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //popup 프로그램 호출
- window.load("SMRSO22300.xrw", "modal","", "", "/root/send/search","/root/popdata"); // parent ref, child ref
-
- ]]>
- </script>
- </button>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
- <group id="grp_search" style="left:0px; top:9px; width:1195px; height:48px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" navindex="7" style="left:1114px; top:9px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/main/stocklist");
- //년월에 입력된 값이 올바르지 않으면, 년월을 선택하라고 alert함
- if(ipt_monthfrom.value.length < 6) {
- messageBox("조회기간이 올바로 선택되지 않았습니다. \n\n먼저 조회년월을 선택하십시요.", "E999", "");
- model.setFocus("ipt_monthfrom");
- return;
- }
- if(ipt_monthto.value.length < 6) {
- messageBox("조회기간이 올바로 선택되지 않았습니다. \n\n먼저 조회년월을 선택하십시요.", "E999", "");
- model.setFocus("ipt_monthto");
- return;
- }
-
- //창고명을 report 에 넘겨주기 위해 instance에 setting한다.
- model.setValue("/root/send/search/wareflagnm", cmb_wareflag.label);
-
- if (submit("TRRSO20801") ){
- exeReportPreview("RPRSO20801", "XMLSTR");//, "/root/main/payamt");
- }
-
- ]]>
- </script>
- </button>
- <select1 id="cmb_instcd" ref="/root/send/search/instcd" class="combo_default" disabled="true" navindex="1" appearance="minimal" style="left:122px; top:10px; width:136px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/init">
- <label ref="cnstnm"/>
- <value ref="cnstcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_instcd" class="search_name" style="left:43px; top:10px; width:82px; height:17px; ">기관코드</caption>
- <input id="ipt_monthfrom" ref="/root/send/search/monthfrom" navindex="5" inputtype="date" format="yyyy-mm" style="left:346px; top:10px; width:74px; height:19px; "/>
- <caption id="caption20" class="search_name" style="left:721px; top:10px; width:54px; height:17px; vertical-align:middle; ">계정</caption>
- <line id="line30" class="line_4" style="x1:1100px; y1:4px; x2:1100px; y2:36px; "/>
- <caption id="caption2" class="search_name" style="left:535px; top:10px; width:55px; height:17px; ">창고</caption>
- <select1 id="cmb_wareflag" ref="/root/send/search/wareflag" class="combo_default" navindex="4" appearance="minimal" style="left:589px; top:10px; width:99px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/wareflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption9" class="search_name" style="left:291px; top:10px; width:54px; height:17px; ">기간</caption>
- <select1 id="cmb_acntfrom" ref="/root/send/search/acntfrom" class="combo_default" navindex="4" appearance="minimal" editmode="search" showvalue="true" style="left:775px; top:10px; width:143px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/acnt/acntlist">
- <label ref="acntnm"/>
- <value ref="acntcd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_acntto" ref="/root/send/search/acntto" class="combo_default" navindex="4" appearance="minimal" editmode="search" showvalue="true" style="left:930px; top:10px; width:143px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/acnt/acntlist">
- <label ref="acntnm"/>
- <value ref="acntcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption3" style="left:919px; top:10px; width:10px; height:20px; font-weight:bold; ">-</caption>
- <caption id="caption4" style="left:419px; top:10px; width:10px; height:20px; font-weight:bold; ">-</caption>
- <input id="ipt_monthto" ref="/root/send/search/monthto" navindex="5" inputtype="date" format="yyyy-mm" style="left:431px; top:10px; width:74px; height:19px; "/>
- </group>
- <line id="line1" class="line_1" style="x1:0px; y1:79px; x2:1195px; y2:79px; "/>
- <caption id="caption1" class="tit_2" style="left:0px; top:63px; width:180px; height:14px; ">비용예산집행현황</caption>
- <caption id="caption5" style="left:140px; top:60px; width:632px; height:20px; ">- 재고자산계정(113...) 중 물류 입출고 프로세스를 타지 않고, 품의전표의 형태로 집행된 것들도 금액에 포함됩니다.</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|