123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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="">
- <cond>
- <suppcustcd/>
- <instcd/>
- <suppcustnm/>
- <srchfromdd/>
- <srchtodd/>
- <acntcd/>
- <acntnm/>
- </cond>
- <main>
- <list>
- <goodconinfo>
- <goodconlist/>
- </goodconinfo>
- </list>
- </main>
- <init>
- </init>
- <send>
- <reqdata/>
- </send>
- <hidden>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //화면 Control을 초기화한다
- fInitialize();
-
- ]]>
- </script>
- <submission id="TRRSP00701" 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();
- }
-
- function fCheckRetrieveData() {
- if(model.getValue(ipt_srchfromdd.attribute("ref")).length== 0 )
- {
- messageBox("계약일자", "I003");
- model.setFocus("ipt_srchfromdd");
- return false;
- }
- if(model.getValue(ipt_srchtodd.attribute("ref")).length== 0 )
- {
- messageBox("계약일자", "I003");
- model.setFocus("ipt_srchtodd");
- return false;
- }
- }
-
-
-
- ]]>
- </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_suppcustcd" ref="/root/cond/suppcustcd" class="input" navindex="1" style="left:581px; top:33px; width:135px; height:19px; text-align:center; "/>
- <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:470px; top:35px; 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(fCheckRetrieveData() == false)return;
- if(submit("TRRSP00701")){
-
- }
- ]]>
- </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:5px; 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:5px; width:86px; height:17px; ">기관코드 :</caption>
- <input id="ipt_suppcustnm" ref="/root/cond/suppcustnm" class="input" navindex="1" style="left:740px; top:33px; width:280px; height:19px; text-align:center; "/>
- <input id="ipt_srchfromdd" ref="/root/cond/srchfromdd" class="input_s_essential" navindex="1" inputtype="date" style="left:581px; top:9px; width:135px; height:19px; text-align:center; "/>
- <caption id="caption1" class="search_name" style="left:470px; top:10px; width:101px; height:17px; ">계약일자 :</caption>
- <input id="ipt_srchtodd" ref="/root/cond/srchtodd" class="input_s_essential" navindex="1" inputtype="date" style="left:741px; top:9px; width:135px; height:19px; text-align:center; "/>
- <caption id="caption2" class="search_name" style="left:20px; top:35px; width:101px; height:17px; ">계정과목 :</caption>
- <input id="ipt_acntcd" ref="/root/cond/acntcd" class="input" navindex="1" style="left:110px; top:35px; width:90px; height:20px; text-align:center; "/>
- <input id="opt_acntnm" ref="/root/cond/acntnm" class="input" navindex="1" style="left:225px; top:35px; width:235px; height:19px; text-align:center; "/>
- </group>
- <datagrid id="grd_gooddmndlist" nodeset="/root/main/list/goodconinfo/goodconlist" class="datagrid2" caption="거래처^계약일자/SEQ^계약일자/SEQ^건 명^계약방법^계약금액^작성자^납품장소^생성일자^사용자ID/명^사용자ID/명^수정일자" colsep="^" colwidth="157, 97, 46, 364, 100, 198, 66, 144, 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="suppcustnm"/>
- <col ref="purccondd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="purcconno" style="text-align:center; "/>
- <col ref="goodcntnm" style="text-align:center; "/>
- <col ref="conflagnm" style="text-align:center; "/>
- <col ref="totconamt" format="#,###" style="text-align:right; "/>
- <col ref="chrgid" type="output" visibility="hidden" style="text-align:center; "/>
- <col ref="suppos" visibility="hidden" 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="visible" style="left:0px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var nodelist = instance1.selectNodes("/root/main/list/goodconinfo/goodconlist").length;
-
- model.removeNodeset("/root/prtinfo/goodconinfo");
- model.makeNode("/root/prtinfo/goodconinfo");
-
- copyNodesetType("/root/prtinfo/goodconinfo","/root/main/list/goodconinfo","replace");
- //model.makeValue("/root/prtinfo/purccnsttninfo/purccnsttnmainlist/goodcnt" ,nodelist);
-
- exeReportPreview("RPRSP00701","XMLSTR","/root/prtinfo/goodconinfo", "", "true", "", "", "", "", "true");
-
- ]]>
- </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>
- <button id="btn_maincustlastsuplplce" class="icon_search" style="left:721px; top:84px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_suppcustcd,"","suppcustcd,suppcustnm,prsdnm,cntctel","SPRSD00220","instcd","cmb_instcd" );
- ipt_suppcustcd.refresh();
- ipt_suppcustnm.refresh();
- ]]>
- </script>
- </button>
- <button id="button3" class="icon_search" style="left:205px; top:85px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_acntcd,"","acntcd,acntnm","PPRAC00100","","");
- model.refresh();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|