8d7e255c95343c390914ce3fb6db502cfa9907e6.svn-base 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  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[统计管理>>现况分析>>运输方式报表(UIH090150)]]>
  7. </xhtml:title>
  8. <model id="model1">
  9. <instance id="instance1">
  10. <root xmlns="">
  11. <reqData/>
  12. <resData/>
  13. <searchData>
  14. <ORD_NO/>
  15. <ORD_SEQ/>
  16. <ORD_PLAN_DATA_F/>
  17. <ORD_PLAN_DATA_T/>
  18. <DEL_TO_DATE_F/>
  19. <DEL_TO_DATE_T/>
  20. <BEF_DLIV_TP/>
  21. <DLIV_TP/>
  22. <DTIME_F/>
  23. <DTIME_T/>
  24. </searchData>
  25. <datagrid1/>
  26. </root>
  27. </instance>
  28. </model>
  29. <script type="javascript" src="../../js/boaMsg.js"/>
  30. <script type="javascript" src="../../js/boaCommon.js"/>
  31. <script type="javascript" src="../../js/bCommon.js"/>
  32. <script type="javascript">
  33. <![CDATA[
  34. function InitParams(node) {
  35. if (typeof node == "undefined" && typeof node != "object") return;
  36. model.removenode("/root/initData/rcvInfo");
  37. model.makeNode("/root/initData/rcvInfo");
  38. var nodeList = node.childNodes;
  39. node = model.instances(0).selectSingleNode("/root/initData/rcvInfo");
  40. for (var i = 0; i < nodeList.length; i++)
  41. node.appendChild(nodeList.item(i));
  42. }
  43. function Init(node)
  44. {
  45. InitParams(node);
  46. input1.value = commCurDate();
  47. input2.value = commCurDate();
  48. input5.value = commCurDate();
  49. input6.value = commCurDate();
  50. input7.value = commCurDate();
  51. input8.value = commCurDate();
  52. }
  53. function excelExport(){
  54. return datagrid1;
  55. }
  56. function saveExcelScript(){
  57. if(datagrid1.rows<=1){
  58. window.alert("无数据源,请先查询.", "提示");
  59. return;
  60. }
  61. window.load("../../G/G10/_out.xrw", "modal", "", "left:350; top:240; width:400; height:220; sysmenu:visible; min:visible; max:true; resize:true; caption:visible;");
  62. commonOutExcel('UIH090150',datagrid1.caption,'/root/datagrid1/DLIVInfo_VO','UIG100001-service','',input_outType.value);
  63. }
  64. function find(){
  65. model.removenode("/root/reqData");
  66. model.makeNode("/root/reqData");
  67. model.removenode("/root/datagrid1");
  68. model.makeNode("/root/datagrid1");
  69. commSendReq("/root/searchData");
  70. commSubmit("UIH090150-service", "find", "glueAction.do");
  71. commAppendData("/root/datagrid1/DLIVInfo_VO","/root/resData/DLIVInfo_VO");
  72. model.refresh();
  73. }
  74. ]]>
  75. </script>
  76. </xhtml:head>
  77. <xhtml:body>
  78. <caption id="caption1" class="cell" style="left:0px; top:0px; width:75px; height:20px; font-weight:bold; border-color:#000000; ">合同号</caption>
  79. <line id="line1" visibility="hidden" style="x1:473px; y1:10px; x2:488px; y2:10px; "/>
  80. <input id="input1" ref="/root/searchData/DTIME_F" inputtype="date" format="yyyy-mm-dd" style="left:380px; top:0px; width:93px; height:20px; "/>
  81. <input id="input2" ref="/root/searchData/DTIME_T" inputtype="date" format="yyyy-mm-dd" style="left:488px; top:0px; width:95px; height:20px; "/>
  82. <input id="input3" ref="/root/searchData/ORD_NO" style="left:75px; top:0px; width:90px; height:20px; "/>
  83. <caption id="caption2" class="cell" style="left:165px; top:0px; width:45px; height:20px; font-weight:bold; border-color:#000000; ">订单号</caption>
  84. <input id="input4" ref="/root/searchData/ORD_SEQ" style="left:210px; top:0px; width:45px; height:20px; "/>
  85. <caption id="caption3" class="cell" style="left:305px; top:0px; width:75px; height:20px; font-weight:bold; border-color:#000000; ">更改日期</caption>
  86. <caption id="caption4" class="cell" style="left:605px; top:0px; width:75px; height:20px; font-weight:bold; border-color:#000000; ">预排日期</caption>
  87. <line id="line2" style="x1:773px; y1:10px; x2:788px; y2:10px; "/>
  88. <input id="input5" ref="/root/searchData/ORD_PLAN_DATA_F" inputtype="date" format="yyyy-mm-dd" style="left:680px; top:0px; width:93px; height:20px; "/>
  89. <input id="input6" ref="/root/searchData/ORD_PLAN_DATA_T" inputtype="date" format="yyyy-mm-dd" style="left:788px; top:0px; width:95px; height:20px; "/>
  90. <caption id="caption5" class="cell" style="left:0px; top:25px; width:75px; height:20px; font-weight:bold; border-color:#000000; ">交货日期</caption>
  91. <line id="line3" style="x1:168px; y1:35px; x2:183px; y2:35px; "/>
  92. <input id="input7" ref="/root/searchData/DEL_TO_DATE_F" inputtype="date" format="yyyy-mm-dd" style="left:75px; top:25px; width:93px; height:20px; "/>
  93. <input id="input8" ref="/root/searchData/DEL_TO_DATE_T" inputtype="date" format="yyyy-mm-dd" style="left:183px; top:25px; width:95px; height:20px; "/>
  94. <caption id="caption6" class="cell" style="left:305px; top:25px; width:131px; height:20px; font-weight:bold; border-color:#000000; ">订单上传前运输方式</caption>
  95. <caption id="caption7" class="cell" style="left:605px; top:25px; width:121px; height:20px; font-weight:bold; border-color:#000000; ">更改后运输方式</caption>
  96. <datagrid id="datagrid1" nodeset="/root/datagrid1/DLIVInfo_VO/DLIVInfo_Row" caption="合同号^订单号^销售区域^订单上传前运输方式^更改后运输方式^更改日期^订货区分^厂内钢号^成品钢号^订单厚度^订单宽度^订单长度^订单单重^单重上限^单重下限^订单预排期^交货日期^订单重量^订单未生产量^炼钢^连铸^轧钢^精整^综合判定^发货等待^已发货量" colsep="^" colwidth="100, 100, 100, 132, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:50px; width:980px; height:560px; ">
  97. <col ref="ORD_NO"/>
  98. <col ref="ORD_SEQ"/>
  99. <col ref="XSQY"/>
  100. <col ref="BEF_DLIV_TP"/>
  101. <col ref="DLIV_TP"/>
  102. <col ref="DTIME"/>
  103. <col ref="RCVORD_CLF"/>
  104. <col ref="STL_GRD"/>
  105. <col ref="SPEC_STL_GRD"/>
  106. <col ref="ORD_THK"/>
  107. <col ref="ORD_WTH"/>
  108. <col ref="ORD_LEN"/>
  109. <col ref="ORD_UNIT_WGT"/>
  110. <col ref="ORD_UNIT_WGT_MAX"/>
  111. <col ref="RD_UNIT_WGT_MIN"/>
  112. <col ref="ORD_PLAN_DATA"/>
  113. <col ref="DEL_TO_DATE"/>
  114. <col ref="ORD_WGT"/>
  115. <col ref="ORD_REM_WGT"/>
  116. <col ref="LG"/>
  117. <col ref="LZ"/>
  118. <col ref="ZG"/>
  119. <col ref="JZ"/>
  120. <col ref="ZH"/>
  121. <col ref="DD"/>
  122. <col ref="SHIP_END_WGT"/>
  123. </datagrid>
  124. <select1 id="combo5" ref="/root/searchData/BEF_DLIV_TP" appearance="minimal" style="left:435px; top:25px; width:80px; height:20px; ">
  125. <choices>
  126. <item>
  127. <label>火运</label>
  128. <value>T</value>
  129. </item>
  130. <item>
  131. <label>汽运</label>
  132. <value>C</value>
  133. </item>
  134. <item>
  135. <label/>
  136. <value/>
  137. </item>
  138. </choices>
  139. </select1>
  140. <select1 id="combo1" ref="/root/searchData/DLIV_TP" appearance="minimal" style="left:725px; top:25px; width:80px; height:20px; ">
  141. <choices>
  142. <item>
  143. <label>火运</label>
  144. <value>T</value>
  145. </item>
  146. <item>
  147. <label>汽运</label>
  148. <value>C</value>
  149. </item>
  150. <item>
  151. <label/>
  152. <value/>
  153. </item>
  154. </choices>
  155. </select1>
  156. <input id="input_outType" visibility="hidden" style="left:810px; top:25px; width:100px; height:20px; "/>
  157. <caption id="caption20" class="cell" style="left:920px; top:25px; width:60px; height:20px; vertical-align:middle; border-color:#000000; ">Export</caption>
  158. <button id="button20" style="left:920px; top:25px; width:60px; height:20px; border-color:#000000; ">
  159. <caption>Export</caption>
  160. <script type="javascript" ev:event="DOMActivate">
  161. <![CDATA[
  162. saveExcelScript();
  163. ]]>
  164. </script>
  165. </button>
  166. </xhtml:body>
  167. </xhtml:html>