123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
- <?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>
- <matchinfo>
- <item>
- <updtseq/>
- <matchpsncnt1/>
- <lastupdtrid/>
- <lastupdtdt/>
- </item>
- </matchinfo>
- </main>
- <send>
- <req>
- <trnptsrchdata>
- <pid/>
- <trnptflag/>
- <boneassocd/>
- </trnptsrchdata>
- <matchdata/>
- </req>
- </send>
- <init>
- <cmbinfo>
- <boneassocd>
- <A0164>
- <cdid/>
- <cdnm/>
- </A0164>
- </boneassocd>
- </cmbinfo>
- </init>
- <hidden>
- </hidden>
- <temp>
- <ret/>
- <tempcodeinfo/>
- <tempcodeinfo2/>
- </temp>
- </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/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../ast/hsctweb/js/bmtcommon.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //zbcfGetCodeList( new Array("A0164"), new Array("/root/init/cmbinfo/boneassocd"));
- //BMT 코드성 데이터 조회.(기존의 공통코드로 사용했던것들을 BMT에서 관리하도록 수정 후)
- aboGetCodeList( new Array("A0164"), new Array("/root/init/cmbinfo/boneassocd"));
- if ( checkOpener() ) {
- model.setValue("/root/send/req/trnptsrchdata/boneassocd", opener.model.getValue("/root/temp/boneassocd"));
- model.setValue("/root/send/req/trnptsrchdata/pid" , opener.model.getValue("/root/main/hsctinfo/patinfolist/pid"));
- model.setValue("/root/send/req/trnptsrchdata/trnptflag" , opener.model.getValue("/root/send/req/trnptsrchdata/trnptflag"));
- model.refresh();
- } else {
- alert("상위화면이 변경되어 데이터를 전달할 수 없습니다.");
- }
- submit("TRABO61401");
- btn_save.disabled = !checkAuth("X");
- model.refresh();
- ]]>
- </script>
- <submission id="TRABO61401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/main/matchinfo"/>
- <submission id="TXABO61401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/temp/ret"/>
- <submission id="TRABO02103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/tempcodeinfo"/>
- <script type="javascript" ev:event="xforms-refresh">
- <![CDATA[
- var imatchpsncnt1 = 0;
- for( var i = 1; i < grd_matchlist.rows; i++ ) {
- if ( model.getValue("/root/main/matchinfo/item[" + i + "]/matchpsncnt1") != "") {
- imatchpsncnt1 = imatchpsncnt1 + parseInt(model.getValue("/root/main/matchinfo/item[" + i + "]/matchpsncnt1"));
- }
- }
- opener.model.setValue("/root/temp/srchmaininfo/matchpsncnt1", imatchpsncnt1);
- ]]>
- </script>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="368" pageheight="350" guideline="1,1194;2,784;2,757;" 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:345px; height:306px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:155px; height:13px; ">일치자수 관리</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:340px; y2:25px; "/>
- <button id="btn_grddel" class="btn2_letter3" style="left:283px; top:35px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_matchlist.addStatus(grd_matchlist.row,"delete");
- ]]>
- </script>
- </button>
- <button id="btn_grdadd" class="btn2_letter3" style="left:227px; top:35px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_matchlist.addRow();
- grd_matchlist.refresh();
- ]]>
- </script>
- </button>
- <datagrid id="grd_matchlist" nodeset="/root/main/matchinfo/item" allowselection="false" caption="순번^일치자수^작성자^작성일시" colsep="^" colwidth="16, 60, 78, 140" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" selectionmode="byrow" style="left:0px; top:55px; width:338px; height:251px; ">
- <col ref="updtseq" visibility="hidden"/>
- <col ref="matchpsncnt1" type="input"/>
- <col ref="lastupdtrid"/>
- <col ref="lastupdtdt" format="yyyy-mm-dd hh:mm:ss"/>
- </datagrid>
- <select1 id="combo22" ref="/root/send/req/trnptsrchdata/boneassocd" class="combo_essential" disabled="true" appearance="minimal" style="left:0px; top:35px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmbinfo/boneassocd/A0164">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:306px; width:345px; height:27px; ">
- <button id="btn_cls" class="btn4_letter2" style="left:285px; top:4px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <close ev:event="DOMActivate"/>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:225px; top:4px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/send/req/matchdata", grd_matchlist.getUpdateData());
- submit("TXABO61401");
- submit("TRABO61401");
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|