| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- <?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[热轧作业>>钢卷库管理>>成品入/出库各钢种查询(UIH052300)]]>
- </xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <reqData/>
- <resData/>
- <searchData>
- <searchTimeF/>
- <searchTimeT/>
- <searchF>000000</searchF>
- <searchT>235959</searchT>
- <ST/>
- <SF/>
- <COIL_STAT>2</COIL_STAT>
- </searchData>
- <datagrid1/>
- <sumData>
- <SUM_COILRST_CNT/>
- <SUM_COILRST_WGT/>
- </sumData>
- </root>
- </instance>
- </model>
- <script type="javascript" src="../../js/boaMsg.js"/>
- <script type="javascript" src="../../js/boaCommon.js"/>
- <script type="javascript">
- <![CDATA[
- function Init(node) {
- InitParams(node);
- input1.value = commCurDate();
- input2.value = commCurDate();
-
- }
- //调用公共的初始化方法获得登录用户名
- 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 excelExport(){
- return datagrid1;
- }
-
- function find(){
-
- if(commDiffDay(input1.value,input2.value)>90)
- {
- alert(" 查询时间过长,请重新选择三个月内数据查询!! ");
- return;
- }
- if(model.getValue("/root/searchData/COIL_STAT") == "2"){
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
-
- var searchTimeF = model.getValue("/root/searchData/searchTimeF");
- var searchTimeT = model.getValue("/root/searchData/searchTimeT");
- var searchF = model.getValue("/root/searchData/searchF");
- var searchT = model.getValue("/root/searchData/searchT");
- var SF = null;
- var ST = null;
- SF = searchTimeF+searchF;
- ST = searchTimeT+searchT;
-
- model.setValue("/root/searchData/ST",ST);
- model.setValue("/root/searchData/SF",SF);
- model.refresh();
-
- commSendReq("/root/searchData");
- commSubmit("UIH052300-service", "findIn", "glueAction.do");
-
- commAppendData("/root/datagrid1/coilResult_VO","/root/resData/coilResult_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();
- //计算总数目和总重量
-
- }else if(model.getValue("/root/searchData/COIL_STAT") == "3"){
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
-
- commSendReq("/root/searchData");
- commSubmit("UIH052300-service", "findOut", "glueAction.do");
-
- commAppendData("/root/datagrid1/coilResult_VO","/root/resData/coilResult_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>
- <select1 id="combo1" ref="/root/searchData/COIL_STAT" appearance="minimal" style="left:365px; top:0px; width:100px; height:20px; ">
- <choices>
- <item>
- <label>入库时间查询</label>
- <value>2</value>
- </item>
- <item>
- <label>出库时间查询</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <caption id="caption2" class="cell" style="left:0px; top:0px; width:50px; height:20px; font-weight:bold; border-color:#000000; ">时 间</caption>
- <datagrid id="datagrid1" nodeset="/root/datagrid1/coilResult_VO/coilResult_Row" caption="钢种^钢卷厚度^钢卷宽度^数目^重量(吨)" colsep="^" colwidth="196, 196, 195, 195, 195" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:25px; width:980px; height:585px; ">
- <col ref="SPEC_STL_GRD"/>
- <col ref="INSTR_COIL_THK"/>
- <col ref="INSTR_COIL_WTH"/>
- <col ref="COIL_SUM"/>
- <col ref="COIL_WGT"/>
- </datagrid>
- <output id="output5" ref="/root/sumData/SUM_COILRST_WGT" style="left:887px; top:5px; width:90px; height:20px; text-align:right; background-color:#ffffff; border-color:#000000; border-style:solid; "/>
- <output id="output6" ref="/root/sumData/SUM_COILRST_CNT" style="left:697px; top:5px; width:90px; height:20px; text-align:right; background-color:#ffffff; border-color:#000000; border-style:solid; "/>
- <caption id="caption11" class="cell" style="left:615px; top:5px; width:80px; height:20px; text-align:center; border-color:#000000; border-style:solid; ">钢卷总块数</caption>
- <caption id="caption12" class="cell" style="left:790px; top:5px; width:95px; height:20px; text-align:center; border-color:#000000; border-style:solid; ">钢卷总重量(吨)</caption>
- <input id="input1" ref="/root/searchData/searchTimeF" inputtype="date" format="yyyy-mm-dd" style="left:50px; top:0px; width:90px; height:20px; background-color:#ffff99; "/>
- <input id="input2" ref="/root/searchData/searchTimeT" inputtype="date" format="yyyy-mm-dd" style="left:210px; top:0px; width:88px; height:20px; background-color:#ffff99; "/>
- <input id="input3" ref="/root/searchData/searchF" format="hh:nn:ss" style="left:140px; top:0px; width:65px; height:20px; text-align:center; background-color:#ffff99; "/>
- <input id="input4" ref="/root/searchData/searchT" format="hh:nn:ss" style="left:298px; top:0px; width:65px; height:20px; text-align:center; background-color:#ffff99; "/>
- </xhtml:body>
- </xhtml:html>
|