SPLPD00500_미반납내역팝업.xrw 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPLPD00300_미반납내역팝업.xrw
  4. * 설 명 : 미반납내역 조회 팝업화면
  5. * 설 계 자 : (주)에이씨케이 - 유동철
  6. * 작 성 자 : (주)에이씨케이 - 유동철
  7. * 작 성 일 : 2007.03.02
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title/>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root>
  18. <main>
  19. <lend>
  20. <lendlist>
  21. <dispptno/>
  22. <appdd/>
  23. <resncnts/>
  24. <rsltM/>
  25. <rsltT/>
  26. <rsltP/>
  27. <rtnflagcd/>
  28. </lendlist>
  29. </lend>
  30. </main>
  31. <send>
  32. </send>
  33. <init>
  34. </init>
  35. <hidden>
  36. <chrgprfid/>
  37. </hidden>
  38. </root>
  39. </instance>
  40. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  41. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  42. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  43. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  44. <script type="javascript" ev:event="xforms-ready">
  45. <![CDATA[
  46. fExeInitialize();
  47. ]]>
  48. </script>
  49. <submission id="TRLPD00501" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/lend/lendlist"/>
  50. </model>
  51. <script type="javascript">
  52. <![CDATA[
  53. /* @group : 미반납내역 조회 팝업화면
  54. * @ver : 2007.03.02 (CMCDEV-0001)
  55. * @by : 유동철(ACK)
  56. * @-----------------------------------
  57. * @type : function
  58. * @access : public
  59. * @desc : 화면초기화 함수
  60. */
  61. function fExeInitialize(){
  62. model.makeValue("/root/hidden/chrgprfid", model.property("chrgprfid"));
  63. fGetLendList();
  64. }
  65. /* @group : 미반납내역 조회 팝업화면
  66. * @ver : 2007.03.02 (CMCDEV-0001)
  67. * @by : 유동철(ACK)
  68. * @-----------------------------------
  69. * @type : function
  70. * @access : public
  71. * @desc : 미반납내역 조회 함수
  72. */
  73. function fGetLendList() {
  74. var iLendCnt = 0;
  75. var vRtnFlag = "";
  76. var strNode = "/root/main/lend/lendlist";
  77. model.removeNodeset("/root/send");
  78. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  79. model.makeValue("/root/send/chrgprfid", model.getValue("/root/hidden/chrgprfid"));
  80. model.makeValue("/root/send/baseflagcd", "L1");
  81. submit("TRLPD00501");
  82. //-----------------------------------------------------------
  83. // 반납구분코드 = '0'(미반납)인 경우만 Count Up
  84. for (var iRowNo=1; iRowNo < grd_lendlist.rows; iRowNo++) {
  85. vRtnFlag = model.getValue(strNode + "[" + iRowNo + "]/rtnflagcd");
  86. if (vRtnFlag == 0) {
  87. iLendCnt += 1;
  88. }
  89. }
  90. model.property("lendptnocnt") = iLendCnt;
  91. if (iLendCnt < 1) {
  92. fExeScreenClose();
  93. return;
  94. }
  95. }
  96. /* @group : 미반납내역 조회 팝업화면
  97. * @ver : 2007.03.02 (CMCDEV-0001)
  98. * @by : 유동철(ACK)
  99. * @-----------------------------------
  100. * @type : function
  101. * @access : public
  102. * @desc : 화면 닫기 함수
  103. */
  104. function fExeScreenClose(){
  105. model.close();
  106. }
  107. ]]>
  108. </script>
  109. </xhtml:head>
  110. <xhtml:body pagewidth="812" pageheight="441" guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  111. <group id="group3" style="left:0px; top:398; width:796px; height:27px; ">
  112. <line id="line2" class="line_6" style="x1:0px; y1:0px; x2:795; y2:0px; "/>
  113. <button id="btn_cls" class="btn4_letter2" style="left:739; top:5px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  114. <caption>닫기</caption>
  115. <script type="javascript" ev:event="DOMActivate">
  116. <![CDATA[
  117. fExeScreenClose();
  118. ]]>
  119. </script>
  120. </button>
  121. </group>
  122. <group id="grp_popup" style="left:0px; top:0px; width:796; height:398; ">
  123. <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:144px; height:14px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">슬라이드 미반납 목록</caption>
  124. <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:795px; y2:25px; "/>
  125. <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; ">
  126. <col ref="dispptno"/>
  127. <col ref="appdd" format="yyyy-mm-dd"/>
  128. <col ref="resncnts"/>
  129. <col ref="rsltM"/>
  130. <col ref="rsltT"/>
  131. <col ref="rsltP"/>
  132. <col ref="rtnflagcd"/>
  133. <script type="javascript" ev:event="ondblclick">
  134. <![CDATA[
  135. fExeChoitestcode();
  136. ]]>
  137. </script>
  138. </datagrid>
  139. </group>
  140. </xhtml:body>
  141. </xhtml:html>