f951b20984ea5fd1412aeac4080c5816cc0db35e.svn-base 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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[热轧作业>>热轧作业实绩>>轧钢实绩查询(UIH020035)]]>
  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. commSubmit("UIH020035-service","find","glueAction.do");
  49. commAppendData("/root/datagrid1/COILCOMM_VO","/root/resData/COILCOMM_VO");
  50. commAppendData("/root/datagrid2/RHFCOMM_VO","/root/resData/RHFCOMM_VO");
  51. commAppendData("/root/datagrid3/RHFCOMM_VO","/root/resData/RHFCOMM_VO");
  52. model.refresh();
  53. //把板坯号自动带出来,这里暂时不处理没有值可以补录数据的情况
  54. model.setValue("/root/searchData/SLAB_NO",model.getValue("/root/datagrid1/COILCOMM_VO/COILCOMM_Row[1]/SLAB_NO"));
  55. //钢卷号自动带出,这里只显示做对比用
  56. model.setValue("/root/searchData/OLD_SAMPL_NO",model.getValue("/root/datagrid1/COILCOMM_VO/COILCOMM_Row[1]/OLD_SAMPL_NO"));
  57. model.refresh();
  58. }
  59. ]]>
  60. </script>
  61. <script type="javascript" src="../../js/boaCommon.js"/>
  62. </xhtml:head>
  63. <xhtml:body pageheight="620" style="font-family:宋体; font-size:16pt; ">
  64. <caption id="caption2" class="cell" style="left:0px; top:5px; width:90px; height:20px; text-align:center; border-color:#000000; border-style:solid; ">生产流水号</caption>
  65. <input id="input2" ref="/root/searchData/COIL_NO" style="left:92px; top:5px; width:110px; height:20px; background-color:#ffff99; "/>
  66. <input id="input1" ref="/root/searchData/SLAB_NO" style="left:299px; top:5px; width:110px; height:20px; background-color:#ffff99; "/>
  67. <caption id="caption1" class="cell" style="left:207px; top:5px; width:90px; height:20px; text-align:center; border-color:#000000; border-style:solid; ">板坯号</caption>
  68. <datagrid id="datagrid1" nodeset="/root/datagrid1/COILCOMM_VO/COILCOMM_Row" caption="订货钢种^合同号^订单号^交货期^板坯厚度^板坯宽度^板坯长度^板坯重量" colsep="^" colwidth="130, 125, 123, 120, 120, 120, 120, 120" defaultrows="10" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:35px; width:980px; height:149px; border-color:#000000; ">
  69. <col/>
  70. <col editable="false" ref="ORD_NO" type="input" style="background-color:#ffffff; "/>
  71. <col editable="false" ref="PRODNM_CD" type="input" style="background-color:#ffffff; "/>
  72. <col editable="false" ref="DEVLMT_DTIME" type="input" style="background-color:#ffffff; "/>
  73. <col editable="false" ref="COIL_THK" type="input" style="text-align:right; background-color:#ffffff; "/>
  74. <col editable="false" ref="COIL_WTH" type="input" style="text-align:right; background-color:#ffffff; "/>
  75. <col ref="COIL_LEN" type="input" style="text-align:right; background-color:#ffffff; "/>
  76. <col ref="ACT_WGT" type="input" format="#,###" style="text-align:right; background-color:#ffffff; "/>
  77. </datagrid>
  78. <line id="line2" style="x1:0px; y1:30px; x2:979px; y2:30px; "/>
  79. <line id="line1" style="x1:0px; y1:190px; x2:979px; y2:190px; "/>
  80. <line id="line3" style="x1:0px; y1:390px; x2:979px; y2:390px; "/>
  81. <datagrid id="datagrid2" nodeset="/root/datagrid2/RHFCOMM_VO/RHFCOMM_Row" caption="加热炉号^装炉时刻^入炉位置^加热炉前实称重量^装炉前的温度^装炉班次^班组^在炉时间^出炉平均温度^均热段在炉时间^均热段温度" colsep="^" colwidth="70, 100, 72, 115, 100, 65, 56, 100, 100, 100, 100" defaultrows="10" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:195px; width:980px; height:190px; ">
  82. <col editable="false" ref="DEVNO" type="input" style="background-color:#ffffff; "/>
  83. <col editable="false" ref="CHARING_DTIME" type="input" style="text-align:right; background-color:#ffffff; "/>
  84. <col editable="false" ref="ROW_NUM" type="input" style="background-color:#ffffff; "/>
  85. <col editable="false" ref="CHRGING_BEF_WGT" type="input" format="#,###" style="text-align:right; background-color:#ffffff; "/>
  86. <col editable="false" ref="CHRGING_BEF_TEMP" type="input" style="text-align:right; background-color:#ffffff; "/>
  87. <col editable="false" ref="CHRGING_WKSHIFT" type="input" style="background-color:#ffffff; "/>
  88. <col editable="false" ref="CHRGING_WKGROUP" type="input" style="background-color:#ffffff; "/>
  89. <col editable="false" ref="INFUR_HOUR" type="input" style="text-align:right; background-color:#ffffff; "/>
  90. <col editable="false" ref="EXTRACT_AVG_TEMP" type="input" style="text-align:right; background-color:#ffffff; "/>
  91. <col editable="false" ref="EQ_HT_INFUR_HOUR" type="input" style="text-align:right; background-color:#ffffff; "/>
  92. <col editable="false" ref="EQ_HT_TEMP" type="input" style="text-align:right; background-color:#ffffff; "/>
  93. </datagrid>
  94. <datagrid id="datagrid3" nodeset="/root/datagrid3/RHFCOMM_VO/RHFCOMM_Row" caption="出炉时刻^出炉温度(目标)^出炉温度(上限)^出炉温度(下限)^出炉均热度(目标)^出炉均热度(上限)^出炉班次^班组" colsep="^" colwidth="120, 120, 120, 120, 120, 120, 130, 127" defaultrows="10" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:395px; width:980px; height:205px; ">
  95. <col editable="false" ref="EXTRACT_DTIME" type="input" format="yyyy-mm-dd hh:mm:ss" style="background-color:#ffffff; "/>
  96. <col editable="false" ref="CHG_TMP_TGT" type="input" style="text-align:right; background-color:#ffffff; "/>
  97. <col editable="false" ref="CHG_TMP_MAX" type="input" style="text-align:right; background-color:#ffffff; "/>
  98. <col editable="false" ref="CHG_TMP_MIN" type="input" style="text-align:right; background-color:#ffffff; "/>
  99. <col editable="false" ref="CRACK_TGT" type="input" style="text-align:right; background-color:#ffffff; "/>
  100. <col editable="false" ref="CRACK_MAX" type="input" style="text-align:right; background-color:#ffffff; "/>
  101. <col editable="false" ref="EXTRACT_WKSHIFT" type="input" style="background-color:#ffffff; "/>
  102. <col editable="false" ref="EXTRACT_WKGROUP" type="input" style="background-color:#ffffff; "/>
  103. </datagrid>
  104. <caption id="caption3" class="cell" style="left:415px; top:5px; width:90px; height:20px; text-align:center; border-color:#000000; border-style:solid; ">钢卷号</caption>
  105. <input id="input3" ref="/root/searchData/OLD_SAMPL_NO" style="left:507px; top:5px; width:110px; height:20px; background-color:#ffff99; "/>
  106. </xhtml:body>
  107. </xhtml:html>