| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183 |
- <?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>
- <resnlist>
- <chkyn/>
- <dlvrflag/>
- <resncd/>
- <resnnm/>
- </resnlist>
- </main>
- <send>
- <instcd/>
- <dlvrflag/>
- <updtdata/>
- </send>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //화면 Control을 초기화한다
- // fCheckAuth();
- fInitialize();
- ]]>
- </script>
- <submission id="TRRSE00110" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/resnlist"/>
- <submission id="TXRSE00110" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize() {
- misfGridInit(grd_resnlist);
-
- misfComboComCdListMulti("Z0007", "cmb_instcd"); //기관코드,set 제제약 구분
- model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
- cmb_instcd.refresh();
-
- grd_resnlist.fixedcellcheckbox(0, grd_resnlist.colRef("chkyn")) = true;
-
- btn_search.dispatch("DOMActivate");
-
-
-
-
- }
- function fCheckAuth() {
- btn_search.disabled = !checkAuth("R") ;
- btn_save.disabled = !checkAuth("X") ;
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="740" pageheight="500" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:720px; height:475px; ">
- <group id="grp_sea" style="left:0px; top:0px; width:720px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:720px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:654px; top:5px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/dlvrflag", model.getValue(rdo_dlvrflag.attribute("ref")));
- submit("TRRSE00110");
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:639px; y1:5px; x2:639px; y2:27px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption62" class="search_name" style="left:10px; top:9px; width:86px; height:17px; ">기관코드 :</caption>
- <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" disabled="true" appearance="minimal" style="left:97px; top:8px; width:138px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/instcd">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <select1 id="rdo_dlvrflag" ref="/root/send/dlvrflag" overflow="visible" appearance="full" cols="4" style="left:335px; top:10px; width:150px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>교환</label>
- <value>1</value>
- </item>
- <item>
- <label>대여</label>
- <value>2</value>
- </item>
- <item>
- <label>멸균</label>
- <value>3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <caption id="caption1" class="search_name" style="left:245px; top:10px; width:86px; height:17px; ">불출구분 :</caption>
- </group>
- <line id="line1" class="line_1" style="x1:0px; y1:61px; x2:720px; y2:61px; "/>
- <caption id="caption4" class="tit_2" style="left:5px; top:46px; width:100px; height:14px; ">장비코드내역</caption>
- <datagrid id="grd_resnlist" nodeset="/root/main/resnlist" caption="^불출구분^사유코드^사유명^사유명" colsep="^" colwidth="21, 80, 60, 516" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:0px; top:66px; width:720px; height:409px; ">
- <col checkvalue="Y,N" ref="chkyn" type="checkbox"/>
- <col ref="dlvrflag" type="combo" _key="true">
- <choices>
- <item>
- <label>교환</label>
- <value>1</value>
- </item>
- <item>
- <label>대여</label>
- <value>2</value>
- </item>
- <item>
- <label>멸균</label>
- <value>3</value>
- </item>
- </choices>
- </col>
- <col ref="resncd" type="input" _key="true"/>
- <col ref="resnnm" type="input"/>
- </datagrid>
- <button id="button1" class="btn2_letter3" style="left:566px; top:42px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_resnlist.addRow();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter3" style="left:621px; top:41px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_resnlist.rowStatus(grd_resnlist.row) = "4";
- ]]>
- </script>
- </button>
- <button id="button3" class="btn5_letter2" style="left:676px; top:41px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_resnlist);
-
- if(updtdata == "") {
- messageBox("저장할 데이터가 존재하지 않습니다.", "E");
- return;
- }
-
- model.makeValue("/root/send/updtdata", updtdata);
-
- if(submit("TXRSE00110")) {
- messageBox("저장이 완료되었습니다.", "E");
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|