SMRSK01100_품의일자구매현황조회(경북대).xrw 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="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. <cond>
  10. <srchfromdd/>
  11. <seqno/>
  12. <reqdeptcd/>
  13. <reqdeptnm/>
  14. <wareflag/>
  15. <instcd/>
  16. </cond>
  17. <main>
  18. <list>
  19. <gooddmndinfo>
  20. <gooddmndlist/>
  21. </gooddmndinfo>
  22. </list>
  23. </main>
  24. <init>
  25. </init>
  26. <send>
  27. <reqdata/>
  28. </send>
  29. <hidden>
  30. </hidden>
  31. </root>
  32. </instance>
  33. <script type="javascript" ev:event="xforms-ready">
  34. <![CDATA[
  35. //화면 Control을 초기화한다
  36. fInitialize();
  37. ]]>
  38. </script>
  39. <submission id="TRRSK01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/cond" resultref="/root/main/list"/>
  40. </model>
  41. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  42. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  43. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  44. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  46. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  47. <script type="javascript">
  48. <![CDATA[
  49. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  50. function fInitialize() {
  51. misfGridInit(grd_gooddmndlist);
  52. var curdate = getCurrentDate();
  53. misfComboComCdList("Z0007" ,cmb_instcd);
  54. model.setValue("/root/cond/instcd",getUserInfo("dutplceinstcd"));
  55. misfComboComCdList("030M0001" ,cmb_wareflag);
  56. addComboItem( "cmb_wareflag", "전체", "", "above");
  57. model.setValue(ipt_srchfromdd.attribute("ref") ,curdate);
  58. model.refresh();
  59. }
  60. ]]>
  61. </script>
  62. </xhtml:head>
  63. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  64. <group id="group1" style="left:0px; top:0px; width:1195; height:13px; ">
  65. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">품의일자 구매현황조회</caption>
  66. </group>
  67. <group id="group5" scroll="auto" style="left:0px; top:38; width:1195; height:744; ">
  68. <group id="group6" style="left:0px; top:10px; width:1195px; height:65px; vertical-align:top; ">
  69. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
  70. <input id="ipt_srchfromdd" ref="/root/cond/srchfromdd" class="input_s_fix" navindex="1" inputtype="date" style="left:411px; top:9px; width:135px; height:19px; text-align:center; "/>
  71. <input id="ipt_seqno" ref="/root/cond/seqno" class="input_s_fix" navindex="2" maxlength="4" style="left:618px; top:9px; width:67px; height:19px; text-align:center; ">
  72. <script type="javascript" ev:event="onkeyup">
  73. <![CDATA[
  74. inputEnterKey("btn_search", "DOMActivate");
  75. ]]>
  76. </script>
  77. </input>
  78. <select1 id="cmb_wareflag" ref="/root/cond/wareflag" class="combo_s_fix" visibility="visible" appearance="minimal" style="left:111px; top:35px; width:135px; height:19px; text-align:center; ">
  79. <choices>
  80. <itemset nodeset="/root/init/wareflag">
  81. <label ref="cdnm"/>
  82. <value ref="cdid"/>
  83. </itemset>
  84. </choices>
  85. </select1>
  86. <line id="line2" class="line_4" style="x1:1079px; y1:7px; x2:1079px; y2:50px; border-color:#ffe4bb; border-left-style:solid; "/>
  87. <caption id="caption5" class="search_name" style="left:325px; top:10px; width:101px; height:17px; ">품의일자 :</caption>
  88. <caption id="caption7" class="search_name" style="left:325px; top:35px; width:99px; height:17px; ">요구부서 :</caption>
  89. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1094px; top:17px; width:56px; height:22px; text-align:left; ">
  90. <caption>조회</caption>
  91. <script type="javascript" ev:event="DOMActivate">
  92. <![CDATA[
  93. if(submit("TRRSK01101")){
  94. }
  95. ]]>
  96. </script>
  97. </button>
  98. <script type="javascript" ev:event="xforms-value-changed">
  99. <![CDATA[
  100. //btn_search.dispatch("DOMActivate");
  101. ]]>
  102. </script>
  103. <caption id="caption2" class="search_name" style="left:20px; top:35px; width:101px; height:17px; ">창고구분 :</caption>
  104. <select1 id="cmb_instcd" ref="/root/cond/instcd" class="combo_default" disabled="true" appearance="minimal" style="left:111px; top:10px; width:136px; height:19px; ">
  105. <choices>
  106. <itemset nodeset="/root/init/instcd">
  107. <label ref="cdnm"/>
  108. <value ref="cdid"/>
  109. </itemset>
  110. </choices>
  111. </select1>
  112. <caption id="cap_instcd" class="search_name" style="left:20px; top:10px; width:86px; height:17px; ">기관코드 :</caption>
  113. <output id="opt_reqdeptnm" ref="/root/cond/reqdeptnm" class="output_fix" appearance="output" style="left:574px; top:35px; width:135px; height:19px; "/>
  114. <input id="ipt_reqdeptcd" ref="/root/cond/reqdeptcd" class="input_default" style="left:411px; top:35px; width:135px; height:19px; ">
  115. <script type="javascript" ev:event="xforms-value-changed">
  116. <![CDATA[
  117. misfValidationCheck("02", "", "reqdeptcd,reqdeptnm" );
  118. model.refresh();
  119. ]]>
  120. </script>
  121. <script type="javascript" ev:event="onkeydown">
  122. <![CDATA[
  123. if(event.keyCode == 9)
  124. {
  125. if(event.shiftKey)model.setFocus("cmb_mngtflag");
  126. else model.setFocus("ipt_reqpsn");
  127. }
  128. //event.preventDefault();
  129. ]]>
  130. </script>
  131. </input>
  132. <button id="btn_reqdeptcd_search" class="icon_search" style="left:554px; top:35px; width:16px; height:16px; ">
  133. <caption/>
  134. <script type="javascript" ev:event="DOMActivate">
  135. <![CDATA[
  136. var recv_list = "reqdeptcd,reqdeptnm";
  137. misfOpenPopUpList("02", ipt_reqdeptcd,"", recv_list) ;
  138. model.refresh();
  139. ]]>
  140. </script>
  141. </button>
  142. <caption id="caption4" class="search_name" style="left:551px; top:10px; width:64px; height:17px; ">SEQ :</caption>
  143. </group>
  144. <datagrid id="grd_gooddmndlist" nodeset="/root/main/list/gooddmndinfo/gooddmndlist" class="datagrid2" caption="구매일자/SEQ^구매일자/SEQ^요구부서/명칭^요구부서/명칭^품목번호^품목명^품의구분^품의일자/SEQ^품의일자/SEQ^구매량^품의량^계약일자/SEQ^계약일자/SEQ^계약량^입고일자/SEQ^입고일자/SEQ^검수량^구분^출고일자/SEQ^출고일자/SEQ^불출량^구분^생성일자^사용자ID/명^사용자ID/명^수정일자" colsep="^" colwidth="97, 46, 80, 100, 100, 198, 46, 100, 46, 64, 60, 100, 61, 52, 92, 45, 47, 37, 94, 35, 42, 35, 91, 75, 82, 100" dataheight="23" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:104px; width:1195px; height:631px; ">
  145. <col ref="purcdmnddd" format="yyyy-mm-dd" style="text-align:center; "/>
  146. <col ref="purcdmndno" style="text-align:center; "/>
  147. <col ref="reqdeptcd" style="text-align:center; "/>
  148. <col ref="reqdeptnm" style="text-align:center; "/>
  149. <col ref="goodcd" style="text-align:center; "/>
  150. <col ref="goodnm" style="text-align:left; "/>
  151. <col ref="cnsttnflag" type="output" style="text-align:center; "/>
  152. <col ref="purccnsttndd" format="yyyy-mm-dd" style="text-align:center; "/>
  153. <col ref="purccnsttnno" style="text-align:center; "/>
  154. <col ref="reqqty" format="#,###" style="text-align:right; "/>
  155. <col ref="cnsttnqty" format="#,###" style="text-align:right; "/>
  156. <col ref="purccondd" format="yyyy-mm-dd" style="text-align:center; "/>
  157. <col ref="purcconno" style="text-align:center; "/>
  158. <col ref="conqty" format="#,###" style="text-align:right; "/>
  159. <col ref="windd" format="yyyy-mm-dd" style="text-align:center; "/>
  160. <col ref="winno" style="text-align:center; "/>
  161. <col ref="winqty" format="#,###" style="text-align:right; "/>
  162. <col ref="wincertflag" style="text-align:center; "/>
  163. <col ref="delivedd" format="yyyy-mm-dd" style="text-align:center; "/>
  164. <col ref="deliveno" style="text-align:center; "/>
  165. <col ref="delivedeptqty" format="#,###" style="text-align:right; "/>
  166. <col ref="delivecertflag" style="text-align:center; "/>
  167. <col ref="fstrgstdt" format="yyyy-mm-dd" style="text-align:center; "/>
  168. <col ref="lastupdtrid" style="text-align:center; "/>
  169. <col ref="lastupdtrnm" style="text-align:center; "/>
  170. <col ref="lastupdtdt" format="yyyy-mm-dd" style="text-align:center; "/>
  171. </datagrid>
  172. <caption id="caption35" class="tit_2" style="left:5px; top:84px; width:139px; height:14px; ">구매현황내역</caption>
  173. <line id="line15" class="line_1" style="x1:0px; y1:101px; x2:1195px; y2:100px; "/>
  174. <button id="button1" class="btn5_letter5" navindex="12" style="left:1115px; top:77px; width:75px; height:19px; ">
  175. <caption>Excel 저장</caption>
  176. <script type="javascript" ev:event="DOMActivate">
  177. <![CDATA[
  178. if( grd_gooddmndlist.rows - grd_gooddmndlist.fixedRows > 0 ) {
  179. var fileName = "구매현황내역";
  180. var fileName = window.fileDialog("save", ",", false, fileName, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  181. grd_gooddmndlist.saveExcel(fileName, "Sheet");
  182. } else {
  183. messageBox("저장 데이터가","I004");
  184. }
  185. ]]>
  186. </script>
  187. </button>
  188. </group>
  189. <group id="group4" ref="/root/init/instcd" style="left:0px; top:12; width:1195; height:26px; ">
  190. <button id="button8" class="btn6_letter2" visibility="hidden" style="left:0px; top:3px; width:56px; height:22px; ">
  191. <caption>출력</caption>
  192. <script type="javascript" ev:event="DOMActivate">
  193. <![CDATA[
  194. ]]>
  195. </script>
  196. </button>
  197. <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1195; y2:25px; "/>
  198. <button id="button2" class="btn6_letter4" visibility="hidden" style="left:60px; top:3px; width:56px; height:22px; ">
  199. <caption>미리보기</caption>
  200. <script type="javascript" ev:event="DOMActivate">
  201. <![CDATA[
  202. ]]>
  203. </script>
  204. </button>
  205. </group>
  206. </xhtml:body>
  207. </xhtml:html>