123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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="">
- <!--(20101201) 경북대 -->
- <init>
- <instcd/>
- </init>
- <!--(20101201) 경북대 -->
- <main>
- <fixasetcdlist>
- <chkyn/>
- <fixasetcd/>
- <goodflaghngnm/>
- </fixasetcdlist>
- <duplnode>
- <fixasetcdlist/>
- </duplnode>
- </main>
- <send>
- <instcd/>
- </send>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //화면 Control을 초기화한다
- // fCheckAuth();
- fInitialize();
- ]]>
- </script>
- <submission id="TRMNG00502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/fixasetcdlist"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- </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/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize() {
- misfGridInit(grd_equipment);
-
- // misfComboComCdListMulti("Z0007", "cmb_instcd"); //기관코드,set 제제약 구분
- zbcfGetCodeList (new Array("Z0007"),new Array("/root/init/instcd"),true);
- model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
- cmb_instcd.refresh();
-
- grd_equipment.fixedcellcheckbox(0, grd_equipment.colRef("chkyn")) = true;
-
- btn_search.dispatch("DOMActivate");
-
-
-
-
- }
- function fCheckAuth() {
- btn_search.disabled = !checkAuth("R") ;
- btn_save.disabled = !checkAuth("X") ;
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="740" pageheight="500" 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:720px; height:475px; ">
- <group id="grp_sea" style="left:0px; top:0px; width:720px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:720px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:654px; top:5px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/send/reqdata/instcd", getUserInfo("dutplceinstcd")); // 기관 설정
- model.makeValue("/root/send/reqdata/goodflag", "E"); // 물품 설정
- model.makeValue("/root/send/reqdata/cntrdeptcd", "308%"); // 귀속부서 설정
- submit("TRMNG00502");
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:639px; y1:5px; x2:639px; y2:27px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption62" class="search_name" style="left:10px; top:9px; width:86px; height:17px; ">기관코드 :</caption>
- <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_essential" disabled="true" appearance="minimal" style="left:97px; top:8px; width:138px; height:19px; ">
- <choices>
- <!--(20101201) 경북대
- <itemset nodeset="/root/init/instcd">
- -->
- <itemset nodeset="/root/init/instcd/Z0007">
- <!--(20101201) 경북대 -->
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- </group>
- <line id="line1" class="line_1" style="x1:0px; y1:61px; x2:720px; y2:61px; "/>
- <caption id="caption4" class="tit_2" style="left:5px; top:46px; width:100px; height:14px; ">장비코드내역</caption>
- <datagrid id="grd_equipment" nodeset="/root/main/fixasetcdlist" caption="^장비코드^장비명^규격^모델^제조원^관리번호" colsep="^" colwidth="21, 80, 173, 100, 100, 127, 80" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:66px; width:720px; height:409px; ">
- <col checkvalue="Y,N" ref="chkyn" type="checkbox"/>
- <col ref="fixasetcd"/>
- <col ref="goodflaghngnm"/>
- <col ref="goodspec"/>
- <col ref="goodmodel"/>
- <col ref="prodcmpynm"/>
- <col ref="mngtno"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
-
- ///fGridDataInsert();
-
- ]]>
- </script>
- </datagrid>
- <button id="btn_comfirm" class="btn2_letter4" style="left:655px; top:40px; width:64px; height:19px; ">
- <caption>선택적용</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var chkyn;
- var header = "fixasetcd▦goodflaghngnm▦prodcmpynm▦mngtno▩";
- var data = "";
- for(var i = 1; i < grd_equipment.rows; i++) {
- chkyn = grd_equipment.valueMatrix(i, grd_equipment.colRef("chkyn"));
- if(chkyn == "Y") {
- copyNodesetType("/root/main/duplnode/fixasetcdlist", "/root/main/fixasetcdlist[" + i + "]", "after");
- data += grd_equipment.valueMatrix(i, grd_equipment.colRef("fixasetcd")) + "▦"
- + grd_equipment.valueMatrix(i, grd_equipment.colRef("goodflaghngnm")) + "▦"
- + grd_equipment.valueMatrix(i, grd_equipment.colRef("prodcmpynm")) + "▦"
- + grd_equipment.valueMatrix(i, grd_equipment.colRef("mngtno")) + "▩"
-
- }
- }
-
-
- if ( checkOpener() ) {
- opener.javascript.setParameter("SPMNG00500_", header+data);
-
- } else {
- var rtn = messageBox("상위화면을 찾을 수", "E001");
- }
-
- window.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|