| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239 |
- <?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>
- </reqData>
- <gridData>
- <param>
- <SLAB_THK/>
- <SLAB_CNT1450/>
- <SLAB_CNT1500/>
- <SLAB_CNT1550/>
- <SLAB_CNT1600/>
- <SLAB_CNT1650/>
- <SUM_CNT/>
- </param>
- <grid3>
- <SLAB_MANA_NO/>
- <STL_GRD/>
- <SLAB_THK/>
- <SLAB_WTH/>
- <SLAB_LEN/>
- <SLAB_WGT/>
- <PROG_CD/>
- <SLAB_RT/>
- <DSN_SLAB_NO/>
- <L2_SEND/>
- </grid3>
- </gridData>
- <resData/>
- <formData>
- <searchForm>
- <SLAB_RT/>
- <STL_GRD/>
- <PROG_CD/>
- <JHFF>K</JHFF>
- <P_WTH/>
- <P_THK/>
- </searchForm>
- </formData>
- <initResult/>
- <g1Data/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- commSubmit("UIF012010-service","success","glueAction.do");//提交服务
- model.duplicate("/root/initResult","/root/resData");//复制结点
- model.refresh();
- if (window.parent == null) Init();//无父窗口 进行初始化结点
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- var m = 0;
- var totalRows;//行记录数
- ]]>
- </script>
- </model>
- <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[
- 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));
- }
- function setTitle()
- {
- return "炼钢管制 >> 作业进程现状 >> 出钢参数接收现况分析(中厚板)"; // 如:return "进程管理 >> 订单进程现况查询";
- }
- function Init(node) {
- InitParams(node);
- }
-
- function find() {
- if(m != 0)
- {
- datagrid2.rowstyle(m, "data", "background-color") = "#ffffff";
- datagrid2.rowstyle(m, "data", "color") = "#000000";
- }
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- commSendReq("/root/formData/searchForm");
- if(combo4.value == 'K') {
- datagrid2.nodeset = "/root/g1Data/rs_VO/rs_Row";
- commSubmit("UIF012010-service","findByK","glueAction.do");
- model.removenode("/root/g1Data");
- model.makeNode("/root/g1Data");
- commAppendData("/root/g1Data/rs_VO","/root/resData/rs_VO");
- }else {
- datagrid2.nodeset = "/root/g1Data/rs1_VO/rs1_Row";
- commSubmit("UIF012010-service","findByW","glueAction.do");
- model.removenode("/root/g1Data");
- model.makeNode("/root/g1Data");
- commAppendData("/root/g1Data/rs1_VO","/root/resData/rs1_VO");
-
- }
- model.refresh();
- if(datagrid2.rows> 1) {
- m= datagrid2.rows-1;
- datagrid2.rowstyle(datagrid2.rows-1, "data", "background-color") = "#ffffcc";
- datagrid2.rowstyle(datagrid2.rows-1, "data", "color") = "red";
- datagrid2.colstyle(datagrid2.cols-1, "data", "background-color") = "#ffffcc";
- datagrid2.colstyle(datagrid2.cols-1, "data", "color") = "red";
- model.refresh();
- }
- // model.refresh();
-
- }
- //添加全部选项到combo头部
- function addAllOption(srcpath,targetpath,lable,value,allvalue) {
- model.duplicate(srcpath,targetpath);
- model.setValue(targetpath + "/" +lable,allvalue);
- model.setValue(targetpath + "/" +value,"");
- }
- function close() {
- window.close();//关闭窗口
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="980" pageheight="620" guideline="1,1;1,893;" style="font-family:宋体; border-color:#000000; ">
- <line id="line3" style="x1:0px; y1:29px; x2:980px; y2:29px; border-color:#ff00ff; "/>
- <caption id="caption1" class="cell" style="left:1px; top:6px; width:90px; height:20px; text-align:center; border-style:solid; ">去向</caption>
- <select1 id="combo2" 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>
- <caption id="caption2" class="cell" style="left:211px; top:6px; width:90px; height:20px; text-align:center; border-style:solid; ">牌号</caption>
- <select1 id="combo1" ref="/root/formData/searchForm/STL_GRD" appearance="minimal" editmode="inputsearch" style="left:302px; top:6px; 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/searchForm/PROG_CD" appearance="minimal" style="left:652px; top:6px; width:110px; height:20px; padding-left:20px; ">
- <choices>
- <item>
- <label>--全部--</label>
- <value/>
- </item>
- <item>
- <label>出钢指示待机</label>
- <value>JBA</value>
- </item>
- <item>
- <label>出钢待机</label>
- <value>JBB</value>
- </item>
- </choices>
- </select1>
- <caption id="caption3" class="cell" style="left:561px; top:6px; width:90px; height:20px; text-align:center; border-style:solid; ">查询范围</caption>
- <caption id="caption4" class="cell" style="left:771px; top:6px; width:90px; height:20px; text-align:center; border-style:solid; ">集合方法</caption>
- <select1 id="combo4" ref="/root/formData/searchForm/JHFF" appearance="minimal" style="left:862px; top:6px; 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:188px; x2:980px; y2:188px; border-color:#ff00ff; "/>
- <datagrid id="datagrid2" nodeset="/root/g1Data/rs_VO/rs_Row" scroll="auto" backcoloralternate="#f7f9f9" caption="板坯厚度 \ 板坯宽度^≤1450^≤1500^≤1550^≤1600^≤1650^≤2400^合计|板坯厚度 \ 板坯宽度^≤1450^≤1500^≤1550^≤1600^≤1650^≤2400^合计" colsep="^" colwidth="136, 118, 117, 106, 111, 149, 100, 131" explorerbar="sortshowmove" extendlastcol="false" mergecellsfixedrows="bycolrec" rowsep="|" subtotalposition="below" style="left:0px; top:33px; width:980px; height:152px; font-family:宋体; text-align:center; ">
- <col ref="SLAB_THK" format="#,##0" style="left:0px; top:21px; width:134px; height:21px; text-align:center; "/>
- <col ref="SLAB_CNT1450" format="#,##0" style="left:134px; top:21px; width:134px; height:21px; text-decoration:underline; color:#0000ff; text-align:right; "/>
- <col ref="SLAB_CNT1500" format="#,##0" style="left:268px; top:21px; width:134px; height:21px; text-decoration:underline; color:#0000ff; text-align:right; "/>
- <col ref="SLAB_CNT1550" format="#,##0" style="left:402px; top:21px; width:134px; height:21px; text-decoration:underline; color:#0000ff; text-align:right; "/>
- <col ref="SLAB_CNT1600" format="#,##0" style="left:536px; top:21px; width:134px; height:21px; font-family:宋体; text-decoration:underline; color:#0000ff; text-align:right; "/>
- <col ref="SLAB_CNT1650" format="#,##0" style="left:670px; top:21px; width:134px; height:21px; text-decoration:underline; color:#0000ff; text-align:right; "/>
- <col ref="SLAB_CNT2400" format="#,##0" style="left:670px; top:21px; width:134px; height:21px; text-decoration:underline; color:#0000ff; text-align:right; "/>
- <col ref="SUM_CNT" format="#,##0" style="left:670px; top:21px; width:134px; height:21px; text-decoration:underline; color:#0000ff; text-align:right; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(datagrid2.col== 0) return;
- if(datagrid2.row <= 1) return;
- if (!datagrid2.isCell(event.target)) return;
- var v_wth_title = "";
- var v_thk_title = "";
- var v_wth = "";
- var v_thk = "";
-
- v_wth_title = datagrid2.valueMatrix(0,datagrid2.col);
- v_thk_title = datagrid2.valueMatrix(datagrid2.row,0);
- v_wth = v_wth_title == "合计" ? "":v_wth_title.substring(1,v_wth_title.length);
- v_thk = v_thk_title == "合计" ? "":v_thk_title;
-
- model.setValue("/root/formData/searchForm/P_WTH",v_wth);
- model.setValue("/root/formData/searchForm/P_THK",v_thk);
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- commSendReq("/root/formData/searchForm");
- commSubmit("UIF012010-service","onclick","glueAction.do");
- ]]>
- </script>
- </datagrid>
- <datagrid id="datagrid3" nodeset="/root/resData/rs2_VO/rs2_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:192px; width:980px; height:428px; 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" style="text-align:center; "/>
- <col ref="L2_SEND" style="text-align:center; "/>
- </datagrid>
- </xhtml:body>
- </xhtml:html>
|