123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307 |
- <?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="">
- <send>
- <fromdd/>
- <todd/>
- <calcscorcd/>
- <edicd/>
- <srchcond1>C</srchcond1>
- <srchcond2>I</srchcond2>
- <inptcont/>
- </send>
- <main>
- <druglist>
- <list01>
- <gridlist01>
- <chk/>
- <edicd/>
- <goodcd/>
- <goodnm/>
- <spec/>
- <unit/>
- <pre_windd/>
- <pre_winqty/>
- <pre_winunitcost/>
- <pre_winamt/>
- <chg_windd/>
- <chg_winqty/>
- <chg_winunitcost/>
- <chg_winamt/>
- <makecmpynm/>
- </gridlist01>
- </list01>
- </druglist>
- <papercont>
- <list02>
- <gridlist02>
- <fromdd/>
- <todd/>
- <edicd/>
- <hngnm/>
- <packunit/>
- <packvol/>
- <cntsunit/>
- <purcamt/>
- </gridlist02>
- </list02>
- <list03>
- <gridlist03>
- <stkdd/>
- <unitcost/>
- <inqty/>
- <outqty/>
- <sumqty/>
- </gridlist03>
- </list03>
- <list04>
- <gridlist04>
- <prcpdd/>
- <unitcost/>
- <ioflag/>
- <pid/>
- <useqty/>
- <restqty/>
- </gridlist04>
- </list04>
- </papercont>
- </main>
- </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/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/batchinfoweb/js/ZSB001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- ipt_fromdd.value = getCurrentDate().substr(0,6)+"01";
- ipt_todd.value = getCurrentDate();
- ]]>
- </script>
- <submission id="TRPIE00901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list01"/>
- <submission id="TRPIE00902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/papercont"/>
- </model>
- </xhtml:head>
- <xhtml:body>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">인상약 신고 관리</caption>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:741px; ">
- <group id="group2" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_select" class="btn1_letter2" style="left:1068px; top:6px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/main/druglist/list01");
- model.removeNodeset("/root/main/papercont/list02");
- model.removeNodeset("/root/main/papercont/list03");
- model.removeNodeset("/root/main/papercont/list04");
-
- if (model.getValue("/root/send/srchcond1") == "C") {
- model.setValue("/root/send/calcscorcd", model.getValue("/root/send/inptcont"));
- } else {
- model.setValue("/root/send/edicd", model.getValue("/root/send/inptcont"));
- }
- submit("TRPIE00901");
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1058px; y1:6px; x2:1058px; y2:28px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption41" class="search_name" style="left:19px; top:9px; width:112px; height:17px; ">구입일자 :</caption>
- <caption id="caption11" style="left:204px; top:12px; width:15px; height:15px; ">~</caption>
- <input id="ipt_todd" ref="/root/send/todd" class="input_search" inputtype="date" format="yyyy-mm-dd" appearance="input" style="left:220px; top:8px; width:90px; height:19px; "/>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" inputtype="date" format="yyyy-mm-dd" appearance="input" style="left:110px; top:8px; width:90px; height:19px; ">
- <caption id="caption7"/>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- //model.setValue("/root/send/todd",model.getValue("/root/send/fromdd"));
- //model.refreshpart("/root/send/todd");
- ]]>
- </script>
- </input>
- <button id="button11" class="btn1_letter2" style="left:1126px; top:6px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removenode("/root/hidden/list02");
- model.removenode("/root/hidden/list03");
- model.removenode("/root/hidden/list04");
-
- model.makeNode("/root/hidden/list02");
- model.makeNode("/root/hidden/list03");
- model.makeNode("/root/hidden/list04");
-
- model.copyNode("/root/hidden/list02", "/root/main/papercont/list02");
- model.copyNode("/root/hidden/list03", "/root/main/papercont/list03");
- model.copyNode("/root/hidden/list04", "/root/main/papercont/list04");
-
- exeReportPreview("RPPIE00910", "XMLSTR", "","", "false","","","","","false"); ;
- ]]>
- </script>
- </button>
- <select1 id="radio1" ref="/root/send/srchcond2" overflow="visible" appearance="full" cellspacing="5" cols="2" style="left:828px; top:9px; width:195px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>전체조회</label>
- <value>A</value>
- </item>
- <item>
- <label>인상약만 조회</label>
- <value>I</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_srchcond2" ref="/root/send/inptcont" class="input_search" appearance="input" style="left:552px; top:8px; width:130px; height:19px; "/>
- <select1 id="rdo_srchcond1" ref="/root/send/srchcond1" overflow="visible" appearance="full" cols="4" rows="1" style="left:462px; top:9px; width:85px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>수가</label>
- <value>C</value>
- </item>
- <item>
- <label>EDI</label>
- <value>E</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setFocus("ipt_srchcond2");
- ]]>
- </script>
- </select1>
- <caption id="caption4" class="search_name" style="left:738px; top:9px; width:112px; height:17px; ">조회조건 :</caption>
- <caption id="caption5" class="search_name" style="left:373px; top:9px; width:112px; height:17px; ">코드조회 :</caption>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:56px; width:165px; height:14px; ">인상약 내역</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:76px; x2:1195px; y2:75px; "/>
- <caption id="caption57" class="tit_2" style="left:5px; top:278px; width:162px; height:13px; ">조회코드 변경 상세내역</caption>
- <line id="line24" class="line_1" style="x1:0px; y1:296px; x2:667px; y2:296px; "/>
- <line id="line7" class="line_1" style="left:670px; x1:670px; y1:296px; x2:1194px; y2:296px; "/>
- <caption id="caption2" class="tit_2" style="left:670px; top:278px; width:167px; height:13px; ">일자별 상세 사용현황</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:498px; x2:667px; y2:498px; "/>
- <caption id="caption3" class="tit_2" style="left:5px; top:480px; width:162px; height:13px; ">약제창고 입출 상세내역</caption>
- <datagrid id="grid01" nodeset="/root/main/druglist/list01/gridlist01" caption="^EDI코드^품목코드^품목명^규격^단위^최종구입내역^최종구입내역^최종구입내역^최종구입내역^조회기간 중 최초구입내역^조회기간 중 최초구입내역^조회기간 중 최초구입내역^조회기간 중 최초구입내역^제조회사|^EDI코드^품목코드^품목명^규격^단위^구입일자^구입수량^구입단가^구입금액^구입일자^구입수량^구입단가^구입금액^제조회사" colsep="^" colwidth="25, 80, 90, 160, 45, 45, 85, 55, 70, 80, 85, 55, 70, 80, 100" dataheight="25" defaultrows="2" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:79px; width:1195px; height:190px; ">
- <col checkvalue="Y,N" ref="chk" type="checkbox"/>
- <col ref="edicd" style="text-align:center; "/>
- <col ref="goodcd" style="text-align:center; "/>
- <col ref="goodnm" style="text-align:left; "/>
- <col ref="spec" style="text-align:center; "/>
- <col ref="unit" style="text-align:center; "/>
- <col ref="pre_windd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="pre_winqty" format="#,###" style="text-align:right; "/>
- <col ref="pre_winunitcost" format="#,###" style="text-align:right; "/>
- <col ref="pre_winamt" format="#,###" style="text-align:right; "/>
- <col ref="chg_windd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="chg_winqty" format="#,###" style="text-align:right; "/>
- <col ref="chg_winunitcost" format="#,###" style="text-align:right; "/>
- <col ref="chg_winamt" format="#,###" style="text-align:right; "/>
- <col ref="makecmpynm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var goodcd = grid01.valueMatrix(grid01.row, grid01.colRef("goodcd"));
-
- model.setValue("/root/send/calcscorcd", goodcd);
- submit("TRPIE00902");
- ]]>
- </script>
- </datagrid>
- <datagrid id="grid02" nodeset="/root/main/papercont/list02/gridlist02" class="datagrid2" caption="적용일자^종료일자^청구코드^약제명칭^포장단위^환산수량^규격^입고단가" colsep="^" colwidth="90, 90, 80, 120, 60, 60, 60, 86" dataheight="25" defaultrows="2" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:301px; width:667px; height:169px; ">
- <![CDATA[/>]]>
- <col ref="fromdd" format="yyyy-mm-dd" _chartype="upper" style="text-align:center; "/>
- <col ref="todd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="edicd" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:left; "/>
- <col ref="packunit" style="text-align:center; "/>
- <col ref="packvol" style="text-align:center; "/>
- <col ref="cntsunit" style="text-align:center; "/>
- <col ref="purcamt" format="#,###" style="text-align:right; "/>
- </datagrid>
- <datagrid id="grid03" nodeset="/root/main/papercont/list03/gridlist03" class="datagrid2" caption="입출일자^단가^입고수량^출고수량^당일합산" colsep="^" colwidth="90, 90, 80, 80, 80" dataheight="25" defaultrows="2" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:503px; width:667px; height:233px; ">
- <![CDATA[/>]]>
- <col ref="stkdd" type="input" format="yyyy-mm-dd" _chartype="upper" style="text-align:center; "/>
- <col ref="unitcost" type="input" format="#,###" style="text-align:right; "/>
- <col ref="inqty" type="input" format="#,###" style="text-align:right; "/>
- <col ref="outqty" type="input" format="#,###" style="text-align:right; "/>
- <col ref="sumqty" type="input" format="(-)#,###" style="text-align:right; "/>
- </datagrid>
- <datagrid id="grid04" nodeset="/root/main/papercont/list04/gridlist04" class="datagrid2" caption="처방일자^단가^구분^환자번호^수량^사용후잔량" colsep="^" colwidth="100, 80, 60, 90, 70, 70" dataheight="25" defaultrows="2" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:670px; top:301px; width:525px; height:435px; ">
- <col ref="prcpdd" type="input" format="yyyy-mm-dd" _chartype="upper" style="text-align:center; "/>
- <col ref="unitcost" type="input" format="#,###" style="text-align:right; "/>
- <col ref="ioflag" type="input" style="text-align:center; "/>
- <col ref="pid" type="input" style="text-align:center; "/>
- <col ref="useqty" type="input" format="#,###" style="text-align:right; "/>
- <col ref="restqty" type="input" format="(-)#,###" style="text-align:right; "/>
- </datagrid>
- <button id="btn_delrow" class="btn2_letter3" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:1138px; top:275px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for(var i = (grid04.selectedRows-1); i >= 0; i--)
- {
- var row = grid04.selectedRow(i);
- model.destroy("/root/main/papercont/list04/gridlist04["+row+"]");
- }
-
- grid04.rebuild();
-
- ]]>
- </script>
- </button>
- <button id="btn_addrow" class="btn2_letter3" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:1084px; top:275px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var rowcnt = model.getValue("/root/main/papercont/list04/gridlist04");
- if(eval(rowcnt) + 1 == "999") {
- messageBox("더이상 행추가를 하실수","I004");
- return false;
- } else {
- grid04.addRow();
-
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter3" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:610px; top:477px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for(var i = (grid03.selectedRows-1); i >= 0; i--)
- {
- var row = grid03.selectedRow(i);
- model.destroy("/root/main/papercont/list03/gridlist03["+row+"]");
- }
-
- grid03.rebuild();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter3" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:556px; top:477px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var rowcnt = model.getValue("/root/main/papercont/list03/gridlist03");
-
- if(eval(rowcnt) + 1 == "999") {
- messageBox("더이상 행추가를 하실수","I004");
- return false;
- } else {
- grid03.addRow();
-
- model.refresh();
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|