123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="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:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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="">
- <cond>
- <srchfromdd/>
- <seqno/>
- <reqdeptcd/>
- <reqdeptnm/>
- <wareflag/>
- <instcd/>
- </cond>
- <main>
- <list>
- <gooddmndinfo>
- <gooddmndlist/>
- </gooddmndinfo>
- </list>
- </main>
- <init>
- </init>
- <send>
- <reqdata/>
- </send>
- <hidden>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //화면 Control을 초기화한다
- fInitialize();
- ]]>
- </script>
- <submission id="TRRSP00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/cond" resultref="/root/main/list"/>
- </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/RSZ001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize() {
-
- misfGridInit(grd_gooddmndlist);
- var curdate = getCurrentDate();
- misfComboComCdList("Z0007" ,cmb_instcd);
- model.setValue("/root/cond/instcd",getUserInfo("dutplceinstcd"));
- //misfComboComCdList("030M0001" ,cmb_wareflag);
- //addComboItem( "cmb_wareflag", "전체", "", "above");
-
- model.setValue(ipt_srchfromdd.attribute("ref") ,curdate);
-
-
- model.refresh();
- }
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">계약일자 구매현황조회</caption>
- </group>
- <group id="group5" scroll="auto" style="left:0px; top:38; width:1195; height:744; ">
- <group id="group6" style="left:0px; top:10px; width:1195px; height:65px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="ipt_srchfromdd" ref="/root/cond/srchfromdd" class="input_s_fix" navindex="1" inputtype="date" style="left:411px; top:19px; width:135px; height:19px; text-align:center; "/>
- <input id="ipt_seqno" ref="/root/cond/seqno" class="input_s_fix" navindex="2" maxlength="4" style="left:618px; top:19px; width:67px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <line id="line2" class="line_4" style="x1:1079px; y1:7px; x2:1079px; y2:50px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption5" class="search_name" style="left:325px; top:20px; width:101px; height:17px; ">계약일자 :</caption>
- <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1094px; top:17px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(submit("TRRSP00401")){
-
- }
- ]]>
- </script>
- </button>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- <select1 id="cmb_instcd" ref="/root/cond/instcd" class="combo_default" disabled="true" appearance="minimal" style="left:111px; top:20px; width:136px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/instcd">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_instcd" class="search_name" style="left:20px; top:20px; width:86px; height:17px; ">기관코드 :</caption>
- <caption id="caption4" class="search_name" style="left:551px; top:20px; width:64px; height:17px; ">SEQ :</caption>
- </group>
- <datagrid id="grd_gooddmndlist" nodeset="/root/main/list/gooddmndinfo/gooddmndlist" class="datagrid2" caption="구매일자/SEQ^구매일자/SEQ^요구부서/명칭^요구부서/명칭^품목번호^품목명^품의구분^품의일자/SEQ^품의일자/SEQ^구매량^품의량^계약일자/SEQ^계약일자/SEQ^계약량^입고일자/SEQ^입고일자/SEQ^검수량^구분^출고일자/SEQ^출고일자/SEQ^불출량^구분^생성일자^사용자ID/명^사용자ID/명^수정일자" colsep="^" colwidth="97, 46, 80, 100, 100, 198, 46, 100, 46, 64, 60, 100, 61, 52, 92, 45, 47, 37, 94, 35, 42, 35, 91, 75, 82, 100" dataheight="23" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:104px; width:1195px; height:631px; ">
- <col ref="purcdmnddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="purcdmndno" style="text-align:center; "/>
- <col ref="reqdeptcd" style="text-align:center; "/>
- <col ref="reqdeptnm" style="text-align:center; "/>
- <col ref="goodcd" style="text-align:center; "/>
- <col ref="goodnm" style="text-align:left; "/>
- <col ref="cnsttnflag" type="output" style="text-align:center; "/>
- <col ref="purccnsttndd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="purccnsttnno" style="text-align:center; "/>
- <col ref="reqqty" format="#,###" style="text-align:right; "/>
- <col ref="cnsttnqty" format="#,###" style="text-align:right; "/>
- <col ref="purccondd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="purcconno" style="text-align:center; "/>
- <col ref="conqty" format="#,###" style="text-align:right; "/>
- <col ref="windd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="winno" style="text-align:center; "/>
- <col ref="winqty" format="#,###" style="text-align:right; "/>
- <col ref="wincertflag" style="text-align:center; "/>
- <col ref="delivedd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="deliveno" style="text-align:center; "/>
- <col ref="delivedeptqty" format="#,###" style="text-align:right; "/>
- <col ref="delivecertflag" style="text-align:center; "/>
- <col ref="fstrgstdt" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="lastupdtrid" style="text-align:center; "/>
- <col ref="lastupdtrnm" style="text-align:center; "/>
- <col ref="lastupdtdt" format="yyyy-mm-dd" style="text-align:center; "/>
- </datagrid>
- <caption id="caption35" class="tit_2" style="left:5px; top:84px; width:139px; height:14px; ">구매현황내역</caption>
- <line id="line15" class="line_1" style="x1:0px; y1:101px; x2:1195px; y2:100px; "/>
- <button id="button1" class="btn5_letter5" navindex="12" style="left:1115px; top:77px; width:75px; height:19px; ">
- <caption>Excel 저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( grd_gooddmndlist.rows - grd_gooddmndlist.fixedRows > 0 ) {
- var fileName = "구매현황내역";
- var fileName = window.fileDialog("save", ",", false, fileName, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- grd_gooddmndlist.saveExcel(fileName, "Sheet");
- } else {
- messageBox("저장 데이터가","I004");
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="group4" ref="/root/init/instcd" style="left:0px; top:12; width:1195; height:26px; ">
- <button id="button8" class="btn6_letter2" visibility="hidden" style="left:0px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- ]]>
- </script>
- </button>
- <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1195; y2:25px; "/>
- <button id="button2" class="btn6_letter4" visibility="hidden" style="left:60px; top:3px; width:56px; height:22px; ">
- <caption>미리보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|