123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150 |
- <?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>
- <speclist>
- <item>
- <speccd/>
- <specnm/>
- <exchval/>
- <rem/>
- <suppdeptcd/>
- </item>
- </speclist>
- </main>
- <send>
- <speccd/>
- <req>
- <data/>
- </req>
- <globalinstance>
- <instance1/>
- </globalinstance>
- </send>
- <init/>
- <hidden>
- <item>
- </item>
- </hidden>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <submission id="TRAEB03201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/speclist"/>
- <submission id="TXAEB03201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/hidden"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- aezfSetSuppDeptcd();
-
- model.removeNodeset("/root/main/speclist/item");
- model.refresh();
-
- model.setFocus("ipt_speccd");
-
- submit("TRAEB03201");
- ]]>
- </script>
- </model>
- </xhtml:head>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <xhtml:body guideline="1,1195;2,786;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:142px; height:14px; ">핵종 규격 관리</caption>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:20px; width:1190px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line2" class="line_1" style="x1:0px; y1:82px; x2:1195px; y2:82px; "/>
- <button id="btn_sea" class="btn1_letter2" style="left:1126px; top:27px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRAEB03201");
- ]]>
- </script>
- </button>
- <button id="btn_grdadd" class="btn2_letter3" style="left:1085px; top:60px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_speclist.addRow();
- grd_speclist.row = grd_speclist.bottomRow;
-
- var cnt = parseInt(grd_speclist.row);
-
- model.setValue("/root/main/speclist/item[" + cnt + "]/suppdeptcd",
- model.getValue("/root/send/globalinstance/instance1") );
-
- grd_speclist.isReadOnly(cnt, 1) = false;
-
- ]]>
- </script>
- </button>
- <button id="btn_grddel" class="btn2_letter3" style="left:1142px; top:60px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // grd_speclist.addStatus(grd_speclistt.row,"delete");
- deleteSelectedRows(grd_speclist, true);
- ]]>
- </script>
- </button>
- <input id="input8" ref="/root/send/speccd" class="input_search" style="left:106px; top:29px; width:100px; height:19px; "/>
- <caption id="caption25" class="search_name" style="left:16px; top:29px; width:86px; height:17px; ">규격코드 :</caption>
- <datagrid id="grd_speclist" nodeset="/root/main/speclist/item" caption="규격코드^규격명^환산치^비고" colsep="^" colwidth="131, 233, 128, 683" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:88px; width:1195px; height:665px; ">
- <col disabled="true" ref="speccd" type="input"/>
- <col ref="specnm" type="input"/>
- <col ref="exchval" type="input" format="#,###.00" style="text-align:right; "/>
- <col ref="rem" type="input">
- <![CDATA[/>]]>
- </col>
- <col ref="suppdeptcd" visibility="hidden"/>
- </datagrid>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1195px; y2:0px; "/>
- <button id="button1" class="btn4_letter2" style="left:1078px; top:4px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!astfNullValidation("/root/main/speclist/item", "speccd", "규격코드를")) return false;
- if(!astfNullValidation("/root/main/speclist/item", "specnm", "규격명을")) return false;
- if(!astfNullValidation("/root/main/speclist/item", "exchval", "환산치를")) return false;
-
- if ( messageBox("","Q002")==6 ) {
- var update = getGridUpdateData(grd_speclist);
- if(update == ""){
- messageBox("업데이트 정보가 없습니다.", "I");
- return 0;
-
- } else {
- model.setValue("/root/send/req/data", update);
-
- if (submit("TXAEB03201")) {
-
- }
- submit("TRAEB03201");
- }
- }
-
-
- ]]>
- </script>
- </button>
- <button id="btn_close" class="btn4_letter2" style="left:1138px; top:4px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (checkOpener()) {
- opener.model.setValue("/root/init/updtyn","N");
- }
- window.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|