123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154 |
- <?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>
- <goodlist>
- <item>
- <goodcd/>
- <goodnm/>
- <speccd/>
- <safestocqty/>
- <instcd/>
- <suppdeptcd/>
- </item>
- </goodlist>
- </main>
- <send>
- <srch>
- <srchgoodcd/>
- <srchgoodnm/>
- </srch>
- <globalinstance>
- <instance1/>
- </globalinstance>
- <req>
- <data>
- </data>
- <suppdeptcd/>
- </req>
- </send>
- <hidden>
- <item>
- </item>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- aezfSetSuppDeptcd();
-
- model.removeNodeset("/root/main/goodlist/item");
- model.refresh();
- //2010.01.12 수가기준으로 조회해옴으로 주석처리(mis에서 가지고 오면주석해제) - 박재영
- //btn_sea.dispatch("DOMActivate");
- ]]>
- </script>
- <submission id="TRAEB00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/goodlist"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- function fGetgoodList(){
- if( input8.value.length < 3 && input1.value.length == 0 ){
- messageBox("검색어를 세자이상 " , "C001");
- model.setFocus("input8");
- return ;
- }
- if( input1.value.length < 3 && input8.value.length == 0 ){
- messageBox("검색어를 세자이상 " , "C001");
- model.setFocus("input1");
- return ;
- }
- submit("TRAEB00402");
- }
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="731" pageheight="555" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:8px; top:0px; width:700px; height:550px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:4px; top:21px; width:690px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption1" class="tit_2" style="left:0px; top:4px; width:145px; height:14px; ">약품코드조회</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:63px; x2:700; y2:63px; "/>
- <group id="group1" scroll="auto" style="left:0px; top:523px; width:700; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" style="left:587px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfPopUpListReturn(grd_prodcmpylist);
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" style="left:644px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:700; y2:0px; "/>
- </group>
- <input id="input8" ref="/root/send/srch/srchgoodcd" class="input_search" style="left:110px; top:28px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if ( event.keyCode == 13 ) {
- setInputNodeCurText();
- //submit("TRAEB00402");
- fGetgoodList();
- }
- ]]>
- </script>
- </input>
- <caption id="caption2" class="search_name" style="left:17px; top:30px; width:99px; height:17px; ">약품코드 :</caption>
- <caption id="caption3" class="search_name" style="left:257px; top:31px; width:99px; height:17px; ">약품명 :</caption>
- <button id="btn_sea" class="btn1_letter2" style="left:625px; top:28px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //submit("TRAEB00402");
- fGetgoodList();
- ]]>
- </script>
- </button>
- <input id="input1" ref="/root/send/srch/srchgoodnm" class="input_search" style="left:338px; top:29px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if ( event.keyCode == 13 ) {
- setInputNodeCurText();
- //submit("TRAEB00402");
- fGetgoodList();
- }
- ]]>
- </script>
- </input>
- <datagrid id="grd_goodlist" nodeset="/root/main/goodlist/item" caption="약품코드^약품명^안전재고량^용량^" colsep="^" colwidth="137, 313, 109, 118, 79, 121, 68, 68" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:65px; width:700px; height:455px; ">
- <col editable="false" ref="goodcd" type="output"/>
- <col ref="goodnm" type="output"/>
- <col ref="safestocqty" type="output" format="#,###" style="text-align:right; "/>
- <col ref="speccd" type="output" style="text-align:center; "/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="suppdeptcd" visibility="hidden"/>
- <col ref="itemflag" visibility="hidden"/>
- <col ref="itemcd" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- opener.model.setValue("/root/temp/goodcd", model.getValue("/root/main/goodlist/item[" + grd_goodlist.row + "]/goodcd"));
- opener.model.setValue("/root/temp/goodnm", model.getValue("/root/main/goodlist/item[" + grd_goodlist.row + "]/goodnm"));
- opener.model.setValue("/root/temp/safestocqty", model.getValue("/root/main/goodlist/item[" + grd_goodlist.row + "]/safestocqty"));
- opener.model.setValue("/root/temp/speccd", model.getValue("/root/main/goodlist/item[" + grd_goodlist.row + "]/speccd"));
- window.close();
- ]]>
- </script>
- </datagrid>
- </group>
- </xhtml:body>
- </xhtml:html>
|