SMRSO21800_창고별일별재고현황(경북대).xrw 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet ype="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>창고별 일별 재고 현황</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <stocklist/>
  11. </main>
  12. <send>
  13. <search>
  14. <instcd/>
  15. <ddfrom/>
  16. <ddto/>
  17. <wareflag/>
  18. <wareflagnm/>
  19. <goodcdfrom/>
  20. <goodnmfrom/>
  21. <goodcdto/>
  22. <goodnmto/>
  23. <kuflag/>
  24. </search>
  25. <save/>
  26. </send>
  27. <init>
  28. <acnt/>
  29. </init>
  30. <hidden/>
  31. <temp>
  32. </temp>
  33. <popgood>
  34. <instcd/>
  35. <wareflag/>
  36. <goodcd/>
  37. <goodnm/>
  38. <returntype/>
  39. <selectyn/>
  40. </popgood>
  41. </root>
  42. </instance>
  43. <script type="javascript" ev:event="xforms-ready">
  44. <![CDATA[
  45. //화면 Control을 초기화한다
  46. makeReportPreview(0,123,1195,637);
  47. model.removenode( "/root/main/stocklist");
  48. //misfComboComCdListMulti("Z0007","cmb_instcd"); //기관코드
  49. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  50. misfComboComCdList("030M0001",cmb_wareflag, "N"); //창고 (Y: 전체 item 추가시)
  51. model.setValue("/root/send/search/instcd", getUserInfo("dutplceinstcd")); //기관 설정
  52. model.setValue("/root/send/search/ddfrom" , getCurrentDate() ) //기간 설정 //.substr(0,6)); //.toDate().getAddDate(-1, "D").getDateFormat("YYYYMMDD")
  53. model.setValue("/root/send/search/ddto" , getCurrentDate() ) //기간 설정 //.substr(0,6));
  54. model.refresh();
  55. ]]>
  56. </script>
  57. <submission id="TRRSO21801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/"/>
  58. </model>
  59. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  60. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  61. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  62. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  63. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  64. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  65. <script type="javascript">
  66. <![CDATA[
  67. ]]>
  68. </script>
  69. </xhtml:head>
  70. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  71. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  72. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:243px; height:14px; ">창고별 일별 재고 현황</caption>
  73. </group>
  74. <group id="group1" style="left:0px; top:12; width:1195px; height:27px; ">
  75. <line id="line17" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25px; "/>
  76. </group>
  77. <group id="group3" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  78. <group id="grp_search" style="left:0px; top:9px; width:1195px; height:75px; vertical-align:top; ">
  79. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:63px; background-color:#fffbf2; border-color:#ffd799; "/>
  80. <button id="btn_search" class="btn1_letter2" navindex="7" style="left:989px; top:32px; width:56px; height:22px; ">
  81. <caption>조회</caption>
  82. <script type="javascript" ev:event="DOMActivate">
  83. <![CDATA[
  84. model.removeNodeset("/root/main/stocklist");
  85. if(cmb_wareflag.value == "") {
  86. messageBox("창고가 선택되지 않았습니다. \n\n먼저 창고를 선택하십시요.", "E999", "");
  87. model.setFocus("cmb_wareflag");
  88. return;
  89. }
  90. //년월에 입력된 값이 올바르지 않으면, 년월을 선택하라고 alert함
  91. if(ipt_ddfrom.value.length < 8) {
  92. messageBox("조회기간이 올바로 선택되지 않았습니다. \n\n먼저 조회일자을 선택하십시요.", "E999", "");
  93. model.setFocus("ipt_ddfrom");
  94. return;
  95. }
  96. if(ipt_ddto.value.length < 8) {
  97. messageBox("조회기간이 올바로 선택되지 않았습니다. \n\n먼저 조회일자을 선택하십시요.", "E999", "");
  98. model.setFocus("ipt_ddto");
  99. return;
  100. }
  101. //창고명을 report 에 넘겨주기 위해 instance에 setting한다.
  102. model.setValue("/root/send/search/wareflagnm", cmb_wareflag.label);
  103. if (submit("TRRSO21801") ){
  104. exeReportPreview("RPRSO21801", "XMLSTR");//, "/root/main/payamt");
  105. }
  106. ]]>
  107. </script>
  108. </button>
  109. <select1 id="cmb_instcd" ref="/root/send/search/instcd" class="combo_default" disabled="true" navindex="1" appearance="minimal" style="left:107px; top:10px; width:136px; height:19px; ">
  110. <choices>
  111. <itemset nodeset="/root/main/init">
  112. <label ref="cnstnm"/>
  113. <value ref="cnstcd"/>
  114. </itemset>
  115. </choices>
  116. </select1>
  117. <caption id="cap_instcd" class="search_name" style="left:28px; top:10px; width:82px; height:17px; ">기관코드</caption>
  118. <input id="ipt_ddfrom" ref="/root/send/search/ddfrom" navindex="5" inputtype="date" format="yyyy-mm-dd" style="left:553px; top:10px; width:94px; height:19px; text-align:center; "/>
  119. <caption id="caption20" class="search_name" style="left:810px; top:34px; width:107px; height:17px; vertical-align:middle; ">구매적용 여부</caption>
  120. <line id="line30" class="line_4" style="x1:975px; y1:6px; x2:975px; y2:58px; "/>
  121. <caption id="caption2" class="search_name" style="left:296px; top:10px; width:55px; height:17px; ">창고</caption>
  122. <select1 id="cmb_wareflag" ref="/root/send/search/wareflag" class="combo_default" navindex="4" appearance="minimal" style="left:350px; top:10px; width:99px; height:19px; ">
  123. <choices>
  124. <itemset nodeset="/root/init/wareflag">
  125. <label ref="cdnm"/>
  126. <value ref="cdid"/>
  127. </itemset>
  128. </choices>
  129. </select1>
  130. <caption id="caption9" class="search_name" style="left:498px; top:10px; width:54px; height:17px; ">기간</caption>
  131. <caption id="caption4" style="left:649px; top:10px; width:10px; height:20px; font-weight:bold; ">-</caption>
  132. <input id="ipt_ddto" ref="/root/send/search/ddto" navindex="5" inputtype="date" format="yyyy-mm-dd" style="left:661px; top:10px; width:94px; height:19px; text-align:center; "/>
  133. <output id="opt_goodnmto" ref="/root/send/search/goodnmto" class="output_fix" appearance="output" style="left:548px; top:34px; width:208px; height:19px; "/>
  134. <input id="ipt_goodcdfrom" ref="/root/send/search/goodcdfrom" class="input_default" navindex="2" maxlength="12" style="left:107px; top:34px; width:88px; height:19px; "/>
  135. <output id="opt_goodnmfrom" ref="/root/send/search/goodnmfrom" class="output_fix" appearance="output" style="left:216px; top:34px; width:208px; height:19px; "/>
  136. <button id="btn_goodcdto" class="icon_search" navindex="3" style="left:530px; top:34px; width:16px; height:16px; ">
  137. <caption/>
  138. <script type="javascript" ev:event="DOMActivate">
  139. <![CDATA[
  140. //popup 에 전달할 parameter를 setting한다.
  141. model.setValue("/root/popgood/instcd", cmb_instcd.value);
  142. model.setValue("/root/popgood/wareflag", ""); //창고별 물품인 경우에는 창고코드 넣어줌( cmb_wareflag.value )
  143. model.setValue("/root/popgood/returntype", "2"); //goodnm도 함께 return 받고자 할때, returntype을 "2" 로 설정.
  144. //selectyn(popup 창에서 선택버튼을 click했는지 아닌지를 나타내는 구분값) 을 초기화함
  145. model.setValue("/root/popgood/selectyn", "");
  146. //popup 프로그램 호출
  147. window.load("SPRSO20300.xrw", "modal","", "", "/root/popgood","/root/popdata");
  148. //popup에서 특정 물품코드를 선택한 경우, 해당 물품코드에 대한 상세 사항을 조회해서 그리드에 보여준다.
  149. if(model.getValue("/root/popgood/selectyn") == "Y") { //popup 창에서 선택버튼을 click했는지 아닌지를 나타내는 구분값
  150. ipt_goodcdto.value = model.getValue("/root/popgood/goodcd");
  151. opt_goodnmto.value = model.getValue("/root/popgood/goodnm");
  152. }
  153. ]]>
  154. </script>
  155. </button>
  156. <input id="ipt_goodcdto" ref="/root/send/search/goodcdto" class="input_default" navindex="2" maxlength="12" style="left:439px; top:34px; width:88px; height:19px; "/>
  157. <caption id="caption13" class="search_name" style="left:28px; top:34px; width:80px; height:17px; vertical-align:middle; ">물품코드</caption>
  158. <caption id="caption14" style="left:426px; top:34px; width:10px; height:20px; font-weight:bold; ">-</caption>
  159. <button id="btn_goodcdfrom" class="icon_search" navindex="3" style="left:198px; top:34px; width:16px; height:16px; ">
  160. <caption/>
  161. <script type="javascript" ev:event="DOMActivate">
  162. <![CDATA[
  163. //popup 에 전달할 parameter를 setting한다.
  164. model.setValue("/root/popgood/instcd", cmb_instcd.value);
  165. model.setValue("/root/popgood/wareflag", ""); //창고별 물품인 경우에는 창고코드 넣어줌( cmb_wareflag.value )
  166. model.setValue("/root/popgood/returntype", "2"); //goodnm도 함께 return 받고자 할때, returntype을 "2" 로 설정.
  167. //selectyn(popup 창에서 선택버튼을 click했는지 아닌지를 나타내는 구분값) 을 초기화함
  168. model.setValue("/root/popgood/selectyn", "");
  169. //popup 프로그램 호출
  170. window.load("SPRSO20300.xrw", "modal","", "", "/root/popgood","/root/popdata");
  171. //popup에서 특정 물품코드를 선택한 경우, 해당 물품코드에 대한 상세 사항을 조회해서 그리드에 보여준다.
  172. if(model.getValue("/root/popgood/selectyn") == "Y") { //popup 창에서 선택버튼을 click했는지 아닌지를 나타내는 구분값
  173. ipt_goodcdfrom.value = model.getValue("/root/popgood/goodcd");
  174. opt_goodnmfrom.value = model.getValue("/root/popgood/goodnm");
  175. }
  176. ]]>
  177. </script>
  178. </button>
  179. <select id="cbx_kuflag" ref="/root/send/search/kuflag" class="checkbox_search" overflow="visible" appearance="full" style="left:918px; top:35px; width:22px; height:20px; border-style:none; ">
  180. <choices>
  181. <item>
  182. <label/>
  183. <value>Y</value>
  184. </item>
  185. </choices>
  186. </select>
  187. </group>
  188. <line id="line1" class="line_1" style="x1:0px; y1:105px; x2:1195px; y2:105px; "/>
  189. <caption id="caption1" class="tit_2" style="left:0px; top:90px; width:180px; height:14px; ">창고별 일별 재고현황</caption>
  190. </group>
  191. </xhtml:body>
  192. </xhtml:html>