123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SSLAW00100_물품목록.xfm
- * 설 명 : 물품목록
- * 설 계 자 : 설계자가 별도로 존재시 작성
- * 작 성 자 : 평화is 김성희
- * 작 성 일 : 2007.10.02
- * 수정이력 : 최종작성일 기준으로 변경사항 이력관리
- * 기 타 : 주석문에 반영되어야 할 사항 표기
- -->
- <?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>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <goodcd>
- <goodcdlist>
- <choi/>
- <goodcd/>
- <goodnm/>
- <goodspec/>
- <deliveunit/>
- <goodunitcost/>
- <posdeptcd/>
- <instcd/>
- <deptcd/>
- <stocqty/>
- <tqty/>
- <unitcost/>
- <lotno/>
- <allsizespecid/>
- <setunit/>
- <model/>
- <keeptmpr/>
- </goodcdlist>
- </goodcd>
- </main>
- <send>
- <deptcd/>
- </send>
- <hidden/>
- <init>
- <cdid/>
- <codeinfo>
- <R0025>
- <cdid/>
- <cdnm/>
- </R0025>
- </codeinfo>
- <subappdeptcd/>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fExeInitializeSub();
- ]]>
- </script>
- <submission id="TRLAW00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/goodcd/goodcdlist"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" replace="instance"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript">
- <![CDATA[
- /* @group : 물품목록
- * @ver : 2007.10.02 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 초기화 Function
- */
- function fExeInitializeSub() {
-
- zbcfGetCodeList( new Array("R0025"), new Array("/root/init/codeinfo") , null, null, null);
- cmb_cdid.refresh();
-
- //--------------------------------------
- model.makeValue("/root/init/cdid", "Y");
- btn_stoclist.selected = true;
- cmb_subdeptcd.select(0);
-
- //--------------------
- fGetGoodCodeSubList();
-
- //--------------
- model.refresh();
- }
-
- /* @group : 물품목록
- * @ver : 2007.10.02 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 초기화 Function
- */
- function fGetGoodCodeSubList() {
-
- var sStocFlagCd = "A";
-
- //--------------------------------
- model.removeNodeset("/root/send");
- model.removeNodeset("/root/main/goodcd/goodcdlist"); // 물품코드목록 초기화
- model.removeNodeset("/root/main/dtbtgood/dtbtgoodlist"); // 분배물품 목록 초기화 물품 분배화면
- //---------------------------------------------------
- if (btn_stoclist.selected == true) sStocFlagCd = "S";
-
- //---------------------------------------------------------------------
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd")); // 기관코드
- model.makeValue("/root/send/posdeptcd", model.getValue("/root/init/deptinfo/cd")); // 로그인 사용자의 부서코드
- model.makeValue("/root/send/dutdeptcd", model.getValue("/root/init/subappdeptcd")); // 검색부서
- model.makeValue("/root/send/goodflag", model.getValue("/root/init/cdid")); // 물품구분
- model.makeValue("/root/send/scrno", model.getValue("/root/init/scrno")); // 화면구분(10:입고, 20:분배, 30:사용, 40:Test별사용)
- model.makeValue("/root/send/stocflagcd", sStocFlagCd); // 조회구분(A:전체목록, S:재고목록)
- submit("TRLAW00101");
-
- model.makeValue("/root/hidden/goodflag", model.getValue("/root/init/cdid"));
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:300px; height:688px; ">
- <line id="line12" class="line_1" style="x1:0px; y1:25px; x2:300px; y2:25px; "/>
- <datagrid id="grd_goodlist" nodeset="/root/main/goodcd/goodcdlist" class="datagrid2" caption="선택^물품코드^물품명^규격^T수량^재고
수량^단가^Lot번호^ALL SIZE^포장구성단위^제조사^모델^공급처^deliveunit^goodunitcost^posdeptcd^instcd^dutdeptcd^dutdeptnm^tqty^caption1^keeptmpr" colsep="^" colwidth="24, 70, 80, 44, 0, 40, 0, 110, 0, 100, 100, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0" dataheight="23" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:55px; width:300px; height:632px; ">
- <col ref="choi" type="checkbox"/>
- <col ref="goodcd"/>
- <col ref="goodnm"/>
- <col ref="goodspec"/>
- <col ref="tqty"/>
- <col ref="stocqty" style="text-align:right; "/>
- <col ref="unitcost"/>
- <col class="text_center" ref="lotno"/>
- <col ref="allsizespecid"/>
- <col class="text_center" ref="setunit"/>
- <col ref="prodcustnm"/>
- <col ref="model"/>
- <col ref="suppcustnm"/>
- <col ref="deliveunit"/>
- <col ref="goodunitcost"/>
- <col ref="posdeptcd"/>
- <col ref="instcd"/>
- <col ref="dutdeptcd"/>
- <col ref="dutdeptnm"/>
- <col ref="tqty"/>
- <col/>
- <col ref="keeptmpr"/>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fExeChoiTrue("good");
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_goodlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <select1 id="cmb_cdid" ref="/root/init/cdid" navindex="3" appearance="minimal" style="left:220px; top:31px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/codeinfo/R0025">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetGoodCodeSubList();
- ]]>
- </script>
- </select1>
- <button id="btn_allgood" class="btn_sw" group="tab" style="left:0px; top:3px; width:65px; height:22px; ">
- <caption>전체목록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetGoodCodeSubList();
- ]]>
- </script>
- </button>
- <caption id="caption7" class="cell_1" style="left:158px; top:30px; width:59px; height:23px; vertical-align:middle; ">물품구분</caption>
- <caption id="caption1" class="cell_1" style="left:0px; top:30px; width:60px; height:23px; vertical-align:middle; ">물품부서</caption>
- <line id="line6" class="line_3" style="x1:0px; y1:52px; x2:300px; y2:52px; "/>
- <button id="btn_stoclist" class="btn_sw" group="tab" selected="true" style="left:66px; top:3px; width:65px; height:22px; ">
- <caption>재고목록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetGoodCodeSubList();
- ]]>
- </script>
- </button>
- <select1 id="cmb_subdeptcd" ref="/root/init/subappdeptcd" navindex="3" appearance="minimal" style="left:63px; top:31px; width:92px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/dutdept/appdeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetGoodCodeSubList();
- ]]>
- </script>
- </select1>
- </group>
- </xhtml:body>
- </xhtml:html>
|