123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>처방전달 물품 선불출 등록</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <searchgood>
- <searchgoodlist/>
- </searchgood>
- </list>
- <PrcpGoodTrees>
- <TreeList/>
- </PrcpGoodTrees>
- </main>
- <send>
- <SearchTree>
- <instcd/>
- <instcdnm/>
- <prcpdd/>
- <prcpdd2/>
- <sumflag/>
- <ioflag/>
- <prcpdeptcd/>
- <prcpdeptnm/>
- <querycls>0</querycls>
- <pid/>
- <patnm/>
- <reqflag/>
- <goodcd/>
- <purcflag/>
- <homematrflag/>
- <prntyn/>
- <deliveyn/>
- <erprcpflag>A</erprcpflag>
- <prcpinptflag/>
- <prcpcd/>
- <prcpnm/>
- </SearchTree>
- <searchgood>
- <instcd/>
- <prcpdd/>
- <prcpdd2/>
- <sumflag/>
- <reqflag/>
- <reqdeptcd/>
- <reqprid/>
- <prcpdeptcd/>
- <goodcd/>
- <ioflag/>
- <deptgr/>
- <pid/>
- <patnm/>
- <purcflag/>
- <homematrflag/>
- <prodcmpynm/>
- <suplplcecdnm/>
- <suppcustnm/>
- <prntyn/>
- <deliveyn/>
- <erprcpflag/>
- <prcpinptflag/>
- </searchgood>
- </send>
- <init>
- <prntyn>
- <label>전체</label>
- <value/>
- <label>출력</label>
- <value>Y</value>
- <label>미출력</label>
- <value>N</value>
- </prntyn>
- <deliveprcsflag>
- <label>전체</label>
- <value/>
- <label>미불출</label>
- <value>N</value>
- <label>불출</label>
- <value>Y</value>
- </deliveprcsflag>
- <sumflag>
- <label>전체</label>
- <value/>
- <label>집계</label>
- <value>Y</value>
- <label>미집계</label>
- <value>N</value>
- </sumflag>
- <ioflag>
- <label>전체</label>
- <value/>
- <label>입원</label>
- <value>I</value>
- <label>외래</label>
- <value>O</value>
- <label>건진</label>
- <value>S</value>
- <label>응급</label>
- <value>E</value>
- </ioflag>
- <goodreqcnt/>
- <searchgoodcnt/>
- </init>
- <temp>
- <prntkey/>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- misfComboComCdList("R0111", cmb_purcflag, "Y"); //구매구분
- rszfUserReqFlagList(cmb_reqflag,getUserInfo("dutplceinstcd"),getUserInfo("userid"),"%","B");
- fInit(); // 화면 Control을 초기화한다
-
- cmb_reqflag.select(0); //청구구분
- var instcd = getUserInfo("dutplceinstcd");
- if (instcd == "031"){
- btn_sudong.visible = true;
- }else{
- btn_sudong.visible = false;
- }
- vProgramCls = "SMRSD02203";
- ]]>
- </script>
- <submission id="TRRSD02203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchgood" resultref="/root/main/list/searchgood"/>
- <submission id="TRRSD02205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/SearchTree" resultref="/root/main/PrcpGoodTrees"/>
- <submission id="TRRSD02214" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/SearchTree" resultref="/root/main/PrcpGoodTrees"/>
- <!--물품규격내역를 저장하는 submmit-->
- <submission id="TXRSD02202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/rsihopmabefore" add="bottom" resultref="/root/temp"/>
- <submission id="TXRSD02203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/prntinfo" 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" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../mis/reqweb/js/SMRSD02200.js"/>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">처방전달 물품 선불출 등록</caption>
- </group>
- <group id="group5" scroll="auto" style="left:0px; top:23px; width:1195px; height:759px; ">
- <group id="grp_detail" style="left:5px; top:280px; width:340px; height:475px; vertical-align:top; ">
- <button id="btn_searchTree" class="btn2_letter7" navindex="21" visibility="visible" style="left:0px; top:26px; width:97px; height:19px; text-align:center; ">
- <caption>트 리 재 구 성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDataSearchTree();
- ]]>
- </script>
- </button>
- <select1 id="rdo_viewcls" ref="/root/send/SearchTree/querycls" navindex="20" appearance="full" cols="4" overflow="visible" style="left:100px; top:30px; width:235px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>0</value>
- </item>
- <item>
- <label>시행부서</label>
- <value>2</value>
- </item>
- <item>
- <label>처방부서</label>
- <value>1</value>
- </item>
- <item>
- <label>선불출</label>
- <value>3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fDataSearchTree();
- ]]>
- </script>
- </select1>
- <treeview id="trv_setcode" ref="/root/main/PrcpGoodTrees/TreeList" image="../../../com/commonweb/images/icon_folder_close.gif" itemsettype="depth" selectedimage="../../../com/commonweb/images/icon_folder_open.gif" style="left:0px; top:50px; width:338px; height:425px; ">
- <itemset nodeset="/root/main/PrcpGoodTrees/TreeList">
- <label ref="dispnm"/>
- <value ref="pcode"/>
- <depth ref="depth"/>
- </itemset>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // model.setValue("/root/send/searchgood/homematrflag", "Y"); // 귀가유치물품flag
- fDataSearchDetail(trv_setcode.focusIndex, "D");
- ]]>
- </script>
- </treeview>
- </group>
- <group id="grp_key" style="left:5px; top:8px; width:340px; height:297px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:340px; height:295px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption10" class="search_name" style="left:5px; top:5px; width:89px; height:17px; ">기관코드 :</caption>
- <output id="opt_instcd" ref="/root/send/SearchTree/instcd" class="output_fix" visibility="hidden" style="left:210px; top:5px; width:15px; height:19px; "/>
- <input id="ipt_prcpdd2" ref="/root/send/SearchTree/prcpdd2" class="input_s_essential" navindex="4" inputtype="date" style="left:213px; top:53px; width:95px; height:19px; "/>
- <input id="ipt_prcpdd" ref="/root/send/SearchTree/prcpdd" class="input_s_essential" navindex="3" inputtype="date" style="left:95px; top:53px; width:95px; height:19px; "/>
- <caption id="caption12" style="left:196px; top:53px; width:15px; height:20px; font-weight:bold; ">~</caption>
- <caption id="caption3" class="search_name" style="left:5px; top:53px; width:89px; height:17px; ">시행일자 :</caption>
- <caption id="caption7" class="search_name" style="left:5px; top:77px; width:89px; height:17px; ">집계여부 :</caption>
- <select1 id="rdo_sumflag" ref="/root/send/SearchTree/sumflag" navindex="5" appearance="full" cellspacing="5" cols="3" overflow="visible" style="left:95px; top:77px; width:173px; height:17px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/sumflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="radio1" ref="/root/send/SearchTree/ioflag" navindex="6" appearance="full" cellspacing="5" cols="5" overflow="visible" style="left:95px; top:101px; width:240px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/ioflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption8" class="search_name" style="left:5px; top:101px; width:89px; height:17px; ">환자구분 :</caption>
- <button id="btn_search" class="btn1_letter2" navindex="22" visibility="hidden" style="left:250px; top:5px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // if(fCheckRetrieveData() == false)return;
-
- misfGridInit(grd_searchgood);
- misfGridInit(grd_orderlist);
- misfMsterDetailRetrieve();
-
- fAfterRetrieve();
- misfSetReadOnlyCol(grd_searchgood, "sumflag", true);
-
- ]]>
- </script>
- </button>
- <button id="button1" class="icon_search" navindex="10" style="left:173px; top:148px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "prcpdeptcd,prcpdeptnm";
- misfOpenPopUpList("02", ipt_prcpdeptcd,"", recv_list) ;
- model.refresh();
- fDataSearchTree();
-
- // btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:5px; top:149px; width:93px; height:17px; ">시행부서 :</caption>
- <input id="ipt_prcpdeptnm" ref="/root/send/SearchTree/prcpdeptnm" class="output_fix" navindex="11" editable="false" appearance="input" style="left:195px; top:148px; width:140px; height:19px; "/>
- <input id="ipt_prcpdeptcd" ref="/root/send/SearchTree/prcpdeptcd" class="input_fix" navindex="9" style="left:95px; top:148px; width:75px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_prcpdeptcd.value.length == 0){
- ipt_prcpdeptnm.value = "";
- }else
- {
- misfValidationCheck("02", "", "prcpdeptcd,prcpdeptnm" );
- }
-
- ipt_prcpdeptnm.refresh();
- ipt_prcpdeptcd.refresh();
- ]]>
- </script>
- </input>
- <output id="opt_instcdnm" ref="/root/send/SearchTree/instcdnm" class="output_fix" style="left:95px; top:5px; width:110px; height:19px; text-align:center; "/>
- <caption id="caption1" class="search_name" style="left:5px; top:173px; width:93px; height:17px; ">등록번호 :</caption>
- <caption id="caption4" class="search_name" style="left:170px; top:173px; width:93px; height:17px; ">환자명 :</caption>
- <input id="ipt_pid" ref="/root/send/SearchTree/pid" class="input_fix" navindex="12" style="left:95px; top:173px; width:75px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_searchTree", "DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_patnm" ref="/root/send/SearchTree/patnm" class="input_fix" navindex="13" style="left:245px; top:173px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_searchTree", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption20" class="search_name" style="left:5px; top:29px; width:86px; height:17px; vertical-align:middle; ">청구구분 :</caption>
- <select1 id="cmb_reqflag" ref="/root/send/SearchTree/reqflag" class="combo_default" navindex="2" appearance="minimal" style="left:95px; top:29px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/reqflag/reqflaglist">
- <label ref="reqflagnm"/>
- <value ref="reqflag"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption11" class="search_name" style="left:170px; top:197px; width:93px; height:17px; ">구매구분 :</caption>
- <select1 id="cmb_purcflag" ref="/root/send/SearchTree/purcflag" class="combo_default" navindex="15" appearance="minimal" style="left:255px; top:197px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/purcflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption13" class="search_name" style="left:5px; top:197px; width:93px; height:17px; ">물품코드 :</caption>
- <input id="ipt_goodcd" ref="/root/send/SearchTree/goodcd" class="input_fix" navindex="14" imemode="disabled" _chartype="upper" style="left:95px; top:197px; width:75px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_searchTree", "DOMActivate");
- ]]>
- </script>
- </input>
- <select1 id="rdo_prntyn" ref="/root/send/SearchTree/prntyn" navindex="18" appearance="full" cellspacing="5" cols="3" overflow="visible" style="left:95px; top:245px; width:173px; height:17px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/prntyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // fDataSearchTree();
- ]]>
- </script>
- </select1>
- <caption id="caption14" class="search_name" style="left:5px; top:245px; width:89px; height:17px; ">출력여부 :</caption>
- <caption id="caption15" class="search_name" style="left:5px; top:269px; width:89px; height:17px; ">불출여부 :</caption>
- <select1 id="radio2" ref="/root/send/SearchTree/deliveyn" navindex="19" appearance="full" cellspacing="5" cols="3" overflow="visible" style="left:95px; top:269px; width:240px; height:17px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/deliveprcsflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <select id="checkbox2" ref="/root/send/SearchTree/prcpinptflag" navindex="8" overflow="visible" appearance="full" style="left:260px; top:126px; width:70px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>CCD 제외</label>
- <value>ignore</value>
- </item>
- </choices>
- </select>
- <caption id="caption16" class="search_name" style="left:5px; top:125px; width:89px; height:17px; ">처방구분 :</caption>
- <select1 id="rdo_erprcpflag" ref="/root/send/SearchTree/erprcpflag" navindex="7" appearance="full" cellspacing="2" cols="3" overflow="visible" style="left:95px; top:125px; width:150px; height:20px; border-style:none; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_prcpnm" ref="/root/send/SearchTree/prcpnm" class="input_fix" navindex="17" autonext="false" maxlength="12" style="left:245px; top:221px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_searchTree", "DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_prcpcd" ref="/root/send/SearchTree/prcpcd" class="input_fix" navindex="16" autonext="false" imemode="disabled" maxlength="12" _chartype="upper" style="left:95px; top:221px; width:75px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_searchTree", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption45" class="search_name" style="left:170px; top:221px; width:89px; height:17px; ">처방명 :</caption>
- <caption id="caption46" class="search_name" style="left:5px; top:221px; width:96px; height:17px; ">처방코드 :</caption>
- </group>
- <group id="grp_main" style="left:350px; top:8px; width:835px; height:747px; ">
- <datagrid id="grd_excelgood" nodeset="/root/main/list/searchgood/searchgoodlist" visibility="hidden" caption="시행일자^처방일자^물품코드^물품코드^물품명^규격^모델^총수량^선불출^단위^등록번호^환자명^입외^병동^병실^처방부서^시행부서^수량^횟수^일수^집계^집계일자^구매구분^제조원^거래처" colsep="^" colwidth="66, 69, 70, 27, 183, 80, 80, 50, 50, 70, 55, 56, 36, 55, 40, 72, 76, 0, 0, 0, 40, 68, 82, 82, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:100px; width:835px; height:315px; ">
- <col ref="rgstdd" format="yyyy-mm-dd"/>
- <col ref="prcpdd" format="yyyy-mm-dd"/>
- <col ref="goodcd"/>
- <col ref="allsizespecid"/>
- <col ref="goodnm"/>
- <col ref="goodspec"/>
- <col ref="goodmodel"/>
- <col ref="totqty" format="#,###.#" style="text-align:right; "/>
- <col ref="beforqty" visibility="hidden" format="#,###.#" style="text-align:right; "/>
- <col ref="setunit" style="text-align:center; "/>
- <col ref="pid2"/>
- <col ref="patnm2"/>
- <col disabled="true" ref="ioflag">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- </choices>
- </col>
- <col ref="wardnm"/>
- <col ref="room"/>
- <col ref="orddeptcdnm"/>
- <col ref="prcpdeptcdnm"/>
- <col ref="goodqty" format="#,###.#" style="text-align:right; "/>
- <col ref="times" format="#,###" style="text-align:right; "/>
- <col ref="dayno" format="#,###" style="text-align:right; "/>
- <col ref="sumflagnm" style="text-align:center; "/>
- <col ref="acptdd" format="yyyy-mm-dd" style="text-align:right; "/>
- <col ref="purcflagnm"/>
- <col ref="prodcmpynm"/>
- <col ref="suplplcecdnm"/>
- <col ref="fstrgstrid" visibility="hidden"/>
- <col ref="fstrgstdt" visibility="hidden" format="yyyy-mm-dd"/>
- <col ref="ward" visibility="hidden"/>
- <col ref="orddeptcd" visibility="hidden"/>
- <col ref="prcpdeptcd" visibility="hidden"/>
- <col ref="sumflag" visibility="hidden"/>
- <col ref="purcflag" visibility="hidden"/>
- <col ref="prodcmpycd" visibility="hidden"/>
- <col ref="suplplcecd" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_searchgood.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_searchgood" nodeset="/root/main/list/searchgood/searchgoodlist" caption="처방일자^등록번호^환자명^물품코드^물품코드^물품명^규격^총수량^선불출^집계^출력^시행일자^처방코드^처방명^모델^구매구분^단위^귀가수량^입외^병동^병실^처방부서^시행부서^수량^횟수^일수^집계일자^집계일자^수동^처방NO^등록자^등록일시^caption1^^^^^^^^^^" colsep="^" colwidth="66, 55, 55, 70, 25, 165, 71, 45, 45, 30, 30, 66, 80, 140, 70, 58, 46, 57, 30, 43, 60, 76, 76, 0, 0, 30, 70, 25 ,50 ,70, 60, 100, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30" dataheight="25" ellipsis="true" explorerbar="sortshow" frozencols="6" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:35px; width:835px; height:710px; ">
- <col ref="prcpdd" format="yyyy-mm-dd"/>
- <col ref="pid"/>
- <col ref="patnm"/>
- <col ref="goodcd"/>
- <col ref="allsizespecid" visibility="hidden"/>
- <col ref="goodnm"/>
- <col ref="goodspec"/>
- <col ref="totqty" format="#,###.#" style="text-align:right; "/>
- <col ref="beforqty" type="input" format="(-)#,###.#" style="text-align:right; "/>
- <col ref="sumflagnm" style="text-align:center; "/>
- <col ref="prntynnm" style="text-align:center; "/>
- <col ref="rgstdd" format="yyyy-mm-dd"/>
- <col ref="prcpcd"/>
- <col ref="prcpnm"/>
- <col ref="goodmodel"/>
- <col ref="purcflagnm" style="text-align:center; "/>
- <col ref="setunit" style="text-align:center; "/>
- <col ref="homematrqty" visibility="hidden" format="#,###.#" style="text-align:right; "/>
- <col disabled="true" ref="ioflag">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- </choices>
- </col>
- <col ref="wardnm"/>
- <col ref="room"/>
- <col ref="orddeptcdnm"/>
- <col ref="prcpdeptcdnm"/>
- <col ref="goodqty" format="#,###.#" style="text-align:right; "/>
- <col ref="times" format="#,###" style="text-align:right; "/>
- <col ref="dayno" format="#,###" style="text-align:right; "/>
- <col ref="acptdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="sumcnt" style="text-align:center; "/>
- <col ref="demdkey" style="text-align:center; "/>
- <col ref="execprcpuniqno" style="text-align:center; "/>
- <col ref="fstrgstrid" visibility="hidden"/>
- <col ref="fstrgstdt" visibility="hidden" format="yyyy-mm-dd"/>
- <col ref="ward" visibility="hidden"/>
- <col ref="orddeptcd" visibility="hidden"/>
- <col ref="prcpdeptcd" visibility="hidden"/>
- <col ref="sumflag" visibility="hidden"/>
- <col ref="genrdd" visibility="hidden"/>
- <col ref="genrno" visibility="hidden"/>
- <col ref="genrseq" visibility="hidden"/>
- <col ref="beforqtyold" visibility="hidden"/>
- <col ref="homematrflag" visibility="hidden"/>
- <col ref="centcd" visibility="hidden"/>
- <col ref="subdeptcd" visibility="hidden"/>
- <col ref="centcdnm" visibility="hidden"/>
- <col ref="subdeptcdnm" visibility="hidden"/>
- <col ref="prntyn" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_searchgood.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fBeforQtyOnChange(grd_searchgood.row, 1);
- ]]>
- </script>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- var selRow = grd_searchgood.row;
- if(selRow < grd_searchgood.rows - grd_searchgood.fixedRows){
- grd_searchgood.row = selRow + 1;
- grd_searchgood.select(selRow + 1, grd_searchgood.colRef("beforqty")) = true;
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_excel2" class="btn5_letter3" style="left:678px; top:5px; width:53px; height:19px; ">
- <caption>Excel</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var vdate = new Date();
- var HH = vdate.getHours();
- var MI = vdate.getMinutes();
- var SS = vdate.getSeconds();
-
- var vTime = HH +"" + MI +"" + SS;
-
-
- var vFileNM = "처방전달물품내역_"+getCurrentDate()+ vTime;
-
- var fileName = window.fileDialog("save", ",", false, vFileNM, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_excelgood.saveExcel(fileName, vFileNM, true, true, "");
- }
- ]]>
- </script>
- </button>
- <line id="lin_main" class="line_1" style="x1:0px; y1:30px; x2:835px; y2:30px; "/>
- <button id="button57" class="icon_pre_month" style="left:0px; top:11px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDataPartToggle("1");
- ]]>
- </script>
- </button>
- <button id="button58" class="icon_next_month" style="left:20px; top:11px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDataPartToggle("0");
- ]]>
- </script>
- </button>
- <caption id="cpt_disp" class="tit_2" style="left:45px; top:13px; width:575px; height:13px; ">처방전달물품내역</caption>
- <caption id="caption5" visibility="hidden" style="left:555px; top:10px; width:50px; height:15px; ">All Size</caption>
- <caption id="caption9" class="color_6" visibility="hidden" style="left:537px; top:9px; width:15px; height:15px; background-color:#FFFF00; "/>
- <button id="btn_save" class="btn4_letter2" disabled="false" style="left:615px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fBeforQtyDataSave(); // Data를 저장한다.
- ]]>
- </script>
- </button>
- <button id="btn_wardprint" class="btn2_letter6" style="left:735px; top:5px; width:86px; height:19px; ">
- <caption>선불출 출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/prtinfo/gooddetlist");
- model.makeNode("/root/prtinfo/gooddetlist");
-
- var node1 = "/root/main/list/searchgood/searchgoodlist[beforqty != '0' and sumflag = 'N' and prntyn != 'Y']";
- var node2 = "/root/main/list/searchgood/searchgoodlist[beforqty != '0' and sumflag = 'N']";
- var node0 = "/root/main/list/searchgood/searchgoodlist[beforqty != beforqtyold]";
-
- if (instance1.selectNodes(node0).length != 0){
- if (messageBox("수정 된 내역이 있습니다.","Q002") == 6){
- if(!fBeforQtyDataSave()) { // Data를 저장한다.
- return;
- }
- } else {
- return;
- }
- }
- if (instance1.selectNodes(node1).length != 0){
- copyNodesetType("/root/prtinfo/gooddetlist",node1,"replace"); // 미출력 노드
- } else {
- if(instance1.selectNodes("/root/main/list/searchgood/prntlist").length > 1){
- rdo_prntlist.refresh();
- model.removenode("/root/temp/prntkey");
- model.makeNode("/root/temp/prntkey");
- rdo_prntlist.select(0);
- group5.disabled = true;
- group2.visible = true;
- return;
- }
- copyNodesetType("/root/prtinfo/gooddetlist",node2,"replace"); // 전체 선불출 노드
- }
-
- if( getUserInfo("dutplceinstcd") == "031" || getUserInfo("dutplceinstcd") == "033" ){
- makeReportPreview(0,0,10,10);
- exeReportPreview("RPRSD02203", "XMLSTR","","",true,true);
- } else {
- exeReportPreview("RPRSD02203", "XMLSTR");
- }
- fPrntDataSave();
- //fDataSearchDetail(trv_setcode.focusIndex, "D");
- ]]>
- </script>
- <hint>
- <![CDATA[선불출 내용 변경시 저장 하신 후 선불출서를 출력해 주세요]]>
- </hint>
- </button>
- <button id="btn_sudong" class="btn1_letter4" disabled="false" visibility="hidden" style="left:440px; top:5px; width:80px; height:22px; ">
- <caption>수동집계</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var prcpdd = model.getValue("/root/send/SearchTree/prcpdd");
- var prcpdd2 = model.getValue("/root/send/SearchTree/prcpdd2");
- var pid = model.getValue("/root/send/SearchTree/pid");
- if(prcpdd == "" || prcpdd2 == "" ){
- messageBox("시행일자는","I003");
- return;
- }else if(pid == ""){
- messageBox("등록번호는","I003");
- return;
- }else{
- submit("TRRSD02214");
- fDataSearchTree();
- }
- ]]>
- </script>
- </button>
- </group>
- </group>
- <group id="group2" visibility="hidden" style="left:635px; top:215px; width:250px; height:145px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:0px; width:250px; height:145px; border-color:#ff9900; border-width:2px; "/>
- <select1 id="rdo_prntlist" ref="/root/temp/prntkey" scroll="vertical" appearance="full" cols="1" vcellspacing="5" overflow="visible" style="left:5px; top:5px; width:175px; height:135px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/main/list/searchgood/prntlist">
- <label ref="prntkey"/>
- <value ref="prntkey"/>
- </itemset>
- </choices>
- </select1>
- <button id="button2" class="btn4_letter2" style="left:185px; top:45px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/prtinfo/gooddetlist");
- model.makeNode("/root/prtinfo/gooddetlist");
-
- rdo_prntlist.refresh();
- group5.disabled = true;
- group2.visible = true;
-
- copyNodesetType("/root/prtinfo/gooddetlist","/root/main/list/searchgood/searchgoodlist[beforqty != '0' and sumflag = 'N' and prntkey = '" + model.getValue("/root/temp/prntkey") + "']","replace"); // 전체 선불출 노드
-
- if( getUserInfo("dutplceinstcd") == "031" || getUserInfo("dutplceinstcd") == "033" ){
- makeReportPreview(0,0,10,10);
- exeReportPreview("RPRSD02203", "XMLSTR","","",true,true);
- } else {
- exeReportPreview("RPRSD02203", "XMLSTR");
- }
- ]]>
- </script>
- </button>
- <button id="button3" class="btn4_letter2" style="left:185px; top:75px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- group5.disabled = false;
- group2.visible = false;
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|