UIH051101.xrw 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  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[热轧作业>>钢卷库管理>>移送板加出库数据查询(UIH051101)]]>
  7. </xhtml:title>
  8. <model id="model1">
  9. <instance id="instance1">
  10. <root xmlns="">
  11. <formData>
  12. <COIL_NO/>
  13. <CUR_LOAD_LOC/>
  14. <STL_GRD/>
  15. <COIL_WTH_MIN/>
  16. <COIL_THK_MIN/>
  17. <CUR_PROG_CD/>
  18. <COIL_THK_MAX/>
  19. <COIL_WTH_MAX/>
  20. <ZHIDING>N</ZHIDING>
  21. <ORD_NO/>
  22. <ORD_SEQ/>
  23. <CDTIME/>
  24. <FRTIME/>
  25. <TOTIME/>
  26. </formData>
  27. <sumData>
  28. <SUM_COILRST_CNT/>
  29. <SUM_COILRST_WGT/>
  30. </sumData>
  31. <reqData/>
  32. <resData/>
  33. <boolData>
  34. <qk_yn/>
  35. <ord_fl/>
  36. </boolData>
  37. <datagrid1/>
  38. <StlResult>
  39. <StlResult_Row>
  40. <LABEL/>
  41. <VALUE/>
  42. </StlResult_Row>
  43. </StlResult>
  44. </root>
  45. </instance>
  46. <script type="javascript" ev:event="xforms-ready">
  47. <![CDATA[
  48. if(window.parent==null) Init();
  49. ]]>
  50. </script>
  51. </model>
  52. <script type="javascript">
  53. <![CDATA[
  54. function Init(node)
  55. {
  56. var dtime = commCurDate();
  57. if(model.getValue("/root/formData/enterdate") == null || model.getValue("/root/formData/FRTIME") == ""){
  58. model.setValue("/root/formData/FRTIME",dtime);
  59. }
  60. if(model.getValue("/root/formData/exitdate") == null || model.getValue("/root/formData/TOTIME") == ""){
  61. model.setValue("/root/formData/TOTIME",dtime);
  62. }
  63. model.removenode("/root/reqData");
  64. model.makeNode("/root/reqData");
  65. commSubmit("UIK010010-service", "success", "glueAction.do");
  66. model.copyNode("/root/StlResult" , "/root/resData/StlResult_VO");
  67. model.refresh();
  68. }
  69. function excelExport() {
  70. return datagrid1;
  71. }
  72. function find()
  73. {
  74. if(commDiffDay(input6.value,input5.value)>90)
  75. {
  76. alert(" 查询时间过长,请重新选择三个月内数据查询!! ");
  77. return;
  78. }
  79. model.removenode("/root/reqData");
  80. model.makeValue("/root/reqData/OLD_SAMPL_NO" , input1.value);
  81. model.makeValue("/root/reqData/STL_GRD" , combo1.value);
  82. model.makeValue("/root/reqData/COIL_THK_MIN" , input7.value);
  83. model.makeValue("/root/reqData/COIL_THK_MAX" , input8.value);
  84. model.makeValue("/root/reqData/COIL_WTH_MIN" , input4.value);
  85. model.makeValue("/root/reqData/COIL_WTH_MAX" , input9.value);
  86. model.makeValue("/root/reqData/CUR_PROG_CD" , combo2.value);
  87. model.makeValue("/root/reqData/FRTIME" , input6.value);
  88. model.makeValue("/root/reqData/TOTIME" , input5.value);
  89. if(combo3.value == 'N')
  90. {
  91. model.makeValue("/root/reqData/COIL_STAT" , '2');
  92. }
  93. else
  94. {
  95. model.makeValue("/root/reqData/COIL_STAT" , '3');
  96. }
  97. model.makeValue("/root/reqData/ORD_NO" , input3.value);
  98. commSubmit("UIH051101-service" , "find" , "glueAction.do");
  99. model.copyNode("/root/datagrid1" , "/root/resData/AppointResult_VO");
  100. model.refresh();
  101. model.setValue("/root/sumData/SUM_COILRST_CNT",model.getValue("/root/resData/SumCoil_VO/SumCoil_Row/COIL_CNT"));
  102. model.setValue("/root/sumData/SUM_COILRST_WGT",model.getValue("/root/resData/SumCoil_VO/SumCoil_Row/COIL_WGT"));
  103. model.refresh();
  104. getSumWGT();
  105. }
  106. function getSumWGT()
  107. {
  108. var totalWGT = 0;
  109. var totalCnt = 0;
  110. for(var i = datagrid1.fixedRows; i < datagrid1.rows; i++)
  111. {
  112. totalCnt = totalCnt + 1;
  113. if(datagrid1.valueMatrix(i ,datagrid1.colRef("ACT_WGT")) == "")
  114. {
  115. }else{
  116. totalWGT = totalWGT + parseFloat(datagrid1.valueMatrix(i ,datagrid1.colRef("ACT_WGT")));
  117. }
  118. }
  119. model.setValue("/root/sumData/SUM_COILRST_CNT",totalCnt);
  120. model.setValue("/root/sumData/SUM_COILRST_WGT",totalWGT/1000);
  121. output1.refresh();
  122. output2.refresh();
  123. }
  124. ]]>
  125. </script>
  126. <script type="javascript" src="../js/boaCommon.js"/>
  127. <script type="javascript" src="../../js/boaCommon.js"/>
  128. <script type="javascript" src="../../js/b01.js"/>
  129. <script type="javascript" src="../../js/boaMsg.js"/>
  130. </xhtml:head>
  131. <xhtml:body guideline="1,1000;2,601;" style="font-weight:980; font-style:620; ">
  132. <input id="input7" ref="/root/formData/COIL_THK_MIN" style="left:385px; top:0px; width:30px; height:20px; "/>
  133. <input id="input8" ref="/root/formData/COIL_THK_MAX" style="left:430px; top:0px; width:30px; height:20px; "/>
  134. <input id="input9" ref="/root/formData/COIL_WTH_MAX" style="left:575px; top:0px; width:45px; height:20px; "/>
  135. <caption id="caption1" class="cell" style="left:631px; top:0px; width:70px; height:20px; font-weight:bold; border-color:#000000; ">垛 位</caption>
  136. <caption id="caption10" class="cell" style="left:780px; top:50px; width:60px; height:20px; font-weight:bold; background-color:#ffcc00; border-color:#000000; ">重量合计</caption>
  137. <caption id="caption2" class="cell" style="left:0px; top:0px; width:70px; height:20px; font-weight:bold; border-color:#000000; ">钢 卷 号</caption>
  138. <select1 id="combo1" ref="/root/formData/STL_GRD" appearance="minimal" editmode="inputsearch" style="left:235px; top:0px; width:91px; height:20px; text-align:left; ">
  139. <choices>
  140. <itemset nodeset="/root/StlResult/StlResult_Row">
  141. <label ref="LABEL"/>
  142. <value ref="VALUE"/>
  143. </itemset>
  144. </choices>
  145. </select1>
  146. <caption id="caption11" style="left:745px; top:50px; width:20px; height:20px; font-weight:bold; ">卷</caption>
  147. <select1 id="combo2" ref="/root/formData/CUR_PROG_CD" appearance="minimal" editmode="inputsearch" style="left:555px; top:25px; width:110px; height:20px; text-align:left; ">
  148. <choices>
  149. <item>
  150. <label>发货指示待机</label>
  151. <value>SFA</value>
  152. </item>
  153. <item>
  154. <label>综合判定待机</label>
  155. <value>SED</value>
  156. </item>
  157. <item>
  158. <label>充当待机</label>
  159. <value>SRC</value>
  160. </item>
  161. <item>
  162. <label/>
  163. <value/>
  164. </item>
  165. </choices>
  166. </select1>
  167. <caption id="caption3" class="cell" style="left:167px; top:0px; width:70px; height:20px; font-weight:bold; border-color:#000000; ">钢 号</caption>
  168. <caption id="caption12" style="left:920px; top:50px; width:20px; height:20px; font-weight:bold; ">吨</caption>
  169. <caption id="caption4" class="cell" style="left:465px; top:0px; width:50px; height:20px; font-weight:bold; border-color:#000000; ">宽 度</caption>
  170. <line id="line1" style="x1:415px; y1:10px; x2:430px; y2:10px; "/>
  171. <caption id="caption5" class="cell" style="left:336px; top:0px; width:49px; height:20px; font-weight:bold; border-color:#000000; ">厚 度</caption>
  172. <caption id="caption6" class="cell" style="left:485px; top:25px; width:70px; height:20px; font-weight:bold; border-color:#000000; ">进程状态</caption>
  173. <input id="input1" ref="/root/formData/COIL_NO" style="left:71px; top:0px; width:90px; height:20px; "/>
  174. <input id="input2" ref="/root/formData/CUR_LOAD_LOC" style="left:702px; top:0px; width:83px; height:20px; "/>
  175. <line id="line5" style="x1:560px; y1:10px; x2:575px; y2:10px; "/>
  176. <input id="input4" ref="/root/formData/COIL_WTH_MIN" style="left:515px; top:0px; width:45px; height:20px; "/>
  177. <caption id="caption9" class="cell" style="left:625px; top:50px; width:60px; height:20px; font-weight:bold; background-color:#ffcc00; border-color:#000000; ">卷数合计</caption>
  178. <output id="output1" ref="/root/sumData/SUM_COILRST_CNT" style="left:685px; top:50px; width:60px; height:20px; text-align:center; "/>
  179. <output id="output2" ref="/root/sumData/SUM_COILRST_WGT" style="left:840px; top:50px; width:75px; height:20px; text-align:center; "/>
  180. <datagrid id="datagrid1" nodeset="/root/datagrid1/AppointResult_Row" caption="选择^钢卷号^发货指示号^移送指示号^出库时间^钢种^改判前钢种^热轧实际^热轧实际^热轧实际^热轧实际^热轧实际^订单厚度^订单宽度^判定厚度^判定宽度^重量^堆放位置^缺陷1^缺陷2^缺陷3^缺陷4^缺陷5^入库时间^入库操作时间^入库人^入库班次^入库组^二级库存^订单区分^合同号^订单号^综合判定^成份判定^材质判定^尺寸判定^外观判定^重量判定^判定时间^次品区分^清库前性能^清库前外观^^冶炼炉号^收货单位^发货方式^系列^产品等级^异常卷备注^钢卷说明^钢卷备注|选择^钢卷号^发货指示号^移送指示号^出库时间^钢种^改判前钢种^厚度^宽度^长度^内径^外径^订单厚度^订单宽度^判定厚度^判定宽度^重量^堆放位置^缺陷1^缺陷2^缺陷3^缺陷4^缺陷5^入库时间^入库操作时间^入库人^入库班次^入库组^二级库存^订单区分^合同号^订单号^综合判定^成份判定^材质判定^尺寸判定^外观判定^重量判定^判定时间^次品区分^清库前性能^清库前外观^^冶炼炉号^收货单位^发货方式^系列^产品等级^异常卷备注^钢卷说明^钢卷备注" colsep="^" colwidth="40, 100, 100, 100, 100, 50, 50, 40, 40, 40, 40, 40, 40, 40, 40, 40, 50, 60, 50, 50, 50, 50, 50, 80, 80, 60, 60, 50, 60, 35, 70, 50, 40, 40, 40, 40, 40, 40, 60, 75, 70, 70, 100, 75, 100, 100, 60, 60, 100, 100, 60" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:80px; width:950px; height:505px; ">
  181. <col checkvalue="Y,N" ref="CHK" type="checkbox"/>
  182. <col editable="false" ref="OLD_SAMPL_NO" type="input"/>
  183. <col ref="DLIV_DIRNO"/>
  184. <col ref="APPOINT_NOTE"/>
  185. <col ref="TRNF_DTIME"/>
  186. <col editable="false" ref="SPEC_STL_GRD" type="input"/>
  187. <col ref="BEF_SPEC_STL_GRD"/>
  188. <col editable="false" ref="COIL_THK" type="input"/>
  189. <col editable="false" ref="COIL_WTH" type="input"/>
  190. <col ref="COIL_LEN"/>
  191. <col ref="COIL_INDIA"/>
  192. <col ref="COIL_OUTDIA"/>
  193. <col editable="false" ref="INSTR_COIL_THK" type="input"/>
  194. <col editable="false" ref="INSTR_COIL_WTH" type="input"/>
  195. <col ref="DCS_THK"/>
  196. <col ref="DCS_WTH"/>
  197. <col ref="ACT_WGT" type="input"/>
  198. <col ref="CUR_LOAD_LOC" type="input"/>
  199. <col ref="CRK_CD1"/>
  200. <col ref="CRK_CD2"/>
  201. <col ref="CRK_CD3"/>
  202. <col ref="CRK_CD4"/>
  203. <col ref="CRK_CD5"/>
  204. <col editable="false" ref="YARD_ENTRY_DTIME" type="input" visibility="hidden" format="yyyy-mm-dd hh:nn"/>
  205. <col editable="false" ref="YARD_ENTRY_USE_TIME" type="input" visibility="hidden" format="yyyy-mm-dd hh:nn"/>
  206. <col explorerbar="sortshow" ref="YARD_ENTRY_REG" visibility="hidden"/>
  207. <col disabled="true" ref="YARD_ENTRY_SHIFT" type="combo" visibility="hidden">
  208. <choices>
  209. <item>
  210. <label>早班</label>
  211. <value>1</value>
  212. </item>
  213. <item>
  214. <label>中班</label>
  215. <value>2</value>
  216. </item>
  217. <item>
  218. <label>晚班</label>
  219. <value>3</value>
  220. </item>
  221. </choices>
  222. </col>
  223. <col disabled="true" ref="YARD_ENTRY_GROUP" type="combo" visibility="hidden">
  224. <choices>
  225. <item>
  226. <label>甲班</label>
  227. <value>A</value>
  228. </item>
  229. <item>
  230. <label>乙班</label>
  231. <value>B</value>
  232. </item>
  233. <item>
  234. <label>丙班</label>
  235. <value>C</value>
  236. </item>
  237. <item>
  238. <label>丁班</label>
  239. <value>D</value>
  240. </item>
  241. </choices>
  242. </col>
  243. <col ref="QK_YN" visibility="hidden"/>
  244. <col disabled="true" ref="ORD_FL"/>
  245. <col editable="false" ref="ORD_NO" type="input"/>
  246. <col editable="false" ref="ORD_SEQ" type="input"/>
  247. <col ref="TOT_DEC_GRD"/>
  248. <col ref="INGR_DEC_GRD"/>
  249. <col ref="MATRL_END_CAUSE_CD"/>
  250. <col ref="SIZE_DEC_RST"/>
  251. <col ref="EXTSHAPE_DEC_GRD"/>
  252. <col ref="WGT_DEC_RST"/>
  253. <col editable="false" ref="TOT_DEC_DTIME" type="input" format="yyyy-mm-dd hh:nn"/>
  254. <col ref="COIL_DEFECTIVE"/>
  255. <col ref="BEF_MATRL_END_CAUSE_CD"/>
  256. <col ref="BEF_EXTSHAPE_DEC_GRD"/>
  257. <col ref="COIL_DEFECTIVE_DESC" visibility="hidden"/>
  258. <col ref="CHARGE_NO"/>
  259. <col ref="ORDCUST_CD"/>
  260. <col ref="DLIV_TP"/>
  261. <col ref="COIL_SERIES"/>
  262. <col ref="COIL_PROD_GRADE"/>
  263. <col editable="true" ref="COIL_UN_REMARK"/>
  264. <col editable="true" ref="COIL_DESC"/>
  265. <col editable="true" ref="COIL_REMARK"/>
  266. </datagrid>
  267. <caption id="caption18" class="cell" style="left:0px; top:25px; width:70px; height:20px; font-weight:bold; border-color:#000000; ">合 同 号</caption>
  268. <button id="button3" visibility="visible" style="left:490px; top:50px; width:100px; height:20px; ">
  269. <caption>查询</caption>
  270. <script type="javascript" ev:event="onclick">
  271. <![CDATA[
  272. find();
  273. ]]>
  274. </script>
  275. </button>
  276. <input id="input3" ref="/root/formData/ORD_NO" style="left:70px; top:25px; width:90px; height:20px; "/>
  277. <input id="input5" ref="/root/formData/TOTIME" inputtype="date" format="yyyy-mm-dd" style="left:340px; top:25px; width:100px; height:20px; "/>
  278. <caption id="caption7" class="cell" style="left:167px; top:25px; width:73px; height:20px; font-weight:bold; border-color:#000000; ">出库时间</caption>
  279. <input id="input6" ref="/root/formData/FRTIME" inputtype="date" format="yyyy-mm-dd" style="left:239px; top:25px; width:100px; height:20px; "/>
  280. <select1 id="combo3" ref="/root/formData/ZHIDING" visibility="hidden" appearance="minimal" style="left:780px; top:20px; width:100px; height:20px; ">
  281. <choices>
  282. <item>
  283. <label>未移送</label>
  284. <value>N</value>
  285. </item>
  286. <item>
  287. <label>已移送</label>
  288. <value>Q Y</value>
  289. </item>
  290. <item>
  291. <label>板加退回重新入库</label>
  292. <value>P</value>
  293. </item>
  294. </choices>
  295. </select1>
  296. <caption id="caption8" class="cell" visibility="hidden" style="left:695px; top:20px; width:86px; height:20px; font-weight:bold; border-color:#000000; ">移送状态</caption>
  297. </xhtml:body>
  298. </xhtml:html>