123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- <?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="">
- <main>
- <cond>
- <refflag>2</refflag>
- <refnm/>
- </cond>
- <calcscorlist>
- <calcscorcd/>
- <calcscornm/>
- </calcscorlist>
- </main>
- <send>
- <reqdata/>
- </send>
- <init>
- </init>
- <hidden/>
- </root>
- </instance>
- <submission id="TRMNP01305" ref="/root/send/reqdata" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/calcscorlist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript">
- <![CDATA[
- //검색
- function fGetCalcscorList() {
- if (model.getValue("/root/main/cond/refnm").length < 2 ){
- messageBox("검색어는 2자 이상","C001");
- model.setFocus("ipt_refnm");
-
- } else {
- model.removeNodeset("/root/send/reqdata");
- model.makeNode("/root/send/reqdata");
- model.copyNode("/root/send/reqdata","/root/main/cond");
- submit("TRMNP01305");
- model.setFocus("ipt_refnm");
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="490" pageheight="470" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:470px; height:460px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:45px; width:158px; height:14px; ">수가목록</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:60px; x2:470px; y2:60px; "/>
- <group id="group4" style="left:0px; top:0px; width:470px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:470px; height:35px; "/>
- <caption id="caption34" class="search_name" style="left:15px; top:10px; width:86px; height:17px; ">검색조건 :</caption>
- <input id="ipt_refnm" ref="/root/main/cond/refnm" navindex="1" class="input_search" imemode="alpha" maxlength="200" style="left:204px; top:9px; width:160px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keycode == "13"){
- model.setFocus("btn_srch");
- fGetCalcscorList();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- var refnm = ipt_refnm.value.toUpperCase();
- ipt_refnm.value= refnm;
- ]]>
- </script>
- </input>
- <line id="line13" class="line_4" style="x1:390px; y1:6px; x2:390px; y2:28px; "/>
- <button id="btn_srch" navindex="2" class="btn1_letter2" style="left:405px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetCalcscorList();
- ]]>
- </script>
- </button>
- <select1 id="combo1" ref="/root/main/cond/refflag" appearance="minimal" style="left:105px; top:9px; width:95px; height:19px; ">
- <choices>
- <item>
- <label>수가코드</label>
- <value>2</value>
- </item>
- <item>
- <label>수가명</label>
- <value>1</value>
- </item>
- </choices>
- </select1>
- </group>
- <datagrid id="grd_calcscorlist" nodeset="/root/main/calcscorlist" allowselection="false" caption="수가코드^수가명" colwidth="125, 326" ellipsis="true" explorerbar="sort" mergecellsfixedrows="bycolrec" rowsep="|" colsep="^" tooltip="true" style="left:0px; top:65px; width:470px; height:393px; ">
- <col ref="calcscorcd"/>
- <col ref="calcscornm">
- <![CDATA[/root/main/calcscorlist/calcscorcd]]>
- </col>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (grd_calcscorlist.row > 0 ) {
- grd_calcscorlist.gridToInstance();
- var sel_calcscorcd = model.getValue("/root/main/calcscorlist[" + grd_calcscorlist.row + "]/calcscorcd");
-
- if(sel_calcscorcd=="")return;
-
- //opener.model.setValue("/root/main/mnpmpmstinfo/calcscorcd", sel_calcscorcd);
- opener.inp_calcscorcd.value = sel_calcscorcd;
- model.close();
- }
- ]]>
- </script>
- </datagrid>
- </group>
- </xhtml:body>
- </xhtml:html>
|