UIH020032.xrw 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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[热轧作业>>热轧作业实绩>>轧钢实绩查询(UIH020032)]]>
  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. //这里就必须作为子页面操作了,所以初始化的时候给出值
  26. var openWindow = window.parent;
  27. model.setValue("/root/searchData/COIL_NO",openWindow.model.getValue("/root/tempData"));
  28. //调用查询方法,让查询可以单独使用
  29. find();
  30. ]]>
  31. </script>
  32. </model>
  33. <script type="javascript">
  34. <![CDATA[
  35. /*
  36. *查询函数
  37. */
  38. function find()
  39. {
  40. model.removenode("/root/reqData");
  41. model.makeNode("/root/reqData");
  42. if(model.getValue("/root/searchData/COIL_NO") == ""){
  43. alert(" 钢卷号不能为空,请输入相应的钢卷号! ");
  44. return;
  45. }
  46. model.refresh();
  47. model.duplicate("/root/reqData","/root/searchData/COIL_NO");
  48. model.duplicate("/root/reqData","/root/searchData/COIL_NO");
  49. model.duplicate("/root/reqData","/root/searchData/COIL_NO");
  50. commSubmit("UIH020032-service","find","glueAction.do");
  51. commAppendData("/root/datagrid1/CoilComm_VO","/root/resData/CoilComm_VO");
  52. commAppendData("/root/datagrid2/COILlist_VO","/root/resData/COILlist_VO");
  53. commAppendData("/root/datagrid3/COILRM_VO","/root/resData/COILRM_VO");
  54. model.refresh();
  55. //把板坯号自动带出来,这里暂时不处理没有值可以补录数据的情况
  56. model.setValue("/root/searchData/SLAB_NO",model.getValue("/root/datagrid1/CoilComm_VO/CoilComm_Row[1]/SLAB_NO"));
  57. //钢卷号自动带出,这里只显示做对比用
  58. model.setValue("/root/searchData/OLD_SAMPL_NO",model.getValue("/root/datagrid1/CoilComm_VO/CoilComm_Row[1]/OLD_SAMPL_NO"));
  59. model.refresh();
  60. }
  61. ]]>
  62. </script>
  63. <script type="javascript" src="../../js/boaCommon.js"/>
  64. </xhtml:head>
  65. <xhtml:body pageheight="620" style="font-family:宋体; font-size:16pt; ">
  66. <caption id="caption2" class="cell" style="left:0px; top:5px; width:90px; height:20px; text-align:center; border-color:#000000; border-style:solid; ">生产流水号</caption>
  67. <input id="input2" ref="/root/searchData/COIL_NO" style="left:92px; top:5px; width:110px; height:20px; background-color:#ffff99; "/>
  68. <input id="input1" ref="/root/searchData/SLAB_NO" style="left:297px; top:5px; width:110px; height:20px; background-color:#ffff99; "/>
  69. <caption id="caption1" class="cell" style="left:205px; top:5px; width:90px; height:20px; text-align:center; border-color:#000000; border-style:solid; ">板坯号</caption>
  70. <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; ">
  71. <col editable="false" ref="STL_GRD" type="input" style="background-color:#ffffff; "/>
  72. <col editable="false" ref="ORD_NO" type="input" style="background-color:#ffffff; "/>
  73. <col editable="false" ref="PRODNM_CD" type="input" style="background-color:#ffffff; "/>
  74. <col editable="false" ref="ORD_USE_CD" type="input" style="background-color:#ffffff; "/>
  75. <col editable="false" ref="DELV_REQ_DATE" type="input" style="background-color:#ffffff; "/>
  76. <col editable="false" ref="INSTR_ROUTE" type="input" style="background-color:#ffffff; "/>
  77. <col editable="false" ref="ROUTE" type="input" visibility="hidden" style="background-color:#ffffff; "/>
  78. <col editable="false" ref="SAMPL_PICK_YN" type="input" visibility="hidden" style="background-color:#ffffff; "/>
  79. <col editable="false" ref="EXTSHAPE_INSPECT_YN" type="input" visibility="hidden" style="background-color:#ffffff; "/>
  80. </datagrid>
  81. <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; ">
  82. <col editable="false" ref="INSTR_COIL_THK" type="input" style="text-align:right; background-color:#ffffff; "/>
  83. <col editable="false" ref="COIL_THK" type="input" style="text-align:right; background-color:#ffffff; "/>
  84. <col editable="false" ref="INSTR_COIL_WTH" type="input" style="text-align:right; background-color:#ffffff; "/>
  85. <col editable="false" ref="COIL_WTH" type="input" style="text-align:right; background-color:#ffffff; "/>
  86. <col editable="false" ref="INSTR_COIL_LEN" type="input" style="text-align:right; background-color:#ffffff; "/>
  87. <col editable="false" ref="COIL_LEN" type="input" style="text-align:right; background-color:#ffffff; "/>
  88. <col editable="false" ref="INSTR_COIL_WGT" type="input" format="#,###" style="text-align:right; background-color:#ffffff; "/>
  89. <col editable="false" ref="ACT_WGT" type="input" format="#,###" style="text-align:right; background-color:#ffffff; "/>
  90. <col editable="false" ref="INSTR_COIL_INDIA" type="input" style="text-align:right; background-color:#ffffff; "/>
  91. <col editable="false" ref="COIL_OUTDIA" type="input" style="text-align:right; background-color:#ffffff; "/>
  92. <col editable="false" ref="INSTR_COIL_OUTDIA" type="input" style="text-align:right; background-color:#ffffff; "/>
  93. <col editable="false" ref="COIL_INDIA" type="input" style="text-align:right; background-color:#ffffff; "/>
  94. </datagrid>
  95. <datagrid id="datagrid3" nodeset="/root/datagrid3/COILRM_VO/COILRM_Row" caption="轧钢时间^班次^组^除磷机是否^除磷机是否^除磷机是否^轧制道次^轧制道次^R1出口温度^R1出口温度^R2出口温度^R2出口温度^RM出口平均大小^RM出口平均大小^RM出口平均大小|轧钢时间^班次^组^加热炉后^RM入口^RM出口^R1^R2^订单^实绩^订单^实绩^厚度^宽度^长度" colsep="^" colwidth="100, 100, 100, 60, 60, 60, 50, 50, 55, 54, 55, 54, 60, 60, 60" defaultrows="10" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:395px; width:980px; height:205px; ">
  96. <col editable="false" ref="MILL_DTIME" type="input" format="yyyy-mm-dd hh:mm:ss" style="background-color:#ffffff; "/>
  97. <col editable="false" ref="WKSHIFT" type="input" style="background-color:#ffffff; "/>
  98. <col editable="false" ref="WKGROUP" type="input" style="background-color:#ffffff; "/>
  99. <col editable="false" ref="RHF_DESCAL_YN" type="input" style="background-color:#ffffff; "/>
  100. <col editable="false" ref="RM_ENT_DESCAL_YN" type="input" style="background-color:#ffffff; "/>
  101. <col editable="false" ref="RM_EXT_DESCAL_YN" type="input" style="background-color:#ffffff; "/>
  102. <col editable="false" ref="RM1_PASS_CNT" type="input" style="text-align:right; background-color:#ffffff; "/>
  103. <col editable="false" ref="RM2_PASS_CNT" type="input" style="text-align:right; background-color:#ffffff; "/>
  104. <col style="text-align:right; "/>
  105. <col editable="false" ref="R1_EXT_TEMP" type="input" style="text-align:right; background-color:#ffffff; "/>
  106. <col style="text-align:right; "/>
  107. <col editable="false" ref="R2_EXT_TEMP" type="input" style="text-align:right; background-color:#ffffff; "/>
  108. <col editable="false" ref="RM_EXT_AVG_THK" type="input" style="text-align:right; background-color:#ffffff; "/>
  109. <col editable="false" ref="RM_EXT_AVG_WTH" type="input" style="text-align:right; background-color:#ffffff; "/>
  110. <col editable="false" ref="RM_EXT_AVG_LEN" type="input" style="text-align:right; background-color:#ffffff; "/>
  111. </datagrid>
  112. <line id="line2" style="x1:0px; y1:30px; x2:979px; y2:30px; "/>
  113. <line id="line1" style="x1:0px; y1:190px; x2:979px; y2:190px; "/>
  114. <line id="line3" style="x1:0px; y1:390px; x2:979px; y2:390px; "/>
  115. <caption id="caption3" class="cell" style="left:415px; top:5px; width:90px; height:20px; text-align:center; border-color:#000000; border-style:solid; ">钢卷号</caption>
  116. <input id="input3" ref="/root/searchData/OLD_SAMPL_NO" style="left:507px; top:5px; width:110px; height:20px; background-color:#ffff99; "/>
  117. </xhtml:body>
  118. </xhtml:html>