123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237 |
- <?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>
- <rscmdiltlist/>
- <dinfgoodlist/>
- </main>
- <send>
- <instcd/>
- <dinfkind/>
- <dinfdeptgubn/>
- </send>
- <init>
- <dinfkind>
- <label>고압증기</label>
- <value>1</value>
- <label>건열</label>
- <value>2</value>
- <label>EO gas</label>
- <value>3</value>
- <label>STERRAD</label>
- <value>4</value>
- </dinfkind>
- <dinfdeptgubn>
- <label>외래</label>
- <value>1</value>
- <label>CSR</label>
- <value>2</value>
- <label>전체</label>
- <value/>
- </dinfdeptgubn>
- </init>
- <target>
- <defaultvalue>
- <instcd/>
- <dinfkind/>
- </defaultvalue>
- </target>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- misfMsterDetailSet(grd_rscmdiltlist, null,"TRRSD00311","N"); //마스터 설정
- misfComboComCdList('Z0007', cmb_instcd); //기관코드
-
- misfGridInit(grd_rscmdiltlist);
- grd_rscmdiltlist.fixedcellcheckbox(0, grd_rscmdiltlist.colRef("chk")) = true;
- grd_rscmdiltlist.mergecol(grd_rscmdiltlist.colRef("chk")) = false;
-
-
- if(model.getValue("/root/target/defaultvalue/instcd") != "")
- {
- cmb_instcd.disabled = true;
- model.setValue("/root/send/instcd", model.getValue("/root/target/defaultvalue/instcd"));
- }
-
- if(model.getValue("/root/target/defaultvalue/dinfkind") != "")
- {
- rdo_dinfkind.disabled = true;
- model.setValue("/root/send/dinfkind", model.getValue("/root/target/defaultvalue/dinfkind"));
- }
-
-
- model.refresh();
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- <submission id="TRRSD00311" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rscmdiltlist"/>
- </model>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript">
- <![CDATA[
- // 부모 윈도우에 데이터 넘기기 및 데이터 컨트롤.
- // 2008.01.03. 송광호.
- function fSetDataControl()
- {
- var result = '';
-
- for(var i = grd_rscmdiltlist.rows; i > (grd_rscmdiltlist.fixedRows-1); i--)
- {
- if(grd_rscmdiltlist.valueMatrix(i, grd_rscmdiltlist.colRef("chk")) == 'Y' )
- {
- if(result != "")
- {
- result = "\n" + result;
- }
-
- result = grd_rscmdiltlist.valueMatrix(i, grd_rscmdiltlist.colRef("dinfgood")) + result ;
- }
- }
-
- if(result == '')
- {
- result = grd_rscmdiltlist.valueMatrix( grd_rscmdiltlist.row, grd_rscmdiltlist.colRef("dinfgood"));
- }
-
- ipt_dinfgoodlist.value = result;
-
- // 부모 윈도우에게 데이터 설정.
- var node = instance1.selectNodes("/root/target/recvitem/*");
-
- for (var j = 0; j < node.length; j++) {
- opener.model.setValue(model.getValue("/root/target/recvref") + "/" + node.item(j).nodeName, ipt_dinfgoodlist.value);
- }
-
- var objID = opener.event.currentTarget;
- var obj = opener.document.controls(objID);
- if (obj.elementName == "xforms:datagrid") {
- if (obj.rowstatus(obj.row) == 0) {
- obj.rowstatus(obj.row) = 2;
- }
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="750" pageheight="532" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:8px; top:0px; width:722px; height:490px; ">
- <group id="group2" style="left:0px; top:5px; width:720px; height:65px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:720px; height:60px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:640px; top:17px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRRSD00311");
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:625px; y1:7px; x2:625px; y2:50px; border-color:#ffe4bb; border-left-style:solid; "/>
- <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" appearance="minimal" style="left:107px; top:8px; width:218px; height:19px; text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_instcd" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">기관코드 :</caption>
- <select1 id="rdo_dinfkind" ref="/root/send/dinfkind" overflow="visible" appearance="full" cellspacing="5" cols="5" style="left:107px; top:34px; width:219px; height:15px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/dinfkind">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <caption id="cap_dinfkind" class="search_name" style="left:15px; top:35px; width:90px; height:17px; ">멸균종류 :</caption>
- <caption id="cap_dinfdeptgubn" class="search_name" style="left:353px; top:9px; width:90px; height:17px; ">부서구분 :</caption>
- <select1 id="rdo_dinfdeptgubn" ref="/root/send/dinfdeptgubn" overflow="visible" appearance="full" cellspacing="5" cols="3" style="left:445px; top:8px; width:165px; height:15px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/dinfdeptgubn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <input id="ipt_dinfgoodlist" ref="/root/main/dinfgoodlist" visibility="hidden" style="left:505px; top:35px; width:95px; height:19px; "/>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:77px; width:145px; height:13px; ">멸균물품 List</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:91px; x2:720px; y2:91px; "/>
- <datagrid id="grd_rscmdiltlist" nodeset="/root/main/rscmdiltlist" autoresize="true" caption="멸균부서구분^멸균물품구분^멸균물품^^기관명^멸균종류" colsep="^" colwidth="136, 209, 297, 31, 224, 32" ellipsis="true" extendlastcol="scroll" mergecells="bycol" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:96px; width:722px; height:394px; ">
- <col disabled="true" ref="dinfdeptgubn" type="combo" style="text-align:center; vertical-align:top; ">
- <choices>
- <itemset nodeset="/root/init/dinfdeptgubn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="dinfgoodgubn" style="vertical-align:top; "/>
- <col ref="dinfgood"/>
- <col checkvalue="Y,N" ref="chk" type="checkbox"/>
- <col disabled="true" ref="instnm" visibility="hidden" style="text-align:center; vertical-align:top; "/>
- <col disabled="true" ref="dinfkind" type="combo" visibility="hidden" style="text-align:center; vertical-align:top; ">
- <choices>
- <itemset nodeset="/root/init/dinfkind">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if( grd_rscmdiltlist.isCell( event.target ) && grd_rscmdiltlist.row >= grd_rscmdiltlist.fixedRows ) {
- btn_confirm.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group1" scroll="auto" style="left:8px; top:490px; width:722px; height:37px; ">
- <button id="btn_confirm" class="btn4_letter2" style="left:603px; top:10px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetDataControl();
-
- window.close();
- //misfPopUpListReturn(ipt_dinfgoodlist);
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" style="left:660px; top:10px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:5px; x2:722px; y2:5px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|