SMRSP00400_계약일자구매현황조회(경북대).xrw 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  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="TRRSP00401" 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:19px; 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:19px; 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. <line id="line2" class="line_4" style="x1:1079px; y1:7px; x2:1079px; y2:50px; border-color:#ffe4bb; border-left-style:solid; "/>
  79. <caption id="caption5" class="search_name" style="left:325px; top:20px; width:101px; height:17px; ">계약일자 :</caption>
  80. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1094px; top:17px; width:56px; height:22px; text-align:left; ">
  81. <caption>조회</caption>
  82. <script type="javascript" ev:event="DOMActivate">
  83. <![CDATA[
  84. if(submit("TRRSP00401")){
  85. }
  86. ]]>
  87. </script>
  88. </button>
  89. <script type="javascript" ev:event="xforms-value-changed">
  90. <![CDATA[
  91. //btn_search.dispatch("DOMActivate");
  92. ]]>
  93. </script>
  94. <select1 id="cmb_instcd" ref="/root/cond/instcd" class="combo_default" disabled="true" appearance="minimal" style="left:111px; top:20px; width:136px; height:19px; ">
  95. <choices>
  96. <itemset nodeset="/root/init/instcd">
  97. <label ref="cdnm"/>
  98. <value ref="cdid"/>
  99. </itemset>
  100. </choices>
  101. </select1>
  102. <caption id="cap_instcd" class="search_name" style="left:20px; top:20px; width:86px; height:17px; ">기관코드 :</caption>
  103. <caption id="caption4" class="search_name" style="left:551px; top:20px; width:64px; height:17px; ">SEQ :</caption>
  104. </group>
  105. <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; ">
  106. <col ref="purcdmnddd" format="yyyy-mm-dd" style="text-align:center; "/>
  107. <col ref="purcdmndno" style="text-align:center; "/>
  108. <col ref="reqdeptcd" style="text-align:center; "/>
  109. <col ref="reqdeptnm" style="text-align:center; "/>
  110. <col ref="goodcd" style="text-align:center; "/>
  111. <col ref="goodnm" style="text-align:left; "/>
  112. <col ref="cnsttnflag" type="output" style="text-align:center; "/>
  113. <col ref="purccnsttndd" format="yyyy-mm-dd" style="text-align:center; "/>
  114. <col ref="purccnsttnno" style="text-align:center; "/>
  115. <col ref="reqqty" format="#,###" style="text-align:right; "/>
  116. <col ref="cnsttnqty" format="#,###" style="text-align:right; "/>
  117. <col ref="purccondd" format="yyyy-mm-dd" style="text-align:center; "/>
  118. <col ref="purcconno" style="text-align:center; "/>
  119. <col ref="conqty" format="#,###" style="text-align:right; "/>
  120. <col ref="windd" format="yyyy-mm-dd" style="text-align:center; "/>
  121. <col ref="winno" style="text-align:center; "/>
  122. <col ref="winqty" format="#,###" style="text-align:right; "/>
  123. <col ref="wincertflag" style="text-align:center; "/>
  124. <col ref="delivedd" format="yyyy-mm-dd" style="text-align:center; "/>
  125. <col ref="deliveno" style="text-align:center; "/>
  126. <col ref="delivedeptqty" format="#,###" style="text-align:right; "/>
  127. <col ref="delivecertflag" style="text-align:center; "/>
  128. <col ref="fstrgstdt" format="yyyy-mm-dd" style="text-align:center; "/>
  129. <col ref="lastupdtrid" style="text-align:center; "/>
  130. <col ref="lastupdtrnm" style="text-align:center; "/>
  131. <col ref="lastupdtdt" format="yyyy-mm-dd" style="text-align:center; "/>
  132. </datagrid>
  133. <caption id="caption35" class="tit_2" style="left:5px; top:84px; width:139px; height:14px; ">구매현황내역</caption>
  134. <line id="line15" class="line_1" style="x1:0px; y1:101px; x2:1195px; y2:100px; "/>
  135. <button id="button1" class="btn5_letter5" navindex="12" style="left:1115px; top:77px; width:75px; height:19px; ">
  136. <caption>Excel 저장</caption>
  137. <script type="javascript" ev:event="DOMActivate">
  138. <![CDATA[
  139. if( grd_gooddmndlist.rows - grd_gooddmndlist.fixedRows > 0 ) {
  140. var fileName = "구매현황내역";
  141. var fileName = window.fileDialog("save", ",", false, fileName, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  142. grd_gooddmndlist.saveExcel(fileName, "Sheet");
  143. } else {
  144. messageBox("저장 데이터가","I004");
  145. }
  146. ]]>
  147. </script>
  148. </button>
  149. </group>
  150. <group id="group4" ref="/root/init/instcd" style="left:0px; top:12; width:1195; height:26px; ">
  151. <button id="button8" class="btn6_letter2" visibility="hidden" style="left:0px; top:3px; width:56px; height:22px; ">
  152. <caption>출력</caption>
  153. <script type="javascript" ev:event="DOMActivate">
  154. <![CDATA[
  155. ]]>
  156. </script>
  157. </button>
  158. <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1195; y2:25px; "/>
  159. <button id="button2" class="btn6_letter4" visibility="hidden" style="left:60px; top:3px; width:56px; height:22px; ">
  160. <caption>미리보기</caption>
  161. <script type="javascript" ev:event="DOMActivate">
  162. <![CDATA[
  163. ]]>
  164. </script>
  165. </button>
  166. </group>
  167. </xhtml:body>
  168. </xhtml:html>