123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- <?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>Untitle</xhtml:title>
- <script type="javascript" src="C:\CMCProject\application\webapps\crc\clinicresearchweb\js\crccnvsub1.js"/>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <grid>
- <item>
- <typenm/>
- <limamtrate/>
- <cmt/>
- <typeseqno/>
- </item>
- </grid>
- <griddtl>
- <item>
- <typeseqno/>
- <itemexpendcd/>
- <itemexpendnm/>
- <cmt/>
- </item>
- </griddtl>
- </main>
- <send>
- <searchwh>
- <typeseqno/>
- </searchwh>
- <saveexpenitem>
- <senddata/>
- </saveexpenitem>
- <searchdtlwh>
- <typeseqno/>
- </searchdtlwh>
- <saveexpenddtl>
- <senddatadtl/>
- </saveexpenddtl>
- </send>
- </root>
- </instance>
- <submission id="TRICV01042" ref="/root/send/searchwh" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/grid"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue("/root/send/searchwh/typeseqno", model.getValue("/root/send/searchwh/typeseqno"));
- submit("TRICV01042");
-
- ]]>
- </script>
- <submission id="TXICV01011" ref="/root/send/saveexpenitem" method="post" mediatype="application/x-www-form-urlencoded" replace="instance"/>
- <submission id="TRICV01043" ref="/root/send/searchdtlwh" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/griddtl"/>
- <submission id="TXICV01012" ref="/root/send/saveexpenddtl" method="post" mediatype="application/x-www-form-urlencoded" replace="instance"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- </xhtml:head>
- <xhtml:body guideline="2,773;1,1190;">
- <group id="grp_tle" style="left:0px; top:0px; width:1190px; height:14px; ">
- <caption id="caption120" class="tit_1" style="left:0px; top:0px; width:158px; height:14px; ">비목관리</caption>
- </group>
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
- <line id="line6" class="line_3" style="x1:0px; y1:770px; x2:1194px; y2:770px; "/>
- <group id="group3" style="left:10px; top:25px; width:1179px; height:45px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1179px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="button51" class="btn4_letter2" style="left:1084px; top:9px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/saveexpenitem/senddata",datagrid3.getUpdateData());
- submit("TXICV01011");
- ]]>
- </script>
- </button>
- <caption id="caption146" class="tit_2" style="left:25px; top:25px; width:125px; height:14px; ">비목타입목록</caption>
- </group>
- <datagrid id="datagrid3" nodeset="/root/main/grid/item" caption="타입명^제한금액율(100%)^비고^caption1" colwidth="235, 333, 282, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" colsep="^" style="left:0px; top:75px; width:1055px; height:200px; ">
- <col ref="typenm" type="input"/>
- <col ref="limamtrate" type="input"/>
- <col ref="cmt" type="input"/>
- <col ref="typeseqno" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var typeseqnoValue = model.getValue("/root/main/grid/item[" + datagrid3.row + "]/typeseqno");
- model.makeValue("/root/send/searchdtlwh/typeseqno", typeseqnoValue);
- submit("TRICV01043");
- model.makeValue("/root/send/saveexpenddtl/typeseqno", typeseqnoValue);//저장
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <datagrid id="datagrid1" nodeset="/root/main/griddtl/item" caption="타입일련번호^비목코드^비목명^비고" colwidth="117, 235, 333, 243" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" colsep="^" style="left:0px; top:325px; width:1055px; height:435px; ">
- <col ref="typeseqno" type="input" _key="true"/>
- <col ref="itemexpendcd" type="input" _key="true"/>
- <col ref="itemexpendnm" type="input"/>
- <col ref="cmt" type="input"/>
- </datagrid>
- <caption id="caption1" class="tit_2" style="left:25px; top:305px; width:209px; height:14px; ">비목코든느 순번대로 입력하세요</caption>
- <button id="button3" class="btn4_letter2" style="left:960px; top:295px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var typeseqnoValue = model.getValue("/root/send/searchdtlwh/typeseqno");
- if(typeseqnoValue != ""){
- model.makeValue("/root/send/saveexpenddtl/typeseqno", typeseqnoValue);
- }else{
- alert("비목을 선택하시면 상세정보를 입력할수있습니다.");
- }
- model.setValue("/root/send/saveexpenddtl/senddatadtl",datagrid1.getUpdateData());
- submit("TXICV01012");
-
- ]]>
- </script>
- </button>
- <input id="input19" ref="/root/send/searchdtlwh/typeseqno" class="input_search" visibility="hidden" style="left:735px; top:298px; width:80px; height:19px; "/>
- <button id="button2" class="btn2_letter3" style="left:900px; top:296px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- datagrid1.deleteItem(datagrid1.row);
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter3" style="left:840px; top:296px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- datagrid1.addItem(datagrid1.row);
- var typeseqnoValue = model.getValue("/root/send/searchdtlwh/typeseqno");
- datagrid1.valueMatrix(datagrid1.row, datagrid1.colRef("typeseqno"))=typeseqnoValue;
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|