123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- <?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>
- <![CDATA[]]>
- <xhtml:title>처방(물품)찾기</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <goodlist>
- <chkflag/>
- <deptflag/>
- <purcflag/>
- <oproomnm/>
- <goodcd/>
- <allsizespecid/>
- <goodnm/>
- <goodspec/>
- <goodmodel/>
- <prodcmpynm/>
- <acmlbaseqty/>
- <safestocqty/>
- <stocqty/>
- <deliveunit/>
- <reqqty/>
- </goodlist>
- </main>
- <init>
- <GoodData>
- <cond>
- <refflag>1</refflag>
- <refnm/>
- <goodflag/>
- <goodcond/>
- <lrgcd/>
- <mdlcd/>
- <smlcd/>
- <offset/>
- <pagesize>500</pagesize>
- <tabflag>CCR</tabflag>
- <refcmpy/>
- <refcust/>
- <refprcp/>
- <prcpflag>Y</prcpflag>
- <winflag/>
- <oproomcd/>
- <cartgubn/>
- <menuparam>S</menuparam>
- </cond>
- <goodflaglist>
- <goodflagcd/>
- <goodflagnm/>
- </goodflaglist>
- <lrglist>
- <lrgcd/>
- <lrgnm/>
- </lrglist>
- <mdllist>
- <mdlcd/>
- <mdlnm/>
- </mdllist>
- <smllist>
- <smlcd/>
- <smlnm/>
- </smllist>
- <prcplist>
- <prcpclscd/>
- <prcpclsnm/>
- </prcplist>
- </GoodData>
- </init>
- <send>
- <reqdata/>
- </send>
- <temp/>
- <HideData>
- <condition>
- <deptflag/>
- <cartgubn/>
- <oproomcd/>
- <insukind/>
- <payflagcd/>
- </condition>
- </HideData>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fGoodInit();
- ]]>
- </script>
- <submission id="TRMNP04606" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/goodlist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../emr/opanstweb/js/SPMNP01602.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="1016" pageheight="630" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_main" scroll="auto" style="left:0px; top:0px; width:995px; height:624px; ">
- <line id="line1" class="line_1" style="x1:0px; y1:26px; x2:995px; y2:26px; "/>
- <caption id="caption16" class="tit_2" style="left:5px; top:11px; width:145px; height:14px; ">방재고 리스트</caption>
- <button id="button1" class="btn2_letter2" disabled="false" style="left:943px; top:6px; width:42px; height:19px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <button id="bbt_choice" class="btn2_letter2" disabled="false" style="left:897px; top:6px; width:42px; height:19px; ">
- <caption>선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fChoiceData();
- ]]>
- </script>
- </button>
- <button id="btn_search" class="btn2_letter2" style="left:851px; top:6px; width:42px; height:19px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDataQuery(); // 조회
- ]]>
- </script>
- </button>
- </group>
- <datagrid id="grd_goodlist" nodeset="/root/main/goodlist" class="datagrid2" backcoloralternate="transparent" caption="^부서
구분^구매
구분^수술
방^물품코드^SUB^물품명^규격^모델^제조원^기준
수량^안전
재고^방
재고^의뢰
단위^의뢰수량" colsep="^" colwidth="30, 38, 38, 38, 75, 40, 155, 110, 100, 100, 42, 42, 42, 45, 45" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:31px; width:994px; height:592px; ">
- <col ref="chkflag" type="checkbox" style="text-align:center; "/>
- <col ref="deptflag" style="text-align:center; "/>
- <col ref="purcflag" style="text-align:center; "/>
- <col ref="oproomnm" style="text-align:center; "/>
- <col ref="goodcd" style="text-align:center; "/>
- <col ref="allsizespecid" style="text-align:center; "/>
- <col ref="goodnm" style="text-align:left; "/>
- <col ref="goodspec" style="text-align:left; "/>
- <col ref="goodmodel" style="text-align:left; "/>
- <col ref="prodcmpynm" style="text-align:left; "/>
- <col ref="acmlbaseqty" style="text-align:right; "/>
- <col ref="safestocqty" style="text-align:right; "/>
- <col ref="stocqty" style="text-align:right; "/>
- <col ref="deliveunit" style="text-align:center; "/>
- <col ref="reqqty" type="input" style="text-align:right; background-color:#ccffcc; "/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- var iRow = -1;
-
- iRow = grd_goodlist.row;
- if( ( model.getValue("/root/main/goodlist["+ iRow +"]/reqqty") == "")||( model.getValue("/root/main/goodlist["+ iRow +"]/reqqty") == "0.0")||( model.getValue("/root/main/goodlist["+ iRow +"]/reqqty") == "0") ){
- model.setValue("/root/main/goodlist["+ iRow +"]/chkflag", "false");
- iRow++;
- }else {
- model.setValue("/root/main/goodlist["+ iRow +"]/chkflag", "true");
- iRow++;
- }
- if( iRow != grd_goodlist.rows ) {
- if( event.keyCode == 13 ) {
- grd_goodlist.row = iRow;
- grd_goodlist.editCell();
- }
- }
- ]]>
- </script>
- </datagrid>
- </xhtml:body>
- </xhtml:html>
|