123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564 |
- <?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>
- <srchcond>
- <druglist>
- <drugcd/>
- <hngnm/>
- <cntsunit/>
- <bftotstocqty/>
- <bfinstocqty/>
- <bfoutstocqty/>
- <totwinqty/>
- <inwinqty/>
- <outwinqty/>
- <totsumqty/>
- <insumqty/>
- <outsumqty/>
- <totrtnqty/>
- <inrtnqty/>
- <outrtnqty/>
- <totstocqty/>
- <instocqty/>
- <outstocqty/>
- <realtotstocqty/>
- <realinstocqty/>
- <realoutstocqty/>
- <loanqty/>
- <corrqty/>
- <cmt/>
- <lastupdtrid/>
- <lastupdtdt/>
- </druglist>
- </srchcond>
- <prcplist>
- <item>
- <sel/>
- <prcpdd/>
- <pid/>
- <hngnm/>
- <sex/>
- <age/>
- <addr/>
- <diagcd/>
- <sympnm/>
- <ordqty/>
- <deliveqty/>
- <etccau/>
- <stocqty/>
- <seqno/>
- <narccd/>
- <narcnm/>
- <goodspec/>
- <specunit/>
- <custnm/>
- <brngfwrdqty/>
- <winqty/>
- </item>
- </prcplist>
- <printlist>
- <item>
- <narccd/>
- <narcnm/>
- <deliveqty/>
- <returnqty/>
- <bfstocqty/>
- <winqty/>
- </item>
- </printlist>
- <patinfo>
- <patinfolist/>
- </patinfo>
- </main>
- <send>
- <srchdata>
- <enddd/>
- <viewopt/>
- <ynall/>
- <initstocdd/>
- <initstocqty/>
- <expnyn/>
- <warnyn/>
- <dngryn/>
- <drugcd/>
- </srchdata>
- <data>
- <stocdata/>
- </data>
- </send>
- <init>
- <deptlist>
- <ward>
- <wardcd/>
- <wardnm/>
- </ward>
- </deptlist>
- </init>
- <hidden>
- <ret/>
- <popup>
- <prcp>
- <item>
- <name>시작재고 입력</name>
- <param>IS</param>
- </item>
- </prcp>
- </popup>
- </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="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../ast/pharmacystocweb/js/SMADT50100.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue("/root/send/srchdata/enddd", getCurrentDate());
- model.refresh();
- //submit("TRADT30701");
- ]]>
- </script>
- <submission id="TRADT50101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchdata" replace="instance" resultref="/root/main/srchcond"/>
- <submission id="TRADT50102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchdata" replace="instance" resultref="/root/main/prcplist"/>
- <submission id="TXADT30701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/ret"/>
- <!--마감시간구분 설정-->
- <submission id="TRADT10206" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/sumlistinfo" replace="instance" resultref="/root/init/sumtmflaglist"/>
- <script type="javascript">
- <![CDATA[
- function fStocChk(param) {
- if( param == "IS") {
- group4.visible = true;
- }
- }
- ]]>
- </script>
- <submission id="TXADT50101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="1200" guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <script type="javascript" ev:event="onmenu">
- <![CDATA[
- var popupParam = event.description;
- fStocChk(popupParam);
- ]]>
- </script>
- <group id="group1" style="left:0px; top:0px; width:240px; height:13px; ">
- <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:190px; height:14px; ">고가/고주의/고위험 약품관리</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:20px; width:1183px; height:744px; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:100px; top:390px; width:200px; height:23px; background-color:transparent; border-color:#7cbbdd; border-style:solid; "/>
- <caption id="caption39" class="color_7" style="left:158px; top:395px; width:15px; height:15px; "/>
- <caption id="caption47" class="cell_2" style="left:105px; top:393px; width:45px; height:18px; vertical-align:middle; ">범 례</caption>
- <caption id="caption4" class="tit_2" style="left:0px; top:400px; width:100px; height:13px; ">처방내역</caption>
- <caption id="caption55" style="left:175px; top:395px; width:69px; height:14px; vertical-align:middle; ">반환의뢰</caption>
- <caption id="caption10" style="left:255px; top:395px; width:69px; height:14px; vertical-align:middle; ">교환약</caption>
- <caption id="caption30" class="color_9" style="left:235px; top:395px; width:15px; height:15px; vertical-align:middle; "/>
- <button id="button4" class="btn2_letter4" style="left:1110px; top:393px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grd_prcplist.rows>0) {
- var fileName = window.fileDialog("save", ",", false, "고가_고주의_고위험_약품재고_처방내역_"+getCurrentDate(), "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if (fileName != "")
- {
- grd_prcplist.saveExcel(fileName);
- }
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_prcplist" nodeset="/root/main/prcplist/item" class="datagrid2" autoresize="true" backcoloralternate="#f0f0f0" caption="I/O^등록번호^환자명^진료과^병실^투약번호^수량^횟수^일수^불출량^단위^조제보류^반환확인일시^집계부서^시행부서^발행부서^마감일시^출력일시^실시일자" colsep="^" colwidth="24, 56, 50, 81, 53, 56, 33, 34, 34, 44, 30, 32, 100, 90, 90, 90, 80, 80, 70" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" ref="/root/main/prcplist/item" style="left:0px; top:415px; width:1175px; height:325px; ">
- <col ref="ioflag" style="text-align:center; "/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="orddeptcdnm"/>
- <col ref="roomcd"/>
- <col ref="drugno"/>
- <col ref="prcpqty" style="text-align:right; "/>
- <col ref="prcptims" style="text-align:right; "/>
- <col ref="prcpdayno" style="text-align:right; "/>
- <col ref="sumqty" style="text-align:right; "/>
- <col ref="cntsunit"/>
- <col disabled="true" ref="nodrug" type="checkbox"/>
- <col ref="rtndt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="sumdeptcdnm"/>
- <col ref="execdeptcdnm"/>
- <col ref="issdeptcdnm"/>
- <col ref="sumdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="prntdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="execdd" format="yyyy-mm-dd"/>
- </datagrid>
- <group id="group2" style="left:0px; top:0px; width:1180px; height:40px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:3px; width:1175px; height:32px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:5px; top:10px; width:96px; height:17px; ">재고일자 :</caption>
- <button id="btn_sea" class="btn1_letter2" style="left:1110px; top:10px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(chk_expn.value == "" && chk_warn.value == "" && chk_dngr.value == "") {
- messageBox("구분을 하나이상 선택하세요" , "Z001");
- return;
- }
- model.removeNodeset("/root/main/srchcond/druglist");
- model.removeNodeset("/root/main/prcplist/item");
-
- submit("TRADT50101");
- fCalcQty();
- combo1.dispatch("xforms-value-changed");
-
- grd_druglist.colStyle(grd_druglist.colRef("realtotstocqty"), "data", "background-color") = "#fcd2c1";
- grd_druglist.colStyle(grd_druglist.colRef("realinstocqty"), "data", "background-color") = "#fcd2c1";
- grd_druglist.colStyle(grd_druglist.colRef("realoutstocqty"), "data", "background-color") = "#fcd2c1";
- grd_druglist.colStyle(grd_druglist.colRef("loanqty"), "data", "background-color") = "#fcd2c1";
- grd_druglist.colStyle(grd_druglist.colRef("corrqty"), "data", "background-color") = "#fcd2c1";
- grd_druglist.colStyle(grd_druglist.colRef("cmt"), "data", "background-color") = "#fcd2c1";
- ]]>
- </script>
- </button>
- <input id="input3" ref="/root/send/srchdata/enddd" class="input_search" inputtype="date" style="left:100px; top:10px; width:100px; height:19px; "/>
- <caption id="caption3" class="search_name" style="left:210px; top:11px; width:86px; height:17px; ">구분 :</caption>
- <select id="chk_warn" ref="/root/send/srchdata/warnyn" overflow="visible" appearance="full" cols="2" style="left:380px; top:10px; width:65px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>고주의</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(chk_warn.value == "" ) {
- model.setValue("/root/send/srchdata/ynall", "");
- }
- model.refresh();
- ]]>
- </script>
- </select>
- <select id="chk_expn" ref="/root/send/srchdata/expnyn" overflow="visible" appearance="full" cols="2" style="left:325px; top:10px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>고가</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(chk_expn.value == "" ) {
- model.setValue("/root/send/srchdata/ynall", "");
- }
- model.refresh();
- ]]>
- </script>
- </select>
- <select1 id="combo1" ref="/root/send/srchdata/viewopt" appearance="minimal" style="left:655px; top:10px; width:100px; height:19px; ">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>병동</label>
- <value>I</value>
- </item>
- <item>
- <label>병동+외래</label>
- <value>A</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var opt = model.getValue("/root/send/srchdata/viewopt");
-
- if(opt == "I") {
-
- grd_druglist.colhidden(grd_druglist.colRef("inbrngfwrdqty")) = false;
- grd_druglist.colhidden(grd_druglist.colRef("inwinqty")) = false;
- grd_druglist.colhidden(grd_druglist.colRef("insumqty")) = false;
- grd_druglist.colhidden(grd_druglist.colRef("instocqty")) = false;
- grd_druglist.colhidden(grd_druglist.colRef("inrtnqty")) = false;
- grd_druglist.colhidden(grd_druglist.colRef("realinstocqty")) = false;
-
- grd_druglist.colhidden(grd_druglist.colRef("outbrngfwrdqty")) = true;
- grd_druglist.colhidden(grd_druglist.colRef("outwinqty")) = true;
- grd_druglist.colhidden(grd_druglist.colRef("outsumqty")) = true;
- grd_druglist.colhidden(grd_druglist.colRef("outstocqty")) = true;
- grd_druglist.colhidden(grd_druglist.colRef("outrtnqty")) = true;
- grd_druglist.colhidden(grd_druglist.colRef("realoutstocqty")) = true;
-
- } else if (opt == "O") {
-
- grd_druglist.colhidden(grd_druglist.colRef("inbrngfwrdqty")) = true;
- grd_druglist.colhidden(grd_druglist.colRef("inwinqty")) = true;
- grd_druglist.colhidden(grd_druglist.colRef("insumqty")) = true;
- grd_druglist.colhidden(grd_druglist.colRef("instocqty")) = true;
- grd_druglist.colhidden(grd_druglist.colRef("inrtnqty")) = true;
- grd_druglist.colhidden(grd_druglist.colRef("realinstocqty")) = true;
-
- grd_druglist.colhidden(grd_druglist.colRef("outbrngfwrdqty")) = false;
- grd_druglist.colhidden(grd_druglist.colRef("outwinqty")) = false;
- grd_druglist.colhidden(grd_druglist.colRef("outsumqty")) = false;
- grd_druglist.colhidden(grd_druglist.colRef("outstocqty")) = false;
- grd_druglist.colhidden(grd_druglist.colRef("outrtnqty")) = false;
- grd_druglist.colhidden(grd_druglist.colRef("realoutstocqty")) = false;
-
- } else if (opt == "A") {
-
- grd_druglist.colhidden(grd_druglist.colRef("inbrngfwrdqty")) = false;
- grd_druglist.colhidden(grd_druglist.colRef("inwinqty")) = false;
- grd_druglist.colhidden(grd_druglist.colRef("insumqty")) = false;
- grd_druglist.colhidden(grd_druglist.colRef("instocqty")) = false;
- grd_druglist.colhidden(grd_druglist.colRef("inrtnqty")) = false;
- grd_druglist.colhidden(grd_druglist.colRef("realinstocqty")) = false;
-
- grd_druglist.colhidden(grd_druglist.colRef("outbrngfwrdqty")) = false;
- grd_druglist.colhidden(grd_druglist.colRef("outwinqty")) = false;
- grd_druglist.colhidden(grd_druglist.colRef("outsumqty")) = false;
- grd_druglist.colhidden(grd_druglist.colRef("outstocqty")) = false;
- grd_druglist.colhidden(grd_druglist.colRef("outrtnqty")) = false;
- grd_druglist.colhidden(grd_druglist.colRef("realoutstocqty")) = false;
-
- } else {
-
- grd_druglist.colhidden(grd_druglist.colRef("inbrngfwrdqty")) = true;
- grd_druglist.colhidden(grd_druglist.colRef("inwinqty")) = true;
- grd_druglist.colhidden(grd_druglist.colRef("insumqty")) = true;
- grd_druglist.colhidden(grd_druglist.colRef("instocqty")) = true;
- grd_druglist.colhidden(grd_druglist.colRef("inrtnqty")) = true;
- grd_druglist.colhidden(grd_druglist.colRef("realinstocqty")) = true;
-
- grd_druglist.colhidden(grd_druglist.colRef("outbrngfwrdqty")) = true;
- grd_druglist.colhidden(grd_druglist.colRef("outwinqty")) = true;
- grd_druglist.colhidden(grd_druglist.colRef("outsumqty")) = true;
- grd_druglist.colhidden(grd_druglist.colRef("outstocqty")) = true;
- grd_druglist.colhidden(grd_druglist.colRef("outrtnqty")) = true;
- grd_druglist.colhidden(grd_druglist.colRef("realoutstocqty")) = true;
- }
- ]]>
- </script>
- </select1>
- <caption id="caption5" class="search_name" style="left:565px; top:10px; width:86px; height:17px; ">추가옵션 :</caption>
- <select id="checkbox5" ref="/root/send/srchdata/ynall" overflow="visible" appearance="full" cols="2" style="left:270px; top:10px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(checkbox5.value == "") {
- model.setValue("/root/send/srchdata/expnyn", "");
- model.setValue("/root/send/srchdata/warnyn", "");
- model.setValue("/root/send/srchdata/dngryn", "");
- }else {
- model.setValue("/root/send/srchdata/expnyn", "Y");
- model.setValue("/root/send/srchdata/warnyn", "Y");
- model.setValue("/root/send/srchdata/dngryn", "Y");
- }
- model.refresh();
-
- ]]>
- </script>
- </select>
- <select id="chk_dngr" ref="/root/send/srchdata/dngryn" overflow="visible" appearance="full" cols="2" rows="1" style="left:450px; top:10px; width:65px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>고위험</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(chk_dngr.value == "" ) {
- model.setValue("/root/send/srchdata/ynall", "");
- }
- model.refresh();
- ]]>
- </script>
- </select>
- </group>
- <datagrid id="grd_druglist" nodeset="/root/main/srchcond/druglist" backcoloralternate="#f0f0f0" caption="약품코드^약품명^단위^전일재고^전일재고^전일재고^입고량^입고량^입고량^불출량^불출량^불출량^반환확인량^반환확인량^반환확인량^전산재고^전산재고^전산재고^실재고^실재고^실재고^고가내일^교환내일^차용^보정량^비고^최종수정자^최종수정일시|약품코드^약품명^단위^총재고^병동^외래^총입고^병동^외래^총불출^병동^외래^총반환^병동^외래^총전산재고^병동^외래^총실재고^병동^외래^고가내일^교환내일^차용^보정량^비고^최종수정자^최종수정일시" colsep="^" colwidth="92, 175, 34, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 73, 70, 70, 70, 70, 70, 70, 100, 68, 130" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" selectionmode="listbox" style="left:0px; top:65px; width:1175px; height:320px; ">
- <col ref="drugcd"/>
- <col ref="hngnm"/>
- <col ref="cntsunit"/>
- <col ref="bftotstocqty" format="####.99" maxlength="11" style="text-align:right; "/>
- <col ref="bfinstocqty" visibility="hidden" format="####.99" maxlength="11" style="text-align:right; "/>
- <col ref="bfoutstocqty" visibility="hidden" format="####.99" maxlength="11" style="text-align:right; "/>
- <col ref="totwinqty" format="####.99" maxlength="11" style="text-align:right; "/>
- <col ref="inwinqty" visibility="hidden" format="####.99" maxlength="11" style="text-align:right; "/>
- <col ref="outwinqty" visibility="hidden" format="####.99" maxlength="11" style="text-align:right; "/>
- <col ref="totsumqty" format="####.99" maxlength="11" style="text-align:right; "/>
- <col ref="insumqty" visibility="hidden" format="####.99" maxlength="11" style="text-align:right; "/>
- <col ref="outsumqty" visibility="hidden" format="####.99" maxlength="11" style="text-align:right; "/>
- <col ref="totrtnqty" format="####.99" style="text-align:right; "/>
- <col ref="inrtnqty" visibility="hidden" format="####.99" style="text-align:right; "/>
- <col ref="outrtnqty" visibility="hidden" format="####.99" style="text-align:right; "/>
- <col ref="totstocqty" format="####.99" maxlength="11" style="text-align:right; "/>
- <col ref="instocqty" visibility="hidden" format="####.99" maxlength="11" style="text-align:right; "/>
- <col ref="outstocqty" visibility="hidden" format="####.99" maxlength="11" style="text-align:right; "/>
- <col ref="realtotstocqty" type="input" format="####.99" style="text-align:right; "/>
- <col ref="realinstocqty" type="input" visibility="hidden" format="####.99" maxlength="11" style="text-align:right; "/>
- <col ref="realoutstocqty" type="input" visibility="hidden" format="####.99" maxlength="11" style="text-align:right; "/>
- <col ref="nextsumqty" format="####.99" maxlength="11" style="text-align:right; "/>
- <col format="####.99" style="text-align:right; "/>
- <col ref="loanqty" type="input" format="####.99" style="text-align:right; "/>
- <col ref="corrqty" type="input" format="(-1)####.99" style="text-align:right; "/>
- <col ref="cmt" type="input" style="text-align:right; "/>
- <col ref="lastupdtrid" style="text-align:right; "/>
- <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:right; "/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
-
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- //setPopupMenu("grd_druglist", true, "/root/hidden/popup/prcp/item", "name", "param");
-
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu();
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(isDataCell() && grd_druglist.col != grd_druglist.colRef("realtotstocqty") && grd_druglist.col != grd_druglist.colRef("realinstocqty")
- && grd_druglist.col != grd_druglist.colRef("realoutstocqty") && grd_druglist.col != grd_druglist.colRef("loanqty")
- && grd_druglist.col != grd_druglist.colRef("corrqty") && grd_druglist.col != grd_druglist.colRef("cmt") ) {
- var rowid = grd_druglist.row -1;
- model.setValue("/root/send/srchdata/drugcd", model.getValue("/root/main/srchcond/druglist[" + rowid + "]/drugcd"));
- submit("TRADT50102");
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_save" class="btn4_letter5" style="left:1080px; top:40px; width:92px; height:22px; ">
- <caption>일재고마감</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var nodelist = instance1.selectNodes("/root/main/srchcond/druglist");
- var data = getNodeListCSV(nodelist);
- model.setValue("/root/send/data/stocdata", data);
-
- if(submit("TXADT50101")) {
- btn_sea.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </button>
- <button id="btn_excel" class="btn2_letter4" style="left:1015px; top:42px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grd_druglist.rows>0) {
- var fileName = window.fileDialog("save", ",", false, "고가_고주의_고위험_약품재고_"+getCurrentDate(), "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if (fileName != "")
- {
- grd_druglist.saveExcel(fileName);
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_print" class="btn6_letter2" style="left:110px; top:40px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( grd_druglist.rows != 0){
- //exeReportPreview("RPADT30700", "XMLSTR", "", "", "false","","","","","false");
- }
- ]]>
- </script>
- </button>
- <button id="button3" class="btn3_letter6" navindex="18" visibility="visible" style="left:5px; top:40px; width:104px; height:22px; ">
- <caption>재고시간관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //fSetEndTime();
- modal("SPADT64100");
- if(getParameter("SPADT64100_param") == "Y") {
- //model.makeValue("/root/send/sumlistinfo/prcpflag", "A");
- if(submit("TRADT10206")) {
- var idx = cmb_sumtmflag.value;
- var fromddflag = model.getValue("/root/init/sumtmflaglist/flaglist[flagcd = '" + idx + "']/fromddflag");
- var fromtm = model.getValue("/root/init/sumtmflaglist/flaglist[flagcd = '" + idx + "']/fromtm");
- var toddflag = model.getValue("/root/init/sumtmflaglist/flaglist[flagcd = '" + idx + "']/toddflag");
- var totm = model.getValue("/root/init/sumtmflaglist/flaglist[flagcd = '" + idx + "']/totm");
-
- model.setValue("/root/hidden/srchinfo/fromddflag", fromddflag);
- model.setValue("/root/hidden/srchinfo/fromtm", fromtm);
- model.setValue("/root/hidden/srchinfo/toddflag", toddflag);
- model.setValue("/root/hidden/srchinfo/totm", totm);
- model.refresh();
- }
- }
- ]]>
- </script>
- </button>
- <caption id="caption1" style="left:170px; top:45px; width:705px; height:20px; font-weight:bold; color:#ff0000; ">* 불출량 (마감, 집계, 교환약 불출수량/약국미불출과 특수조제 조제보류는 제외/마감이후 의사반환도 포함)</caption>
- <group id="group4" class="cell_1" visibility="hidden" style="left:465px; top:205px; width:235px; height:135px; border-color:#3366ff; border-style:solid; ">
- <input id="input1" ref="/root/send/srchdata/initstocdd" class="input_search" inputtype="date" style="left:121px; top:10px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- ]]>
- </script>
- </input>
- <caption id="caption6" class="tit_2" style="left:9px; top:13px; width:105px; height:13px; ">시작재고일자 :</caption>
- <caption id="caption7" class="tit_2" style="left:9px; top:37px; width:108px; height:13px; ">총재고량 :</caption>
- <input id="input2" ref="/root/send/srchdata/initstocqty" format="(-1)#,###" style="left:120px; top:34px; width:100px; height:19px; "/>
- <button id="button1" class="btn4_letter2" style="left:104px; top:109px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter2" style="left:164px; top:109px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- group4.visible = false;
- ]]>
- </script>
- </button>
- <input id="input4" ref="/root/send/srchdata/initstocqty" format="(-1)#,###" style="left:120px; top:59px; width:100px; height:19px; "/>
- <caption id="caption8" class="tit_2" style="left:9px; top:62px; width:100px; height:13px; ">병동재고량 :</caption>
- <caption id="caption9" class="tit_2" style="left:9px; top:89px; width:100px; height:13px; ">외래재고량 :</caption>
- <input id="input5" ref="/root/send/srchdata/initstocqty" format="(-1)#,###" style="left:120px; top:84px; width:100px; height:19px; "/>
- </group>
- <button id="button5" class="icon_top" style="left:958px; top:43px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_druglist.attribute("height") = 320;
- ]]>
- </script>
- </button>
- <button id="button6" class="icon_bottom" style="left:983px; top:43px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_druglist.attribute("height") = 670;
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|