123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : 장비부품 현황조회.xrw
- * 설 명 : 장비,부품 선택 저장.
- * 설 계 자 : 김병국
- * 작 성 자 : 김병국
- * 작 성 일 : 2012.11.21
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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="">
- <main>
- <cond>
- <flag>nm</flag>
- <name/>
- <deptcd/>
- <deptnm/>
- </cond>
- <fixasetinfo>
- <fixasetlist/>
- </fixasetinfo>
- </main>
- <send>
- <reqdata/>
- </send>
- </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/irmsweb/js/IrmsCom.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- ]]>
- </script>
- <submission id="TRZHI00107" mediatype="application/x-www-form-urlencoded" method="form-data-post" ref="/root/send/reqdata" replace="instance" resultref="/root/main/fixasetinfo"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- function fInit(){
-
- model.setValue(ipt_deptcd.attribute("ref"), getUserInfo("dutplcecd"));
- model.setValue(ipt_deptnm.attribute("ref"), getUserInfo("dutplcenm"));
-
- ipt_deptcd.refresh();
- ipt_deptnm.refresh();
-
-
- }
- /*
- * 조회
- */
- function fSearch(){
-
- var name = model.getValue(ipt_cdnm.attribute("ref"));
-
- if(name.length == 0) {
- messageBox("검색어는 한글자 이상이어야 합니다.", "I");
- return;
- }
-
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- submit("TRZHI00107");
- }
-
- function fCnfm() {
-
- }
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="534" pageheight="543" guideline="1,1194;1,517;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:518px; height:515px; ">
- <datagrid id="grd_fixasetlist" nodeset="/root/main/fixasetinfo/fixasetlist" class="datagrid2" caption="flag^자산번호^자산명^규격^모델^설치부서^관리부서" colsep="^" colwidth="0, 94, 139, 84, 91, 100, 100" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:100px; width:517px; height:410px; ">
- <col ref="flag" visibility="hidden"/>
- <col ref="fixasetcd"/>
- <col ref="fixasetnm"/>
- <col ref="goodspec"/>
- <col ref="goodmodel"/>
- <col ref="installplcenm"/>
- <col ref="mngtdeptnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(grd_fixasetlist.isCell(event.target) && grd_fixasetlist.mouseRow >= grd_fixasetlist.fixedrows){
- opener.javascript.setParameter("SPZHI00130_fixasetcd", grd_fixasetlist.valueMatrix(grd_fixasetlist.row, grd_fixasetlist.colRef("fixasetcd")));
- opener.javascript.setParameter("SPZHI00130_fixasetnm", grd_fixasetlist.valueMatrix(grd_fixasetlist.row, grd_fixasetlist.colRef("fixasetnm")));
- window.close();
- }
- ]]>
- </script>
- </datagrid>
- <group id="group2" style="left:0px; top:0px; width:517px; height:70px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:517px; height:70px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="ipt_cdnm" ref="/root/main/cond/name" class="input_search" style="left:240px; top:12px; width:150px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <line id="line13" style="x1:409px; y1:11px; x2:409px; y2:32px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_search" class="btn1_letter2" style="left:445px; top:12px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </button>
- <select1 id="radio1" ref="/root/main/cond/flag" appearance="full" cols="3" overflow="visible" style="left:105px; top:15px; width:130px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>자산코드</label>
- <value>cd</value>
- </item>
- <item>
- <label>자산명</label>
- <value>nm</value>
- </item>
- </choices>
- </select1>
- <caption id="caption1" class="search_name" style="left:20px; top:13px; width:100px; height:17px; ">조건구분 :</caption>
- <caption id="caption2" class="search_name" style="left:20px; top:40px; width:85px; height:17px; ">관리부서 :</caption>
- <button id="button1" class="icon_search" navindex="-1" visibility="visible" style="left:210px; top:40px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPopUpPlceInfo("ipt_deptcd", "ipt_deptnm");
- ]]>
- </script>
- </button>
- <input id="ipt_deptnm" ref="/root/main/cond/deptnm" class="output_fix" disabled="true" navindex="-1" visibility="visible" editable="false" appearance="input" style="left:230px; top:40px; width:175px; height:19px; "/>
- <input id="ipt_deptcd" ref="/root/main/cond/deptcd" class="input_search" visibility="visible" style="left:105px; top:40px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </input>
- </group>
- <line id="line1" class="line_1" style="x1:0px; y1:95px; x2:517px; y2:95px; "/>
- <caption id="caption3" class="tit_2" style="left:0px; top:80px; width:100px; height:13px; ">자산목록</caption>
- </group>
- <button id="button4" class="btn4_letter2" visibility="hidden" style="left:400px; top:515px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fCnfm();
- ]]>
- </script>
- </button>
- <button id="button9" class="btn4_letter2" style="left:459px; top:515px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <close ev:event="onclick"/>
- </button>
- </xhtml:body>
- </xhtml:html>
|