| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?xml-stylesheet href="../../css/body.css" type="text/css" ?>
- <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">
- <xhtml:head>
- <xhtml:title>
- <![CDATA[热轧作业>>热轧作业实绩>>中废板统计(UIH090120)]]>
- </xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <reqData/>
- <resData/>
- <searchData>
- <ORD_NO/>
- <ORD_SEQ/>
- </searchData>
- <datagrid1/>
- </root>
- </instance>
- </model>
- <script type="javascript" src="../../js/boaMsg.js"/>
- <script type="javascript" src="../../js/boaCommon.js"/>
- <script type="javascript" src="../../js/bCommon.js"/>
- <script type="javascript">
- <![CDATA[
- function InitParams(node) {
- if (typeof node == "undefined" && typeof node != "object") return;
- model.removenode("/root/initData/rcvInfo");
- model.makeNode("/root/initData/rcvInfo");
- var nodeList = node.childNodes;
- node = model.instances(0).selectSingleNode("/root/initData/rcvInfo");
- for (var i = 0; i < nodeList.length; i++)
- node.appendChild(nodeList.item(i));
- }
-
- function Init(node)
- {
- InitParams(node);
- }
-
- function excelExport(){
- return datagrid1;
- }
-
- function saveExcelScript(){
- if(datagrid1.rows<=2){
- window.alert("无数据源,请先查询.", "提示");
- return;
- }
- //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;");
- var jsonMerges="[{'name':'y','x':0,'y':0,'cnt':2},{'name':'y','x':1,'y':0,'cnt':2},{'name':'y','x':2,'y':0,'cnt':2},{'name':'y','x':3,'y':0,'cnt':2},{'name':'y','x':4,'y':0,'cnt':2},{'name':'y','x':5,'y':0,'cnt':2},{'name':'y','x':6,'y':0,'cnt':2},{'name':'y','x':7,'y':0,'cnt':2},{'name':'y','x':8,'y':0,'cnt':2},{'name':'y','x':9,'y':0,'cnt':2},{'name':'y','x':10,'y':0,'cnt':2},{'name':'x','x':11,'y':0,'cnt':11}]";
- var colRef = getVoColrefs("/root/datagrid1/XH_VO");
- var list = parseVoToStr("/root/datagrid1/XH_VO");//数据集
- commonOuterExcel('UIH090120',datagrid1.caption,colRef,list,'UIH090060-service',jsonMerges,'xls');
- }
-
- function find(){
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
-
- model.removenode("/root/datagrid1");
- model.makeNode("/root/datagrid1");
-
- if(model.getValue("/root/searchData/ORD_NO") == ""){
- alert(" 合同号不能为空,请输入相应的合同号! ");
- return;
- }
-
- commSendReq("/root/searchData");
-
- commSubmit("UIH090120-service", "find", "glueAction.do");
-
- commAppendData("/root/datagrid1/XH_VO","/root/resData/XH_VO");
-
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body>
- <caption id="caption5" class="cell" style="left:0px; top:0px; width:70px; height:20px; font-weight:bold; border-color:#000000; ">合同号</caption>
- <input id="input1" ref="/root/searchData/ORD_NO" style="left:70px; top:0px; width:120px; height:20px; background-color:#ffff00; "/>
- <datagrid id="datagrid1" nodeset="/root/datagrid1/XH_VO/XH_Row" caption="合同号^标准号^钢卷号^炉次号^订单厚度^订单宽度^实际钢卷重量^额定终轧温度^卷取温度平均值^钢卷内径^轧钢时间^成分^成分^成分^成分^成分^成分^成分^成分^成分^成分^成分|合同号^标准号^钢卷号^炉次号^订单厚度^订单宽度^实际钢卷重量^额定终轧温度^卷取温度平均值^钢卷内径^轧钢时间^C^Mn^S^P^Si^Cr^Ni^Cu^Alt^N^B" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 110, 110, 100, 78, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:25px; width:980px; height:580px; ">
- <col ref="ORD_NO"/>
- <col ref="SPEC_STL_GRD"/>
- <col ref="OLD_SAMPL_NO"/>
- <col ref="CHARGE_NO"/>
- <col ref="INSTR_COIL_THK"/>
- <col ref="INSTR_COIL_WTH"/>
- <col ref="ACT_WGT"/>
- <col ref="FM_EXT_STRIP_TEMP"/>
- <col ref="DC_TEMP_AVG"/>
- <col ref="COIL_INDIA"/>
- <col ref="MILL_DTIME"/>
- <col ref="C"/>
- <col ref="MN"/>
- <col ref="S"/>
- <col ref="P"/>
- <col ref="SI"/>
- <col ref="CR"/>
- <col ref="NI"/>
- <col ref="CU"/>
- <col ref="ALT"/>
- <col ref="N"/>
- <col ref="B"/>
- </datagrid>
- <button id="button2" visibility="hidden" style="left:725px; top:0px; width:50px; height:20px; border-color:#000000; ">
- <caption>find</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- find();
- ]]>
- </script>
- </button>
- <caption id="caption20" class="cell" visibility="hidden" style="left:925px; top:0px; width:50px; height:20px; vertical-align:middle; border-color:#000000; ">Export</caption>
- <button id="button1" visibility="hidden" style="left:925px; top:0px; width:50px; height:20px; border-color:#000000; ">
- <caption>Export</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- saveExcelScript();
- ]]>
- </script>
- </button>
- <input id="input_outType" visibility="hidden" style="left:260px; top:0px; width:100px; height:20px; "/>
- </xhtml:body>
- </xhtml:html>
|