4eb2fcdc0b012f6ab7b7fd3be831bf6bb3e81052.svn-base 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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[统计管理>>现况分析>>成品库入库报表(UIH090050)]]>
  7. </xhtml:title>
  8. <model id="model1">
  9. <instance id="instance1">
  10. <root xmlns="">
  11. <reqData/>
  12. <resData/>
  13. <searchData>
  14. <searchTime/>
  15. <searchGroup/>
  16. <searchShift/>
  17. </searchData>
  18. <datagrid1/>
  19. <sumData>
  20. <SUM_COILRST_CNT/>
  21. <SUM_COILRST_WGT/>
  22. </sumData>
  23. </root>
  24. </instance>
  25. </model>
  26. <script type="javascript" src="../../js/boaMsg.js"/>
  27. <script type="javascript" src="../../js/boaCommon.js"/>
  28. <script type="javascript">
  29. <![CDATA[
  30. function InitParams(node) {
  31. if (typeof node == "undefined" && typeof node != "object") return;
  32. model.removenode("/root/initData/rcvInfo");
  33. model.makeNode("/root/initData/rcvInfo");
  34. var nodeList = node.childNodes;
  35. node = model.instances(0).selectSingleNode("/root/initData/rcvInfo");
  36. for (var i = 0; i < nodeList.length; i++)
  37. node.appendChild(nodeList.item(i));
  38. }
  39. function Init(node)
  40. {
  41. InitParams(node);
  42. }
  43. function find(){
  44. model.removenode("/root/reqData");
  45. model.makeNode("/root/reqData");
  46. model.removenode("/root/datagrid1");
  47. model.makeNode("/root/datagrid1");
  48. if(model.getValue("/root/searchData/searchTime") == ""){
  49. var cur_date;
  50. cur_date = commCurDate();
  51. model.setValue("/root/searchData/searchTime",cur_date);
  52. model.refresh();
  53. }
  54. model.duplicate("/root/reqData","/root/searchData/searchTime");
  55. commSubmit("UIH090050-service", "find", "glueAction.do");
  56. commAppendData("/root/datagrid1/COILIN_VO","/root/resData/COILIN_VO");
  57. model.setValue("/root/sumData/SUM_COILRST_CNT",model.getValue("/root/resData/SumCoil_VO/SumCoil_Row/COIL_CNT"));
  58. model.setValue("/root/sumData/SUM_COILRST_WGT",model.getValue("/root/resData/SumCoil_VO/SumCoil_Row/COIL_WGT"));
  59. model.refresh();
  60. }
  61. ]]>
  62. </script>
  63. </xhtml:head>
  64. <xhtml:body>
  65. <caption id="caption1" class="cell" style="left:0px; top:5px; width:90px; height:20px; font-weight:bold; border-color:#000000; ">日期</caption>
  66. <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; "/>
  67. <caption id="caption10" class="cell" visibility="hidden" style="left:215px; top:5px; width:90px; height:20px; font-weight:bold; border-color:#000000; ">班次</caption>
  68. <select1 id="combo1" ref="/root/searchData/searchShift" visibility="hidden" appearance="minimal" editmode="input" style="left:307px; top:5px; width:108px; height:20px; background-color:#ffff99; border-color:#000000; ">
  69. <choices>
  70. <item>
  71. <label>--全部--</label>
  72. <value/>
  73. </item>
  74. <item>
  75. <label>早</label>
  76. <value>1</value>
  77. </item>
  78. <item>
  79. <label>中</label>
  80. <value>2</value>
  81. </item>
  82. <item>
  83. <label>晚</label>
  84. <value>3</value>
  85. </item>
  86. </choices>
  87. </select1>
  88. <caption id="caption2" class="cell" visibility="hidden" style="left:425px; top:5px; width:90px; height:20px; font-weight:bold; border-color:#000000; ">班组</caption>
  89. <select1 id="combo2" ref="/root/searchData/searchGroup" visibility="hidden" appearance="minimal" editmode="input" style="left:517px; top:5px; width:108px; height:20px; background-color:#ffff99; border-color:#000000; ">
  90. <choices>
  91. <item>
  92. <label>--全部--</label>
  93. <value/>
  94. </item>
  95. <item>
  96. <label>甲</label>
  97. <value>A</value>
  98. </item>
  99. <item>
  100. <label>乙</label>
  101. <value>B</value>
  102. </item>
  103. <item>
  104. <label>丙</label>
  105. <value>C</value>
  106. </item>
  107. <item>
  108. <label>丁</label>
  109. <value>D</value>
  110. </item>
  111. </choices>
  112. </select1>
  113. <datagrid id="datagrid1" nodeset="/root/datagrid1/COILIN_VO/COILIN_Row" caption="序号^轧制单元号^订单号^轧批号^钢卷号^是否取样^钢种^规格(厚×宽)mm^卷重kg^堆置垛位^判定结果^缺陷类型^入库人^入库时间^备注" colsep="^" colwidth="50, 100, 100, 100, 100, 100, 100, 120, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:30px; width:980px; height:555px; ">
  114. <col ref="SEQ"/>
  115. <col ref="ROLL_MANA_NO"/>
  116. <col ref="ORD_NO"/>
  117. <col ref="SPM_NO"/>
  118. <col ref="OLD_SAMPL_NO"/>
  119. <col ref="SMP_DIR_PIC_YN"/>
  120. <col ref="SPEC_STL_GRD"/>
  121. <col ref="T_W"/>
  122. <col ref="ACT_WGT"/>
  123. <col ref="CUR_LOAD_LOC"/>
  124. <col ref="TOT_DEC_GRD"/>
  125. <col ref="CRK_CD"/>
  126. <col ref="REG_ID"/>
  127. <col ref="REG_DTIME"/>
  128. <col ref="REM"/>
  129. </datagrid>
  130. <output id="output5" ref="/root/sumData/SUM_COILRST_WGT" format="#,###" style="left:362px; top:591px; width:90px; height:20px; text-align:right; background-color:#ffffff; border-color:#000000; border-style:solid; "/>
  131. <output id="output6" ref="/root/sumData/SUM_COILRST_CNT" format="#,###" style="left:172px; top:591px; width:90px; height:20px; text-align:right; background-color:#ffffff; border-color:#000000; border-style:solid; "/>
  132. <caption id="caption3" class="cell" style="left:0px; top:590px; width:85px; height:20px; text-align:center; background-color:#ffcc99; border-color:#000000; border-style:solid; ">上表统计:</caption>
  133. <caption id="caption11" class="cell" style="left:90px; top:591px; width:80px; height:20px; text-align:center; border-color:#000000; border-style:solid; ">钢卷总块数</caption>
  134. <caption id="caption12" class="cell" style="left:265px; top:591px; width:95px; height:20px; text-align:center; border-color:#000000; border-style:solid; ">钢卷总重量(吨)</caption>
  135. </xhtml:body>
  136. </xhtml:html>