| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184 |
- <?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[生产管制 >> 炼钢管理 >> 中厚板炉次信息进程现况]]>
- </xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <reqData/>
- <resData/>
- <formData>
- <searchForm>
- <JHFF>K</JHFF>
- <SLAB_RT/>
- <P_WTH/>
- <P_THK/>
- <P_PROG_CD/>
- </searchForm>
- <gridData>
- <SLAB_THK/>
- <SLAB_WTH/>
- <JBA_CNT/>
- <JBB_CNT/>
- <JJB_CNT/>
- <RGA_CNT/>
- <RGB_CNT/>
- <TOT_CNT/>
- </gridData>
- </formData>
- <g1Data/>
- </root>
- </instance>
- <script type="javascript" src="../../js/boaMsg.js"/>
- <script type="javascript" src="../../js/boaCommon.js"/>
- <script type="javascript" src="../../js/F.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/searchForm");
- if(combo2.value == 'K') {
- datagrid1.nodeset = "/root/g1Data/rs1_VO/rs1_Row";
- commSubmit("UIF013020-service","countSlabProcessByK","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("UIF013020-service","countSlabProcessByW","glueAction.do");
- model.removenode("/root/g1Data");
- model.makeNode("/root/g1Data");
- commAppendData("/root/g1Data/rs2_VO","/root/resData/rs2_VO");
- }
- model.refresh();
- if(datagrid1.rows> 2) {
- 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";
- }
- }
- ]]>
- </script>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="980" pageheight="620" guideline="1,980;">
- <line id="line3" style="x1:0px; y1:29px; x2:980px; y2:29px; border-color:#ff00ff; "/>
- <datagrid id="datagrid1" nodeset="/root/g1Data/rs1_VO/rs1_Row" backcoloralternate="#f7f9f9" caption="区分^区分^进程状态^进程状态^进程状态^进程状态^进程状态^合计|板坏厚度^板坏宽度^出钢指示待机^出钢待机^板坯切割待机^出库待机^出库指示^合计" colsep="^" colwidth="102, 116, 130, 130, 130, 130, 111, 117" extendlastcol="false" fixedcols="2" mergecellsfixedcols="byrowrec" mergecellsfixedrows="byrowrec" rowsep="|" style="left:0px; top:33px; width:980px; height:268px; ">
- <col ref="SLAB_THK" type="output" format="#,##0"/>
- <col ref="SLAB_WTH" type="output" format="#,##0"/>
- <col ref="JBA_CNT" type="output" format="#,##0" style="text-decoration:underline; color:#0000ff; text-align:right; "/>
- <col ref="JBB_CNT" type="output" format="#,##0" style="text-decoration:underline; color:#0000ff; text-align:right; "/>
- <col ref="JJB_CNT" type="output" format="#,##0" style="text-decoration:underline; color:#0000ff; text-align:right; "/>
- <col ref="RGA_CNT" type="output" format="#,##0" style="text-decoration:underline; color:#0000ff; text-align:right; "/>
- <col ref="RGB_CNT" type="output" format="#,##0" style="text-decoration:underline; color:#0000ff; text-align:right; "/>
- <col ref="TOT_CNT" type="output" format="#,##0" style="text-decoration:underline; color:#0000ff; text-align:right; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(datagrid1.col<= 1) return;
- if(datagrid1.row <= 1) return;
- if (!datagrid1.isCell(event.target)) return;
- var v_wth_title = "";
- var v_thk_title = "";
- v_prog_cd = datagrid1.valueMatrix(1,datagrid1.col);
- v_wth_title = datagrid1.valueMatrix(datagrid1.row,1);
- v_thk_title = datagrid1.valueMatrix(datagrid1.row,0);
- v_thk_title = (v_thk_title == "小计") ? datagrid1.valueMatrix(datagrid1.row-1,0) : v_thk_title;
- v_wth_title = (v_wth_title == "小计") ? '' : v_wth_title;
- model.setValue("/root/formData/searchForm/P_WTH",v_wth_title);
- model.setValue("/root/formData/searchForm/P_THK",v_thk_title);
- model.setValue("/root/formData/searchForm/P_PROG_CD",v_prog_cd);
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- commSendReq("/root/formData/searchForm");
- commSubmit("UIF013020-service","onclick","glueAction.do");
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <select1 id="combo2" ref="/root/formData/searchForm/JHFF" appearance="minimal" style="left:303px; top:6px; width:110px; height:20px; ">
- <choices>
- <item>
- <label>重量</label>
- <value>W</value>
- </item>
- <item>
- <label>块数</label>
- <value>K</value>
- </item>
- </choices>
- </select1>
- <caption id="caption1" class="cell" style="left:211px; top:6px; width:90px; height:20px; ">集合方法</caption>
- <caption id="caption2" class="cell" style="left:1px; top:6px; width:90px; height:20px; text-align:center; border-style:solid; ">去向</caption>
- <select1 id="combo1" ref="/root/formData/searchForm/SLAB_RT" appearance="minimal" style="left:92px; top:6px; width:110px; height:20px; ">
- <choices>
- <item>
- <label>--全部--</label>
- <value/>
- </item>
- <item>
- <label>中板厂</label>
- <value>Z</value>
- </item>
- <item>
- <label>厚板厂</label>
- <value>P</value>
- </item>
- </choices>
- </select1>
- <line id="line1" style="x1:0px; y1:304px; x2:980px; y2:304px; border-color:#ff00ff; "/>
- <datagrid id="datagrid3" nodeset="/root/resData/rs_VO/rs_Row" scroll="auto" backcoloralternate="#f7f9f9" caption="板坯管理号^钢号^板坯^板坯^板坯^板坯^进程^板坯去向^板坯申请号^L2传送|板坯管理号^钢号^厚度^宽度^长度^重量^进程^板坯去向^板坯申请号^L2传送" colsep="^" colwidth="134, 134, 55, 55, 55, 55, 84, 100, 100, 100" explorerbar="sortshowmove" extendlastcol="false" fixedcols="2" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" subtotalposition="below" style="left:0px; top:308px; width:980px; height:312px; font-family:宋体; text-align:center; ">
- <col ref="SLAB_MANA_NO" format="#,##0" style="left:0px; top:21px; width:134px; height:21px; text-align:center; "/>
- <col ref="STL_GRD" format="#,##0" style="left:134px; top:21px; width:134px; height:21px; text-align:left; "/>
- <col ref="SLAB_THK" format="#,##0" style="left:268px; top:21px; width:134px; height:21px; text-align:right; "/>
- <col ref="SLAB_WTH" format="#,##0" style="left:402px; top:21px; width:134px; height:21px; text-align:right; "/>
- <col ref="SLAB_LEN" format="#,##0" style="left:536px; top:21px; width:134px; height:21px; text-align:right; "/>
- <col ref="SLAB_WGT" format="#,##0" style="left:670px; top:21px; width:134px; height:21px; text-align:right; "/>
- <col ref="PROG_CD" style="left:804px; top:21px; width:134px; height:21px; text-align:left; "/>
- <col ref="SLAB_RT" style="text-align:left; "/>
- <col ref="DSN_SLAB_NO" visibility="hidden" style="text-align:center; "/>
- <col ref="L2_SEND" style="text-align:center; "/>
- </datagrid>
- </xhtml:body>
- </xhtml:html>
|