123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127 |
- <?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>거래처코드HELP</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <custlist>
- <custcd/>
- <custnm/>
- <custtel/>
- </custlist>
- <cond>
- <refflag>1</refflag>
- <refnm/>
- <refcls/>
- </cond>
- </main>
- <init>
- </init>
- <send>
- <reqdata/>
- </send>
- <hidden/>
- </root>
- </instance>
- <submission id="TRMNP04411" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/prodcmpylist"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.removenode("/root/main/custlist");
- model.refresh();
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript">
- <![CDATA[
- function fGetValue(node, row, element) {
- var rtnValue = model.getValue(node + "[" + row + "]/" + element);
- return rtnValue;
- }
-
- function fDblClick(iRow) {
- var iParam="";
- var iNode = "/root/main/custlist";
-
- var iParam_custcd = fGetValue(iNode, iRow, "custcd");
- var iParam_custnm = fGetValue(iNode, iRow, "custnm");
- var iParam_custtel = fGetValue(iNode, iRow, "custtel");
- iParam = iParam_custcd +"|"+ iParam_custnm +"|"
- + iParam_custtel ;
-
- opener.javascript.setParameter("SendData", iParam);
- window.close();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="620" pageheight="570" guideline="1,595;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:602px; height:552px; ">
- <group id="group2" style="left:0px; top:0px; width:599px; height:40px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:598px; height:40px; "/>
- <input id="ipt_refcond" ref="/root/main/cond/refnm" class="input_s_essential" style="left:376px; top:11px; width:148px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_search" class="btn1_letter2" style="left:541px; top:9px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- submit("TRMNP04411");
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:532px; y1:5px; x2:532px; y2:35px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption2" class="search_name" style="left:295px; top:11px; width:86px; height:17px; ">조 회 명:</caption>
- <caption id="caption3" class="search_name" style="left:3px; top:12px; width:86px; height:17px; ">조회조건:</caption>
- <select1 id="rdo_refcond" ref="/root/main/cond/refflag" class="radio_search" overflow="visible" appearance="full" cols="2" style="left:87px; top:11px; width:178px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>거래처명</label>
- <value>1</value>
- </item>
- <item>
- <label>거래처코드</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setFocus("ipt_refcond");
- ]]>
- </script>
- </select1>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:41px; width:145px; height:13px; ">거래처리스트</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:56px; x2:599px; y2:56px; "/>
- <datagrid id="grd_custlist" nodeset="/root/main/custlist" class="grd_agtplcelist" caption="거래처코드^거래처 명^거래처전화" colsep="^" colwidth="135, 266, 156" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="never" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:62px; width:599px; height:478px; ">
- <col ref="custcd"/>
- <col ref="custnm"/>
- <col ref="custtel"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var iRow = -1;
-
- iRow = grd_custlist.row;
-
- if(iRow < 1) {
- messageBox("리스트에서 선택한 것이", "I004");
- return;
- }else {
- fDblClick(iRow);
- }
- ]]>
- </script>
- </datagrid>
- </group>
- </xhtml:body>
- </xhtml:html>
|