123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPAHA00500.xrw
- * 설 명 : 판정코드선택
- * 설 계 자 : 김호익
- * 작 성 자 : 김호익
- * 작 성 일 : 2007.05.13
- * 수정이력 :
- * 기 타 :
- -->
- <?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>
- <cdlst>
- <item>
- <etccd/>
- <etcdetlcd/>
- <etcdetlnm/>
- </item>
- </cdlst>
- </main>
- <send>
- <item>
- <cdflag/>
- <instcd/>
- <dgflag/>
- </item>
- </send>
- <init/>
- <hidden>
- </hidden>
- <target>
- <srchflag/>
- <srchcond/>
- <srchcdnm/>
- <srchinstcd/>
- <openerid/>
- <desxpathcd/>
- <desxpathnm/>
- </target>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.makeValue("/root/send/item/cdflag", opener.model.getValue("/root/tmp/cdflag"));
- model.makeValue("/root/send/item/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/item/dgflag", opener.model.getValue("/root/tmp/dgflag"));
- submit("TRAHB02800");
- ]]>
- </script>
- <submission id="TRAHB02800" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/cdlst"/>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="534" pageheight="543">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:518px; height:515px; ">
- <datagrid id="grd_cdlst" nodeset="/root/main/cdlst/item" caption="코드^caption1^코드명" colsep="^" colwidth="83, 100, 388" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:49px; width:517px; height:463px; ">
- <col ref="etccd"/>
- <col ref="etcdetlcd" visibility="hidden"/>
- <col ref="etcdetlnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(opener.grd_rsrvlst.col==opener.grd_rsrvlst.colRef("judgflagnm")) {
- opener.model.makeValue("/root/main/codeinfo/item["+opener.grd_rsrvlst.row+"]/judgflag", grd_cdlst.valueMatrix(grd_cdlst.row,grd_cdlst.colRef("etccd")));
- opener.model.makeValue("/root/main/codeinfo/item["+opener.grd_rsrvlst.row+"]/judgdetlflag",grd_cdlst.valueMatrix(grd_cdlst.row,grd_cdlst.colRef("etcdetlcd")));
- opener.model.makeValue("/root/main/codeinfo/item["+opener.grd_rsrvlst.row+"]/judgflagnm",grd_cdlst.valueMatrix(grd_cdlst.row,grd_cdlst.colRef("etcdetlnm")));
- }else{
- opener.model.makeValue("/root/main/codeinfo/item["+opener.grd_rsrvlst.row+"]/judgcd", grd_cdlst.valueMatrix(grd_cdlst.row,grd_cdlst.colRef("etccd")));
- opener.model.makeValue("/root/main/codeinfo/item["+opener.grd_rsrvlst.row+"]/judgdetlcd",grd_cdlst.valueMatrix(grd_cdlst.row,grd_cdlst.colRef("etcdetlcd")));
- opener.model.makeValue("/root/main/codeinfo/item["+opener.grd_rsrvlst.row+"]/judgnm",grd_cdlst.valueMatrix(grd_cdlst.row,grd_cdlst.colRef("etcdetlnm")));
-
- }
- opener.model.refresh();
- window.close();
- ]]>
- </script>
- </datagrid>
- <group id="group2" style="left:0px; top:0px; width:517px; height:40px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:517px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" visibility="hidden" style="left:16px; top:12px; width:86px; height:17px; ">검색조건 :</caption>
- <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[
- model.makeValue("/root/send/item/cdflag", opener.model.getValue("/root/tmp/cdflag"));
- model.makeValue("/root/send/item/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/item/dgflag", opener.model.getValue("/root/tmp/dgflag"));
- submit("TRAHB02800");
- ]]>
- </script>
- </button>
- <line id="line13" style="x1:429px; y1:11px; x2:429px; y2:32px; border-color:#ffe4bb; border-left-style:solid; "/>
- <select1 id="cmb_srchcond2" ref="/root/send/srchcond" class="combo_search" visibility="hidden" appearance="minimal" style="left:105px; top:11px; width:80px; height:19px; ">
- <choices>
- <item>
- <label>코드</label>
- <value>cd</value>
- </item>
- <item>
- <label>명칭</label>
- <value>nm</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setFocus("ipt_cdnm");
- ]]>
- </script>
- </select1>
- <input id="ipt_cdnm" ref="/root/send/srchcdnm" class="input_search" visibility="hidden" style="left:188px; top:11px; width:227px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- </group>
- <line id="line1" class="line_1" style="x1:0px; y1:46px; x2:517px; y2:46px; "/>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:515px; width:517px; height:28px; ">
- <button id="button9" class="btn4_letter2" style="left:461px; top:3px; width:56px; height:22px; ">
- <caption>취소</caption>
- <close ev:event="onclick"/>
- </button>
- <button id="button4" class="btn4_letter2" style="left:402px; top:3px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetData();
- window.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|