UID010065.xrw 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <formData>
  10. </formData>
  11. <reqData>
  12. </reqData>
  13. <resData>
  14. <EmpListResult_VO/>
  15. </resData>
  16. <gridData1>
  17. <record>
  18. <EmpListResult_Row>
  19. </EmpListResult_Row>
  20. </record>
  21. <sendInfo/>
  22. </gridData1>
  23. <gridData2>
  24. <EmpListResult_VO>
  25. <EmpListResult_Row>
  26. </EmpListResult_Row>
  27. </EmpListResult_VO>
  28. </gridData2>
  29. </root>
  30. </instance>
  31. <script type="javascript">
  32. <![CDATA[
  33. //1、获取用户登录信息,只能在页面初始化函数中调用
  34. function InitParams(node)
  35. {
  36. if (typeof node == "undefined" && typeof node != "object") return;
  37. model.removenode("/root/initData/rcvInfo");
  38. model.makeNode("/root/initData/rcvInfo");
  39. var nodeList = node.childNodes;
  40. for (var i = 0; i < nodeList.length; i++)
  41. model.instances(0).selectSingleNode("/root/initData/rcvInfo").appendChild(nodeList.item(i));
  42. }
  43. //2. 页面初始化函数(必须)
  44. function Init(node)
  45. {
  46. InitParams(node); // 用于设置节点:/root/initData/rcvInfo,获取用户登录信息
  47. // 在程序中会重建该节点,最好不要重名
  48. // 函数 InitParams 在 mesCommon.js 中,仅在需要使用登录用户信息时调用
  49. //...
  50. }
  51. //3、页面标题
  52. function setTitle()
  53. {
  54. return "工序计划 >> 板坯设计 >> 各钢卷规格标准生产能力"; // 如:return "进程管理 >> 订单进程现况查询";
  55. }
  56. //4. 页面按键动作
  57. // 查询按键
  58. function find()
  59. {
  60. }
  61. // 保存按键
  62. function save()
  63. {
  64. }
  65. // 新增按键
  66. function create()
  67. {
  68. }
  69. // 删除按键
  70. function remove()
  71. {
  72. }
  73. ]]>
  74. </script>
  75. <script type="javascript" src="../../js/boaMsg.js"/>
  76. <script type="javascript" src="../../js/boaCommon.js"/>
  77. <script type="javascript" src="../../js/dCommon.js"/>
  78. <bind id="bind1" ref="/root/gridData2/EmpListResult_VO/EmpListResult_Row/SLAB_WGT" calculate="../SLAB_LEN * ../SLAB_THK * ../SLAB_WTH * ../GRAVITY div 1000000000"/>
  79. <submission id="submission1" mediatype="application/x-www-form-urlencoded" method="post"/>
  80. </model>
  81. </xhtml:head>
  82. <xhtml:body guideline="1,979;2,620;">
  83. <line id="line1" style="x1:0px; y1:-30px; x2:1005px; y2:-30px; "/>
  84. <line id="line2" style="x1:0px; y1:0px; x2:980px; y2:0px; "/>
  85. <datagrid id="datagrid1" nodeset="/root/gridData1/record/EmpListResult_Row" visibility="visible" scroll="both" backcoloralternate="#f7f9f9" caption="钢卷厚度\钢卷宽度^W01^W02^W03^W04^W05^W06^W07^小计|钢卷厚度\钢卷宽度^W01^W02^W03^W04^W05^W06^W07^小计" colsep="^" colwidth="135, 90, 90, 90, 90, 90, 90, 90, 90" defaultrows="30" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:25px; width:980px; height:595px; color:#000000; border-color:#000000; ">
  86. <col autonext="true" ref="CHK1" type="output"/>
  87. <col ref="ORD_NO" type="output" style="text-align:right; "/>
  88. <col ref="DSN_PROC_STAT" style="text-align:right; "/>
  89. <col ref="ORD_DEVLMT_EDATE" style="text-align:right; "/>
  90. <col ref="PROC_PATH" style="text-align:right; "/>
  91. <col ref="SPEC_ABBSYM" style="text-align:right; "/>
  92. <col ref="FAC_STL_GRD" style="text-align:right; "/>
  93. <col ref="COIL_WGT" style="text-align:right; "/>
  94. <col ref="NEED_WGT"/>
  95. </datagrid>
  96. <caption id="caption5" style="left:0px; top:5px; width:125px; height:20px; text-align:center; background-color:#ccccff; border-bottom-color:#ffffff; border-style:solid; ">生产能力</caption>
  97. </xhtml:body>
  98. </xhtml:html>