1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>
- <grid>
- <item>
- <cdid/>
- <cdnm/>
- </item>
- </grid>
- </main>
- <send>
- <srchnm/>
- <cdgrupid/>
- </send>
- <init>
- </init>
- <hidden>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var cdgrupid = opener.javascript.getParameter("cdgrupid");
-
- model.setValue("/root/send/cdgrupid",cdgrupid);
-
- ]]>
- </script>
- <submission id="TRIMR00302" method="post" ref="/root/send" replace="instance" resultref="/root/main/grid"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="550" pageheight="450" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:10px; top:10px; width:505px; height:415px; ">
- <caption id="caption120" class="tit_1" style="left:0px; top:0px; width:158px; height:14px; ">공통코드조회</caption>
- <group id="group3" style="left:0px; top:25px; width:499px; height:45px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:1px; top:0px; width:498px; height:43px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="input26" ref="/root/send/srchnm" class="input_search" style="left:94px; top:9px; width:141px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13) {
- setInputNodeCurText();
- submit("TRIMR00302");
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <caption id="caption145" class="search_name" style="left:15px; top:10px; width:73px; height:17px; ">명칭 :</caption>
- <button id="button8" class="btn1_letter2" style="left:413px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRIMR00302");
- ]]>
- </script>
- </button>
- </group>
- <datagrid id="datagrid4" nodeset="/root/main/grid/item" caption="코드^명칭" colsep="^" colwidth="95, 375" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:70px; width:500px; height:330px; ">
- <col ref="cdid"/>
- <col ref="cdnm" format="999-99-99999"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var row = datagrid4.row;
-
- var cdid = model.getValue("/root/main/grid/item["+ row +"]/cdid")
- var cdnm = model.getValue("/root/main/grid/item["+ row +"]/cdnm");
- /*var objParam = new Object();
- objParam.cmpynm = cmpynm;
- objParam.reqinstcd = reqinstcd;
- objParam.bizmngrgstno = bizmngrgstno;
- objParam.prdnm = prsdnm;
- */
-
- //opener.window.javascript.setInstInfo(objParam);
- opener.window.javascript.setParameter("cdid",cdid);
- opener.window.javascript.setParameter("cdnm",cdnm);
- window.close();
- ]]>
- </script>
- </datagrid>
- </group>
- </xhtml:body>
- </xhtml:html>
|