| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346 |
- <?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[生产管制 >> 炼钢管理 >> 冶炼计划情况汇总表]]>
- </xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <reqData/>
- <resData/>
- <formData/>
- <gridData>
- <rs1_VO/>
- </gridData>
- <initResult/>
- <initData>
- <LG_CD>E01002</LG_CD>
- </initData>
- <codeData>
- <ORD_SEQ/>
- <SPEC_STL_GRD/>
- </codeData>
- <searchData>
- <REG_FROM_DTIME/>
- <REG_TO_DTIME/>
- <ORD_NO/>
- <ORD_SEQ/>
- <FROM_DEL_TO_DATE/>
- <TO_DEL_TO_DATE/>
- <SPEC_STL_GRD/>
- <ORD_FL/>
- <SLAB_WTH/>
- <SLAB_RT/>
- <DLIV_TP/>
- <XSQY/>
- <INS_FROM_DTIME/>
- <INS_TO_DTIME/>
- <REG_ID/>
- </searchData>
- <totalData>
- <slabCnt/>
- <slabWgt/>
- </totalData>
- <newElement/>
- <gridData/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- if (window.parent == null) Init();
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../js/boaCommon.js"/>
- <script type="javascript" src="../../js/boaMsg.js"/>
- <script type="javascript" src="../../js/boaMsg.js"/>
- <script type="javascript" src="../../js/G02.js"/>
- <script type="javascript">
- <![CDATA[
- submitID = "UIF013050-service";
- function excelExport(){
- return datagrid1;
- }
- function Init(node) {
- if (window.parent != null) {
- var java = window.parent.javaScript;
- var node = java.getInitDataNode();
- if (node != null) {
- copyNode(node, "/root/formData/searchInfo");
- }
- }
- commSendReq("/root/searchData");
- commSubmit("UIF013040-service","success","glueAction.do");
- model.copyNode("/root/codeData/SPEC_STL_GRD","/root/resData/rs3_VO");
- model.duplicate("/root/formData", "/root/initData/rcvInfo/REG_ID");
- }
- //1、获取用户登录信息,只能在页面初始化函数中调用
- function InitParams(node)
- {
- if (typeof node == "undefined" && typeof node != "object")
- {
- alert("sdf");
- return;
- }
- alert("getid");
- model.removenode("/root/initData/rcvInfo");
- model.makeNode("/root/initData/rcvInfo");
- var nodeList = node.childNodes;
- for (var i = 0; i < nodeList.length; i++)
- model.instances(0).selectSingleNode("/root/initData/rcvInfo").appendChild(nodeList.item(i));
-
- model.refresh();
- alert(instance1.selectSingleNode("/root/initData").xml);
- }
-
-
- //3、页面标题
- function setTitle()
- {
- return "炼钢管制 >> 作业进程现状 >> 冶炼计划情况汇总表"; // 如:return "进程管理 >> 订单进程现况查询";
- }
-
- //4. 页面按键动作
- // 查询按键
- function find()
- {
-
- if(input5.value == "" || input6.value == ""){
- input5.value = CurentDate();
- input6.value = CurentDate();
- }
- commSendReq("/root/searchData");
- commSubmit("UIF013050-service","find","glueAction.do");
- model.copyNode("/root/gridData/rs1_VO","/root/resData/rs1_VO");
-
-
-
- var slabCnt = 0;
- var chargeWGT = 0;
- var ordWGT = 0;
- var noorderWGT = 0;
- datagrid1.refresh();
- for(var i = datagrid1.fixedRows ; i < datagrid1.rows ; i++){
- chargeWGT = chargeWGT + parseFloat(datagrid1.valueMatrix(i,datagrid1.colRef("PREV_CHARGE_WGT")));
- ordWGT = ordWGT + parseFloat(datagrid1.valueMatrix(i,datagrid1.colRef("ORD_WGT1")));
- noorderWGT = noorderWGT + parseFloat(datagrid1.valueMatrix(i,datagrid1.colRef("ORD_WGT2")));
- }
-
- datagrid1.addRow();
- datagrid1.valueMatrix(datagrid1.rows-(datagrid1.fixedRows-1),datagrid1.colRef("PREV_CHARGE_WGT")) = chargeWGT;
- datagrid1.valueMatrix(datagrid1.rows-(datagrid1.fixedRows-1),datagrid1.colRef("ORD_WGT1")) = ordWGT;
- datagrid1.valueMatrix(datagrid1.rows-(datagrid1.fixedRows-1),datagrid1.colRef("ORD_WGT2")) = noorderWGT;
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="980" pageheight="620">
- <datagrid id="datagrid1" nodeset="/root/gridData/rs1_VO/rs1_Row" caption="下发时间^计划炼钢起始时间^计划炼钢结束时间^浇次管理号^浇次内顺序^合同号^订单号^板坯规格^板坯规格^成品牌号^厂内牌号^预订出钢量^订单材重量^余材重量^炉次管理号^炼钢作业时间^交货期^销售区域^运输方式^是否坑冷^产线^订单用途^编制人|下发时间^计划炼钢起始时间^计划炼钢结束时间^浇次管理号^浇次内顺序^合同号^订单号^厚度^宽度^成品牌号^厂内牌号^预订出钢量^订单材重量^余材重量^炉次管理号^炼钢作业时间^交货期^销售区域^运输方式^是否坑冷^产线^订单用途^编制人" colsep="^" colwidth="102, 100, 100, 45, 45, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" explorerbar="sortshowmove" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" ckcoloralternate="#f7f9f9" style="left:0px; top:60px; width:980px; height:550px; text-align:center; ">
- <col ref="REG_DTIME" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="INS_CHARGE_STR_DTIME" format="yyyy-mm-dd"/>
- <col ref="INS_CHARGE_END_DTIME" format="yyyy-mm-dd"/>
- <col ref="CAST_MANA_NO"/>
- <col ref="CAST_CHARGE_SEQ"/>
- <col ref="ORD_NO"/>
- <col ref="ORD_SEQ"/>
- <col ref="SLAB_THK"/>
- <col ref="SLAB_WTH"/>
- <col ref="SPEC_STL_GRD"/>
- <col ref="STL_GRD"/>
- <col ref="PREV_CHARGE_WGT" format="#,###"/>
- <col ref="ORD_WGT1" format="#,###"/>
- <col ref="ORD_WGT2" format="#,###"/>
- <col ref="CHARGE_MANA_NO"/>
- <col ref="SMS_DUE_DATE"/>
- <col ref="DEL_TO_DATE" format="yyyy-mm-dd"/>
- <col ref="XSQY"/>
- <col ref="DLIV_TP" type="combo">
- <choices>
- <item>
- <label>汽运</label>
- <value>C</value>
- </item>
- <item>
- <label>火运</label>
- <value>T</value>
- </item>
- </choices>
- </col>
- <col ref="KEEPWARM_YN"/>
- <col ref="SLAB_RT" type="combo">
- <choices>
- <item>
- <label>热轧</label>
- <value>H</value>
- </item>
- <item>
- <label>中板</label>
- <value>Z</value>
- </item>
- <item>
- <label>厚板</label>
- <value>P</value>
- </item>
- <item>
- <label>冷轧</label>
- <value>C</value>
- </item>
- </choices>
- </col>
- <col ref="ORD_USEAGE_CD"/>
- <col ref="REG_ID"/>
- </datagrid>
- <caption id="caption1" class="cell" style="left:0px; top:5px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">下发时间</caption>
- <caption id="caption28" class="cell" style="left:745px; top:5px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">成品牌号</caption>
- <input id="input5" ref="/root/searchData/REG_FROM_DTIME" class="input" inputtype="date" format="yyyy-mm-dd" style="left:60px; top:5px; width:90px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/searchData/REG_TO_DTIME") == null || model.getValue("/root/searchData/REG_TO_DTIME") == ""||
- model.getValue("/root/searchData/REG_FROM_DTIME") > model.getValue("/root/searchData/REG_TO_DTIME")){
- model.setValue("/root/searchData/REG_TO_DTIME",model.getValue("/root/searchData/REG_FROM_DTIME"));
- input6.refresh();
- }
- ]]>
- </script>
- </input>
- <input id="input6" ref="/root/searchData/REG_TO_DTIME" class="input" inputtype="date" format="yyyy-mm-dd" style="left:151px; top:5px; width:90px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/searchData/REG_FROM_DTIME") == null || model.getValue("/root/searchData/REG_FROM_DTIME") == ""||
- model.getValue("/root/searchData/REG_FROM_DTIME") > model.getValue("/root/searchData/REG_TO_DTIME")){
- model.setValue("/root/searchData/REG_FROM_DTIME",model.getValue("/root/searchData/REG_TO_DTIME"));
- input5.refresh();
- }
- ]]>
- </script>
- </input>
- <select1 id="combo21" ref="/root/searchData/SPEC_STL_GRD" appearance="minimal" style="left:805px; top:5px; width:85px; height:20px; ">
- <choices>
- <itemset nodeset="/root/codeData/SPEC_STL_GRD/rs3_Row">
- <label ref="STL_GRD"/>
- <value ref="STL_GRD"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption2" class="cell" style="left:255px; top:5px; width:90px; height:20px; vertical-align:middle; ">合同号</caption>
- <select1 id="combo1" ref="/root/searchData/ORD_SEQ" appearance="minimal" editmode="search" style="left:429px; top:5px; width:45px; height:20px; ">
- <choices>
- <itemset nodeset="/root/codeData/ORD_SEQ/rs2_Row">
- <label ref="ORD_SEQ"/>
- <value ref="ORD_SEQ"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // if (model.getXPathValue("count(/root/codeData/ORD_SEQ/ListResult_0_VO/ListResult_0_Row)") == 0) {
- // exec("/root/formData/searchInfo/ORD_NO", "", "seq", "/root/codeData/ORD_SEQ/ListResult_0_VO");
- // model.setValue("/root/formData/searchInfo/ORD_SEQ", model.getValue("/root/codeData/ORD_SEQ/ListResult_0_VO/ListResult_0_Row[ORD_SEQ != '']/ORD_SEQ"));
- // }
- ]]>
- </script>
- </select1>
- <input id="input1" ref="/root/searchData/ORD_NO" maxlength="12" style="left:347px; top:5px; width:80px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- commSendReq("/root/searchData");
- commSubmit("UIF013040-service","seq","glueAction.do");
- model.copyNode("/root/codeData/ORD_SEQ","/root/resData/rs2_VO");
- //pageInit();
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption3" class="cell" style="left:484px; top:5px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">交货期</caption>
- <input id="input2" ref="/root/searchData/FROM_DEL_TO_DATE" class="input" inputtype="date" format="yyyy-mm-dd" style="left:544px; top:5px; width:90px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/searchData/TO_DEL_TO_DATE") == null || model.getValue("/root/searchData/TO_DEL_TO_DATE") == ""||
- model.getValue("/root/searchData/FROM_DEL_TO_DATE") > model.getValue("/root/searchData/TO_DEL_TO_DATE")){
- model.setValue("/root/searchData/TO_DEL_TO_DATE",model.getValue("/root/searchData/FROM_DEL_TO_DATE"));
- input3.refresh();
- }
- ]]>
- </script>
- </input>
- <input id="input3" ref="/root/searchData/TO_DEL_TO_DATE" class="input" inputtype="date" format="yyyy-mm-dd" style="left:635px; top:5px; width:90px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/searchData/FROM_DEL_TO_DATE") == null || model.getValue("/root/searchData/FROM_DEL_TO_DATE") == ""||
- model.getValue("/root/searchData/FROM_DEL_TO_DATE") > model.getValue("/root/searchData/TO_DEL_TO_DATE")){
- model.setValue("/root/searchData/FROM_DEL_TO_DATE",model.getValue("/root/searchData/TO_DEL_TO_DATE"));
- input2.refresh();
- }
- ]]>
- </script>
- </input>
- <select1 id="combo2" ref="/root/searchData/SLAB_RT" appearance="minimal" style="left:315px; top:30px; width:65px; height:20px; ">
- <choices>
- <item>
- <label>热轧</label>
- <value>H</value>
- </item>
- <item>
- <label>中板</label>
- <value>Z</value>
- </item>
- <item>
- <label>厚板</label>
- <value>P</value>
- </item>
- <item>
- <label>冷轧</label>
- <value>C</value>
- </item>
- <item>
- <label>全部</label>
- <value/>
- </item>
- </choices>
- </select1>
- <caption id="caption4" class="cell" style="left:255px; top:30px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">产线</caption>
- <select1 id="combo3" ref="/root/searchData/ORD_FL" appearance="minimal" style="left:460px; top:30px; width:85px; height:20px; ">
- <choices>
- <item>
- <label>全部</label>
- <value/>
- </item>
- <item>
- <label>订单材</label>
- <value>1</value>
- </item>
- <item>
- <label>余材</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption5" class="cell" style="left:400px; top:30px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">订单区分</caption>
- <caption id="caption6" class="cell" style="left:555px; top:30px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">板坯宽度</caption>
- <input id="input4" ref="/root/searchData/SLAB_WTH" style="left:615px; top:30px; width:70px; height:20px; "/>
- <caption id="caption7" class="cell" style="left:695px; top:30px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">销售区域</caption>
- <input id="input7" ref="/root/searchData/XSQY" style="left:755px; top:30px; width:70px; height:20px; "/>
- <caption id="caption8" class="cell" style="left:840px; top:30px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">运输方式</caption>
- <caption id="caption9" class="cell" style="left:0px; top:30px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">计划时间</caption>
- <input id="input9" ref="/root/searchData/INS_FROM_DTIME" class="input" inputtype="date" format="yyyy-mm-dd" style="left:59px; top:30px; width:90px; height:20px; "/>
- <input id="input10" ref="/root/searchData/INS_TO_DTIME" class="input" inputtype="date" format="yyyy-mm-dd" style="left:150px; top:30px; width:90px; height:20px; "/>
- <select1 id="combo4" ref="/root/searchData/DLIV_TP" appearance="minimal" style="left:900px; top:30px; width:65px; height:20px; ">
- <choices>
- <item>
- <label>汽运</label>
- <value>C</value>
- </item>
- <item>
- <label>火运</label>
- <value>T</value>
- </item>
- <item>
- <label>全部</label>
- <value/>
- </item>
- </choices>
- </select1>
- </xhtml:body>
- </xhtml:html>
|