SMRSK01300_품의일자물류팀구매현황조회(경북대).xrw 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <cond>
  10. <purccnsttndd/>
  11. <purccnsttnno/>
  12. <instcd/>
  13. <teamflag/>
  14. <purccondd/>
  15. <purcconno/>
  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="TRRSK01301" 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_purccnsttndd.attribute("ref") ,curdate);
  58. //물류팀 teamflag 세팅
  59. model.setValue(ipt_teamflag.attribute("ref"),"01");
  60. model.refresh();
  61. }
  62. ]]>
  63. </script>
  64. </xhtml:head>
  65. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  66. <group id="group1" style="left:0px; top:0px; width:1195; height:13px; ">
  67. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:220px; height:13px; ">품의일자로 물류팀 구매현황조회</caption>
  68. </group>
  69. <group id="group5" scroll="auto" style="left:0px; top:38; width:1195; height:744; ">
  70. <group id="group6" style="left:0px; top:10px; width:1195px; height:65px; vertical-align:top; ">
  71. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
  72. <input id="ipt_purccnsttndd" ref="/root/cond/purccnsttndd" class="input_s_fix" navindex="1" inputtype="date" style="left:376px; top:19px; width:135px; height:19px; text-align:center; "/>
  73. <input id="ipt_purccnsttnno" ref="/root/cond/purccnsttnno" class="input_s_fix" navindex="2" maxlength="4" style="left:583px; top:19px; width:67px; height:19px; text-align:center; ">
  74. <script type="javascript" ev:event="onkeyup">
  75. <![CDATA[
  76. inputEnterKey("btn_search", "DOMActivate");
  77. ]]>
  78. </script>
  79. </input>
  80. <line id="line2" class="line_4" style="x1:1079px; y1:7px; x2:1079px; y2:50px; border-color:#ffe4bb; border-left-style:solid; "/>
  81. <caption id="caption5" class="search_name" style="left:290px; top:20px; width:101px; height:17px; ">품의일자 :</caption>
  82. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1094px; top:17px; width:56px; height:22px; text-align:left; ">
  83. <caption>조회</caption>
  84. <script type="javascript" ev:event="DOMActivate">
  85. <![CDATA[
  86. if(submit("TRRSK01301")){
  87. }
  88. ]]>
  89. </script>
  90. </button>
  91. <script type="javascript" ev:event="xforms-value-changed">
  92. <![CDATA[
  93. //btn_search.dispatch("DOMActivate");
  94. ]]>
  95. </script>
  96. <select1 id="cmb_instcd" ref="/root/cond/instcd" class="combo_default" disabled="true" appearance="minimal" style="left:111px; top:20px; width:136px; height:19px; ">
  97. <choices>
  98. <itemset nodeset="/root/init/instcd">
  99. <label ref="cdnm"/>
  100. <value ref="cdid"/>
  101. </itemset>
  102. </choices>
  103. </select1>
  104. <caption id="cap_instcd" class="search_name" style="left:20px; top:20px; width:86px; height:17px; ">기관코드 :</caption>
  105. <caption id="caption4" class="search_name" style="left:516px; top:20px; width:64px; height:17px; ">SEQ :</caption>
  106. <input id="ipt_teamflag" ref="/root/cond/teamflag" visibility="hidden" style="left:965px; top:40px; width:105px; height:19px; "/>
  107. <input id="ipt_purccondd" ref="/root/cond/purccondd" class="input_s_fix" navindex="1" inputtype="date" style="left:766px; top:19px; width:135px; height:19px; text-align:center; "/>
  108. <input id="ipt_purcconno" ref="/root/cond/purcconno" class="input_s_fix" navindex="2" maxlength="4" style="left:973px; top:19px; width:67px; height:19px; text-align:center; ">
  109. <script type="javascript" ev:event="onkeyup">
  110. <![CDATA[
  111. inputEnterKey("btn_search", "DOMActivate");
  112. ]]>
  113. </script>
  114. </input>
  115. <caption id="caption1" class="search_name" style="left:906px; top:20px; width:64px; height:17px; ">SEQ :</caption>
  116. <caption id="caption2" class="search_name" style="left:680px; top:20px; width:101px; height:17px; ">계약일자 :</caption>
  117. </group>
  118. <datagrid id="grd_gooddmndlist" nodeset="/root/main/list/gooddmndinfo/gooddmndlist" class="datagrid2" caption="품의부서/명칭^품의부서/명칭^품목명^품의일자/SEQ^품의일자/SEQ^품의량^계약일자/SEQ^계약일자/SEQ^계약량^검수일자/SEQ^검수일자/SEQ^검수량^생성일자^사용자ID/명^사용자ID/명^수정일자" colsep="^" colwidth="80, 100, 198, 100, 46, 60, 100, 61, 52, 92, 45, 47, 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; ">
  119. <col ref="cnsttndeptcd" style="text-align:center; "/>
  120. <col ref="cnsttndeptnm" style="text-align:center; "/>
  121. <col ref="goodcntnm" style="text-align:left; "/>
  122. <col ref="purccnsttndd" format="yyyy-mm-dd" style="text-align:center; "/>
  123. <col ref="purccnsttnno" style="text-align:center; "/>
  124. <col ref="cnsttnqty" format="#,###" style="text-align:right; "/>
  125. <col ref="purccondd" format="yyyy-mm-dd" style="text-align:center; "/>
  126. <col ref="purcconno" style="text-align:center; "/>
  127. <col ref="conqty" format="#,###" style="text-align:right; "/>
  128. <col ref="windd" format="yyyy-mm-dd" style="text-align:center; "/>
  129. <col ref="winno" style="text-align:center; "/>
  130. <col ref="winqty" format="#,###" style="text-align:right; "/>
  131. <col ref="fstrgstdt" format="yyyy-mm-dd" style="text-align:center; "/>
  132. <col ref="lastupdtrid" style="text-align:center; "/>
  133. <col ref="lastupdtrnm" style="text-align:center; "/>
  134. <col ref="lastupdtdt" format="yyyy-mm-dd" style="text-align:center; "/>
  135. </datagrid>
  136. <caption id="caption35" class="tit_2" style="left:5px; top:84px; width:139px; height:14px; ">구매현황내역</caption>
  137. <line id="line15" class="line_1" style="x1:0px; y1:101px; x2:1195px; y2:100px; "/>
  138. <button id="button1" class="btn5_letter5" navindex="12" style="left:1115px; top:77px; width:75px; height:19px; ">
  139. <caption>Excel 저장</caption>
  140. <script type="javascript" ev:event="DOMActivate">
  141. <![CDATA[
  142. if( grd_gooddmndlist.rows - grd_gooddmndlist.fixedRows > 0 ) {
  143. var fileName = "물류팀구매현황내역";
  144. var fileName = window.fileDialog("save", ",", false, fileName, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  145. grd_gooddmndlist.saveExcel(fileName, "Sheet");
  146. } else {
  147. messageBox("저장 데이터가","I004");
  148. }
  149. ]]>
  150. </script>
  151. </button>
  152. </group>
  153. <group id="group4" ref="/root/init/instcd" style="left:0px; top:12; width:1195; height:26px; ">
  154. <button id="button8" class="btn6_letter2" visibility="hidden" style="left:0px; top:3px; width:56px; height:22px; ">
  155. <caption>출력</caption>
  156. <script type="javascript" ev:event="DOMActivate">
  157. <![CDATA[
  158. ]]>
  159. </script>
  160. </button>
  161. <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1195; y2:25px; "/>
  162. <button id="button2" class="btn6_letter4" visibility="hidden" style="left:60px; top:3px; width:56px; height:22px; ">
  163. <caption>미리보기</caption>
  164. <script type="javascript" ev:event="DOMActivate">
  165. <![CDATA[
  166. ]]>
  167. </script>
  168. </button>
  169. </group>
  170. </xhtml:body>
  171. </xhtml:html>