07d934b635730817daf96da979e7c34f68ddeb4a.svn-base 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="../../css/body.css" type="text/css" ?>
  3. <?xml-stylesheet href="../css/bCommon.css" type="text/css" ?>
  4. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" 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">
  5. <xhtml:head>
  6. <xhtml:title>
  7. <![CDATA[统计管理>>现况分析>>三期MES系统表二]]>
  8. </xhtml:title>
  9. <model id="model1">
  10. <instance id="instance1">
  11. <root xmlns="">
  12. <formData>
  13. <DATE/>
  14. <DATETP>2</DATETP>
  15. <StDate/>
  16. <EndDate/>
  17. <StlGrd/>
  18. <ZKL/>
  19. <CHARGENO1/>
  20. <CHARGENO2/>
  21. <fuyangliang/>
  22. </formData>
  23. <reqData/>
  24. <resData/>
  25. <datagrid1/>
  26. <comboData>
  27. <Charge/>
  28. <StlGrd/>
  29. </comboData>
  30. <headLine>
  31. <SlabResult_VO>
  32. <SlabResult_Row>
  33. <ROWNUM>热连轧厂生产检验班报表</ROWNUM>
  34. <SLAB_NO/>
  35. <SLAB_THK/>
  36. <SLAB_WTH/>
  37. <SLAB_LEN/>
  38. <SLAB_WGT/>
  39. <STL_GRD/>
  40. <CRK_CD1/>
  41. <EXTSHAPE_DEC_DTIME/>
  42. <EXTSHAPE_DEC_EMP_ID/>
  43. <GR_SHIFT/>
  44. <GR_GROUP/>
  45. </SlabResult_Row>
  46. <SlabResult_Row>
  47. <ROWNUM>日期</ROWNUM>
  48. <SLAB_NO/>
  49. <SLAB_THK/>
  50. <SLAB_WTH/>
  51. <SLAB_LEN/>
  52. <SLAB_WGT/>
  53. <STL_GRD/>
  54. <CRK_CD1/>
  55. <EXTSHAPE_DEC_DTIME/>
  56. <EXTSHAPE_DEC_EMP_ID/>
  57. <GR_SHIFT/>
  58. <GR_GROUP>班组 &amp; 班次</GR_GROUP>
  59. </SlabResult_Row>
  60. </SlabResult_VO>
  61. </headLine>
  62. <subTitle>
  63. <SlabResult_VO>
  64. <SlabResult_Row>
  65. <ROWNUM>序号</ROWNUM>
  66. <SLAB_NO>板坯号</SLAB_NO>
  67. <SLAB_THK>厚度</SLAB_THK>
  68. <SLAB_WTH>宽度</SLAB_WTH>
  69. <SLAB_LEN>长度</SLAB_LEN>
  70. <SLAB_WGT>重量(吨)</SLAB_WGT>
  71. <STL_GRD>钢号</STL_GRD>
  72. <CRK_CD1>不合格类别</CRK_CD1>
  73. <EXTSHAPE_DEC_DTIME>板坯判定日</EXTSHAPE_DEC_DTIME>
  74. <EXTSHAPE_DEC_EMP_ID>板坯判定人</EXTSHAPE_DEC_EMP_ID>
  75. <GR_SHIFT>检验班次</GR_SHIFT>
  76. <GR_GROUP>检验班组</GR_GROUP>
  77. </SlabResult_Row>
  78. </SlabResult_VO>
  79. </subTitle>
  80. </root>
  81. </instance>
  82. <script type="javascript" ev:event="xforms-ready">
  83. <![CDATA[
  84. if(window.parent==null) Init();
  85. ]]>
  86. </script>
  87. </model>
  88. <script type="javascript" src="../../js/boaCommon.js"/>
  89. <script type="javascript" src="../../js/b01.js"/>
  90. <script type="javascript">
  91. <![CDATA[
  92. function Init(node)
  93. {
  94. input1.value = commCurDate();
  95. input2.value = commCurDate();
  96. }
  97. function find()
  98. {
  99. model.removenode("/root/reqData");
  100. model.makeNode("/root/reqData");
  101. commSendReq("/root/formData");
  102. if(input4.value.Trim() == "")
  103. {
  104. model.setValue("/root/reqData/CHARGENO1" , "J00-00000A");
  105. model.setValue("/root/reqData/CHARGENO2" , "J99-99999A");
  106. }
  107. if(input1.value == "")
  108. {
  109. model.setValue("/root/reqData/StDate" , "20080101");
  110. }
  111. if(input2.value == "")
  112. {
  113. model.setValue("/root/reqData/EndDate", "20300101");
  114. }
  115. commSubmit("UIB030020-service", "find", "glueAction.do");
  116. model.copyNode("/root/datagrid1" , "/root/resData/ListResult_0_VO");
  117. // alert(model.getValue("/root/resData/FuResult_VO/FuResult_Row/FU"));
  118. model.refresh();
  119. input6.value = model.getValue("/root/resData/FuResult_VO/FuResult_Row/FU");//复样量
  120. model.refresh();
  121. }
  122. function excelExport()
  123. {
  124. // saveExcelScript(datagrid1, "Sheet1");
  125. var x1 = window.fileDialog("save", ",", false, "", "xls", "Excel File(*.xls)|*.xls");
  126. if(x1 == "") return;
  127. datagrid1.saveExcel(x1, "sheetname:Transaction;colhiddenextend:true;exportfalserows:0;");
  128. window.alert("导出成功" + x1 + " !!!");
  129. }
  130. ]]>
  131. </script>
  132. </xhtml:head>
  133. <xhtml:body pagewidth="980" pageheight="620">
  134. <line id="line1" style="x1:0px; y1:0px; x2:980px; y2:0px; "/>
  135. <line id="line3" style="x1:0px; y1:30px; x2:980px; y2:30px; "/>
  136. <datagrid id="datagrid1" nodeset="/root/datagrid1/ListResult_0_Row" allowuserresize="true" caption="炉次号^C^Mn^S^P^Si^Cr^Ni^CEQ^废品支数^废品吨位^钢种^裂纹^夹杂^分层^气孔^双浇^凹坑^凸块^化废^弯曲^脱方^疏松|炉次号^C^Mn^S^P^Si^Cr^Ni^CEQ^废品支数^废品吨位^钢种^裂纹^夹杂^分层^气孔^双浇^凹坑^凸块^化废^弯曲^脱方^疏松" colsep="^" colwidth="70, 50, 50, 50, 50, 50, 50, 50, 50, 60, 67, 64, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50" defaultrows="30" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="free" style="left:0px; top:35px; width:980px; height:555px; border-style:solid; ">
  137. <col ref="CHARGE_NO" style="text-align:left; "/>
  138. <col ref="C" style="text-align:right; "/>
  139. <col ref="MN" style="text-align:right; "/>
  140. <col ref="S" style="text-align:right; "/>
  141. <col ref="P" style="text-align:right; "/>
  142. <col ref="SI" style="text-align:right; "/>
  143. <col ref="CR" style="text-align:right; "/>
  144. <col ref="NI" style="text-align:right; "/>
  145. <col ref="CEQ" style="text-align:right; "/>
  146. <col ref="OFF" style="text-align:right; "/>
  147. <col ref="DUNWEI" style="text-align:right; "/>
  148. <col ref="STL_GRD" style="text-align:left; "/>
  149. <col ref="LIEWEN" style="text-align:right; "/>
  150. <col ref="JIAZA" style="text-align:right; "/>
  151. <col ref="FENCENG" style="text-align:right; "/>
  152. <col ref="QIKONG" style="text-align:right; "/>
  153. <col ref="SHUANGJIAO" style="text-align:right; "/>
  154. <col ref="AOKENG" style="text-align:right; "/>
  155. <col ref="TUKUAI" style="text-align:right; "/>
  156. <col visibility="hidden" style="text-align:right; "/>
  157. <col visibility="hidden" style="text-align:right; "/>
  158. <col ref="TUOFANG" style="text-align:right; "/>
  159. <col visibility="hidden" style="text-align:right; "/>
  160. </datagrid>
  161. <object id="ObjTFExcel" clsid="{fe8d1001-6a9d-424d-ae2a-301493bb12da}" style="left:820px; top:5px; width:1px; height:1px; "/>
  162. <select1 id="combo2" ref="/root/formData/DATETP" appearance="minimal" style="left:0px; top:5px; width:80px; height:20px; border-style:solid; ">
  163. <choices>
  164. <item>
  165. <label>生产时间</label>
  166. <value>2</value>
  167. </item>
  168. <item>
  169. <label>出库时间</label>
  170. <value>1</value>
  171. </item>
  172. <item>
  173. <label>判定时间</label>
  174. <value>3</value>
  175. </item>
  176. </choices>
  177. </select1>
  178. <button id="button1" visibility="hidden" style="left:880px; top:5px; width:55px; height:20px; ">
  179. <caption>FIND</caption>
  180. <script type="javascript" ev:event="onclick">
  181. <![CDATA[
  182. find();
  183. ]]>
  184. </script>
  185. </button>
  186. <input id="input1" ref="/root/formData/StDate" inputtype="date" format="yyyy-mm-dd" style="left:80px; top:5px; width:100px; height:20px; "/>
  187. <input id="input2" ref="/root/formData/EndDate" inputtype="date" format="yyyy-mm-dd" style="left:190px; top:5px; width:100px; height:20px; "/>
  188. <caption id="caption4" class="cell" style="left:310px; top:5px; width:80px; height:20px; border-style:solid; ">钢号</caption>
  189. <input id="input3" ref="/root/formData/StlGrd" style="left:390px; top:5px; width:100px; height:20px; "/>
  190. <select id="checkbox1" ref="/root/formData/ZKL" visibility="hidden" overflow="visible" appearance="full" style="left:805px; top:5px; width:60px; height:20px; border-style:none; ">
  191. <choices>
  192. <item>
  193. <label>在库量</label>
  194. <value>Y</value>
  195. </item>
  196. </choices>
  197. </select>
  198. <caption id="caption1" style="left:179px; top:11px; width:15px; height:20px; ">~</caption>
  199. <caption id="caption2" class="cell" style="left:505px; top:5px; width:75px; height:20px; ">炉号</caption>
  200. <input id="input4" ref="/root/formData/CHARGENO1" style="left:580px; top:5px; width:100px; height:20px; "/>
  201. <input id="input5" ref="/root/formData/CHARGENO2" style="left:690px; top:5px; width:100px; height:20px; "/>
  202. <caption id="caption3" style="left:680px; top:10px; width:15px; height:20px; ">~</caption>
  203. <caption id="caption5" class="cell" style="left:0px; top:599px; width:100px; height:20px; ">复样量:</caption>
  204. <input id="input6" ref="/root/formData/fuyangliang" format="0.99" style="left:99px; top:599px; width:100px; height:20px; "/>
  205. </xhtml:body>
  206. </xhtml:html>