| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269 |
- <?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>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <reqData/>
- <resData/>
- <formData>
- <gatherMethod>K</gatherMethod>
- <SLAB_RT/>
- <STL_GRD/>
- <P_WTH/>
- <P_THK/>
- <P_CUR_PROG_CD/>
- </formData>
- <gridData>
- <INSTR_COIL_THK/>
- <SLAB_CNT750/>
- <SLAB_CNT800/>
- <SLAB_CNT850/>
- <SLAB_CNT900/>
- <SLAB_CNT950/>
- <SLAB_CNT1000/>
- <SLAB_CNT1050/>
- <SLAB_CNT1100/>
- <SLAB_CNT1150/>
- <SLAB_CNT1200/>
- <SLAB_CNT1250/>
- <SLAB_CNT1300/>
- <SLAB_CNT1350/>
- <SLAB_CNT1400/>
- <SLAB_CNT1450/>
- <SUM_CNT>0</SUM_CNT>
- </gridData>
- <initResult/>
- <g1Data/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- commSubmit("UIF022010-service","success","glueAction.do");
- model.duplicate("/root/initResult","/root/resData");//复制结点
- //插入空串到第一个结点
- //addAllOption("/root/initResult/resData/resultkey0_VO","/root/initResult/resData/resultkey0_VO/resultkey0_Row","FAC_STL_GRD","FAC_CODE","--全部--");
- model.refresh();
- ]]>
- </script>
- <script type="javascript" src="../../js/boaMsg.js"/>
- <script type="javascript" src="../../js/boaCommon.js"/>
- <script type="javascript" src="../../js/dCommon.js"/>
- <script type="javascript">
- <![CDATA[
- var m = 0;
- //1、获取用户登录信息,只能在页面初始化函数中调用
- 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;
- for (var i = 0; i < nodeList.length; i++)
- model.instances(0).selectSingleNode("/root/initData/rcvInfo").appendChild(nodeList.item(i));
- }
-
- //2. 页面初始化函数(必须)
- function Init(node)
- {
- InitParams(node); // 用于设置节点:/root/initData/rcvInfo,获取用户登录信息
- // 在程序中会重建该节点,最好不要重名
- // 函数 InitParams 在 mesCommon.js 中,仅在需要使用登录用户信息时调用
- //...
- }
-
- //3、页面标题
- function setTitle()
- {
- return "热轧管制 >> 作业进程现状 >> 各钢卷厚度板坯宽度物料分析现况"; // 如:return "进程管理 >> 订单进程现况查询";
- }
-
- //4. 页面按键动作
- // 查询按键
- function find()
- {
- if(m != 0)
- {
- datagrid1.rowstyle(m, "data", "background-color") = "#ffffff";
- datagrid1.rowstyle(m, "data", "color") = "#000000";
- }
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- commSendReq("/root/formData");
- if(combo3.value == 'K') {
- datagrid1.nodeset = "/root/g1Data/rs1_VO/rs1_Row";
- commSubmit("UIF022010-service","countMaterielCoilThkSlabWthByK","glueAction.do");
- model.removenode("/root/g1Data");
- model.makeNode("/root/g1Data");
- commAppendData("/root/g1Data/rs1_VO","/root/resData/rs1_VO");
-
- }
- else {
- datagrid1.nodeset = "/root/g1Data/rs2_VO/rs2_Row";
- commSubmit("UIF022010-service","countMaterielCoilThkSlabWthByW","glueAction.do");
- model.removenode("/root/g1Data");
- model.makeNode("/root/g1Data");
- commAppendData("/root/g1Data/rs2_VO","/root/resData/rs2_VO");
- }
- model.refresh();
- if(datagrid1.rows> 1) {
- m= datagrid1.rows-1;
- datagrid1.rowstyle(datagrid1.rows-1, "data", "background-color") = "#ffffcc";
- datagrid1.rowstyle(datagrid1.rows-1, "data", "color") = "red";
- datagrid1.colstyle(datagrid1.cols-1, "data", "background-color") = "#ffffcc";
- datagrid1.colstyle(datagrid1.cols-1, "data", "color") = "red";
- }
- }
- //添加全部选项到combo头部
- function addAllOption(srcpath,targetpath,lable,value,allvalue) {
- model.duplicate(srcpath,targetpath);
- model.setValue(targetpath + "/" +lable,allvalue);
- model.setValue(targetpath + "/" +value,"");
- }
- ]]>
- </script>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="980" pageheight="620" guideline="1,980;2,620;" style="font-family:宋体; ">
- <line id="line3" style="x1:1px; y1:29px; x2:980px; y2:29px; border-color:#ff00ff; "/>
- <datagrid id="datagrid1" nodeset="/root/g1Data/rs1_VO/rs1_Row" scroll="auto" backcoloralternate="#f7f9f9" caption="轧制厚度\板坏宽度^≤750^≤800^≤850^≤900^≤950^≤1000^≤1050^≤1100^≤1150^≤1200^≤1250^≤1300^≤1350^≤1400^≤1450^>1450^合计|轧制厚度\板坏宽度^≤750^≤800^≤850^≤900^≤950^≤1000^≤1050^≤1100^≤1150^≤1200^≤1250^≤1300^≤1350^≤1400^≤1450^>1450^合计" colsep="^" colwidth="84, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 94" defaultrows="0" extendlastcol="false" fixedcols="1" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:33px; width:980px; height:316px; ">
- <col ref="INSTR_COIL_THK" format="#,##0"/>
- <col ref="SLAB_CNT750" format="#,##0" style="text-decoration:underline; color:#0000ff; text-align:right; "/>
- <col ref="SLAB_CNT800" format="#,##0" style="text-decoration:underline; color:#0000ff; text-align:right; "/>
- <col ref="SLAB_CNT850" format="#,##0" style="text-decoration:underline; color:#0000ff; text-align:right; "/>
- <col ref="SLAB_CNT900" format="#,##0" style="text-decoration:underline; color:#0000ff; text-align:right; "/>
- <col ref="SLAB_CNT950" format="#,##0" style="text-decoration:underline; color:#0000ff; text-align:right; "/>
- <col ref="SLAB_CNT1000" format="#,##0" style="text-decoration:underline; color:#0000ff; text-align:right; "/>
- <col ref="SLAB_CNT1050" format="#,##0" style="text-decoration:underline; color:#0000ff; text-align:right; "/>
- <col ref="SLAB_CNT1100" format="#,##0" style="text-decoration:underline; color:#0000ff; text-align:right; "/>
- <col ref="SLAB_CNT1150" format="#,##0" style="text-decoration:underline; color:#0000ff; text-align:right; "/>
- <col ref="SLAB_CNT1200" format="#,##0" style="text-decoration:underline; color:#0000ff; text-align:right; "/>
- <col ref="SLAB_CNT1250" format="#,##0" style="text-decoration:underline; color:#0000ff; text-align:right; "/>
- <col ref="SLAB_CNT1300" format="#,##0" style="text-decoration:underline; color:#0000ff; text-align:right; "/>
- <col ref="SLAB_CNT1350" format="#,##0" style="text-decoration:underline; color:#0000ff; text-align:right; "/>
- <col ref="SLAB_CNT1400" format="#,##0" style="text-decoration:underline; color:#0000ff; text-align:right; "/>
- <col ref="SLAB_CNT1450" format="#,##0" style="text-decoration:underline; color:#0000ff; text-align:right; "/>
- <col ref="SLAB_CNT_BIG1450" format="#,##0" style="text-decoration:underline; color:#0000ff; text-align:right; "/>
- <col ref="SUM_CNT" format="#,##0" style="text-decoration:underline; color:#0000ff; text-align:right; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(datagrid1.col== 0) return;
- if(datagrid1.row <= 1) return;
- if (!datagrid1.isCell(event.target)) return;
- var v_wth_title = "";
- var v_thk_title = "";
- v_wth_title = datagrid1.valueMatrix(0,datagrid1.col);
- v_thk_title = datagrid1.valueMatrix(datagrid1.row,0);
- // alert( "v_wth_title:" + v_wth_title + "---v_thk_title:"+v_thk_title);
- model.setValue("/root/formData/P_WTH",v_wth_title);
- model.setValue("/root/formData/P_THK",v_thk_title);
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- commSendReq("/root/formData");
- commSubmit("UIF022010-service","onclick","glueAction.do");
- ]]>
- </script>
- </datagrid>
- <caption id="caption2" class="cell" style="left:0px; top:5px; width:90px; height:20px; ">去向</caption>
- <caption id="caption1" class="cell" style="left:212px; top:5px; width:90px; height:20px; ">钢号</caption>
- <caption id="caption3" class="cell" style="left:561px; top:5px; width:90px; height:20px; ">集合方法</caption>
- <select1 id="combo1" ref="/root/formData/SLAB_RT" scroll="auto" appearance="minimal" style="left:92px; top:5px; width:110px; height:20px; ">
- <choices>
- <item>
- <label>--全部--</label>
- <value/>
- </item>
- <item>
- <label>热轧</label>
- <value>H</value>
- </item>
- <item>
- <label>冷轧</label>
- <value>C</value>
- </item>
- </choices>
- </select1>
- <select1 id="combo2" ref="/root/formData/STL_GRD" appearance="minimal" editmode="inputsearch" style="left:304px; top:5px; width:248px; height:20px; ">
- <choices>
- <itemset nodeset="/root/initResult/resData/resultkey0_VO/resultkey0_Row">
- <label ref="FAC_STL_GRD"/>
- <value ref="FAC_CODE"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo3" ref="/root/formData/gatherMethod" appearance="minimal" style="left:653px; top:5px; width:110px; height:20px; ">
- <choices>
- <item>
- <label>块数</label>
- <value>K</value>
- </item>
- <item>
- <label>重量</label>
- <value>W</value>
- </item>
- </choices>
- </select1>
- <line id="line1" style="x1:0px; y1:352px; x2:979px; y2:352px; border-color:#ff00ff; "/>
- <datagrid id="datagrid2" nodeset="/root/resData/rs_VO/rs_Row" scroll="auto" backcoloralternate="#f7f9f9" caption="板坯号^板坯^板坯^板坯^板坯^订单^订单^轧制^轧制^轧制^轧制^轧制^轧制^轧制^轧制^进程^堆置位置^热送代号^合同号^订单号^钢号^标准号^订单用途^交货期^紧急材^去向^去向|板坯号^厚度^宽度^长度^重量^厚度^宽度^目标厚度^厚度下限^厚度上限^目标宽度^宽度下限^宽度上限^长度^重量^进程^堆置位置^热送代号^合同号^订单号^钢号^标准号^订单用途^交货期^紧急材^去向^去向" colsep="^" colwidth="100, 50, 50, 50, 50, 50, 50, 55, 55, 55, 55, 55, 55, 55, 55, 55, 37, 35, 67, 44, 54, 43, 110, 100, 42, 55" defaultrows="0" explorerbar="sortshowmove" extendlastcol="false" fixedcols="2" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:356px; width:980px; height:264px; ">
- <col editable="false" ref="SLAB_NO" type="input" style="left:336px; top:40px; width:285px; height:20px; text-align:center; "/>
- <col ref="SLAB_THK" format="#,##0" style="text-align:right; "/>
- <col ref="SLAB_WTH" format="#,##0" style="text-align:right; "/>
- <col ref="SLAB_LEN" format="#,##0" style="text-align:right; "/>
- <col ref="SLAB_WGT" format="#,##0" style="text-align:right; "/>
- <col ref="ORD_THK" format="#.##0" style="text-align:right; "/>
- <col ref="ORD_WTH" format="#,##0" style="text-align:right; "/>
- <col editable="false" ref="HOT_THK_AIM" type="input" format="#.##0" style="text-align:right; "/>
- <col ref="HOT_THK_MIN" format="#.##0" style="text-align:right; "/>
- <col ref="HOT_THK_MAX" format="#.##0" style="text-align:right; "/>
- <col editable="false" ref="WTH_AIM" type="input" format="#,##0" style="text-align:right; "/>
- <col ref="WTH_MIN" format="#,##0" style="text-align:right; "/>
- <col ref="WTH_MAX" format="#,##0" style="text-align:right; "/>
- <col editable="false" ref="MILL_LEN" type="input" format="#,##0" style="text-align:right; "/>
- <col ref="MILL_WGT" format="#,##0" style="text-align:right; "/>
- <col ref="CUR_PROG_CD" style="text-align:left; "/>
- <col editable="false" ref="CUR_LOAD_LOC" type="input" style="text-align:center; "/>
- <col disabled="true" editmode="search" ref="HCR_CLF" style="text-align:center; "/>
- <col editable="false" ref="ORD_NO" type="input" style="text-align:center; "/>
- <col editable="false" ref="ORD_SEQ" type="input" style="text-align:center; "/>
- <col editable="false" editmode="search" ref="STL_GRD" type="input" style="text-align:left; "/>
- <col ref="SPEC_ABBSYM" style="text-align:left; "/>
- <col disabled="true" editmode="search" ref="ORD_USEAGE_CD" style="text-align:left; "/>
- <col ref="DEL_TO_DATE" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="EMGMTR_NMG_CLF"/>
- <col disabled="true" editmode="search" ref="SLAB_RT" style="text-align:center; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- RollManaNo = datagrid1.valueMatrix(datagrid1.row,datagrid1.colRef("ROLL_MANA_NO"));
- slab_no = datagrid1.valueMatrix(datagrid1.row,datagrid1.colRef("SLAB_NO"));
- ]]>
- </script>
- </datagrid>
- <caption id="caption4" class="cell" style="left:772px; top:5px; width:90px; height:20px; ">进程状态</caption>
- <select1 id="combo4" ref="/root/formData/P_CUR_PROG_CD" appearance="minimal" style="left:864px; top:5px; width:110px; height:20px; ">
- <choices>
- <item>
- <label>全部</label>
- <value/>
- </item>
- <item>
- <label>轧制指示待机</label>
- <value>RBA</value>
- </item>
- <item>
- <label>加热炉入炉待机</label>
- <value>RBB</value>
- </item>
- <item>
- <label>精整作业待机</label>
- <value>RAB</value>
- </item>
- <item>
- <label>板坯充当待机</label>
- <value>RRC</value>
- </item>
- </choices>
- </select1>
- </xhtml:body>
- </xhtml:html>
|