UIH051701.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="../../css/body.css" type="text/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[热轧作业>>钢卷库管理>>平整实际查询(UIH051701)]]>
  7. </xhtml:title>
  8. <model id="model1">
  9. <instance id="instance1">
  10. <root xmlns="">
  11. <formData>
  12. <FROM_DATE/>
  13. <TO_DATE/>
  14. <MILL_DTIMEF_HMS>000000</MILL_DTIMEF_HMS>
  15. <MILL_DTIMET_HMS>235959</MILL_DTIMET_HMS>
  16. <MILL_DTIMEF/>
  17. <MILL_DTIMET/>
  18. <BC/>
  19. <BZ/>
  20. <CNO/>
  21. </formData>
  22. <reqData/>
  23. <resData/>
  24. <datagrid1/>
  25. <sumData>
  26. <SUM_COILRST_CNT/>
  27. <SUM_COILRST_WGT/>
  28. </sumData>
  29. </root>
  30. </instance>
  31. </model>
  32. <script type="javascript" src="../../js/boaCommon.js"/>
  33. <script type="javascript" src="../../js/mesCommon.js"/>
  34. <script type="javascript">
  35. <![CDATA[
  36. function excelExport(){
  37. return datagrid1;
  38. }
  39. function Init(node) {
  40. InitParams(node);
  41. //这里取出系统时间,把从年头到年尾的情况依次添入
  42. var sysDtimeF = commCurDate();
  43. var sysDtimeT = commCurDate();
  44. model.setValue("/root/formData/MILL_DTIMEF",sysDtimeF);
  45. model.setValue("/root/formData/MILL_DTIMET",sysDtimeT);
  46. model.refresh();
  47. }
  48. //调用公共的初始化方法获得登录用户名
  49. function InitParams(node) {
  50. if (typeof node == "undefined" && typeof node != "object") return;
  51. model.removenode("/root/initData/rcvInfo");
  52. model.makeNode("/root/initData/rcvInfo");
  53. var nodeList = node.childNodes;
  54. node = model.instances(0).selectSingleNode("/root/initData/rcvInfo");
  55. for (var i = 0; i < nodeList.length; i++)
  56. node.appendChild(nodeList.item(i));
  57. }
  58. function find()
  59. {
  60. if(commDiffDay(input5.value,input6.value)>180)
  61. {
  62. alert(" 查询时间过长,请重新选择六个月内数据查询!! ");
  63. return;
  64. }
  65. model.removenode("/root/reqData");
  66. model.makeNode("/root/reqData");
  67. model.duplicate("/root/reqData","/root/formData/MILL_DTIMEF");
  68. model.duplicate("/root/reqData","/root/formData/MILL_DTIMET");
  69. model.duplicate("/root/reqData","/root/formData/BC");
  70. model.duplicate("/root/reqData","/root/formData/BZ");
  71. model.duplicate("/root/reqData","/root/formData/CNO");
  72. //时间必须输入
  73. if(model.getValue("/root/formData/MILL_DTIMEF") == "" || model.getValue("/root/formData/MILL_DTIMET") == ""){
  74. alert(" 轧钢时间必须输入,请输入相应的轧钢时间再点击查询按钮! ");
  75. return;
  76. }
  77. // commSendReq("/root/formData");
  78. commSubmit("UIH051700-service","find2","glueAction.do");
  79. commAppendData("/root/datagrid1/COIL_IN_RESULT_VO","/root/resData/COIL_IN_RESULT_VO");
  80. model.setValue("/root/sumData/SUM_COILRST_CNT",model.getValue("/root/resData/SumCoil_VO/SumCoil_Row/COIL_CNT"));
  81. model.setValue("/root/sumData/SUM_COILRST_WGT",model.getValue("/root/resData/SumCoil_VO/SumCoil_Row/COIL_WGT"));
  82. model.refresh();
  83. }
  84. ]]>
  85. </script>
  86. </xhtml:head>
  87. <xhtml:body>
  88. <caption id="caption10" class="cell" visibility="visible" style="left:830px; top:0px; width:45px; height:20px; font-weight:bold; background-color:#ffcc00; border-color:#000000; ">重量</caption>
  89. <caption id="caption11" visibility="hidden" style="left:790px; top:1px; width:30px; height:20px; font-weight:bold; ">卷</caption>
  90. <caption id="caption12" visibility="hidden" style="left:925px; top:0px; width:20px; height:20px; font-weight:bold; ">吨</caption>
  91. <caption id="caption13" class="cell" style="left:0px; top:0px; width:85px; height:20px; font-weight:bold; border-color:#000000; ">轧钢时间</caption>
  92. <line id="line2" style="x1:790px; y1:20px; x2:825px; y2:20px; "/>
  93. <line id="line3" style="x1:875px; y1:20px; x2:925px; y2:20px; "/>
  94. <line id="line4" style="x1:190px; y1:10px; x2:195px; y2:10px; "/>
  95. <output id="output1" ref="/root/sumData/SUM_COILRST_CNT" visibility="visible" style="left:790px; top:0px; width:35px; height:20px; text-align:center; "/>
  96. <caption id="caption9" class="cell" visibility="visible" style="left:745px; top:0px; width:45px; height:20px; font-weight:bold; background-color:#ffcc00; border-color:#000000; ">卷数</caption>
  97. <input id="input5" ref="/root/formData/MILL_DTIMEF" class="input" inputtype="date" style="left:88px; top:0px; width:102px; height:20px; "/>
  98. <output id="output2" ref="/root/sumData/SUM_COILRST_WGT" visibility="visible" style="left:875px; top:0px; width:50px; height:20px; text-align:center; "/>
  99. <input id="input6" ref="/root/formData/MILL_DTIMET" class="input" inputtype="date" style="left:195px; top:0px; width:110px; height:20px; "/>
  100. <datagrid id="datagrid1" nodeset="/root/datagrid1/COIL_IN_RESULT_VO/COIL_IN_RESULT_Row" caption="批号^产品类型^钢卷号^冶炼炉号^合同号^订单号^钢种^板坯规格^板坯规格^板坯规格^订单规格^订单规格^成品规格^成品规格^钢卷磅重^平均单重^垛位^平整分卷^平整次数^平整时间^交货期^平整班次^平整班组^轧钢录入人^轧钢录入时间^外观判定结果^综合判定结果^钢卷状态^垛位录入人^垛位输机时间^合同单位|批号^产品类型^钢卷号^冶炼炉号^合同号^订单号^钢种^厚度^宽度^长度^厚度^宽度^厚度^宽度^钢卷磅重^平均单重^垛位^平整分卷^平整次数^平整时间^交货期^平整班次^平整班组^轧钢录入人^轧钢录入时间^外观判定结果^综合判定结果^钢卷状态^垛位录入人^垛位输机时间^合同单位" colsep="^" colwidth="80, 56, 90, 90, 90, 50, 90, 44, 44, 44, 51, 56, 49, 52, 80, 66, 90, 100, 59, 100, 81, 100, 100, 100, 100, 61, 64, 100, 100, 100, 128" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:25px; width:935px; height:570px; ">
  101. <col editable="false" ref="SPM_NO" type="input" style="background-color:#ffffff; "/>
  102. <col editable="false" ref="PRD_TY" type="input" style="background-color:#ffffff; "/>
  103. <col editable="false" ref="OLD_SAMPL_NO" type="input" style="background-color:#ffffff; "/>
  104. <col editable="false" ref="CHARGE_NO" type="input" style="background-color:#ffffff; "/>
  105. <col editable="false" ref="ORD_NO" type="input" style="background-color:#ffffff; "/>
  106. <col editable="false" ref="ORD_SEQ" type="input" style="background-color:#ffffff; "/>
  107. <col editable="false" ref="SPEC_STL_GRD" type="input" style="background-color:#ffffff; "/>
  108. <col editable="false" ref="SLAB_THK" type="input" style="background-color:#ffffff; "/>
  109. <col editable="false" ref="SLAB_WTH" type="input" style="background-color:#ffffff; "/>
  110. <col editable="false" ref="SLAB_LEN" type="input" style="background-color:#ffffff; "/>
  111. <col editable="false" ref="INSTR_COIL_THK" type="input" style="background-color:#ffffff; "/>
  112. <col editable="false" ref="INSTR_COIL_WTH" type="input" style="background-color:#ffffff; "/>
  113. <col editable="false" ref="COIL_THK" type="input" style="background-color:#ffffff; "/>
  114. <col editable="false" ref="COIL_WTH" type="input" style="background-color:#ffffff; "/>
  115. <col editable="false" ref="ACT_WGT" type="input" style="background-color:#ffffff; "/>
  116. <col editable="false" ref="CAL_WGT" type="input" style="background-color:#ffffff; "/>
  117. <col editable="false" ref="CUR_LOAD_LOC" type="input" style="background-color:#ffffff; "/>
  118. <col disabled="true" editable="false" ref="SPM_YN" type="combo" style="text-align:left; background-color:#ffffff; ">
  119. <choices>
  120. <item>
  121. <label>平整</label>
  122. <value>1</value>
  123. </item>
  124. <item>
  125. <label>分卷</label>
  126. <value>2</value>
  127. </item>
  128. <item>
  129. <label>平整分卷</label>
  130. <value>3</value>
  131. </item>
  132. <item>
  133. <label>重卷</label>
  134. <value>4</value>
  135. </item>
  136. <item>
  137. <label>开卷检查</label>
  138. <value>5</value>
  139. </item>
  140. </choices>
  141. </col>
  142. <col editable="false" ref="SPM_CNT" type="input" style="background-color:#ffffff; "/>
  143. <col editable="false" ref="SPM_DTIME" type="input" style="background-color:#ffffff; "/>
  144. <col editable="false" ref="DEL_TO_DATE" type="input" style="background-color:#ffffff; "/>
  145. <col editable="false" ref="SPM_SHIFT" type="input" style="background-color:#ffffff; "/>
  146. <col editable="false" ref="SPM_GROUP" type="input" style="background-color:#ffffff; "/>
  147. <col editable="false" ref="WK_EMP_USE_NO" type="input" style="background-color:#ffffff; "/>
  148. <col editable="false" ref="WK_EMP_USE_DTIME" type="input" style="background-color:#ffffff; "/>
  149. <col editable="false" ref="EXTSHAPE_DEC_GRD" type="input" style="background-color:#ffffff; "/>
  150. <col editable="false" ref="TOT_DEC_GRD" type="input" style="background-color:#ffffff; "/>
  151. <col editable="false" ref="COIL_STAT" type="input" style="background-color:#ffffff; "/>
  152. <col editable="false" ref="YARD_ENTRY_REG" type="input" style="background-color:#ffffff; "/>
  153. <col editable="false" ref="YARD_ENTRY_USE_TIME" type="input" style="background-color:#ffffff; "/>
  154. <col editable="false" ref="CUST_NM" type="input" style="background-color:#ffffff; "/>
  155. </datagrid>
  156. <caption id="caption2" class="cell" style="left:320px; top:0px; width:70px; height:20px; vertical-align:middle; border-color:#000000; ">班组</caption>
  157. <caption id="caption3" class="cell" style="left:460px; top:0px; width:70px; height:20px; vertical-align:middle; border-color:#000000; ">班次</caption>
  158. <select1 id="combo2" ref="/root/formData/BC" appearance="minimal" editmode="input" style="left:392px; top:0px; width:58px; height:20px; background-color:#ffff99; ">
  159. <choices>
  160. <item>
  161. <label>甲班</label>
  162. <value>甲班</value>
  163. </item>
  164. <item>
  165. <label>乙班</label>
  166. <value>乙班</value>
  167. </item>
  168. <item>
  169. <label>丙班</label>
  170. <value>丙班</value>
  171. </item>
  172. <item>
  173. <label>丁班</label>
  174. <value>丁班</value>
  175. </item>
  176. <item>
  177. <label>空</label>
  178. <value>空</value>
  179. </item>
  180. </choices>
  181. </select1>
  182. <select1 id="combo3" ref="/root/formData/BZ" appearance="minimal" editmode="input" style="left:532px; top:0px; width:58px; height:20px; background-color:#ffff99; ">
  183. <choices>
  184. <item>
  185. <label>早班</label>
  186. <value>早班</value>
  187. </item>
  188. <item>
  189. <label>晚班</label>
  190. <value>晚班</value>
  191. </item>
  192. <item>
  193. <label>中班</label>
  194. <value>中班</value>
  195. </item>
  196. <item>
  197. <label>空</label>
  198. <value>空</value>
  199. </item>
  200. </choices>
  201. </select1>
  202. <button id="button1" visibility="hidden" style="left:880px; top:90px; width:55px; height:20px; ">
  203. <caption>button1</caption>
  204. <script type="javascript" ev:event="onclick">
  205. <![CDATA[
  206. find();
  207. ]]>
  208. </script>
  209. </button>
  210. <caption id="caption1" class="cell" style="left:600px; top:0px; width:45px; height:20px; vertical-align:middle; border-color:#000000; ">卷号</caption>
  211. <input id="input1" ref="/root/formData/CNO" style="left:645px; top:0px; width:75px; height:20px; "/>
  212. </xhtml:body>
  213. </xhtml:html>