123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- <?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>
- <mdllist>
- <mdlcd/>
- <mdlnm/>
- </mdllist>
- <cond>
- <ccrlrgcd/>
- <tabflag/>
- </cond>
- </main>
- <init>
- </init>
- <send>
- <reqdata/>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.removeNodeset("/root/main/mdllist");
- if ( checkOpener() != false){
- var ccrlrgcd = opener.javascript.getParameter("ccrlrgcd");
- if( ccrlrgcd != "" ) {
- model.setValue("/root/main/cond/ccrlrgcd", ccrlrgcd);
- model.setValue("/root/main/cond/tabflag", "CCR");
- }
- }
- if( model.getValue("/root/main/cond/ccrlrgcd") == "" ) {
- messageBox("대분류를 먼저", "C002");
- window.close();
- }else{
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- submit("TRMNP04431");
- }
- ]]>
- </script>
- <submission id="TRMNP04431" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/ccrmdllist"/>
- </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="2,343;1,559;" 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:1px; width:145px; height:13px; ">중분류리스트</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:16px; x2:599px; y2:16px; "/>
- <datagrid id="grd_mdlllist" nodeset="/root/main/mdllist" class="grd_mdlllist" caption="중분류코드^중분류명^물품구분^대분류코드^계정코드^비용계정" colsep="^" colwidth="120, 216,120,120, 130,110" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="never" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:18px; width:599px; height:430px; ">
- <col ref="mdlcd"/>
- <col ref="mdlnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var iRow = -1;
-
- iRow = grd_mdlllist.row;
-
- if(iRow < 1)
- {
- messageBox("리스트에서 선택한 것이", "I004");
- return;
- }else
- {
- model.setValue(opener.root.main.goodinfo.gooddetlinfo.ccrmdlcd, model.getValue("/root/main/mdllist"+"["+iRow+"]/mdlcd"));
- model.setValue(opener.root.main.goodinfo.gooddetlinfo.ccrmdl, model.getValue("/root/main/mdllist"+"["+iRow+"]/mdlnm"));
- opener.model.refresh();
- window.close();
- }
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:454px; 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_mdlllist.row;
-
- if(iRow < 1)
- {
- messageBox("리스트에서 선택한 것이", "I004");
- return;
- }else
- {
- model.setValue(opener.root.main.goodinfo.gooddetlinfo.ccrmdlcd, model.getValue("/root/main/mdllist"+"["+iRow+"]/mdlcd"));
- model.setValue(opener.root.main.goodinfo.gooddetlinfo.ccrmdl, model.getValue("/root/main/mdllist"+"["+iRow+"]/mdlnm"));
- 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>
|