123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191 |
- <?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="">
- <send>
- <instcd/>
- <goodflag/>
- <stocdeptcd/>
- <stocdeptnm/>
- <stocym/>
- <prtflag>A</prtflag>
- </send>
- <main>
- <goodinoutlist/>
- </main>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //화면 Control을 초기화한다
- fInitialize();
- ]]>
- </script>
- <submission id="TRRST02801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/goodinoutlist"/>
- </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/purccommonweb/js/PURC.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize() {
-
- model.resetInstanceNode("/root/send");
-
- rszfGoodFlagListByPgmGubn(cmb_goodflag,"2","N");
- // misfComboComCdListMulti("Z0007,R0025","cmb_instcd,cmb_goodflag" );
- rszfUserInstList(cmb_instcd,getUserInfo("userid"));
- model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
- model.setValue(ipt_stocdeptcd.attribute("ref") , getUserInfo("posdeptcd"));
- model.setValue(ipt_stocdeptnm.attribute("ref") , getUserInfo("posdeptnm"));
-
- var curdate = getCurrentDate();
- model.setValue(ipt_stocym.attribute("ref") ,curdate);
-
- misfGridInit(grd_goodinoutlist);
- misfMsterDetailSet(grd_goodinoutlist,null, "TRRST02801" ,"N");
-
- model.setValue("/root/send/prtflag", "A");
-
- model.refresh();
- }
- //필수항목 체크하는 메소드
- function fCheckRetrieveData()
- {
- if(!isRequiredControls("cmb_instcd") )return false; // 기관코드 , commonweb/js/tfHelper.js
- if(!isRequiredControls("cmb_goodflag") )return false; // 물품구분
- if(!isRequiredControls("ipt_stocym") )return false; // 기준년월
- //if(!isRequiredControls("ipt_delivetodd") )return false; // 출고종료일자
- //if(!isRequiredControls("cmb_stocdeptcd") )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:38px; width:1195px; height:744px; ">
- <caption id="caption21" class="tit_2" style="left:5px; top:83px; width:216px; height:13px; ">품목별 입출고현황</caption>
- <group id="group6" style="left:0px; top:13px; width:1195px; height:61; vertical-align:top; ">
- <shape id="roundrect3" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:61px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="cap_instcd" class="search_name" style="left:15px; top:9; width:93px; height:17px; ">기관코드 :</caption>
- <caption id="cap_stocym" class="search_name" style="left:323px; top:9px; width:93px; height:17px; ">기 준 월 :</caption>
- <caption id="cap_prtflag" class="search_name" style="left:595px; top:9px; width:112px; height:17px; ">출력구분 :</caption>
- <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" appearance="minimal" style="left:100px; top:8px; width:141px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/instcd">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_stocym" ref="/root/send/stocym" class="input_s_essential" inputtype="date" maxlength="4" format="yyyy-mm" style="left:406px; top:8px; width:105px; height:19px; "/>
- <select1 id="rdo_prtflag" ref="/root/send/prtflag" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:683px; top:10px; width:160px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>요약내역</label>
- <value>A</value>
- </item>
- <item>
- <label>상세내역</label>
- <value>B</value>
- </item>
- </choices>
- </select1>
- <button id="button3" class="icon_search" style="left:490px; top:36px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "stocdeptcd,stocdeptnm";
- misfOpenPopUpList("02", ipt_stocdeptcd,"", recv_list) ;
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_stocdeptcd" ref="/root/send/stocdeptcd" class="input_s_essential" style="left:406px; top:34px; width:78px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "stocdeptcd,stocdeptnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_stocdeptnm" ref="/root/send/stocdeptnm" class="input_s_essential" style="left:510px; top:34px; width:172px; height:19px; "/>
- <caption id="caption1" class="search_name" style="left:321px; top:35px; width:90px; height:17px; ">부 서 :</caption>
- <caption id="cap_goodflag" class="search_name" style="left:15px; top:35; width:93px; height:17px; ">물품구분 :</caption>
- <select1 id="cmb_goodflag" ref="/root/send/goodflag" class="combo_s_essential" appearance="minimal" style="left:100px; top:34px; width:141px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/goodflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <button id="button4" class="btn1_letter2" navindex="8" style="left:1125px; top:20px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridInit(grd_goodinoutlist);
-
- if(fCheckRetrieveData(false) == false)return;
- //misfGridInit(grd_outputsumlist)
- misfMsterDetailRetrieve();
- ]]>
- </script>
- </button>
- <line id="line14" class="line_4" style="x1:1110px; y1:9px; x2:1110px; y2:52px; border-color:#ffe4bb; border-left-style:solid; "/>
- </group>
- <line id="line15" class="line_1" style="x1:0px; y1:98px; x2:1195px; y2:98px; "/>
- <datagrid id="grd_goodinoutlist" nodeset="/root/main/goodinoutlist" caption="물품코드^품명 및 규격^단 위^단 가^전월재고^전월재고^입고량^입고량^출고량^출고량^재고량^재고량|물품코드^품명 및 규격^단 위^단 가^수량^금액^수량^금액^수량^금액^수량^금액" colsep="^" colwidth="80, 320, 100, 120, 60, 70, 60, 70, 60, 70, 60, 70" dataheight="25" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:108px; width:1195px; height:631px; ">
- <col ref="goodcd" style="text-align:center; "/>
- <col ref="goodnm"/>
- <col ref="purcunit" style="text-align:right; "/>
- <col ref="goodunitcost" format="#,###.##" style="text-align:right; "/>
- <col ref="brngfwrdqty" style="text-align:right; "/>
- <col ref="brngfwrdamt" format="#,###.##" style="text-align:right; "/>
- <col ref="abwinqty" style="text-align:right; "/>
- <col ref="abwinamt" format="#,###.##" style="text-align:right; "/>
- <col ref="delivedeptqty" style="text-align:right; "/>
- <col ref="deliveamt" format="#,###.##" style="text-align:right; "/>
- <col ref="abstocqty" style="text-align:right; "/>
- <col ref="stocamt" format="#,###.##" style="text-align:right; "/>
- </datagrid>
- <button id="button1" class="btn2_letter6" style="left:1108px; top:77px; width:86px; height:19px; ">
- <caption>엑셀파일저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfSaveExcel(grd_goodinoutlist , "품목별입출고현황출력");
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter6" visibility="hidden" style="left:1020px; top:77px; width:86px; height:19px; ">
- <caption>엑셀파일열기</caption>
- </button>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
- <button id="button46" class="btn6_letter2" visibility="hidden" style="left:0; top:3px; width:56px; height:22px; font-size:10pt; ">
- <caption>출력</caption>
- </button>
- <line id="line1" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- <button id="btn_init" class="btn4_letter3" style="left:1127px; top:3; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|