1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- <?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>대분류코드HELP</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <lrglist>
- <lrgcd/>
- <lrgnm/>
- </lrglist>
- </main>
- <init>
- </init>
- <send>
- <reqdata/>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.removeNodeset("/root/main/lrglist");
- model.makeValue("/root/send/reqdata/tabflag", "CCR");
- submit("TRMNP04421");
- ]]>
- </script>
- <submission id="TRMNP04421" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/ccrlrglist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="620" pageheight="520" guideline="1,533;2,343;" 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:455px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:3px; width:145px; height:13px; ">대분류리스트</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:18px; x2:599px; y2:18px; "/>
- <datagrid id="grd_lrgllist" nodeset="/root/main/lrglist" caption="대분류코드^대분류명^물품구분" colsep="^" colwidth="118, 164, 112" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="never" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:23px; width:599px; height:430px; ">
- <col ref="lrgcd"/>
- <col ref="lrgnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var iRow = -1;
-
- iRow = grd_lrgllist.row;
-
- if(iRow < 1)
- {
- messageBox("리스트에서 선택한 것이", "I004");
- return;
- }else
- {
- model.setValue(opener.root.main.goodinfo.gooddetlinfo.ccrlrgcd, model.getValue("/root/main/lrglist"+"["+iRow+"]/lrgcd"));
- model.setValue(opener.root.main.goodinfo.gooddetlinfo.ccrlrg, model.getValue("/root/main/lrglist"+"["+iRow+"]/lrgnm"));
- opener.model.refresh();
- window.close();
- }
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:456px; width:600px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" style="left:484px; top:2px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var iRow = -1;
-
- iRow = grd_lrgllist.row;
-
- if(iRow < 1)
- {
- messageBox("리스트에서 선택한 것이", "I004");
- return;
- }else
- {
- model.setValue(opener.root.main.goodinfo.gooddetlinfo.ccrlrgcd, model.getValue("/root/main/lrglist"+"["+iRow+"]/lrgcd"));
- model.setValue(opener.root.main.goodinfo.gooddetlinfo.ccrlrg, model.getValue("/root/main/lrglist"+"["+iRow+"]/lrgnm"));
- opener.model.refresh();
- window.close();
- }
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" style="left:541px; top:2px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|