SMRSO21600_기간별물품별입고내역(경북대).xrw 11 KB

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