UIB020231.xrw 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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[品质判定>>材质判定>>取样报表]]>
  7. </xhtml:title>
  8. <model id="model1">
  9. <instance id="instance1">
  10. <root xmlns="">
  11. <datagrid1/>
  12. <FORMDATE>
  13. <ROLL/>
  14. </FORMDATE>
  15. </root>
  16. </instance>
  17. <script type="javascript" ev:event="xforms-ready">
  18. <![CDATA[
  19. if(window.parent==null) Init();
  20. ]]>
  21. </script>
  22. </model>
  23. <script type="javascript" src="../../js/boaCommon.js"/>
  24. <script type="javascript" src="../../js/b01.js"/>
  25. <script type="javascript" src="../../js/b.js"/>
  26. <script type="javascript">
  27. <![CDATA[
  28. function excelExport() {
  29. return datagrid1;
  30. }
  31. function Init(node)
  32. {
  33. InitParams(node);
  34. input1.value = document.readIniFile("session1" , "UIB020231" , "" , "c:\\WINDOWS\\xgmes3.ini");
  35. }
  36. function find()
  37. {
  38. model.removenode("/root/reqData");
  39. model.makeNode("/root/reqData");
  40. document.writeIniFile("session1" , "UIB020231" , input1.value.Trim() , "c:\\WINDOWS\\xgmes3.ini");
  41. model.makeValue("/root/reqData/ROLLNO" , input1.value.Trim() );
  42. commSubmit("UIB020231-service", "find", "glueAction.do");
  43. model.copyNode("/root/datagrid1","/root/resData/CoilDecResult_VO");
  44. model.refresh();
  45. }
  46. ]]>
  47. </script>
  48. </xhtml:head>
  49. <xhtml:body pagewidth="980" pageheight="620" guideline="1,980;1,1761;1,980;">
  50. <datagrid id="datagrid1" nodeset="/root/datagrid1/CoilDecResult_Row" allowuserresize="true" caption="流水号^批号^钢卷号^序号^钢种^订单规格^订单规格^备注^取样^热态宽度^OS^CL^DS^凸度^楔形^判定厚度^判定宽度^判定结果^判次原因^开卷表面检验状况^判定人^判定时间^改判结果^改判人^改判时间^性能|流水号^批号^钢卷号^序号^钢种^厚度^宽度^备注^取样^热态宽度^OS^CL^DS^凸度^楔形^判定厚度^判定宽度^判定结果^判次原因^开卷表面检验状况^判定人^判定时间^改判结果^改判人^改判时间^性能" colsep="^" colwidth="44, 83, 100, 34, 76, 48, 47, 48, 38, 69, 39, 47, 38, 67, 55, 76, 60, 77, 77, 129, 52, 71, 77, 86, 64, 60" defaultrows="20" explorerbar="sort" extendlastcol="false" mergecellsfixedrows="byrowrec" rowsep="|" style="left:0px; top:35px; width:980px; height:575px; border-color:#000000; border-style:solid; ">
  51. <col ref="SEQQQ" style="background-color:#ffffff; "/>
  52. <col ref="PP" style="background-color:#ffffff; "/>
  53. <col ref="OLD_SAMPL_NO"/>
  54. <col editable="false" ref="SEQ" style="background-color:#ffffff; "/>
  55. <col editable="false" ref="SPEC_STL_GRD" style="background-color:#ffffff; "/>
  56. <col editable="false" ref="COIL_THK" style="background-color:#ffffff; "/>
  57. <col editable="false" ref="COIL_WTH" style="background-color:#ffffff; "/>
  58. <col editable="false" style="background-color:#ffffff; "/>
  59. <col editable="false" ref="ZZZ" style="background-color:#ffffff; "/>
  60. <col editable="false" ref="TOL_T9_VAL" style="background-color:#ffffff; "/>
  61. <col editable="false" ref="COIL_THK_OS" style="background-color:#ffffff; "/>
  62. <col editable="false" ref="COIL_THK_CL" style="background-color:#ffffff; "/>
  63. <col editable="false" ref="COIL_THK_DS" style="background-color:#ffffff; "/>
  64. <col editable="false" ref="TOT_DEC_DTIME" format="yyyy-mm-dd" style="background-color:#ffffff; "/>
  65. <col disabled="true" editable="false" ref="ORD_FL" style="background-color:#ffffff; "/>
  66. <col editable="false" ref="DCS_THK" style="background-color:#ffffff; "/>
  67. <col editable="false" ref="DCS_WTH" style="background-color:#ffffff; "/>
  68. <col editable="false" ref="SIZE_DEC_RST" style="left:964px; top:41px; width:32px; height:18px; background-color:#ffffff; "/>
  69. <col editable="false" ref="CRK_CD1" style="background-color:#ffffff; "/>
  70. <col editable="false" style="background-color:#ffffff; "/>
  71. <col editable="false" style="background-color:#ffffff; "/>
  72. <col editable="false" style="background-color:#ffffff; "/>
  73. <col editable="false" style="background-color:#ffffff; "/>
  74. <col editable="false" style="background-color:#ffffff; "/>
  75. <col editable="false" style="background-color:#ffffff; "/>
  76. <col editable="false" style="background-color:#ffffff; "/>
  77. <script type="javascript" ev:event="onkeydown">
  78. <![CDATA[
  79. if(event.keyCode == "84") //T键
  80. {
  81. window.load("../B03/UIB030060.xrw", "modal", "modalWin", "left:100; top:40; width:980px; height:750px;sysmenu:visible; min:visible; max:visible; resize:true;" );
  82. }
  83. ]]>
  84. </script>
  85. </datagrid>
  86. <line id="line3" style="x1:0px; y1:0px; x2:980px; y2:0px; "/>
  87. <line id="line1" style="x1:0px; y1:30px; x2:980px; y2:30px; "/>
  88. <caption id="caption1" class="cell" style="left:0px; top:5px; width:100px; height:20px; vertical-align:middle; ">轧辊单元</caption>
  89. <input id="input1" ref="/root/FORMDATE/ROLL" style="left:100px; top:5px; width:100px; height:20px; ">
  90. <script type="javascript" ev:event="onkeydown">
  91. <![CDATA[
  92. if(event.keyCode==13)
  93. {
  94. model.setFocus("");
  95. // model.setFocus("input1"); 有无均可
  96. find();
  97. }
  98. ]]>
  99. </script>
  100. </input>
  101. </xhtml:body>
  102. </xhtml:html>