123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPLPD00300_미반납내역팝업.xrw
- * 설 명 : 미반납내역 조회 팝업화면
- * 설 계 자 : (주)에이씨케이 - 유동철
- * 작 성 자 : (주)에이씨케이 - 유동철
- * 작 성 일 : 2007.03.02
- * 수정이력 :
- * 기 타 :
- -->
- <?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/>
- <model id="model1">
- <instance id="instance1">
- <root>
- <main>
- <lend>
- <lendlist>
- <dispptno/>
- <appdd/>
- <resncnts/>
- <rsltM/>
- <rsltT/>
- <rsltP/>
- <rtnflagcd/>
- </lendlist>
- </lend>
- </main>
- <send>
- </send>
- <init>
- </init>
- <hidden>
- <chrgprfid/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fExeInitialize();
- ]]>
- </script>
- <submission id="TRLPD00501" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/lend/lendlist"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- /* @group : 미반납내역 조회 팝업화면
- * @ver : 2007.03.02 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면초기화 함수
- */
- function fExeInitialize(){
-
- model.makeValue("/root/hidden/chrgprfid", model.property("chrgprfid"));
- fGetLendList();
- }
-
- /* @group : 미반납내역 조회 팝업화면
- * @ver : 2007.03.02 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 미반납내역 조회 함수
- */
- function fGetLendList() {
- var iLendCnt = 0;
- var vRtnFlag = "";
- var strNode = "/root/main/lend/lendlist";
-
- model.removeNodeset("/root/send");
-
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/chrgprfid", model.getValue("/root/hidden/chrgprfid"));
- model.makeValue("/root/send/baseflagcd", "L1");
- submit("TRLPD00501");
-
- //-----------------------------------------------------------
- // 반납구분코드 = '0'(미반납)인 경우만 Count Up
- for (var iRowNo=1; iRowNo < grd_lendlist.rows; iRowNo++) {
- vRtnFlag = model.getValue(strNode + "[" + iRowNo + "]/rtnflagcd");
- if (vRtnFlag == 0) {
- iLendCnt += 1;
- }
- }
- model.property("lendptnocnt") = iLendCnt;
- if (iLendCnt < 1) {
- fExeScreenClose();
- return;
- }
- }
-
- /* @group : 미반납내역 조회 팝업화면
- * @ver : 2007.03.02 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면 닫기 함수
- */
- function fExeScreenClose(){
- model.close();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="812" pageheight="441" guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" style="left:0px; top:398; width:796px; height:27px; ">
- <line id="line2" class="line_6" style="x1:0px; y1:0px; x2:795; y2:0px; "/>
- <button id="btn_cls" class="btn4_letter2" style="left:739; top:5px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeScreenClose();
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_popup" style="left:0px; top:0px; width:796; height:398; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:144px; height:14px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">슬라이드 미반납 목록</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:795px; y2:25px; "/>
- <datagrid id="grd_lendlist" nodeset="/root/main/lend/lendlist" caption="병리번호^대출일자^대출사유^M^T^P^반납구분코드" colwidth="90, 80, 150, 150, 150, 150, 0" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" colsep="^" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:30px; width:795px; height:368; border-color:#c0c0c0; ">
- <col ref="dispptno"/>
- <col ref="appdd" format="yyyy-mm-dd"/>
- <col ref="resncnts"/>
- <col ref="rsltM"/>
- <col ref="rsltT"/>
- <col ref="rsltP"/>
- <col ref="rtnflagcd"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fExeChoitestcode();
- ]]>
- </script>
- </datagrid>
- </group>
- </xhtml:body>
- </xhtml:html>
|