| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?xml-stylesheet type="text/css" href="../../css/body.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[炼钢作业 >> 炼钢作业实绩 >> 连铸日浇钢量查询(UIG020700)]]>
- </xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <searchData>
- <fromDate/>
- <toDate/>
- <ccmNo/>
- <shift/>
- <group/>
- <lzh/>
- </searchData>
- <gridData>
- <grid1/>
- </gridData>
- <initData>
- <LG_CD>G02003,Z05001,Z05002</LG_CD>
- </initData>
- <codeData/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- initPage();
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../js/G02.js"/>
- <script type="javascript" src="../../js/boaCommon.js"/>
- <script type="javascript">
- <![CDATA[
- function initPage(){
- model.setValue("/root/searchData/fromDate",CurentDate());
- model.setValue("/root/searchData/toDate",CurentDate());
- //model.setValue("/root/searchData/lzh",input3.value);
- commSendReq("/root/initData");
- commSubmit("UIGCOMMCODE-service","find","glueAction.do");
- model.copyNode("/root/codeData","/root/resData");
- model.refresh();
- }
-
- function totalRow(){
- var colValue = new Array();
- var cols = datagrid1.cols;
- for(var i = 0 ; i < cols ; i++){ colValue[i] = 0;}
- for(var i = datagrid1.fixedRows ;i < datagrid1.rows; i++){
- for(var j = 0 ; j < datagrid1.cols ; j++){
- colValue[j] = colValue[j] + parseInt(datagrid1.valueMatrix(i,j));
- }
- }
- datagrid1.addRow(true,true);
- datagrid1.rebuildStyle();
- datagrid1.rowstyle(datagrid1.rows - 1, "data", "background-color") = "#FFF000";
- for(var i = 0 ; i < cols ; i++){
- if(colValue[i] > 0)
- datagrid1.valueMatrix(datagrid1.rows - 1,i) = colValue[i];
- }
- }
- function find()
- {
- if(commDiffDay(input1.value,input2.value)>30)
- {
- window.alert("查询时间不能超过30天");
- return;
- }
- commSendReq("/root/searchData");
- commSubmit("UIG020700-service","find","glueAction.do");
- commAppendData("/root/gridData/grid1/rst1_VO","/root/resData/rst1_VO");
- model.refresh();
- totalRow();
- }
-
- function excelExport(){
- return datagrid1;
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body>
- <datagrid id="datagrid1" nodeset="/root/gridData/grid1/rst1_VO/rst1_Row" caption="班次^班组^钢种^炉号^铸机号^大包开浇前重量^大包浇完重量^大包开浇时间^大包关闭时间^钢水浇铸量^备注|班次^班组^钢种^炉号^铸机号^大包开浇前重量^大包浇完重量^大包开浇时间^大包关闭时间^钢水浇铸量^备注" colsep="^" colwidth="100, 100, 100, 100, 50, 55, 55, 100, 100, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:25px; width:980px; height:575px; ">
- <col ref="WKSHIFT"/>
- <col ref="WKGROUP"/>
- <col ref="STL_GRD"/>
- <col ref="CHARGE_NO"/>
- <col ref="CC_DEVNO"/>
- <col ref="STLMELT_WGT" format="#,###"/>
- <col ref="REM_WGT_IN_TD" format="#,###"/>
- <col ref="LD_OPEN_DTIME" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="LD_CLOSE_DTIME" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="CC_END_STLMELT_USE_WGT" format="#,###"/>
- <col ref="REMARK"/>
- </datagrid>
- <caption id="caption11" class="cell" style="left:0px; top:0px; width:80px; height:20px; font-weight:bold; border-color:#000000; ">生 产 时 间</caption>
- <line id="line1" style="x1:175px; y1:10px; x2:180px; y2:10px; "/>
- <input id="input1" ref="/root/searchData/fromDate" class="input" inputtype="date" style="left:80px; top:0px; width:95px; height:20px; "/>
- <input id="input2" ref="/root/searchData/toDate" class="input" inputtype="date" style="left:180px; top:0px; width:95px; height:20px; "/>
- <caption id="caption101" class="cell" style="left:445px; top:0px; width:80px; height:20px; ">铸机号</caption>
- <select1 id="combo8" ref="/root/searchData/ccmNo" appearance="minimal" style="left:525px; top:0px; width:95px; height:20px; ">
- <choices>
- <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[(SM_CD = 'J1' or SM_CD = 'J2' or SM_CD = 'J3' or SM_CD = 'J4' ) and LG_CD = 'G02003' or LG_CD ='A']">
- <label ref="SM_CFNM"/>
- <value ref="SM_CD"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo1" ref="/root/searchData/shift" appearance="minimal" style="left:705px; top:0px; width:95px; height:20px; ">
- <choices>
- <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[ LG_CD = 'Z05001' or LG_CD ='A']">
- <label ref="SM_CFNM"/>
- <value ref="SM_CD"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption1" class="cell" style="left:625px; top:0px; width:80px; height:20px; ">班次</caption>
- <caption id="caption2" class="cell" style="left:805px; top:0px; width:80px; height:20px; ">班组</caption>
- <select1 id="combo2" ref="/root/searchData/group" appearance="minimal" style="left:885px; top:0px; width:95px; height:20px; ">
- <choices>
- <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[ LG_CD = 'Z05002' or LG_CD ='A']">
- <label ref="SM_CFNM"/>
- <value ref="SM_CD"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption3" class="cell" style="left:310px; top:0px; width:80px; height:20px; ">炉座号</caption>
- <input id="input3" ref="/root/searchData/lzh" style="left:390px; top:0px; width:35px; height:20px; "/>
- </xhtml:body>
- </xhtml:html>
|