UIH090020.xrw 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet type="text/css" href="../../css/body.css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>
  6. <![CDATA[统计管理>>物料分析>>加热炉入炉实际(UIH090020)]]>
  7. </xhtml:title>
  8. <model id="model1">
  9. <instance id="instance1">
  10. <root xmlns="">
  11. <reqData/>
  12. <resData/>
  13. <searchData>
  14. <searchTimeF/>
  15. <searchGroup/>
  16. <searchShift/>
  17. <searchTimeT/>
  18. <searchF>000000</searchF>
  19. <searchT>235959</searchT>
  20. <ST/>
  21. <SF/>
  22. </searchData>
  23. <datagrid1/>
  24. <sumData>
  25. <SUM_COILRST_CNT/>
  26. <SUM_COILRST_WGT/>
  27. </sumData>
  28. </root>
  29. </instance>
  30. </model>
  31. <script type="javascript" src="../../js/boaCommon.js"/>
  32. <script type="javascript" src="../../js/G02.js"/>
  33. <script type="javascript">
  34. <![CDATA[
  35. function InitParams(node) {
  36. if (typeof node == "undefined" && typeof node != "object") return;
  37. model.removenode("/root/initData/rcvInfo");
  38. model.makeNode("/root/initData/rcvInfo");
  39. var nodeList = node.childNodes;
  40. node = model.instances(0).selectSingleNode("/root/initData/rcvInfo");
  41. for (var i = 0; i < nodeList.length; i++)
  42. node.appendChild(nodeList.item(i));
  43. }
  44. function Init(node)
  45. {
  46. InitParams(node);
  47. }
  48. function excelExport(){
  49. return datagrid1;
  50. }
  51. function find(){
  52. if(model.getValue("/root/searchData/searchTimeF") == null || model.getValue("/root/searchData/searchTimeF") == "" || model.getValue("/root/searchData/searchTimeT") == null || model.getValue("/root/searchData/searchTimeT") == ""){
  53. var curDate = CurentDate();
  54. model.setValue("/root/searchData/searchTimeF",curDate);
  55. model.setValue("/root/searchData/searchTimeT",curDate);
  56. }
  57. model.removenode("/root/reqData");
  58. model.makeNode("/root/reqData");
  59. model.removenode("/root/datagrid1");
  60. model.makeNode("/root/datagrid1");
  61. var searchTimeF = model.getValue("/root/searchData/searchTimeF");
  62. var searchTimeT = model.getValue("/root/searchData/searchTimeT");
  63. var searchF = model.getValue("/root/searchData/searchF");
  64. var searchT = model.getValue("/root/searchData/searchT");
  65. var SF = null;
  66. var ST = null;
  67. SF = searchTimeF+searchF;
  68. ST = searchTimeT+searchT;
  69. model.setValue("/root/searchData/ST",ST);
  70. model.setValue("/root/searchData/SF",SF);
  71. model.refresh();
  72. commSendReq("/root/searchData");
  73. commSubmit("UIH090020-service", "find", "glueAction.do");
  74. commAppendData("/root/datagrid1/RHFIN_VO","/root/resData/RHFIN_VO");
  75. model.setValue("/root/sumData/SUM_COILRST_CNT",model.getValue("/root/resData/SumCoil_VO/SumCoil_Row/COIL_CNT"));
  76. model.setValue("/root/sumData/SUM_COILRST_WGT",model.getValue("/root/resData/SumCoil_VO/SumCoil_Row/COIL_WGT"));
  77. model.refresh();
  78. }
  79. ]]>
  80. </script>
  81. </xhtml:head>
  82. <xhtml:body>
  83. <caption id="caption1" class="cell" style="left:0px; top:5px; width:70px; height:20px; font-weight:bold; border-color:#000000; ">日期</caption>
  84. <input id="input1" ref="/root/searchData/searchTimeF" inputtype="date" format="yyyy-mm-dd" style="left:70px; top:5px; width:90px; height:20px; background-color:#ffff99; "/>
  85. <datagrid id="datagrid1" nodeset="/root/datagrid1/RHFIN_VO/RHFIN_Row" caption="序号^板坯来源^板坯号^钢种^规格(厚×宽×长)mm^重量(kg)^加热^加热^进炉时间^轧编号^批号^操作人^备注|序号^板坯来源^板坯号^钢种^规格(厚×宽×长)mm^重量(kg)^炉号^列号^进炉时间^轧编号^批号^操作人^备注" colwidth="50, 100, 100, 100, 150, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" colsep="^" style="left:0px; top:30px; width:980px; height:570px; ">
  86. <col ref="SEQ"/>
  87. <col ref="BUY_CHARGE_NO"/>
  88. <col ref="SLAB_NO"/>
  89. <col ref="STL_GRD"/>
  90. <col ref="T_W_L"/>
  91. <col ref="SLAB_WGT"/>
  92. <col ref="DEVNO"/>
  93. <col ref="ROW_NUM"/>
  94. <col ref="CHARING_DTIME"/>
  95. <col ref="ROLL_MANA_NO"/>
  96. <col ref="COIL_NO"/>
  97. <col ref="CHRGING_WK_EMP_NO"/>
  98. <col ref="MEMO"/>
  99. </datagrid>
  100. <caption id="caption10" class="cell" style="left:385px; top:5px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">班次</caption>
  101. <select1 id="combo1" ref="/root/searchData/searchShift" appearance="minimal" editmode="input" style="left:447px; top:5px; width:68px; height:20px; background-color:#ffff99; border-color:#000000; ">
  102. <choices>
  103. <item>
  104. <label>--全部--</label>
  105. <value/>
  106. </item>
  107. <item>
  108. <label>早</label>
  109. <value>1</value>
  110. </item>
  111. <item>
  112. <label>中</label>
  113. <value>2</value>
  114. </item>
  115. <item>
  116. <label>晚</label>
  117. <value>3</value>
  118. </item>
  119. </choices>
  120. </select1>
  121. <caption id="caption2" class="cell" style="left:525px; top:5px; width:50px; height:20px; font-weight:bold; border-color:#000000; ">班组</caption>
  122. <select1 id="combo2" ref="/root/searchData/searchGroup" appearance="minimal" editmode="input" style="left:577px; top:5px; width:68px; height:20px; background-color:#ffff99; border-color:#000000; ">
  123. <choices>
  124. <item>
  125. <label>--全部--</label>
  126. <value/>
  127. </item>
  128. <item>
  129. <label>甲</label>
  130. <value>A</value>
  131. </item>
  132. <item>
  133. <label>乙</label>
  134. <value>B</value>
  135. </item>
  136. <item>
  137. <label>丙</label>
  138. <value>C</value>
  139. </item>
  140. <item>
  141. <label>丁</label>
  142. <value>D</value>
  143. </item>
  144. </choices>
  145. </select1>
  146. <caption id="caption3" class="cell" style="left:805px; top:10px; width:70px; height:20px; font-weight:bold; background-color:#ffcc00; border-color:#000000; ">重量合计</caption>
  147. <caption id="caption11" style="left:785px; top:11px; width:30px; height:20px; font-weight:bold; ">块</caption>
  148. <caption id="caption12" style="left:955px; top:10px; width:20px; height:20px; font-weight:bold; ">吨</caption>
  149. <line id="line2" style="x1:725px; y1:30px; x2:785px; y2:30px; "/>
  150. <line id="line3" style="x1:875px; y1:30px; x2:955px; y2:30px; "/>
  151. <caption id="caption9" class="cell" style="left:655px; top:10px; width:70px; height:20px; font-weight:bold; background-color:#ffcc00; border-color:#000000; ">板坯合计</caption>
  152. <output id="output1" ref="/root/sumData/SUM_COILRST_CNT" style="left:725px; top:10px; width:60px; height:20px; text-align:center; "/>
  153. <output id="output2" ref="/root/sumData/SUM_COILRST_WGT" style="left:875px; top:10px; width:80px; height:20px; text-align:center; "/>
  154. <input id="input2" ref="/root/searchData/searchTimeT" inputtype="date" format="yyyy-mm-dd" style="left:230px; top:5px; width:88px; height:20px; background-color:#ffff99; "/>
  155. <input id="input3" ref="/root/searchData/searchF" format="hh:nn:ss" style="left:160px; top:5px; width:65px; height:20px; text-align:center; background-color:#ffff99; "/>
  156. <input id="input4" ref="/root/searchData/searchT" format="hh:nn:ss" style="left:318px; top:5px; width:65px; height:20px; text-align:center; background-color:#ffff99; "/>
  157. <line id="line1" style="x1:225px; y1:15px; x2:230px; y2:15px; "/>
  158. </xhtml:body>
  159. </xhtml:html>