123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324 |
- <?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="">
- <init>
- <ioflag>
- <label>전체</label>
- <value/>
- <label>입원</label>
- <value>I</value>
- <label>외래</label>
- <value>O</value>
- </ioflag>
- </init>
- <send>
- <iudflag/>
- <mainmngtdeptcd/>
- <mainmngtdeptnm/>
- <prcpdeptcd/>
- <prcpdeptnm/>
- <fromrgstdd/>
- <torgstdd/>
- <acptdd/>
- <ioflag/>
- <pid/>
- <goodcd/>
- <reqprid/>
- <reqflag/>
- <goodnm/>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //화면 Control을 초기화한다
- fInitialize();
- ]]>
- </script>
- <submission id="TXRSO00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/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" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize() {
-
- misfComboComCdListMulti("R0093","cmb_reqpridflag");
- /* 하단 변경 HBH*/
- //rszfReqFlagComboComCdList(getUserInfo("userid"),cmb_reqflag);
- rszfUserReqFlagList(cmb_reqflag,getUserInfo("dutplceinstcd"),getUserInfo("userid"),"%","B");
-
-
- model.setValue(ipt_deptcd.attribute("ref") , getUserInfo("dutplcecd"));
-
- model.setValue(ipt_deptnm.attribute("ref") , getUserInfo("dutplcenm"));
-
- rbo_ioflag.selected = 0;
-
- var curdate = getCurrentDate();
- var cvtdate = curdate.toDate("YYYYMMDD");
-
- model.setValue(ipt_fromrgstdd.attribute("ref") , cvtdate.getAddDate(-1,"D").getDateFormat("YYYYMMDD"));
- model.setValue(ipt_torgstdd.attribute("ref") , cvtdate.getAddDate(0,"D").getDateFormat("YYYYMMDD"));
- model.setValue(ipt_acptdd.attribute("ref") ,curdate);
-
- model.refresh();
- }
-
- function fCheckValue()
- {
- if(!isRequiredControls("cmb_reqflag"))
- {
- ipt_goodcd.value = '';
- ipt_goodnm.value = '';
- return true;
- }
- if(!isRequiredControls("ipt_orddeptcd"))
- {
- ipt_goodcd.value = '';
- ipt_goodnm.value = '';
- return true;
- }
-
- if(!isRequiredControls("ipt_orddeptnm"))
- {
- ipt_goodcd.value = '';
- ipt_goodnm.value = '';
- return true;
- }
-
- return false;
- }
-
- function fCheckSaveData()
- {
- if(!isRequiredControls("ipt_deptcd"))return false;
- if(!isRequiredControls("ipt_fromrgstdd"))return false;
- if(!isRequiredControls("ipt_torgstdd"))return false;
- if(!isRequiredControls("ipt_acptdd"))return false;
- if(!isRequiredControls("cmb_reqflag"))return false;
- if(!isRequiredControls("cmb_reqpridflag"))return false;
-
- }
-
- function fClearControl()
- {
- if((ipt_orddeptcd.value =='') || (ipt_orddeptnm.value == ''))
- {
- ipt_goodcd.value = '';
- ipt_goodnm.value = '';
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="450" pageheight="250" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:8px; top:0px; width:395px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:243px; height:14px; ">물품 처방집계</caption>
- </group>
- <group id="group1" style="left:8px; top:12px; width:395px; height:208px; ">
- <caption id="cap_deptcd" class="cell_1" style="left:0px; top:30px; width:108px; height:23px; vertical-align:middle; ">집계부서</caption>
- <caption id="cap_orddeptcd" class="cell_1" style="left:0px; top:126px; width:108px; height:23px; vertical-align:middle; ">처방부서</caption>
- <caption id="cap_fromrgstdd" class="cell_1" style="left:0px; top:54px; width:108px; height:23px; vertical-align:middle; ">처방기간</caption>
- <caption id="cap_ioflag" class="cell_1" style="left:0px; top:102px; width:108px; height:23px; vertical-align:middle; ">집계구분</caption>
- <caption id="cap_acptdd" class="cell_1" style="left:0px; top:78px; width:108px; height:23px; vertical-align:middle; ">집계일자</caption>
- <line id="line7" class="line_1" style="x1:0px; y1:25px; x2:380px; y2:25px; "/>
- <line id="line19" class="line_2" style="x1:0px; y1:52px; x2:380px; y2:52px; "/>
- <line id="line1" class="line_3" style="x1:0px; y1:198px; x2:380px; y2:198px; "/>
- <line id="line28" class="line_2" style="x1:0px; y1:100px; x2:380px; y2:100px; "/>
- <line id="line35" class="line_2" style="x1:0px; y1:124px; x2:380px; y2:124px; "/>
- <line id="line23" class="line_2" style="x1:0px; y1:75px; x2:380px; y2:75px; "/>
- <select1 id="cmb_reqpridflag" ref="/root/send/reqprid" class="combo_s_essential" appearance="minimal" style="left:250px; top:104px; width:129px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/reqpridflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption61" class="tit_2" style="left:5px; top:10px; width:126px; height:14px; ">물품 처방집계</caption>
- <button id="button39" img="/com/commonweb/images/geomsaek4.gif" hoverImg="/com/commonweb/images/geomsaek4_o.gif" style="left:173px; top:82px; width:23px; height:20px; font-family:굴림체; font-size:9pt; font-weight:bold; ">
- <script id="script3" type="javascript" ev:event="xforms-activate">
- <![CDATA[
- var pParam = "2▦1▦▦"; //jobgbn▦srtgbn▦srhtxt▦cond1▦...
- ERP_FOpenBuSeoHelp("", pParam, "/root/MainData/condition/deptcd","/root/MainData/condition/deptnm", "");
- model.setfocus("checkbox1");
- ]]>
- </script>
- <caption/>
- </button>
- <button id="btn_orddeptnm" class="icon_search" style="left:196px; top:129px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "prcpdeptcd,prcpdeptnm";
- misfOpenPopUpList("02", ipt_orddeptcd,"", recv_list) ;
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_del" class="btn2_letter2" style="left:337px; top:4px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(fCheckSaveData() == false)return;
- model.setValue("/root/send/iudflag","D");
- submit("TXRSO00701");
- if (model.getValue(gvErrorMsgPath + "/type") != "error")messageBox(model.getValue(gvErrorMsgPath + "/msg"),"I");
- ]]>
- </script>
- </button>
- <select1 id="rbo_ioflag" ref="/root/send/ioflag" class="input_s_essential" appearance="full" cols="3" rows="1" overflow="visible" style="left:111px; top:105px; width:135px; height:16px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/ioflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption4" style="left:239px; top:56px; width:15px; height:20px; font-weight:bold; ">~</caption>
- <input id="ipt_orddeptnm" ref="/root/send/prcpdeptnm" class="input_default" appearance="input" style="left:216px; top:128px; width:163px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- misfValidationCheck("02", "", "prcpdeptcd,prcpdeptnm" );
-
- model.refresh();
-
- fClearControl();
- ]]>
- </script>
- </input>
- <shape id="rectangle9" fillStyle="solid" shape="rectangle" fillColor="#bbbbbb" style="left:0px; top:0px; width:385px; height:205px; border-color:#788daf; "/>
- <input id="ipt_deptnm" ref="/root/send/mainmngtdeptnm" class="input_default" appearance="input" style="left:216px; top:32px; width:163px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "mainmngtdeptcd,mainmngtdeptnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_torgstdd" ref="/root/send/torgstdd" class="input_s_essential" inputtype="date" style="left:255px; top:56px; width:124px; height:19px; text-align:center; "/>
- <input id="ipt_orddeptcd" ref="/root/send/prcpdeptcd" class="input_default" appearance="input" style="left:111px; top:128px; width:80px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "prcpdeptcd,prcpdeptnm" );
-
- model.refresh();
-
- fClearControl();
- ]]>
- </script>
- </input>
- <button id="btn_gen" class="btn2_letter2" style="left:292px; top:4px; width:42px; height:19px; ">
- <caption>생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.setValue("/root/send/iudflag","I");
-
- if(fCheckSaveData() == false)return;
-
- submit("TXRSO00701");
- if (model.getValue(gvErrorMsgPath + "/type") != "error")messageBox(model.getValue(gvErrorMsgPath + "/msg"),"I");
- ]]>
- </script>
- </button>
- <button id="btn_deptcd" class="icon_search" style="left:196px; top:34px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "mainmngtdeptcd,mainmngtdeptnm";
- misfOpenPopUpList("02", ipt_deptcd,"", recv_list) ;
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_deptcd" ref="/root/send/mainmngtdeptcd" class="input_s_essential" appearance="input" style="left:111px; top:32px; width:80; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "mainmngtdeptcd,mainmngtdeptnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_fromrgstdd" ref="/root/send/fromrgstdd" class="input_s_essential" inputtype="date" style="left:111px; top:56px; width:124px; height:19px; text-align:center; "/>
- <input id="ipt_acptdd" ref="/root/send/acptdd" class="input_s_essential" inputtype="date" style="left:111px; top:80px; width:142px; height:19px; text-align:center; "/>
- <select1 id="cmb_reqflag" ref="/root/send/reqflag" class="combo_s_essential" appearance="minimal" style="left:255px; top:80px; width:124px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/reqflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_reqflag" class="cell_1" visibility="hidden" style="left:110px; top:0px; width:25px; height:23px; vertical-align:middle; ">청구구분</caption>
- <caption id="cap_reqpridflag" class="cell_1" visibility="hidden" style="left:135px; top:0px; width:25px; height:23px; vertical-align:middle; ">청구주기</caption>
- <line id="line2" class="line_2" style="x1:0px; y1:148px; x2:380px; y2:148px; "/>
- <input id="ipt_goodcd" ref="/root/send/goodcd" class="input_default" imemode="disabled" appearance="input" style="left:111px; top:152px; width:244px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- if( fCheckValue() ) return;
-
- if(ipt_goodcd.value.length == 0)
- {
- ipt_goodnm.value = "";
- }else{
- rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,goodflag,goodcd",
- "goodcd," + getUserInfo("dutplceinstcd") + "," + rszfGetGoodFlagByReqFlag(getUserInfo("dutplceinstcd") , cmb_reqflag.value) + "," + model.getValue(ipt_goodcd.attribute("ref")),"","goodcd,goodnm",
- ipt_goodcd,"SPRSD00190","instcd,goodflag", getUserInfo("dutplceinstcd") + "," + rszfGetGoodFlagByReqFlag(getUserInfo("dutplceinstcd") , cmb_reqflag.value) ,"Y");
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_fixasetcd" class="icon_search" style="left:360px; top:154px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( fCheckValue() ) return;
-
- rszfOpenPopUpListByWndName(ipt_goodcd,"","goodcd,goodnm","SPRSD00210","instcd,goodflag", getUserInfo("dutplceinstcd") + "," + rszfGetGoodFlagByReqFlag(getUserInfo("dutplceinstcd") , cmb_reqflag.value));
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_goodnm" ref="/root/send/goodnm" class="input_default" appearance="input" style="left:111px; top:175px; width:268px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- if( fCheckValue() ) return;
-
- if(ipt_goodnm.value.length == 0)
- {
- ipt_goodcd.value = "";
- }else{
- rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,goodflag,goodnm",
- "goodnm," + getUserInfo("dutplceinstcd") + "," + rszfGetGoodFlagByReqFlag(getUserInfo("dutplceinstcd") , cmb_reqflag.value) + "," + model.getValue(ipt_goodnm.attribute("ref")) ,"","goodcd,goodnm",
- ipt_goodcd,"SPRSD00210","instcd,goodflag", getUserInfo("dutplceinstcd") + "," + rszfGetGoodFlagByReqFlag(getUserInfo("dutplceinstcd") , cmb_reqflag.value));
- }
-
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="cap_fixasetcd" class="cell_1" style="left:1px; top:150px; width:107px; height:45px; vertical-align:middle; ">물품코드</caption>
- <caption id="cap_orddeptnm" class="cell_1" style="left:1px; top:126px; width:107px; height:23px; vertical-align:middle; ">처방부서</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|