123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358 |
- <?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>
- <reqdinfdetlinfo>
- <reqdinfgoodinfolist/>
- </reqdinfdetlinfo>
- </main>
- <send>
- <reqdata/>
- </send>
- <temp>
- <csrreqdeptlist/>
- </temp>
- <cond>
- <srchflag>01</srchflag>
- <csrreqdeptcd/>
- <reqdeptcd/>
- <reqpridflag/>
- <delivestat>bfdlv</delivestat>
- <rtnflag/>
- <reqdd/>
- <goodflag/>
- </cond>
- <init>
- <lrglist/>
- <mdllist/>
- <smllist/>
- <csrdeptlist/>
- </init>
- <hidden>
- <deptcodelist/>
- <common>
- <deliveflaginfo/>
- </common>
- </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="../../../com/commonweb/js/dateHelper.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" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRMNG00703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/cond" resultref="/root/main/reqdinfinfo"/>
- <submission id="TRMNG00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodreq" resultref="/root/temp/csrreqdeptlist"/>
- <submission id="TRMNG00303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/deptcodelist"/>
- <submission id="TRMNG00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/csrdeptlist"/>
- <submission id="TRZBC00105" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMNG00704" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/reqdinfdetlinfo"/>
- </model>
- <script type="javascript">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize()
- {
- clearParameter("dutycd");
- var dutycd = opener.javascript.getParameter("dutycd");
- if(dutycd == "W") {
- caption7.text = "청구세척품 내역";
- } else {
- caption7.text = "청구멸균품 내역";
- }
- caption7.refresh();
-
- zbcfGetCodeList (new Array("M0592"),new Array("/root/hidden/common/deliveflaginfo"),true);
-
- model.removeNodeset("/root/main/reqdinfinfo/reqdinfinfolist");
- model.removeNodeset("/root/main/reqdinfdetlinfo/reqdinfgoodinfolist");
- model.setValue("/root/cond/reqdd",getCurrentDate());
- model.makeValue("/root/send/goodreq/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/goodreq/useyn", "Y");
-
- model.makeValue("/root/cond/srchflag","D");
- submit("TRMNG00401");//부서구분 조회
- addComboItem( "cmb_csrreqdeptcd", "전체", "", "above");
- model.removeNodeset("/root/send/reqdata");
-
-
- model.makeValue("/root/send/reqdata/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/reqdata/deptcd", getUserInfo("dutplcecd"));
- model.makeValue("/root/send/reqdata/refcond", "deptcd");
- submit("TRMNG00303");
- 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("TRMNG00402");
- model.setValue("/root/cond/reqdeptcd",model.getValue("/root/init/csrdeptlist/deptcd"));
- cmb_deptcd.refresh();
-
-
- model.refresh();
- fSerachData();
- }
-
-
- function fSerachData()
- {
- var delivestat = model.getValue("/root/cond/delivestat");
- if((delivestat =="R")||(delivestat =="RC")){
- cap_reqdd.attribute("text") ="반납일자 :";
- model.makeValue("/root/cond/srchflag","T");
- }else{
- cap_reqdd.attribute("text") ="청구일자 :";
- model.makeValue("/root/cond/srchflag","D");
- }
- cap_reqdd.refresh();
- submit("TRMNG00703");
-
- }
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="770" pageheight="600" guideline="1,963;2,771;1,865;" 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:14px; ">청구부서</caption>
- <line id="line1" class="line_1" style="x1:4px; y1:120px; x2:369px; y2:120px; "/>
- <button id="button1" class="btn2_letter4" style="left:305px; 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"));
- reqdeptnm = grd_reqdinfinfolist.valueMatrix(i, grd_reqdinfinfolist.colRef("reqdeptnm"));
-
- if(chkyn == "Y") {
- param += reqdeptnm;
- if((i+1) != grd_reqdinfinfolist.rows) { //마지막 데이터가 아니라면
- param += "\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="선택^청구
구분^청구
차수^청구부서^reqdeptcd^reqdd" colsep="^" colwidth="32, 47, 50, 174, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:4px; top:125px; width:365px; height:415px; ">
- <col checkvalue="Y,N" ref="chkyn" type="checkbox"/>
- <col disabled="true" ref="deliveflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/hidden/common/deliveflaginfo/M0592">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <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>
- </choices>
- </col>
- <col ref="reqdeptnm" style="text-align:center; "/>
- <col ref="reqdeptcd" visibility="hidden"/>
- <col ref="reqdd" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(!isDataCell()) return;
- if(grd_reqdinfinfolist.col !=grd_reqdinfinfolist.colRef("chkyn")){
- var iRow = grd_reqdinfinfolist.row - grd_reqdinfinfolist.fixedRows+1;
- model.makeValue("/root/send/reqdata/reqdd" ,grd_reqdinfinfolist.valueMatrix(iRow,grd_reqdinfinfolist.colRef("reqdd")));
- model.makeValue("/root/send/reqdata/deliveflag" ,grd_reqdinfinfolist.valueMatrix(iRow,grd_reqdinfinfolist.colRef("deliveflag")));
- model.makeValue("/root/send/reqdata/reqpridflag",grd_reqdinfinfolist.valueMatrix(iRow,grd_reqdinfinfolist.colRef("reqpridflag")));
- model.makeValue("/root/send/reqdata/reqdeptcd" ,grd_reqdinfinfolist.valueMatrix(iRow,grd_reqdinfinfolist.colRef("reqdeptcd")));
- var delivestat = model.getValue("/root/cond/delivestat");
- if((delivestat =="R")||(delivestat =="RC")){
- model.makeValue("/root/send/reqdata/srchflag","T");
- }else{
- model.makeValue("/root/send/reqdata/srchflag","D");
- }
- if(submit("TRMNG00704")){
- model.removeNodeset("/root/send/reqdata");
- }
- }
- ]]>
- </script>
- </datagrid>
- <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:91px; height:17px; ">조회 조건 :</caption>
- <select1 id="cmb_reqpridflag" ref="/root/cond/reqpridflag" appearance="minimal" style="left:410px; top:40px; 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:318px; top:41px; width:86px; height:17px; ">청구차수:</caption>
- <select1 id="cmb_deptcd" ref="/root/cond/reqdeptcd" class="combo_s_essential" appearance="minimal" style="left:410px; top:15px; 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:15px; width:94px; height:17px; ">부서구분 :</caption>
- <caption id="caption10" class="search_name" style="left:318px; top:15px; width:90px; height:17px; ">청구부서 :</caption>
- <select1 id="cmb_csrreqdeptcd" ref="/root/cond/csrreqdeptcd" class="combo_s_essential" appearance="minimal" style="left:200px; top:15px; 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("TRMNG00402");
- 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>
- <select1 id="rdo_delivestat" ref="/root/cond/delivestat" overflow="visible" appearance="full" cols="4" style="left:132px; top:68px; width:263px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>불출전</label>
- <value>bfdlv</value>
- </item>
- <item>
- <label>불출완료</label>
- <value>fdlv</value>
- </item>
- <item>
- <label>반납</label>
- <value>R</value>
- </item>
- <item>
- <label>반납완료</label>
- <value>RC</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var delivestat = model.getValue("/root/cond/delivestat");
- if((delivestat =="R")||(delivestat =="RC")){
- cap_reqdd.attribute("text") ="반납일자 :";
- model.makeValue("/root/cond/srchflag","T");
- }else{
- cap_reqdd.attribute("text") ="청구일자 :";
- model.makeValue("/root/cond/srchflag","D");
- }
- cap_reqdd.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption4" class="search_name" style="left:110px; top:68px; width:25px; height:17px; "/>
- <datagrid id="datagrid1" nodeset="/root/main/reqdinfdetlinfo/reqdinfgoodinfolist" class="datagrid2" caption="물품코드^물품명" colsep="^" colwidth="119, 199" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:380px; top:125px; width:350px; height:415px; ">
- <col ref="goodcd" style="text-align:center; "/>
- <col ref="goodnm" style="text-align:left; "/>
- </datagrid>
- <caption id="caption7" class="tit_2" style="left:380px; top:106px; width:136px; height:13px; ">청구멸균품 내역</caption>
- <line id="line2" class="line_1" style="x1:380px; y1:120px; x2:730px; y2:120px; "/>
- <caption id="cap_reqdd" class="search_name" style="left:110px; top:41px; width:94px; height:17px; ">청구일자 :</caption>
- <input id="ipt_reqdd" ref="/root/cond/reqdd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:200px; top:40px; width:94px; height:19px; "/>
- </group>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:186px; height:14px; ">멸균/세척품내역 조회</caption>
- </xhtml:body>
- </xhtml:html>
|