126879c239ec290860dd7508bb3a42ad03e17588.svn-base 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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[统计管理>>物料分析>>中板、废卷入库报表(UIH090070)]]>
  7. </xhtml:title>
  8. <model id="model1">
  9. <instance id="instance1">
  10. <root xmlns="">
  11. <reqData/>
  12. <resData/>
  13. <searchData>
  14. <searchTime/>
  15. </searchData>
  16. <datagrid1/>
  17. </root>
  18. </instance>
  19. </model>
  20. <script type="javascript" src="../../js/boaMsg.js"/>
  21. <script type="javascript" src="../../js/boaCommon.js"/>
  22. <script type="javascript">
  23. <![CDATA[
  24. function InitParams(node) {
  25. if (typeof node == "undefined" && typeof node != "object") return;
  26. model.removenode("/root/initData/rcvInfo");
  27. model.makeNode("/root/initData/rcvInfo");
  28. var nodeList = node.childNodes;
  29. node = model.instances(0).selectSingleNode("/root/initData/rcvInfo");
  30. for (var i = 0; i < nodeList.length; i++)
  31. node.appendChild(nodeList.item(i));
  32. }
  33. function Init(node)
  34. {
  35. InitParams(node);
  36. }
  37. function find(){
  38. model.removenode("/root/reqData");
  39. model.makeNode("/root/reqData");
  40. model.removenode("/root/datagrid1");
  41. model.makeNode("/root/datagrid1");
  42. if(model.getValue("/root/searchData/searchTime") == ""){
  43. var cur_date;
  44. cur_date = commCurDate();
  45. model.setValue("/root/searchData/searchTime",cur_date);
  46. model.refresh();
  47. }
  48. model.duplicate("/root/reqData","/root/searchData/searchTime");
  49. commSubmit("UIH090070-service", "find", "glueAction.do");
  50. commAppendData("/root/datagrid1/MISSNOCOIL_VO","/root/resData/MISSNOCOIL_VO");
  51. model.refresh();
  52. }
  53. ]]>
  54. </script>
  55. </xhtml:head>
  56. <xhtml:body>
  57. <caption id="caption1" class="cell" style="left:0px; top:5px; width:90px; height:20px; font-weight:bold; border-color:#000000; ">日期</caption>
  58. <input id="input1" ref="/root/searchData/searchTime" inputtype="date" format="yyyy-mm-dd" style="left:92px; top:5px; width:115px; height:20px; background-color:#ffff99; "/>
  59. <datagrid id="datagrid1" nodeset="/root/datagrid1/MISSNOCOIL_VO/MISSNOCOIL_Row" caption="轧批号^板坯号^钢种^中间坯^中间坯^中间坯^废卷^废卷^时间^入库人|轧批号^板坯号^钢种^规格(厚×宽)mm^重量kg^堆放位置^重量kg^堆放位置^时间^入库人" colsep="^" colwidth="100, 100, 100, 110, 91, 91, 91, 91, 100, 99" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:30px; width:975px; height:585px; ">
  60. <col ref="SAMPL_NO"/>
  61. <col ref="SLAB_NO"/>
  62. <col ref="SPEC_STL_GRD"/>
  63. <col ref="T_W"/>
  64. <col ref="MISSNO_BAR_WGT"/>
  65. <col ref="COIL_YARD"/>
  66. <col ref="MISSNO_BAR_WGT1"/>
  67. <col ref="COIL_YARD1"/>
  68. <col ref="REG_DTIME"/>
  69. <col ref="REG_ID"/>
  70. </datagrid>
  71. </xhtml:body>
  72. </xhtml:html>