SMRSE01400_비품대여반납내역조회.xrw 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>비품대여반납내역조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <rscddruglist/>
  11. <rsdhdemdlist/>
  12. </main>
  13. <send>
  14. <fromdd/>
  15. <todd/>
  16. <goodcd/>
  17. <instcd/>
  18. </send>
  19. <init/>
  20. <temp/>
  21. </root>
  22. </instance>
  23. <script type="javascript" ev:event="xforms-ready">
  24. <![CDATA[
  25. //화면 Control을 초기화한다
  26. fInitialize();
  27. ]]>
  28. </script>
  29. <submission id="TRRSE01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rscddruglist"/>
  30. <submission id="TRRSE01402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rsdhdemdlist"/>
  31. </model>
  32. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  33. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  34. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  35. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  36. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  37. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  38. <script type="javascript">
  39. <![CDATA[
  40. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  41. function fInitialize() {
  42. misfGridInit(grd_rscddruglist);
  43. misfGridInit(grd_rsdhdemdlist);
  44. misfMsterDetailSet(grd_rscddruglist,null, "TRRSE01401" ,"N");
  45. misfMsterDetailSet(grd_rsdhdemdlist,grd_rscddruglist, "TRRSE01402" ,"N");
  46. misfComboComCdList("Z0007", cmb_instcd);
  47. cmb_instcd.value = getUserInfo("dutplceinstcd");
  48. var curdate = getCurrentDate();
  49. var cvtdate = curdate.toDate("YYYYMMDD");
  50. model.setValue(ipt_fromdd.attribute("ref") ,cvtdate.getAddDate(-10,"D").getDateFormat("YYYYMMDD"));
  51. model.setValue(ipt_todd.attribute("ref") , curdate);
  52. btn_search.dispatch("DOMActivate");
  53. }
  54. function fGridCheckSearch()
  55. {
  56. model.setValue("/root/send/goodcd", grd_rscddruglist.valueMatrix(grd_rscddruglist.row, grd_rscddruglist.colRef("goodcd")));
  57. submit("TRRSE01402");
  58. }
  59. ]]>
  60. </script>
  61. </xhtml:head>
  62. <xhtml:body guideline="2,785;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  63. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  64. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:186px; height:14px; ">비품대여반납내역조회</caption>
  65. </group>
  66. <group id="grp_biz" scroll="auto" style="left:0px; top:38; width:1195; height:744px; ">
  67. <line id="line1" class="line_1" style="x1:0px; y1:80px; x2:695px; y2:79px; "/>
  68. <caption id="caption7" class="tit_2" style="left:5px; top:62px; width:155px; height:13px; ">CSR 비품내역 조회</caption>
  69. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:45px; vertical-align:top; ">
  70. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  71. <caption id="cap_fromdd" class="search_name" style="left:359px; top:12px; width:99px; height:17px; ">조회일자 :</caption>
  72. <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:445px; top:11px; width:104px; height:19px; ">
  73. <script type="javascript" ev:event="xforms-value-changed">
  74. <![CDATA[
  75. btn_search.dispatch("DOMActivate");
  76. ]]>
  77. </script>
  78. </input>
  79. <caption id="caption13" style="left:555px; top:11px; width:15px; height:20px; font-weight:bold; ">~</caption>
  80. <line id="line14" class="line_4" style="x1:1073px; y1:5px; x2:1073px; y2:35px; "/>
  81. <button id="btn_search" class="btn1_letter2" navindex="7" style="left:1105px; top:10px; width:56px; height:22px; text-align:left; ">
  82. <caption>조회</caption>
  83. <script type="javascript" ev:event="DOMActivate">
  84. <![CDATA[
  85. submit("TRRSE01401");
  86. grd_rscddruglist.row = grd_rscddruglist.fixedRows;
  87. fGridCheckSearch();
  88. ]]>
  89. </script>
  90. </button>
  91. <input id="ipt_todd" ref="/root/send/todd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:575px; top:11px; width:104px; height:19px; ">
  92. <script type="javascript" ev:event="xforms-value-changed">
  93. <![CDATA[
  94. btn_search.dispatch("DOMActivate");
  95. ]]>
  96. </script>
  97. </input>
  98. <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" appearance="minimal" style="left:97px; top:12px; width:198px; height:19px; ">
  99. <choices>
  100. <itemset>
  101. <label/>
  102. <value/>
  103. </itemset>
  104. </choices>
  105. <script type="javascript" ev:event="xforms-value-changed">
  106. <![CDATA[
  107. btn_search.dispatch("DOMActivate");
  108. ]]>
  109. </script>
  110. </select1>
  111. <caption id="cap_instcd" class="search_name" style="left:10px; top:13px; width:86px; height:17px; ">기관코드 :</caption>
  112. </group>
  113. <caption id="caption1" class="tit_2" style="left:715px; top:62px; width:155px; height:13px; ">상세내역 조회</caption>
  114. <line id="line2" class="line_1" style="x1:715px; y1:80px; x2:1194px; y2:79px; "/>
  115. <datagrid id="grd_rscddruglist" nodeset="/root/main/rscddruglist" caption="물품코드^물품명^규격^CSR 비품량^대여량^반납량^재고량" colsep="^" colwidth="92, 180, 112, 73, 73, 73, 65" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:84px; width:695px; height:651px; ">
  116. <col ref="goodcd" style="text-align:left; "/>
  117. <col ref="goodnm" style="text-align:left; "/>
  118. <col ref="goodspec" style="text-align:left; "/>
  119. <col ref="safestocqty" format="#,###" style="text-align:right; "/>
  120. <col ref="fromqty" format="#,###" style="text-align:right; "/>
  121. <col ref="toqty" format="#,###" style="text-align:right; "/>
  122. <col ref="total" format="#,###" style="text-align:right; "/>
  123. <script type="javascript" ev:event="onrowchanged">
  124. <![CDATA[
  125. fGridCheckSearch();
  126. ]]>
  127. </script>
  128. </datagrid>
  129. <datagrid id="grd_rsdhdemdlist" nodeset="/root/main/rsdhdemdlist" caption="대여일자^대여부서^대여수량^반납일자^반납수량" colsep="^" colwidth="81, 151, 64, 81, 61" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:715px; top:84px; width:479px; height:651px; ">
  130. <col ref="fromreqdd" format="yyyy-mm-dd" style="text-align:left; "/>
  131. <col ref="reqdeptnm" style="text-align:left; "/>
  132. <col ref="fromqty" format="#,###" style="text-align:right; "/>
  133. <col ref="toreqdd" format="yyyy-mm-dd" style="text-align:left; "/>
  134. <col ref="toqty" format="#,###" style="text-align:right; "/>
  135. </datagrid>
  136. </group>
  137. <group id="group1" style="left:0px; top:12; width:1195px; height:27px; ">
  138. <button id="btn_init" class="btn4_letter3" style="left:1127px; top:3; width:68px; height:22px; ">
  139. <caption>초기화</caption>
  140. <script type="javascript" ev:event="DOMActivate">
  141. <![CDATA[
  142. fInitialize();
  143. ]]>
  144. </script>
  145. </button>
  146. <line id="line17" class="line_6" style="x1:0px; y1:25; x2:1195; y2:25; "/>
  147. </group>
  148. </xhtml:body>
  149. </xhtml:html>