123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228 |
- <?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>핵종관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <itemlist>
- <item>
- <itemcd/>
- <itemnm/>
- <speccd/>
- <nuclcd/>
- <minkeepdayno/>
- <alimitqty/>
- <itemgrpcd/>
- <rem/>
- <bdioflag/>
- <itemflag/>
- <suppdeptcd/>
- </item>
- </itemlist>
- </main>
- <send>
- <bdioflag>I</bdioflag>
- <itemflag>N</itemflag>
- <itemcd/>
- <req>
- <data/>
- </req>
- <globalinstance>
- <instance1/>
- </globalinstance>
- </send>
- <init/>
- <hidden>
- <item>
- </item>
- </hidden>
- <combo>
- <speclist/>
- </combo>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- aezfSetSuppDeptcd();
-
- model.removeNodeset("/root/main/itemlist/item");
- model.refresh();
-
- model.setFocus("ipt_basecd");
-
- submit("TRAEB03201");
-
- submit("TRAEB01802");
-
- ]]>
- </script>
- <submission id="TRAEB03201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/combo/speclist"/>
- <submission id="TRAEB01802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/itemlist"/>
- <submission id="TXAEB01802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/hidden"/>
- </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"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.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:160px; height:13px; ">핵종/화합물 코드관리</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("TRAEB01802");
- ]]>
- </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_itemlist.addRow();
- grd_itemlist.row = grd_itemlist.bottomRow;
-
- var cnt = parseInt(grd_itemlist.row);
-
- model.setValue("/root/main/itemlist/item[" + cnt + "]/bdioflag",
- model.getValue("/root/send/bdioflag") );
-
- model.setValue("/root/main/itemlist/item[" + cnt + "]/suppdeptcd",
- model.getValue("/root/send/globalinstance/instance1") );
-
- model.setValue("/root/main/itemlist/item[" + cnt + "]/itemflag",
- model.getValue("/root/send/itemflag") );
-
- grd_itemlist.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_itemlist.addStatus(grd_itemlistt.row,"delete");
- deleteSelectedRows(grd_itemlist, true);
- ]]>
- </script>
- </button>
- <input id="input8" ref="/root/send/itemcd" class="input_search" style="left:701px; top:28px; width:100px; height:19px; "/>
- <caption id="caption25" class="search_name" style="left:610px; top:30px; width:86px; height:17px; ">핵종코드 :</caption>
- <datagrid id="grd_itemlist" nodeset="/root/main/itemlist/item" caption="핵종코드^핵종명^규격^핵종구분^최소보관일수^년간허용량^핵종명그룹명^비고^caption1^caption2^caption3" colsep="^" colwidth="131, 233, 149, 100, 100, 100, 179, 307, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:88px; width:1195px; height:665px; ">
- <col disabled="true" ref="itemcd" type="input"/>
- <col ref="itemnm" type="input"/>
- <col ref="speccd" type="combo">
- <choices>
- <itemset nodeset="/root/combo/speclist/item">
- <label ref="specnm"/>
- <value ref="speccd"/>
- </itemset>
- </choices>
- </col>
- <col ref="nuclcd" type="combo">
- <choices>
- <item>
- <label>-</label>
- <value>-</value>
- </item>
- <item>
- <label>밀봉</label>
- <value>SN</value>
- </item>
- <item>
- <label>개봉</label>
- <value>ON</value>
- </item>
- </choices>
- </col>
- <col ref="minkeepdayno" type="input" format="#,###" style="text-align:right; "/>
- <col ref="alimitqty" type="input" format="#,###.##" style="text-align:right; "/>
- <col ref="itemgrpcd" type="input"/>
- <col ref="rem" type="input"/>
- <col ref="bdioflag" visibility="hidden"/>
- <col ref="itemflag" visibility="hidden"/>
- <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 ( messageBox("","Q002")==6 ) {
- var update = getGridUpdateData(grd_itemlist);
- if(update == ""){
- messageBox("업데이트 정보가 없습니다.", "I");
- return 0;
-
- } else {
- model.setValue("/root/send/req/data", update);
- if (submit("TXAEB01802")) {
-
- }
- submit("TRAEB01802");
- }
- }
-
-
- ]]>
- </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>
- <caption id="caption1" class="search_name" style="left:20px; top:30px; width:99px; height:17px; ">체내외구분 :</caption>
- <select1 id="cmb_ioflag" ref="/root/send/bdioflag" class="combo_search" appearance="minimal" style="left:125px; top:28px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>체내</label>
- <value>I</value>
- </item>
- <item>
- <label>체외</label>
- <value>O</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- submit("TRAEB01802");
- ]]>
- </script>
- </select1>
- <caption id="caption2" class="search_name" style="left:308px; top:30px; width:99px; height:17px; ">물품구분 :</caption>
- <select1 id="combo1" ref="/root/send/itemflag" class="combo_search" appearance="minimal" style="left:413px; top:28px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>핵종</label>
- <value>N</value>
- </item>
- <item>
- <label>화합물</label>
- <value>O</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- submit("TRAEB01802");
- ]]>
- </script>
- </select1>
- </xhtml:body>
- </xhtml:html>
|