123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195 |
- <?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>
- <ipgoinfo>
- <ipgolist>
- <prcpdd/>
- <rgstdt/>
- <goodcd/>
- <goodnm/>
- <goodspec/>
- <allsizespecidnm/>
- <deliveunit/>
- <prodcmpynm/>
- <custnm/>
- <pid/>
- <hngnm/>
- <prcpqty/>
- </ipgolist>
- </ipgoinfo>
- </main>
- <send>
- <iodate/>
- <custnm/>
- <prodcmpynm/>
- <goodcd/>
- <goodnm/>
- <totinqty/>
- <totrtninqty/>
- <totoutqty/>
- <prcpdd/>
- <globalinstance>
- <instance1/>
- </globalinstance>
- <req>
- <data/>
- </req>
- </send>
- <init>
- <baseinfo>
- <intiunit/>
- </baseinfo>
- </init>
- <hidden>
- <item/>
- </hidden>
- <cmb_info>
- <dpcminfo>
- <dpcmcust>
- <custnm/>
- <perchgr/>
- <cntctel/>
- <faxno/>
- <mpphontel/>
- <email/>
- <auttrsmflag/>
- <custcd/>
- <suppdeptcd/>
- <instcd/>
- <trsmtrid/>
- <useyn/>
- </dpcmcust>
- </dpcminfo>
- </cmb_info>
- </root>
- </instance>
- <submission id="TRAGR03501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/ipgoinfo"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- aezfSetSuppDeptcd();
-
- zbcfGetCodeList( new Array("R0039"), new Array("/root/init/baseinfo/intiunit") );
-
- submit("TRAGA00101");
-
- model.setValue("/root/send/iodate", getCurrentDate());
- model.setValue("/root/send/prcpdd", getCurrentDate());
-
- btn_sea.dispatch("DOMActivate");
- ]]>
- </script>
- <submission id="TRZBC00101"/>
- <submission id="TRAGA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/cmb_info/dpcminfo"/>
- </model>
- <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/stringHelper.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../com/authinfoweb/js/ZSA001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1195;2,784;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:67px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:1px; width:1194px; height:65px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" class="line_4" style="x1:1102px; y1:7px; x2:1102px; y2:59px; "/>
- <button id="btn_sea" class="btn1_letter2" navindex="6" style="left:1120px; top:20px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/main/ipgoinfo/ipgolist");
- submit("TRAGR03501");
- var inqty = 0;
- var rtninqty = 0;
- var outqty = 0;
- for (var i = 1; i < datagrid1.rows; i++){
- inqty = parseFloat(inqty) + parseFloat(model.getValue("/root/main/ipgoinfo/ipgolist[" + i + "]/prcpqty"));
- }
- model.setValue("/root/send/totinqty", inqty);
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:15px; top:12px; width:86px; height:17px; ">사용일자 :</caption>
- <input id="input1" ref="/root/send/iodate" navindex="1" inputtype="date" style="left:110px; top:11px; width:120px; height:19px; text-align:center; "/>
- <caption id="caption3" class="search_name" style="left:485px; top:12px; width:86px; height:17px; ">거래처명 :</caption>
- <caption id="caption4" class="search_name" style="left:745px; top:12px; width:99px; height:17px; ">제조회사명 :</caption>
- <input id="input3" ref="/root/send/prodcmpynm" navindex="3" style="left:855px; top:11px; width:145px; height:19px; "/>
- <caption id="caption1" class="search_name" style="left:15px; top:42px; width:86px; height:17px; ">물품코드 :</caption>
- <caption id="caption5" class="search_name" style="left:250px; top:42px; width:93px; height:17px; ">물 품 명 :</caption>
- <input id="input4" ref="/root/send/goodcd" navindex="4" style="left:110px; top:39px; width:120px; height:19px; "/>
- <input id="input5" ref="/root/send/goodnm" navindex="5" style="left:345px; top:39px; width:120px; height:19px; "/>
- <caption id="caption7" style="left:580px; top:45px; width:65px; height:20px; ">총사용량 :</caption>
- <output id="output1" ref="/root/send/totinqty" format="#,###" style="left:645px; top:45px; width:75px; height:19px; text-align:center; "/>
- <input id="input6" ref="/root/send/prcpdd" navindex="1" inputtype="date" style="left:260px; top:11px; width:120px; height:19px; text-align:center; "/>
- <caption id="caption8" style="left:235px; top:13px; width:20px; height:20px; text-align:center; ">~</caption>
- <button id="btn_excel" class="btn2_letter4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:1016px; top:45px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var file = window.fileDialog("save","","true","","xls","Excel Files(*.xls)|*.xls");
- if(file == "") return;
- datagrid1.saveExcel(file, "sheet1");
- ]]>
- </script>
- </button>
- <select1 id="combo1" ref="/root/send/custnm" appearance="minimal" editmode="input" style="left:580px; top:11px; width:145px; height:19px; ">
- <choices>
- <itemset nodeset="/root/cmb_info/dpcminfo">
- <label ref="dpcmcust/custnm"/>
- <value ref="dpcmcust/custnm"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <line id="line1" class="line_1" style="x1:3px; y1:79px; x2:1194px; y2:80px; "/>
- <datagrid id="datagrid1" nodeset="/root/main/ipgoinfo/ipgolist" caption="사용일자^처방일시^물품코드^물품명^규격^All Size^단위^제조회사^거래처^등록번호^환자명^사용량" colsep="^" colwidth="80, 123, 76, 210, 99, 92, 75, 105, 99, 79, 60, 72" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:3px; top:82px; width:1191px; height:660px; ">
- <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rgstdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
- <col ref="goodcd" style="text-align:left; "/>
- <col ref="goodnm" style="text-align:left; "/>
- <col ref="goodspec" style="text-align:left; "/>
- <col ref="allsizespecidnm" style="text-align:left; "/>
- <col disabled="true" ref="deliveunit" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/intiunit/R0039">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="prodcmpynm" style="text-align:left; "/>
- <col ref="custnm" style="text-align:left; "/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="prcpqty" format="999999" style="text-align:right; "/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- datagrid1.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- </group>
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:240px; height:13px; ">물품사용량내역조회(처방/사용량)</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|