123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * @(#)SPPID23100_급비변경관리.xrw
- * 수정이력
- * - 2008.12.03 / 최초작성 / 김상진
- * /root/hidden/sppid23100/cond/cdcls : opener종류(사후입원, 사후외래, 재원)
- * /root/hidden/sppid23100/cond/cdid : 이전에 선택된 급여구분
- * /root/hidden/sppid23100/rslt/cdid : 현재 선택된 급여구분
- -->
- <?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>
- </main>
- <send>
- </send>
- <init>
- <P0469list>
- <P0469/>
- </P0469list>
- </init>
- <hidden>
- <sppid23100>
- <cond>
- <cdnm/>
- <cdid/>
- </cond>
- <rslt>
- <cdid/>
- </rslt>
- </sppid23100>
- </hidden>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize(); // 화면을 초기화한다..
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript">
- <![CDATA[
- // 화면을 초기화한다.
- function fInitialize() {
- model.removeNodeset("/root/init/P0469list/P0469");
- // 공통코드를 조회한다.
- if (checkOpener()) { // (common.js) 자신을 Open한 opener의 현재 UID가 자신을 open한 시점의 UID와 비교하여 변경되었는지 여부를 반환
- // (ZBC001.js) com.ZBCMCODE에서 기초코드 값을 가져와서 Combo 컨트롤 item으로 설정하기 위해 사용한다.
- zbcfGetCodeList( new Array("P0469"), new Array("/root/init/P0469list" ));
- model.refresh();
- var selectedCd = model.getValue("/root/hidden/sppid23100/cond/cdid");
- if (selectedCd) { // 기존에 선택된 사유
- for (var i = 1; i < grd_P0469.rows; i++) {
- if (selectedCd == model.getValue("/root/init/P0469list/P0469[" + i + "]/cdid")) {
- grd_P0469.row = i;
- i = grd_P0469.rows;
- }
- }
- }
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="240" pageheight="205" 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:215px; height:170px; ">
- <datagrid id="grd_P0469" nodeset="/root/init/P0469list/P0469" caption="코드^코드명" colsep="^" colwidth="45, 158" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" selectionmode="byrow" style="left:0px; top:30px; width:215px; height:140px; ">
- <col ref="cdid" style="text-align:center; "/>
- <col ref="cdnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (checkOpener()) { // (common.js) 자신을 Open한 opener의 현재 UID가 자신을 open한 시점의 UID와 비교하여 변경되었는지 여부를 반환
- var resncd = model.getValue( "/root/init/P0469list/P0469[" + grd_P0469.row + "]/cdid");
- model.setValue(opener.root.hidden.sppid23100.rslt.cdid, resncd);
- window.close(); // F5 실행시 IE를 종료시킨다.
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:144px; height:14px; ">급여구분 변경</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:26px; x2:215px; y2:26px; "/>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:172px; width:215px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" visibility="visible" style="left:94px; top:3px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (checkOpener()) { // (common.js) 자신을 Open한 opener의 현재 UID가 자신을 open한 시점의 UID와 비교하여 변경되었는지 여부를 반환
- var resncd = model.getValue( "/root/init/P0469list/P0469[" + grd_P0469.row + "]/cdid");
- model.setValue(opener.root.hidden.sppid23100.rslt.cdid, resncd);
- } else {
- messageBox("상위화면이 변경되어 데이터를 전달할 수", "I004"); ///상위화면이 변경되어 데이터를 전달할 수 없습니다.
- }
- window.close(); // F5 실행시 IE를 종료시킨다.
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" visibility="visible" style="left:155px; top:3px; width:56px; height:22px; ">
- <caption>취소</caption>
- <close ev:event="DOMActivate"/>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|