| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226 |
- <?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[热轧作业>>钢卷库管理>>平整实际查询(UIH051701)]]>
- </xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <formData>
- <FROM_DATE/>
- <TO_DATE/>
- <MILL_DTIMEF_HMS>000000</MILL_DTIMEF_HMS>
- <MILL_DTIMET_HMS>235959</MILL_DTIMET_HMS>
- <MILL_DTIMEF/>
- <MILL_DTIMET/>
- <BC/>
- <BZ/>
- <CNO/>
- </formData>
- <reqData/>
- <resData/>
- <datagrid1/>
- <sumData>
- <SUM_COILRST_CNT/>
- <SUM_COILRST_WGT/>
- </sumData>
- </root>
- </instance>
- </model>
- <script type="javascript" src="../../js/boaCommon.js"/>
- <script type="javascript" src="../../js/mesCommon.js"/>
- <script type="javascript">
- <![CDATA[
- function excelExport(){
- return datagrid1;
- }
-
- function Init(node) {
- InitParams(node);
-
- //这里取出系统时间,把从年头到年尾的情况依次添入
- var sysDtimeF = commCurDate();
- var sysDtimeT = commCurDate();
-
- model.setValue("/root/formData/MILL_DTIMEF",sysDtimeF);
- model.setValue("/root/formData/MILL_DTIMET",sysDtimeT);
- model.refresh();
-
- }
- //调用公共的初始化方法获得登录用户名
- 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 find()
- {
-
- if(commDiffDay(input5.value,input6.value)>180)
- {
- alert(" 查询时间过长,请重新选择六个月内数据查询!! ");
- return;
- }
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
-
- model.duplicate("/root/reqData","/root/formData/MILL_DTIMEF");
- model.duplicate("/root/reqData","/root/formData/MILL_DTIMET");
- model.duplicate("/root/reqData","/root/formData/BC");
- model.duplicate("/root/reqData","/root/formData/BZ");
- model.duplicate("/root/reqData","/root/formData/CNO");
-
- //时间必须输入
- if(model.getValue("/root/formData/MILL_DTIMEF") == "" || model.getValue("/root/formData/MILL_DTIMET") == ""){
- alert(" 轧钢时间必须输入,请输入相应的轧钢时间再点击查询按钮! ");
- return;
- }
-
- // commSendReq("/root/formData");
-
- commSubmit("UIH051700-service","find2","glueAction.do");
-
- commAppendData("/root/datagrid1/COIL_IN_RESULT_VO","/root/resData/COIL_IN_RESULT_VO");
-
- model.setValue("/root/sumData/SUM_COILRST_CNT",model.getValue("/root/resData/SumCoil_VO/SumCoil_Row/COIL_CNT"));
- model.setValue("/root/sumData/SUM_COILRST_WGT",model.getValue("/root/resData/SumCoil_VO/SumCoil_Row/COIL_WGT"));
-
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body>
- <caption id="caption10" class="cell" visibility="visible" style="left:830px; top:0px; width:45px; height:20px; font-weight:bold; background-color:#ffcc00; border-color:#000000; ">重量</caption>
- <caption id="caption11" visibility="hidden" style="left:790px; top:1px; width:30px; height:20px; font-weight:bold; ">卷</caption>
- <caption id="caption12" visibility="hidden" style="left:925px; top:0px; width:20px; height:20px; font-weight:bold; ">吨</caption>
- <caption id="caption13" class="cell" style="left:0px; top:0px; width:85px; height:20px; font-weight:bold; border-color:#000000; ">轧钢时间</caption>
- <line id="line2" style="x1:790px; y1:20px; x2:825px; y2:20px; "/>
- <line id="line3" style="x1:875px; y1:20px; x2:925px; y2:20px; "/>
- <line id="line4" style="x1:190px; y1:10px; x2:195px; y2:10px; "/>
- <output id="output1" ref="/root/sumData/SUM_COILRST_CNT" visibility="visible" style="left:790px; top:0px; width:35px; height:20px; text-align:center; "/>
- <caption id="caption9" class="cell" visibility="visible" style="left:745px; top:0px; width:45px; height:20px; font-weight:bold; background-color:#ffcc00; border-color:#000000; ">卷数</caption>
- <input id="input5" ref="/root/formData/MILL_DTIMEF" class="input" inputtype="date" style="left:88px; top:0px; width:102px; height:20px; "/>
- <output id="output2" ref="/root/sumData/SUM_COILRST_WGT" visibility="visible" style="left:875px; top:0px; width:50px; height:20px; text-align:center; "/>
- <input id="input6" ref="/root/formData/MILL_DTIMET" class="input" inputtype="date" style="left:195px; top:0px; width:110px; height:20px; "/>
- <datagrid id="datagrid1" nodeset="/root/datagrid1/COIL_IN_RESULT_VO/COIL_IN_RESULT_Row" caption="批号^产品类型^钢卷号^冶炼炉号^合同号^订单号^钢种^板坯规格^板坯规格^板坯规格^订单规格^订单规格^成品规格^成品规格^钢卷磅重^平均单重^垛位^平整分卷^平整次数^平整时间^交货期^平整班次^平整班组^轧钢录入人^轧钢录入时间^外观判定结果^综合判定结果^钢卷状态^垛位录入人^垛位输机时间^合同单位|批号^产品类型^钢卷号^冶炼炉号^合同号^订单号^钢种^厚度^宽度^长度^厚度^宽度^厚度^宽度^钢卷磅重^平均单重^垛位^平整分卷^平整次数^平整时间^交货期^平整班次^平整班组^轧钢录入人^轧钢录入时间^外观判定结果^综合判定结果^钢卷状态^垛位录入人^垛位输机时间^合同单位" colsep="^" colwidth="80, 56, 90, 90, 90, 50, 90, 44, 44, 44, 51, 56, 49, 52, 80, 66, 90, 100, 59, 100, 81, 100, 100, 100, 100, 61, 64, 100, 100, 100, 128" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:25px; width:935px; height:570px; ">
- <col editable="false" ref="SPM_NO" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="PRD_TY" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="OLD_SAMPL_NO" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="CHARGE_NO" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="ORD_NO" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="ORD_SEQ" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="SPEC_STL_GRD" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="SLAB_THK" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="SLAB_WTH" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="SLAB_LEN" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="INSTR_COIL_THK" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="INSTR_COIL_WTH" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="COIL_THK" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="COIL_WTH" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="ACT_WGT" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="CAL_WGT" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="CUR_LOAD_LOC" type="input" style="background-color:#ffffff; "/>
- <col disabled="true" editable="false" ref="SPM_YN" type="combo" style="text-align:left; background-color:#ffffff; ">
- <choices>
- <item>
- <label>平整</label>
- <value>1</value>
- </item>
- <item>
- <label>分卷</label>
- <value>2</value>
- </item>
- <item>
- <label>平整分卷</label>
- <value>3</value>
- </item>
- <item>
- <label>重卷</label>
- <value>4</value>
- </item>
- <item>
- <label>开卷检查</label>
- <value>5</value>
- </item>
- </choices>
- </col>
- <col editable="false" ref="SPM_CNT" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="SPM_DTIME" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="DEL_TO_DATE" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="SPM_SHIFT" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="SPM_GROUP" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="WK_EMP_USE_NO" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="WK_EMP_USE_DTIME" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="EXTSHAPE_DEC_GRD" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="TOT_DEC_GRD" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="COIL_STAT" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="YARD_ENTRY_REG" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="YARD_ENTRY_USE_TIME" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="CUST_NM" type="input" style="background-color:#ffffff; "/>
- </datagrid>
- <caption id="caption2" class="cell" style="left:320px; top:0px; width:70px; height:20px; vertical-align:middle; border-color:#000000; ">班组</caption>
- <caption id="caption3" class="cell" style="left:460px; top:0px; width:70px; height:20px; vertical-align:middle; border-color:#000000; ">班次</caption>
- <select1 id="combo2" ref="/root/formData/BC" appearance="minimal" editmode="input" style="left:392px; top:0px; width:58px; height:20px; background-color:#ffff99; ">
- <choices>
- <item>
- <label>甲班</label>
- <value>甲班</value>
- </item>
- <item>
- <label>乙班</label>
- <value>乙班</value>
- </item>
- <item>
- <label>丙班</label>
- <value>丙班</value>
- </item>
- <item>
- <label>丁班</label>
- <value>丁班</value>
- </item>
- <item>
- <label>空</label>
- <value>空</value>
- </item>
- </choices>
- </select1>
- <select1 id="combo3" ref="/root/formData/BZ" appearance="minimal" editmode="input" style="left:532px; top:0px; width:58px; height:20px; background-color:#ffff99; ">
- <choices>
- <item>
- <label>早班</label>
- <value>早班</value>
- </item>
- <item>
- <label>晚班</label>
- <value>晚班</value>
- </item>
- <item>
- <label>中班</label>
- <value>中班</value>
- </item>
- <item>
- <label>空</label>
- <value>空</value>
- </item>
- </choices>
- </select1>
- <button id="button1" visibility="hidden" style="left:880px; top:90px; width:55px; height:20px; ">
- <caption>button1</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- find();
- ]]>
- </script>
- </button>
- <caption id="caption1" class="cell" style="left:600px; top:0px; width:45px; height:20px; vertical-align:middle; border-color:#000000; ">卷号</caption>
- <input id="input1" ref="/root/formData/CNO" style="left:645px; top:0px; width:75px; height:20px; "/>
- </xhtml:body>
- </xhtml:html>
|