123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : PLAW00900_출고현황조회.xrw
- * 설 명 : 출고현황조회
- * 설 계 자 : (주)에이씨케이 - 유동철
- * 작 성 자 : (주)에이씨케이 - 유동철
- * 작 성 일 : 2008.12.09
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>
- <usegood>
- <usegoodlist>
- <instcd/>
- <posdeptcd/>
- <outdeptcd/>
- <outdeptnm/>
- <dutdeptcd/>
- <dutdeptnm/>
- <usedd/>
- <goodcd/>
- <goodnm/>
- <allsizespecid/>
- <goodspec/>
- <setunit/>
- <lotno/>
- <useqty/>
- <model/>
- <prodcustnm/>
- <suppcustnm/>
- </usegoodlist>
- </usegood>
- </main>
- <send/>
- <init>
- <dept>
- <appdeptcd/>
- </dept>
- <custinfo>
- <custlist>
- <instcd/>
- <entrregno/>
- <custnm/>
- </custlist>
- </custinfo>
- <appdeptcd/>
- <execappdeptcd/>
- <fromdd/>
- <todd/>
- <goodshop/>
- </init>
- <hidden/>
- </root>
- </instance>
- <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/stringHelper.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
- <submission id="TRLAF00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/deptinfo"/>
- <submission id="TRLAA00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/dept/appdeptcd"/>
- <submission id="TRLAW00802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" add="bottom" resultref="/root/init/custinfo/custlist"/>
- <submission id="TRLAW00803" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/usegood/usegoodlist"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fExeInitialize();
- ]]>
- </script>
- </model>
- <script type="javascript">
- <![CDATA[
- /* @group : 출고현황조회
- * @ver : 2008.12.09 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면초기화 함수
- */
- function fExeInitialize() {
-
- //var iMaxCnt = 0;
- var sDate = "";
-
- //--------------------------------
- model.removeNodeset("/root/send");
- model.removeNodeset("/root/main/goodtimelist");
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/userid", getUserInfo("userid"));
- submit("TRLAF00402", false); // 사용자가 속한 과코드 조회
-
- model.makeValue("/root/send/posdeptcd", model.getValue("/root/init/deptinfo/cd"));
- submit("TRLAA00103", false); // 부서코드 목록
-
- //-----------------------------------------------------------------------------------------
- model.makeValue("/root/init/custinfo/custlist[1]/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/init/custinfo/custlist[1]/entrregno", "00");
- model.makeValue("/root/init/custinfo/custlist[1]/custnm", "전체");
- submit("TRLAW00802"); // 거래처 목록
- //-----------------------------------------------------------------
- //iMaxCnt = Number(getNodesetCount("/root/init/dept/appdeptcd")) + 1;
- //model.makeValue("/root/init/dept/appdeptcd["+iMaxCnt+"]/cd", "00");
- //model.makeValue("/root/init/dept/appdeptcd["+iMaxCnt+"]/nm", "전체");
-
- //-----------------------
- sDate = getCurrentDate();
- model.setValue("/root/init/appdeptcd", "-"); // 재고부서
- model.setValue("/root/init/execappdeptcd", "-"); // 실사용부서
- model.setValue("/root/init/goodshop", "00"); // 거래처
- model.makeValue("/root/init/fromdd", sDate.substring(0,6)+"01");
- model.makeValue("/root/init/todd", sDate.substring(0,6)+"31");
-
- //-------------------------------------
- // 상위 화면에서 넘어온 조회조건을 설정
- model.makeValue("/root/init/appdeptcd", opener.javascript.getParameter("SPLAW00900_outdeptcd"));
- model.makeValue("/root/init/goodshop", opener.javascript.getParameter("SPLAW00900_goodshop"));
- model.makeValue("/root/init/fromdd", opener.javascript.getParameter("SPLAW00900_fromdd"));
- model.makeValue("/root/init/todd", opener.javascript.getParameter("SPLAW00900_todd"));
- model.makeValue("/root/init/goodcd", opener.javascript.getParameter("SPLAW00900_goodcd"));
- model.makeValue("/root/init/allsize", opener.javascript.getParameter("SPLAW00900_allsize"));
- model.refresh();
-
- //----------------
- fGetUseGoodList();
- }
-
- /* @group : 출고현황조회
- * @ver : 2008.12.09 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 불출목록 조회 처리 함수
- */
- function fGetUseGoodList() {
-
- var sNode = "/root/main/usegood/usegoodlist";
-
- //--------------------------------
- model.removeNodeset("/root/send");
- model.removeNodeset(sNode);
-
- //--------------------------------------------------------------------
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/posdeptcd", model.getValue("/root/init/deptinfo/cd"));
- model.makeValue("/root/send/outdeptcd", model.getValue("/root/init/appdeptcd"));
- model.makeValue("/root/send/dutdeptcd", model.getValue("/root/init/execappdeptcd"));
- model.makeValue("/root/send/fromdd", model.getValue("/root/init/fromdd"));
- model.makeValue("/root/send/todd", model.getValue("/root/init/todd"));
- model.makeValue("/root/send/goodshop", model.getValue("/root/init/goodshop"));
- model.makeValue("/root/send/goodcd", model.getValue("/root/init/goodcd"));
- model.makeValue("/root/send/allsize", model.getValue("/root/init/allsize"));
-
- submit("TRLAW00803");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1066" pageheight="594" guideline="1,1063;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="grp_biz" style="left:0px; top:0px; width:1050px; height:551; ">
- <caption id="caption5" class="tit_2" style="left:5px; top:47px; width:113px; height:14px; ">부서별 불출목록</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:62px; x2:1049px; y2:62px; "/>
- <datagrid id="grd_goodlist" nodeset="/root/main/usegood/usegoodlist" class="datagrid2" caption="기관코드^posdeptcd^outdeptcd^재고부서^dutdeptcd^실사용부서^사용일자^물품코드^물품명^ALL SIZE^규격^포장
구성단위^Lot번호^수량^모델^제조사^공급처" colsep="^" colwidth="0, 0, 0, 90, 0, 90, 0, 80, 220, 0, 140, 90, 80, 50, 60, 60, 70" mergecellsfixedrows="bycolrec" rowsep="|" navindex="7" style="left:0px; top:67px; width:1049px; height:482px; border-color:#c0c0c0; border-style:solid; ">
- <col ref="instcd"/>
- <col ref="posdeptcd"/>
- <col class="text_center" ref="outdeptcd"/>
- <col class="text_center" ref="outdeptnm"/>
- <col class="text_center" ref="dutdeptcd"/>
- <col class="text_center" ref="dutdeptnm" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
- <col class="text_center" ref="usedd" format="99:99:99" mask="exclude" showmask="true"/>
- <col class="text_center" ref="goodcd"/>
- <col ref="goodnm"/>
- <col ref="allsizespecid"/>
- <col ref="goodspec"/>
- <col class="text_center" ref="setunit"/>
- <col class="text_center" ref="lotno"/>
- <col class="text_right" ref="useqty" format="#,###" mask="exclude" showmask="true"/>
- <col class="text_center" ref="model"/>
- <col ref="prodcustnm"/>
- <col ref="suppcustnm"/>
- </datagrid>
- <group id="grp_sea" style="left:0; top:0; width:1050; height:35px; font-weight:bold; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1050; height:35px; "/>
- <line id="line4" class="line_4" style="x1:963px; y1:7px; x2:963px; y2:29px; "/>
- <button id="btn_Ref" class="btn1_letter2" navindex="6" style="left:978px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetUseGoodList();
- ]]>
- </script>
- </button>
- <caption id="caption26" class="search_name" style="left:19px; top:9px; width:61px; height:17px; ">부서 :</caption>
- <caption id="caption7" class="search_name" style="left:450px; top:9px; width:86px; height:17px; ">불출일자 :</caption>
- <caption id="caption1" class="search_name" style="left:218px; top:9px; width:99px; height:17px; ">실사용부서 :</caption>
- <select1 id="cbo_custlist" ref="/root/init/goodshop" navindex="5" appearance="minimal" itemcount="20" style="left:850px; top:8px; width:99px; height:19px; font-weight:normal; ">
- <choices>
- <itemset nodeset="/root/init/custinfo/custlist">
- <label ref="custnm"/>
- <value ref="entrregno"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption6" class="search_name" style="left:773px; top:9px; width:73px; height:17px; ">거래처 :</caption>
- <caption id="caption19" class="search_no_b" style="left:645px; top:10px; width:12px; height:17px; text-align:center; vertical-align:middle; ">~</caption>
- <select1 id="cmb_stocdeptcd" ref="/root/init/appdeptcd" navindex="1" appearance="minimal" style="left:86px; top:8px; width:114px; height:19px; font-weight:normal; ">
- <choices>
- <itemset nodeset="/root/init/dept/appdeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_execdeptcd" ref="/root/init/execappdeptcd" navindex="2" appearance="minimal" style="left:320px; top:8px; width:114px; height:19px; font-weight:normal; ">
- <choices>
- <itemset nodeset="/root/init/dept/appdeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_fromdd" ref="/root/init/fromdd" navindex="3" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:540px; top:8px; width:100px; height:19px; "/>
- <input id="ipt_todd" ref="/root/init/todd" navindex="4" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:662px; top:8px; width:100px; height:19px; "/>
- </group>
- <button id="btn_excelsave" class="btn2_letter6" navindex="8" style="left:963px; top:42px; width:86px; height:19px; ">
- <caption>EXCEL출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- lpzfExeSaveToExcel(grd_goodlist, "불출현황목록");
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:551; width:1050px; height:27px; ">
- <button id="btn_cls" class="btn4_letter2" navindex="8" style="left:994; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.close();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1050; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|