| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382 |
- <?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>
- <reqdinfinfo>
- <reqdinfinfolist/>
- </reqdinfinfo>
- </main>
- <send>
- <reqdata/>
- </send>
- <temp>
- <csrreqdeptlist/>
- </temp>
- <cond>
- <srchflag>01</srchflag>
- <csrreqdeptcd/>
- <reqdeptcd/>
- <reqpridflag/>
- <lrgcd/>
- <mdlcd/>
- <smlcd/>
- <goodflag/>
- </cond>
- <init>
- <lrglist/>
- <mdllist/>
- <smllist/>
- <csrdeptlist/>
- </init>
- <hidden>
- <deptcodelist/>
- </hidden>
- </root>
- </instance>
- <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" src="../../../emr/commonweb/js/EMRCommon.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRRSE01131" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/cond" resultref="/root/main/reqdinfinfo"/>
- <submission id="TRRSC05111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/lrglist"/>
- <submission id="TRRSC05112" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/cond" resultref="/root/init/mdllist"/>
- <submission id="TRRSC05113" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/cond" resultref="/root/init/smllist"/>
- <submission id="TRRSS01211" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodreq" resultref="/root/temp/csrreqdeptlist"/>
- <submission id="TRRSS01214" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/deptcodelist"/>
- <submission id="TRRSS01212" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/csrdeptlist"/>
- </model>
- <script type="javascript">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize()
- {
- model.removeNodeset("/root/main/reqdinfinfo/reqdinfinfolist");
-
- model.makeValue("/root/send/goodreq/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/goodreq/useyn", "Y");
-
- submit("TRRSS01211");//부서구분 조회
- addComboItem( "cmb_csrreqdeptcd", "전체", "", "above");
- model.removeNodeset("/root/send/reqdata");
-
- submit("TRRSC05111"); //대분류 조회
- addComboItem( "cmb_lrgcd", "전체", "", "above");
-
- model.makeValue("/root/send/reqdata/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/reqdata/deptcd", getUserInfo("dutplcecd"));
- model.makeValue("/root/send/reqdata/refcond", "deptcd");
- submit("TRRSS01214");
- model.setValue("/root/cond/csrreqdeptcd",model.getValue("/root/hidden/deptcodelist/csrreqdeptcd2"));
- cmb_csrreqdeptcd.refresh();
- model.removeNodeset("/root/send/reqdata");
-
- model.makeValue("/root/send/reqdata/csrreqdeptcd",cmb_csrreqdeptcd.value);
- model.makeValue("/root/send/reqdata/useyn","Y");
- submit("TRRSS01212");
- model.setValue("/root/cond/reqdeptcd",model.getValue("/root/init/csrdeptlist/deptcd"));
- cmb_deptcd.refresh();
-
-
- model.refresh();
- fSerachData();
- }
-
-
- function fSerachData()
- {
- submit("TRRSE01131");
-
- }
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="770" pageheight="600" guideline="1,963;2,771;1,866;" style="font-family:굴림체; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:5px; top:16px; width:740px; height:549px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:4px; top:7px; width:725px; height:88px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption1" class="tit_2" style="left:4px; top:106px; width:136px; height:13px; ">청구멸균품목 내역</caption>
- <line id="line1" class="line_1" style="x1:4px; y1:120px; x2:729px; y2:120px; "/>
- <button id="button1" class="btn2_letter4" style="left:661px; top:100px; width:64px; height:19px; ">
- <caption>선택적용</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var chkyn;
- var param = "";
- var goodnm = "";
-
- for(var i = grd_reqdinfinfolist.fixedRows; i < grd_reqdinfinfolist.rows; i++) {
- chkyn = grd_reqdinfinfolist.valueMatrix(i, grd_reqdinfinfolist.colRef("chkyn"));
- goodnm = grd_reqdinfinfolist.valueMatrix(i, grd_reqdinfinfolist.colRef("goodnm"));
-
- if(chkyn == "Y") {
- param += goodnm + "\n";
- }
- }
-
- if ( checkOpener() ) {
-
- opener.javascript.setParameter("param",param);
-
- } else {
- var rtn = messageBox("상위화면을 찾을 수", "E001");
- opener.javascript.setParameter("param","");
- }
-
- window.close();
-
- ]]>
- </script>
- </button>
- <datagrid id="grd_reqdinfinfolist" nodeset="/root/main/reqdinfinfo/reqdinfinfolist" class="datagrid2" caption="선택^청구부서^청구
차수^물품코드^물품명^멸균상세^규격^모델" colsep="^" colwidth="32, 96, 36, 87, 231, 86, 100, 129" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:4px; top:125px; width:725px; height:415px; ">
- <col checkvalue="Y,N" ref="chkyn" type="checkbox"/>
- <col ref="reqdeptnm" style="text-align:center; "/>
- <col disabled="true" ref="reqpridflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>1차</label>
- <value>1</value>
- </item>
- <item>
- <label>2차</label>
- <value>2</value>
- </item>
- <item>
- <label>3차</label>
- <value>3</value>
- </item>
- <item>
- <label>4차</label>
- <value>4</value>
- </item>
- <item>
- <label>5차</label>
- <value>5</value>
- </item>
- <item>
- <label>응급</label>
- <value>-</value>
- </item>
- </choices>
- </col>
- <col class="input_essential" ref="goodcd" _key="true" style="text-align:center; "/>
- <col ref="goodnm"/>
- <col disabled="true" ref="dinfdivs" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>고압증기멸균</label>
- <value>1</value>
- </item>
- <item>
- <label>가스멸균</label>
- <value>2</value>
- </item>
- <item>
- <label>건열멸균</label>
- <value>3</value>
- </item>
- <item>
- <label>플라즈마멸균</label>
- <value>4</value>
- </item>
- </choices>
- </col>
- <col ref="goodspec"/>
- <col ref="goodmodel"/>
- </datagrid>
- <select1 id="rdo_refflag" ref="/root/cond/srchflag" appearance="full" rows="2" overflow="visible" style="left:15px; top:40px; width:95px; height:35px; border-style:none; ">
- <choices>
- <item>
- <label>부서청구물품</label>
- <value>01</value>
- </item>
- <item>
- <label>CSR물품</label>
- <value>02</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var srchflag = model.getValue("/root/cond/srchflag");
- if(srchflag =="02"){
- cmb_csrreqdeptcd.disabled = true;
- cmb_deptcd.disabled = true;
- cmb_reqpridflag.disabled = true;
- grd_reqdinfinfolist.colHidden(grd_reqdinfinfolist.colRef("reqdeptnm")) = true;
- grd_reqdinfinfolist.colHidden(grd_reqdinfinfolist.colRef("reqpridflag")) = true;
-
- }else{
- cmb_csrreqdeptcd.disabled = false;
- cmb_deptcd.disabled = false;
- cmb_reqpridflag.disabled = false ;
- grd_reqdinfinfolist.colHidden(grd_reqdinfinfolist.colRef("reqdeptnm")) = false;
- grd_reqdinfinfolist.colHidden(grd_reqdinfinfolist.colRef("reqpridflag")) = false;
-
- }
- fSerachData();
- model.refresh();
- ]]>
- </script>
- </select1>
- <line id="line3" class="line_4" style="x1:655px; y1:32px; x2:655px; y2:73px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_search" class="btn1_letter2" style="left:665px; top:45px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSerachData();
- ]]>
- </script>
- </button>
- <caption id="caption3" class="search_name" style="left:10px; top:15px; width:86px; height:17px; ">조회 조건</caption>
- <select1 id="cmb_smlcd" ref="/root/cond/smlcd" appearance="minimal" style="left:535px; top:60px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/smllist">
- <label ref="smlnm"/>
- <value ref="smlcd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_lrgcd" ref="/root/cond/lrgcd" appearance="minimal" style="left:185px; top:60px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/lrglist">
- <label ref="lrgnm"/>
- <value ref="lrgcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- model.makeValue("/root/cond/goodflag","T");
- submit("TRRSC05112");
-
- var nodelist = instance1.selectNodes("/root/init/mdllist");
- model.removeNodeset("/root/cond/mdlcd");
- model.removeNodeset("/root/cond/smlcd");
- model.makeNode("/root/cond/mdlcd");
-
- if(nodelist.length < 1 ){
- model.removeNodeset("/root/init/mdllist");
- model.removeNodeset("/root/init/smllist");
- }else{
- addComboItem( "cmb_mdlcd", "전체", "", "above");
- model.setValue("/root/cond/mdlcd",model.getValue("/root/init/mdllist/mdlcd[1]"));
- }
- cmb_mdlcd.refresh();
- cmb_smlcd.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_mdlcd" ref="/root/cond/mdlcd" appearance="minimal" style="left:365px; top:61px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/mdllist">
- <label ref="mdlnm"/>
- <value ref="mdlcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- submit("TRRSC05113");
-
- var nodelist = instance1.selectNodes("/root/init/smllist");
- model.removeNodeset("/root/cond/smlcd");
- model.makeNode("/root/cond/smlcd");
- if(nodelist.length < 1){
- model.removeNodeset("/root/init/smllist");
- }else{
- addComboItem( "cmb_smlcd", "전체", "", "above");
- model.setValue("/root/cond/smlcd",model.getValue("/root/init/smllist/smlcd[1]"));
- }
-
- ]]>
- </script>
- </select1>
- <caption id="caption13" class="search_name" style="left:110px; top:63px; width:86px; height:17px; ">대분류 :</caption>
- <select1 id="cmb_reqpridflag" ref="/root/cond/reqpridflag" appearance="minimal" style="left:575px; top:30px; width:65px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>1차</label>
- <value>1</value>
- </item>
- <item>
- <label>2차</label>
- <value>2</value>
- </item>
- <item>
- <label>3차</label>
- <value>3</value>
- </item>
- <item>
- <label>응급</label>
- <value>-</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSerachData();
- ]]>
- </script>
- </select1>
- <caption id="caption2" class="search_name" style="left:490px; top:30px; width:86px; height:17px; ">청구차수:</caption>
- <caption id="caption4" class="search_name" style="left:290px; top:63px; width:75px; height:17px; ">중분류 :</caption>
- <caption id="caption5" class="search_name" style="left:460px; top:63px; width:75px; height:17px; ">소분류 :</caption>
- <select1 id="cmb_deptcd" ref="/root/cond/reqdeptcd" class="combo_s_essential" appearance="minimal" style="left:390px; top:30px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/csrdeptlist">
- <label ref="deptnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSerachData();
-
- ]]>
- </script>
- </select1>
- <caption id="caption20" class="search_name" style="left:110px; top:30px; width:94px; height:17px; ">부서구분 :</caption>
- <caption id="caption10" class="search_name" style="left:299px; top:30px; width:90px; height:17px; ">청구부서 :</caption>
- <select1 id="cmb_csrreqdeptcd" ref="/root/cond/csrreqdeptcd" class="combo_s_essential" appearance="minimal" style="left:200px; top:30px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/temp/csrreqdeptlist">
- <label ref="csrreqdeptnm"/>
- <value ref="csrreqdeptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.makeValue("/root/send/reqdata/csrreqdeptcd",cmb_csrreqdeptcd.value);
- model.makeValue("/root/send/reqdata/useyn","Y");
- submit("TRRSS01212");
- cmb_deptcd.refresh();
- if(getNodesetCnt(model,"/root/init/csrdeptlist") == 1 ){
- model.setValue("/root/cond/reqdeptcd",model.getValue("/root/init/csrdeptlist/deptcd[1]"));
- }else{
- addComboItem( "cmb_deptcd", "전체", "", "above");
- model.setValue("/root/cond/reqdeptcd",model.getValue("/root/init/csrdeptlist/deptcd[1]"));
- }
- model.removeNodeset("/root/send/reqdata");
- fSerachData();
- ]]>
- </script>
- </select1>
- </group>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:186px; height:14px; ">멸균품목내역 조회</caption>
- </xhtml:body>
- </xhtml:html>
|