d3541996fd9b095569f3f36f0d4e993705dc5a73.svn-base 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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[热轧作业>>热轧作业实绩>>轧钢实绩查询(UIH020034)]]>
  7. </xhtml:title>
  8. <model id="model1">
  9. <instance id="instance1">
  10. <root xmlns="">
  11. <reqData/>
  12. <resData/>
  13. <searchData>
  14. <COIL_NO/>
  15. <SLAB_NO/>
  16. <OLD_SAMPL_NO/>
  17. </searchData>
  18. <datagrid1/>
  19. <datagrid2/>
  20. <datagrid3/>
  21. </root>
  22. </instance>
  23. <script type="javascript" ev:event="xforms-ready">
  24. <![CDATA[
  25. find();
  26. ]]>
  27. </script>
  28. </model>
  29. <script type="javascript">
  30. <![CDATA[
  31. /*
  32. *查询函数
  33. */
  34. function find()
  35. {
  36. model.removenode("/root/reqData");
  37. model.makeNode("/root/reqData");
  38. //这里就必须作为子页面操作了
  39. var openWindow = window.parent;
  40. model.setValue("/root/searchData/COIL_NO",openWindow.model.getValue("/root/tempData"));
  41. if(model.getValue("/root/searchData/COIL_NO") == ""){
  42. alert(" 钢卷号不能为空,请输入相应的钢卷号! ");
  43. return;
  44. }
  45. model.refresh();
  46. model.duplicate("/root/reqData","/root/searchData/COIL_NO");
  47. model.duplicate("/root/reqData","/root/searchData/COIL_NO");
  48. model.duplicate("/root/reqData","/root/searchData/COIL_NO");
  49. commSubmit("UIH020034-service","find","glueAction.do");
  50. commAppendData("/root/datagrid1/CoilComm_VO","/root/resData/CoilComm_VO");
  51. commAppendData("/root/datagrid2/COILlist_VO","/root/resData/COILlist_VO");
  52. commAppendData("/root/datagrid3/COILDC_VO","/root/resData/COILDC_VO");
  53. model.refresh();
  54. //把板坯号自动带出来,这里暂时不处理没有值可以补录数据的情况
  55. model.setValue("/root/searchData/SLAB_NO",model.getValue("/root/datagrid1/CoilComm_VO/CoilComm_Row[1]/SLAB_NO"));
  56. //钢卷号自动带出,这里只显示做对比用
  57. model.setValue("/root/searchData/OLD_SAMPL_NO",model.getValue("/root/datagrid1/CoilComm_VO/CoilComm_Row[1]/OLD_SAMPL_NO"));
  58. model.refresh();
  59. }
  60. ]]>
  61. </script>
  62. <script type="javascript" src="../../js/boaCommon.js"/>
  63. </xhtml:head>
  64. <xhtml:body pageheight="620" style="font-family:宋体; font-size:16pt; ">
  65. <caption id="caption2" class="cell" style="left:0px; top:5px; width:90px; height:20px; text-align:center; border-color:#000000; border-style:solid; ">生产流水号</caption>
  66. <input id="input2" ref="/root/searchData/COIL_NO" style="left:92px; top:5px; width:110px; height:20px; background-color:#ffff99; "/>
  67. <input id="input1" ref="/root/searchData/SLAB_NO" style="left:299px; top:5px; width:110px; height:20px; background-color:#ffff99; "/>
  68. <caption id="caption1" class="cell" style="left:207px; top:5px; width:90px; height:20px; text-align:center; border-color:#000000; border-style:solid; ">板坯号</caption>
  69. <datagrid id="datagrid1" nodeset="/root/datagrid1/CoilComm_VO/CoilComm_Row" caption="钢号^合同号^品名^订单用途^交货期^订单去向^实去向^试片采集^外观检验" colsep="^" colwidth="110, 110, 110, 110, 110, 110, 106, 106, 106" defaultrows="10" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:35px; width:980px; height:149px; border-color:#000000; ">
  70. <col editable="false" ref="STL_GRD" type="input" style="background-color:#ffffff; "/>
  71. <col editable="false" ref="ORD_NO" type="input" style="background-color:#ffffff; "/>
  72. <col editable="false" ref="PRODNM_CD" type="input" style="background-color:#ffffff; "/>
  73. <col editable="false" ref="ORD_USE_CD" type="input" style="background-color:#ffffff; "/>
  74. <col editable="false" ref="DELV_REQ_DATE" type="input" style="background-color:#ffffff; "/>
  75. <col editable="false" ref="INSTR_ROUTE" type="input" style="background-color:#ffffff; "/>
  76. <col editable="false" ref="ROUTE" type="input" visibility="hidden" style="background-color:#ffffff; "/>
  77. <col editable="false" ref="SAMPL_PICK_YN" type="input" visibility="hidden" style="background-color:#ffffff; "/>
  78. <col editable="false" ref="EXTSHAPE_INSPECT_YN" type="input" visibility="hidden" style="background-color:#ffffff; "/>
  79. </datagrid>
  80. <datagrid id="datagrid2" nodeset="/root/datagrid2/COILlist_VO/COILlist_Row" caption="钢卷厚度^钢卷厚度^钢卷宽度^钢卷宽度^钢卷长度^钢卷长度^钢卷重量^钢卷重量^钢卷外径^钢卷外径^钢卷内径^钢卷内径|订单^实绩^订单^实绩^订单^实绩^订单^实绩^订单^实绩^订单^实绩" colsep="^" colwidth="81, 81, 81, 81, 81, 81, 82, 82, 82, 82, 82, 82" defaultrows="10" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:195px; width:980px; height:190px; ">
  81. <col editable="false" ref="INSTR_COIL_THK" type="input" style="text-align:right; background-color:#ffffff; "/>
  82. <col editable="false" ref="COIL_THK" type="input" style="text-align:right; background-color:#ffffff; "/>
  83. <col editable="false" ref="INSTR_COIL_WTH" type="input" style="text-align:right; background-color:#ffffff; "/>
  84. <col editable="false" ref="COIL_WTH" type="input" style="text-align:right; background-color:#ffffff; "/>
  85. <col editable="false" ref="INSTR_COIL_LEN" type="input" style="text-align:right; background-color:#ffffff; "/>
  86. <col editable="false" ref="COIL_LEN" type="input" style="text-align:right; background-color:#ffffff; "/>
  87. <col editable="false" ref="INSTR_COIL_WGT" type="input" format="#,###" style="text-align:right; background-color:#ffffff; "/>
  88. <col editable="false" ref="ACT_WGT" type="input" format="#,###" style="text-align:right; background-color:#ffffff; "/>
  89. <col editable="false" ref="INSTR_COIL_INDIA" type="input" style="text-align:right; background-color:#ffffff; "/>
  90. <col editable="false" ref="COIL_OUTDIA" type="input" style="text-align:right; background-color:#ffffff; "/>
  91. <col editable="false" ref="INSTR_COIL_OUTDIA" type="input" style="text-align:right; background-color:#ffffff; "/>
  92. <col editable="false" ref="COIL_INDIA" type="input" style="text-align:right; background-color:#ffffff; "/>
  93. </datagrid>
  94. <datagrid id="datagrid3" nodeset="/root/datagrid3/COILDC_VO/COILDC_Row" caption="轧钢时间^班次^组^卷取温度^卷取温度^卷取温度^卷取温度^卷取温度^卷取机号^开始卷取时刻^结束卷取时刻^拒绝原因^拒绝原因^拒绝原因^拒绝原因|轧钢时间^班次^组^额定^平均^最大^最小^不在范围(%)^卷取机号^开始卷取时刻^结束卷取时刻^区域^区分^理由^发生时间" colsep="^" colwidth="92, 42, 41, 55, 55, 55, 55, 80, 30, 90, 90, 62, 81, 60, 87" defaultrows="10" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:395px; width:980px; height:205px; ">
  95. <col editable="false" ref="MILL_DTIME" type="input" format="yyyy-mm-dd hh:mm:ss" style="background-color:#ffffff; "/>
  96. <col editable="false" ref="WKSHIFT" type="input" style="background-color:#ffffff; "/>
  97. <col editable="false" ref="WKGROUP" type="input" style="background-color:#ffffff; "/>
  98. <col editable="false" ref="DC_TEMP" type="input" style="text-align:right; background-color:#ffffff; "/>
  99. <col editable="false" ref="DC_TEMP_AVG" type="input" style="text-align:right; background-color:#ffffff; "/>
  100. <col editable="false" ref="DC_TEMP_MAX" type="input" style="text-align:right; background-color:#ffffff; "/>
  101. <col editable="false" ref="DC_TEMP_MIN" type="input" style="text-align:right; background-color:#ffffff; "/>
  102. <col editable="false" ref="DC_TEMP_OUT_OF_RANGE" type="input" style="text-align:right; background-color:#ffffff; "/>
  103. <col editable="false" ref="DC_NO" type="input" style="background-color:#ffffff; "/>
  104. <col editable="false" ref="DC_ON_DTIME" type="input" format="yyyy-mm-dd hh:mm:ss" style="background-color:#ffffff; "/>
  105. <col editable="false" ref="DC_OFF_DTIME" type="input" format="yyyy-mm-dd hh:mm:ss" style="background-color:#ffffff; "/>
  106. <col editable="false" ref="MISSNO_CAUSE_QY" type="combo" style="background-color:#ffffff; ">
  107. <choices>
  108. <item>
  109. <label/>
  110. <value/>
  111. </item>
  112. <item>
  113. <label>粗轧区域</label>
  114. <value>H06002</value>
  115. </item>
  116. <item>
  117. <label>精轧区域</label>
  118. <value>H06003</value>
  119. </item>
  120. <item>
  121. <label>卷取区域</label>
  122. <value>H06004</value>
  123. </item>
  124. </choices>
  125. </col>
  126. <col editable="false" ref="MISSNO_CLF_CD" type="input" style="background-color:#ffffff; "/>
  127. <col editable="false" ref="MISSNO_CAUSE_CD" type="input" style="background-color:#ffffff; "/>
  128. <col editable="false" ref="MISSNO_DTIME" type="input" style="background-color:#ffffff; "/>
  129. </datagrid>
  130. <line id="line2" style="x1:0px; y1:30px; x2:979px; y2:30px; "/>
  131. <line id="line1" style="x1:0px; y1:190px; x2:979px; y2:190px; "/>
  132. <line id="line3" style="x1:0px; y1:390px; x2:979px; y2:390px; "/>
  133. <caption id="caption3" class="cell" style="left:415px; top:5px; width:90px; height:20px; text-align:center; border-color:#000000; border-style:solid; ">钢卷号</caption>
  134. <input id="input3" ref="/root/searchData/OLD_SAMPL_NO" style="left:507px; top:5px; width:110px; height:20px; background-color:#ffff99; "/>
  135. </xhtml:body>
  136. </xhtml:html>