UIB030030.xrw 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet type="text/css" href="../../css/body.css" ?>
  3. <?xml-stylesheet type="text/css" href="../css/bCommon.css" ?>
  4. <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">
  5. <xhtml:head>
  6. <xhtml:title>
  7. <![CDATA[统计管理>>现况分析>>热连轧综合统计]]>
  8. </xhtml:title>
  9. <model id="model1">
  10. <instance id="instance1">
  11. <root xmlns="">
  12. <formData>
  13. <STDATE/>
  14. <ENDDATE/>
  15. <SPECSTLGRD/>
  16. </formData>
  17. <reqData/>
  18. <resData/>
  19. <datagrid1/>
  20. <comboData>
  21. <Charge/>
  22. <StlGrd/>
  23. <SPEC_STL_GRD/>
  24. </comboData>
  25. <headLine>
  26. <SlabResult_VO>
  27. <SlabResult_Row>
  28. <ROWNUM>热连轧厂生产检验班报表</ROWNUM>
  29. <SLAB_NO/>
  30. <SLAB_THK/>
  31. <SLAB_WTH/>
  32. <SLAB_LEN/>
  33. <SLAB_WGT/>
  34. <STL_GRD/>
  35. <CRK_CD1/>
  36. <EXTSHAPE_DEC_DTIME/>
  37. <EXTSHAPE_DEC_EMP_ID/>
  38. <GR_SHIFT/>
  39. <GR_GROUP/>
  40. </SlabResult_Row>
  41. <SlabResult_Row>
  42. <ROWNUM>日期</ROWNUM>
  43. <SLAB_NO/>
  44. <SLAB_THK/>
  45. <SLAB_WTH/>
  46. <SLAB_LEN/>
  47. <SLAB_WGT/>
  48. <STL_GRD/>
  49. <CRK_CD1/>
  50. <EXTSHAPE_DEC_DTIME/>
  51. <EXTSHAPE_DEC_EMP_ID/>
  52. <GR_SHIFT/>
  53. <GR_GROUP>班组 &amp; 班次</GR_GROUP>
  54. </SlabResult_Row>
  55. </SlabResult_VO>
  56. </headLine>
  57. <subTitle>
  58. <SlabResult_VO>
  59. <SlabResult_Row>
  60. <ROWNUM>序号</ROWNUM>
  61. <SLAB_NO>板坯号</SLAB_NO>
  62. <SLAB_THK>厚度</SLAB_THK>
  63. <SLAB_WTH>宽度</SLAB_WTH>
  64. <SLAB_LEN>长度</SLAB_LEN>
  65. <SLAB_WGT>重量(吨)</SLAB_WGT>
  66. <STL_GRD>钢号</STL_GRD>
  67. <CRK_CD1>不合格类别</CRK_CD1>
  68. <EXTSHAPE_DEC_DTIME>板坯判定日</EXTSHAPE_DEC_DTIME>
  69. <EXTSHAPE_DEC_EMP_ID>板坯判定人</EXTSHAPE_DEC_EMP_ID>
  70. <GR_SHIFT>检验班次</GR_SHIFT>
  71. <GR_GROUP>检验班组</GR_GROUP>
  72. </SlabResult_Row>
  73. </SlabResult_VO>
  74. </subTitle>
  75. <CNT>
  76. <YL/>
  77. <JY/>
  78. <FY/>
  79. <HG/>
  80. <PZ/>
  81. <FJ/>
  82. </CNT>
  83. <initSpecData>
  84. <SpecResult_VO>
  85. <SpecResult_Row>
  86. <LABEL>------全部------</LABEL>
  87. <VALUE/>
  88. </SpecResult_Row>
  89. </SpecResult_VO>
  90. </initSpecData>
  91. </root>
  92. </instance>
  93. <script type="javascript" ev:event="xforms-ready">
  94. <![CDATA[
  95. if(window.parent==null) Init();
  96. ]]>
  97. </script>
  98. </model>
  99. <script type="javascript" src="../../js/boaCommon.js"/>
  100. <script type="javascript" src="../../js/b01.js"/>
  101. <script type="javascript">
  102. <![CDATA[
  103. function Init(node)
  104. {
  105. input1.value = commCurDate();
  106. input2.value = commCurDate();
  107. /*model.removenode("/root/reqData");
  108. model.makeNode("/root/reqData");
  109. commSubmit("UIB020310-service", "findC", "glueAction.do");
  110. model.copyNode("/root/comboData/Charge","/root/resData/ChargeResult_VO");
  111. model.copyNode("/root/comboData/StlGrd","/root/resData/StlGrdResult_VO");
  112. model.makeValue("/root/formData/StDate",model.getValue("/root/resData/DateResult_VO/DateResult_Row/F_DATE"));
  113. model.makeValue("/root/formData/EndDate",model.getValue("/root/resData/DateResult_VO/DateResult_Row/T_DATE"));
  114. model.refresh();*/
  115. InitParams(node);
  116. //对下拉框中的信息进行初始化
  117. commSubmit("UIB030030-service", "success", "glueAction.do");
  118. model.duplicate("/root/initSpecData" , "/root/resData/SpecResult_VO");
  119. model.copyNode("/root/comboData/SPEC_STL_GRD" , "/root/resData/SPEC_STL_GRD_RESULT_VO");
  120. model.refresh();
  121. }
  122. function find()
  123. {
  124. model.removenode("/root/reqData");
  125. model.makeNode("/root/reqData");
  126. commSendReq("/root/formData");
  127. commSubmit("UIB030030-service", "find", "glueAction.do");
  128. model.copyNode("/root/datagrid1" , "/root/resData/ListResult_0_VO");
  129. model.refresh();
  130. add();
  131. }
  132. function add()
  133. {
  134. var YL = 0;
  135. var JY = 0;
  136. var FY = 0;
  137. var HG = 0;
  138. var PZ = 0;
  139. var FJ = 0;
  140. for(var i = 2;i<datagrid1.rows;i++)
  141. {
  142. YL = YL + parseInt(datagrid1.valueMatrix(i,datagrid1.colRef("SLAB_WGT"))== null?0:datagrid1.valueMatrix(i,datagrid1.colRef("SLAB_WGT"))*1000);
  143. JY = JY + parseInt(datagrid1.valueMatrix(i,datagrid1.colRef("JYL"))== null?0:datagrid1.valueMatrix(i,datagrid1.colRef("JYL"))*1000);
  144. FY = FY + parseInt(datagrid1.valueMatrix(i,datagrid1.colRef("FYL"))== null?0:datagrid1.valueMatrix(i,datagrid1.colRef("FYL"))*1000);
  145. HG = HG + parseInt(datagrid1.valueMatrix(i,datagrid1.colRef("HGL"))== null?0:datagrid1.valueMatrix(i,datagrid1.colRef("HGL"))*1000);
  146. PZ = PZ + parseInt(datagrid1.valueMatrix(i,datagrid1.colRef("PZL"))== null?0:datagrid1.valueMatrix(i,datagrid1.colRef("PZL"))*1000);
  147. FJ = FJ + parseInt(datagrid1.valueMatrix(i,datagrid1.colRef("FJH"))== null?0:datagrid1.valueMatrix(i,datagrid1.colRef("FJH"))*1000);
  148. }
  149. //alert((YL/1000).toFixed(3));
  150. //alert((JY/1000).toFixed(3));
  151. //alert((FY/1000).toFixed(3));
  152. //alert((HG/1000).toFixed(3));
  153. //alert((PZ/1000).toFixed(3));
  154. model.makeValue("/root/CNT/YL",(YL/1000).toFixed(3));
  155. model.makeValue("/root/CNT/JY",(JY/1000).toFixed(3));
  156. model.makeValue("/root/CNT/FY",(FY/1000).toFixed(3));
  157. model.makeValue("/root/CNT/HG",(HG/1000).toFixed(3));
  158. model.makeValue("/root/CNT/PZ",(PZ/1000).toFixed(3));
  159. model.makeValue("/root/CNT/FJ",(FJ/1000).toFixed(3));
  160. model.refresh();
  161. }
  162. function excelExport()
  163. {
  164. saveExcelScript(datagrid1, "Sheet1");
  165. }
  166. function saveExcelScript(sDGridName, sExcelSheetName, saveType) {
  167. var sExcelName = window.fileDialog( "save", "", false, "SaveFileName", "xls", "Excel Files(*.xls)|*.xls" );
  168. if ( sExcelName == "" ) {
  169. return;
  170. }
  171. // var sCSVName = "C:\\TFSmartUpdater\\" + sExcelName.lastIndexOf(".") +".csv";
  172. var sCSVName = sExcelName +".csv";
  173. // alert("sExcelName = ["+ sExcelName +"]\nsCSVName = ["+ sCSVName + "]");
  174. eval(sDGridName).saveText(sCSVName, "\n", ",", '\:', true);
  175. ObjTFExcel.launchNewInstance(0); //Execute EXCEL
  176. ObjTFExcel.createWorkbook(); //Create new Workbook(for example:Sheet1,Sheet2,Sheet3) -- createWorkBook(Excel-TemplateFile)
  177. ObjTFExcel.loadCSV(sCSVName); //Loading Contents, from CSV to Excel
  178. //Setting up EXCEL Layout.
  179. var nRows = sDGridName.rows - 1;
  180. var nCols = sDGridName.cols;
  181. //All of the range
  182. ObjTFExcel.fontcolor( 01, 01, nRows, nCols ) = "#000000" ;
  183. ObjTFExcel.font ( 01, 01, nRows, nCols ) = "SimSun" ;
  184. //Header
  185. //Line 1 : Sheet Title
  186. ObjTFExcel.rowheight( 01 ) = 30 ;
  187. ObjTFExcel.bold ( 01, 01, 01, nCols ) = true ;
  188. ObjTFExcel.fontsize ( 01, 01, 01, nCols ) = 14 ;
  189. ObjTFExcel.underline( 01, 01, 01, nCols ) = 3 ;
  190. ObjTFExcel.halign ( 01, 01, 01, nCols ) ="center" ;
  191. ObjTFExcel.valign ( 01, 01, 01, nCols ) ="top" ;
  192. ObjTFExcel.mergeCell( 01, 01, 01, nCols ) ;
  193. // ObjTFExcel.colwidth ( 01 ) = 100 ;
  194. //Line 2 : Date
  195. ObjTFExcel.rowheight( 02 ) = 18 ;
  196. ObjTFExcel.bold ( 02, 01, 02, 01 ) = true ;
  197. ObjTFExcel.fontsize ( 02, 01, 02, 01 ) = 9 ;
  198. ObjTFExcel.underline( 02, 01, 02, 01 ) = 0 ;
  199. ObjTFExcel.halign ( 02, 01, 02, 01 ) ="left" ;
  200. ObjTFExcel.valign ( 02, 01, 02, 01 ) ="middle" ;
  201. ObjTFExcel.mergeCell( 02, 01, 02, 03 ) ;
  202. // ObjTFExcel.colwidth ( 01 ) = 100 ;
  203. //Line 2 : Work-Group & Work-Part
  204. ObjTFExcel.rowHeight( 02 ) = 18 ;
  205. ObjTFExcel.bold ( 02, nCols - 2, 02, nCols ) = true ;
  206. ObjTFExcel.fontsize ( 02, nCols - 2, 02, nCols ) = 9 ;
  207. ObjTFExcel.underline( 02, nCols - 2, 02, nCols ) = 0 ;
  208. ObjTFExcel.halign ( 02, nCols - 2, 02, nCols ) ="right" ;
  209. ObjTFExcel.valign ( 02, nCols - 2, 02, nCols ) ="middle" ;
  210. ObjTFExcel.mergeCell( 02, nCols - 2, 02, nCols ) ;
  211. // ObjTFExcel.colwidth ( 01 ) = 100 ;
  212. //Query-Results Data
  213. var iRow = 3; // Header Line + 1;
  214. // ObjTFExcel.cellBgColor (iRow, 01, iRow , nCols ) = "#EEEEEE"; // Undefined...
  215. ObjTFExcel.setBorderColor(iRow, 01, nRows, nCols, "#000000");
  216. for(var i = 3; i <= nRows; i++ ) {
  217. ObjTFExcel.rowHeight( i ) = 18;
  218. }
  219. ObjTFExcel.bold (iRow, 01, nRows, nCols ) = false ;
  220. ObjTFExcel.fontsize (iRow, 01, nRows, nCols ) = 9 ;
  221. ObjTFExcel.underline(iRow, 01, nRows, nCols ) = 0 ;
  222. ObjTFExcel.valign (iRow, 01, nRows, nCols ) ="middle" ;
  223. ObjTFExcel.halign (iRow, 01, nRows, 01 ) ="center" ; //序号
  224. ObjTFExcel.colwidth ( 01 ) = 8 ;
  225. ObjTFExcel.halign (iRow, 02, nRows, 02 ) ="left" ; //板坯号
  226. ObjTFExcel.colwidth ( 02 ) = 20 ;
  227. ObjTFExcel.halign (iRow, 03, nRows, 03 ) ="left" ; //厚度
  228. ObjTFExcel.colwidth ( 03 ) = 20 ;
  229. ObjTFExcel.halign (iRow, 04, nRows, 04 ) ="left" ; //宽度
  230. ObjTFExcel.colwidth ( 04 ) = 20 ;
  231. ObjTFExcel.halign (iRow, 05, nRows, 05 ) ="left" ; //长度
  232. ObjTFExcel.colwidth ( 05 ) = 20 ;
  233. ObjTFExcel.halign (iRow, 06, nRows, 06 ) ="left" ; //重量(吨)
  234. ObjTFExcel.colwidth ( 06 ) = 20 ;
  235. ObjTFExcel.halign (iRow, 07, nRows, 07 ) ="left" ; //钢号
  236. ObjTFExcel.colwidth ( 07 ) = 20 ;
  237. ObjTFExcel.halign (iRow, 08, nRows, 08 ) ="center" ; //不合格类别
  238. ObjTFExcel.colwidth ( 08 ) = 12 ;
  239. ObjTFExcel.halign (iRow, 09, nRows, 09 ) ="right" ; //板坯判定日
  240. ObjTFExcel.colwidth ( 09 ) = 20 ;
  241. ObjTFExcel.setFormat(iRow, 09, nRows, 09, "yyyy\"-\"mm\"-\"dd\"\" hh\":\"mm\":\"ss\"\";@");
  242. ObjTFExcel.halign (iRow, 10, nRows, 10 ) ="center" ; //板坯判定人
  243. ObjTFExcel.colwidth ( 10 ) = 10 ;
  244. ObjTFExcel.halign (iRow, 11, nRows, 11 ) ="left" ; //检验班次
  245. ObjTFExcel.colwidth ( 11 ) = 8 ;
  246. ObjTFExcel.halign (iRow, 12, nRows, 12 ) ="right" ; //检验班组
  247. ObjTFExcel.colwidth ( 12 ) = 8 ;
  248. /*ObjTFExcel.halign (iRow, 13, nRows, 13 ) ="left" ; //最终修改人
  249. ObjTFExcel.colwidth ( 13 ) = 12 ;
  250. ObjTFExcel.halign (iRow, 14, nRows, 14 ) ="center" ; //最终修改时间
  251. ObjTFExcel.colwidth ( 14 ) = 20 ;
  252. ObjTFExcel.setFormat(iRow, 14, nRows, 14, "yyyy\"-\"mm\"-\"dd\"\" hh\":\"mm\":\"ss\"\";@");
  253. */
  254. ObjTFExcel.sheetName(1) = sExcelSheetName;
  255. ObjTFExcel.save(sExcelName); //Saving EXCEL
  256. ObjTFExcel.close(); //Closing EXCEL. (You must be closed EXCEL !!!)
  257. window.exec("EXCEL.EXE", sExcelName); //Openning EXCEL
  258. }
  259. ]]>
  260. </script>
  261. </xhtml:head>
  262. <xhtml:body pagewidth="980" pageheight="620">
  263. <caption id="caption4" class="cell" style="left:0px; top:5px; width:80px; height:20px; border-color:#000000; border-style:solid; ">日期</caption>
  264. <line id="line1" style="x1:0px; y1:0px; x2:980px; y2:0px; "/>
  265. <line id="line3" style="x1:0px; y1:30px; x2:980px; y2:30px; "/>
  266. <datagrid id="datagrid1" nodeset="/root/datagrid1/ListResult_0_Row" allowuserresize="true" caption="日期^产地^坯料^计划号^轧批号^卷号^冶炼炉号^计划牌号^判定牌号^尺寸^尺寸^尺寸^原料^检验量^复样量^成材率^合格量^品种量^非计划^工艺次^工艺次^工艺次^工艺次^工艺次^工艺次^工艺次^工艺次^工艺次^工艺次^工艺次^工艺次^工艺次^工艺次^工艺次^工艺次^工艺次^工艺次^工艺次^工艺次^工艺次^工艺次^钢质次^钢质次^钢质次^钢质次^钢质次^钢质次^钢质次^钢质改判^钢质改判^钢质改判^钢质改判^钢质改判^钢质改判^钢质改判^钢质改判^钢质改判^工艺改判^工艺改判^工艺改判^工艺改判^工艺改判^工艺改判^工艺改判^工艺改判^工艺改判^工艺改判^工艺改判^工艺改判^工艺改判^工艺改判^工艺改判^工艺改判^工艺改判^工艺改判^工艺改判^工艺改判^工艺改判^工艺改判|日期^产地^坯料^计划号^轧批号^卷号^冶炼炉号^计划牌号^判定牌号^厚^宽^长^原料^检验量^复样量^成材率^合格量^品种量^非计划^凸度^浪形^辊印^压痕^划伤^凸块^异物压入^光亮带^重量不良^厚度不良^宽度不良^边损^楔形^麻点^卷形不良^折叠^塔形^不平度^性能次^废品^其他^累计^夹杂^裂纹^凹坑^分层^气泡^其它^累计^气泡^分层^夹杂^边裂^凹坑^横裂^纵裂^其它^累计^凸度^浪形^辊印^压痕^划伤^凸块^异物压入^光亮带^重量不良^厚度不良^宽度不良^边损^楔形^麻点^卷形不良^折叠^塔形^不平度^降级^废品^其他^累计" colsep="^" colwidth="70, 70, 50, 50, 80, 50, 80, 64, 64, 50, 50, 50, 50, 50, 62, 56, 50, 50, 50, 51, 50, 50, 50, 50, 59, 63, 61, 69, 78, 84, 51, 60, 50, 67, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 71, 66, 76, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50" defaultrows="30" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:60px; width:980px; height:560px; border-color:#000000; border-style:solid; ">
  267. <col ref="COIL_END_DTIME"/>
  268. <col ref="CD"/>
  269. <col ref="SLAB_THK"/>
  270. <col ref="ROLL_MANA_NO" visibility="hidden"/>
  271. <col ref="PIHAO"/>
  272. <col ref="JUANHAO"/>
  273. <col ref="CHARGENO"/>
  274. <col ref="SPEC_STL_GRD"/>
  275. <col ref="SPEC_STL_GRD1"/>
  276. <col ref="COIL_THK"/>
  277. <col ref="COIL_WTH"/>
  278. <col ref="COIL_LEN"/>
  279. <col ref="SLAB_WGT"/>
  280. <col ref="JYL" visibility="hidden"/>
  281. <col ref="FYL"/>
  282. <col ref="CCL" visibility="hidden"/>
  283. <col ref="HGL"/>
  284. <col ref="PZL"/>
  285. <col ref="FJH"/>
  286. <col ref="GYC_TUDU"/>
  287. <col ref="GYC_LANGXING"/>
  288. <col ref="GYC_GUNYIN"/>
  289. <col ref="GYC_YAHENG"/>
  290. <col ref="GYC_HUASHANG"/>
  291. <col ref="GYC_TUKUAI"/>
  292. <col ref="GYC_YIWU"/>
  293. <col ref="GYC_GUANGLIANG"/>
  294. <col ref="GYC_ZHONGLIANG"/>
  295. <col ref="GYC_HOUDU"/>
  296. <col ref="GYC_KUANDU"/>
  297. <col ref="GYC_BIANSUN"/>
  298. <col ref="GYC_XIEXING"/>
  299. <col ref="GYC_MADIAN"/>
  300. <col ref="GYC_JUANXING"/>
  301. <col ref="GYC_ZHEDIE"/>
  302. <col ref="GYC_TAXING"/>
  303. <col ref="GYC_BUPING"/>
  304. <col ref="GYC_XINGNENG"/>
  305. <col ref="GYC_FEIPIN"/>
  306. <col ref="GYC_QITA"/>
  307. <col ref="GYC_LEIJI"/>
  308. <col ref="GZC_JIAZA"/>
  309. <col ref="GZC_LIEHEN"/>
  310. <col ref="GZC_AOKENG"/>
  311. <col ref="GZC_FENCENG"/>
  312. <col ref="GZC_QIPAO"/>
  313. <col ref="GZC_QITA"/>
  314. <col ref="GZC_LEIJI"/>
  315. <col ref="GZGP_QIPAO"/>
  316. <col ref="GZGP_FENCENG"/>
  317. <col ref="GZGP_JIAZA"/>
  318. <col ref="GZGP_BIANLIE"/>
  319. <col ref="GZGP_AOKENG"/>
  320. <col ref="GZGP_HENGLIE"/>
  321. <col ref="GZGP_ZONGLIE"/>
  322. <col ref="GZGP_QITA"/>
  323. <col ref="GZGP_LEIJI"/>
  324. <col ref="GYGP_TUDU"/>
  325. <col ref="GYGP_LANGXING"/>
  326. <col ref="GYGP_GUNYIN"/>
  327. <col ref="GYGP_YAHENG"/>
  328. <col ref="GYGP_HUASHANG"/>
  329. <col ref="GYGP_TUKUAI"/>
  330. <col ref="GYGP_YIWU"/>
  331. <col ref="GYGP_GUANGLIANG"/>
  332. <col ref="GYGP_ZHONGLIANG"/>
  333. <col ref="GYGP_HOUDU"/>
  334. <col ref="GYGP_HOUDU"/>
  335. <col ref="GYGP_BIANSUN"/>
  336. <col ref="GYGP_XIEXING"/>
  337. <col ref="GYGP_MADIAN"/>
  338. <col ref="GYGP_JUANXING"/>
  339. <col ref="GYGP_ZHEDIE"/>
  340. <col ref="GYGP_TAXING"/>
  341. <col ref="GYGP_BUPING"/>
  342. <col ref="GYGP_XINGNENG"/>
  343. <col ref="GYGP_FEIPIN"/>
  344. <col ref="GYGP_QITA"/>
  345. <col ref="GYGP_LEIJI"/>
  346. </datagrid>
  347. <object id="ObjTFExcel" clsid="{fe8d1001-6a9d-424d-ae2a-301493bb12da}" style="left:820px; top:5px; width:1px; height:1px; "/>
  348. <input id="input1" ref="/root/formData/STDATE" inputtype="date" format="yyyy-mm-dd" style="left:90px; top:5px; width:100px; height:20px; "/>
  349. <caption id="caption2" style="left:250px; top:35px; width:70px; height:20px; text-align:center; background-color:#00ff00; ">原料:</caption>
  350. <output id="output1" ref="/root/CNT/YL" style="left:320px; top:35px; width:75px; height:20px; text-align:center; "/>
  351. <caption id="caption3" style="left:395px; top:35px; width:70px; height:20px; text-align:center; background-color:#00ff00; ">非计划:</caption>
  352. <output id="output2" ref="/root/CNT/FJ" style="left:465px; top:35px; width:75px; height:20px; text-align:center; "/>
  353. <caption id="caption5" style="left:540px; top:35px; width:70px; height:20px; text-align:center; background-color:#00ff00; ">复样量:</caption>
  354. <output id="output3" ref="/root/CNT/FY" style="left:610px; top:35px; width:75px; height:20px; text-align:center; "/>
  355. <caption id="caption6" style="left:685px; top:35px; width:70px; height:20px; text-align:center; background-color:#00ff00; ">合格量:</caption>
  356. <output id="output4" ref="/root/CNT/HG" style="left:755px; top:35px; width:75px; height:20px; text-align:center; "/>
  357. <output id="output5" ref="/root/CNT/PZ" style="left:900px; top:35px; width:75px; height:20px; text-align:center; "/>
  358. <caption id="caption7" style="left:830px; top:35px; width:70px; height:20px; text-align:center; background-color:#00ff00; ">品种量:</caption>
  359. <caption id="caption10" style="left:190px; top:10px; width:20px; height:20px; ">~</caption>
  360. <input id="input2" ref="/root/formData/ENDDATE" inputtype="date" format="yyyy-mm-dd" style="left:200px; top:5px; width:100px; height:20px; "/>
  361. <button id="button2" style="left:875px; top:5px; width:100px; height:20px; background-color:#ccffcc; border-style:solid; ">
  362. <caption>导出</caption>
  363. <script type="javascript" ev:event="DOMActivate">
  364. <![CDATA[
  365. var x1 = window.fileDialog("save", ",", false, "", "xls", "Excel File(*.xls)|*.xls");
  366. datagrid1.saveExcel(x1, "sheetname:Transaction;colhiddenextend:true;exportfalserows:0;");
  367. window.alert("导出成功" + x1 + " !!!")
  368. ]]>
  369. </script>
  370. </button>
  371. <button id="button1" visibility="hidden" style="left:735px; top:5px; width:100px; height:20px; ">
  372. <caption>find</caption>
  373. <script type="javascript" ev:event="onclick">
  374. <![CDATA[
  375. find();
  376. ]]>
  377. </script>
  378. </button>
  379. <caption id="caption1" class="cell" style="left:345px; top:5px; width:100px; height:20px; vertical-align:middle; border-style:solid; ">牌号</caption>
  380. <select1 id="combo2" ref="/root/formData/SPECSTLGRD" appearance="minimal" editmode="inputsearch" style="left:442px; top:5px; width:143px; height:20px; border-style:solid; ">
  381. <choices>
  382. <itemset nodeset="/root/comboData/SPEC_STL_GRD/SPEC_STL_GRD_RESULT_Row">
  383. <label ref="LABEL"/>
  384. <value ref="VALUE"/>
  385. </itemset>
  386. </choices>
  387. </select1>
  388. </xhtml:body>
  389. </xhtml:html>