| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312 |
- <?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/>
- <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/>
- </searchData>
- <totalData>
- <slabCnt/>
- <slabWgt/>
- </totalData>
- <newElement/>
- <gridData/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- commSendReq("/root/searchData");
- commSubmit("UIF013040-service","success","glueAction.do");
- model.copyNode("/root/codeData/SPEC_STL_GRD","/root/resData/rs3_VO");
- //pageInit();
- model.refresh();
- ]]>
- </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[
- function excelExport(){
- return datagrid1;
- }
- //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));
-
- model.refresh();
- }
-
- //2. 页面初始化函数(必须)
- function Init(node)
- {
- InitParams(node); // 用于设置节点:/root/initData/rcvInfo,获取用户登录信息
- // 在程序中会重建该节点,最好不要重名
- // 函数 InitParams 在 mesCommon.js 中,仅在需要使用登录用户信息时调用
- //...
- }
-
- //3、页面标题
- function setTitle()
- {
- return "炼钢管制 >> 作业进程现状 >> 冶炼计划情况汇总表"; // 如:return "进程管理 >> 订单进程现况查询";
- }
-
- //4. 页面按键动作
- // 查询按键
- function find()
- {
-
- if(input5.value == "" || input6.value == ""){
- input5.value = CurentDate();
- input6.value = CurentDate();
- }
- commSendReq("/root/searchData");
- commSubmit("UIF013040-service","find","glueAction.do");
- model.copyNode("/root/gridData/rs1_VO","/root/resData/rs1_VO");
-
-
- // model.removenode("/root/resData/rs1_VO");
- //
- var slabCnt = 0;
- var slabWgt = 0;
- datagrid1.refresh();
- for(var i = datagrid1.fixedRows ; i < datagrid1.rows ; i++){
- slabCnt = slabCnt + 1;
- slabWgt = slabWgt + parseFloat(datagrid1.valueMatrix(i,datagrid1.colRef("SLAB_WGT")));
- }
-
- datagrid1.addRow();
- datagrid1.valueMatrix(datagrid1.rows-(datagrid1.fixedRows-1),datagrid1.colRef("SLAB_WGT")) = slabWgt;
- datagrid1.valueMatrix(datagrid1.rows-(datagrid1.fixedRows-1),datagrid1.colRef("SLAB_WTH")) = slabCnt;
- 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, 45, 45, 80, 50, 45, 45, 80, 80, 90, 40, 40, 40, 50, 133, 61, 100, 100, 100, 100, 100, 100, 100, 100" explorerbar="sortshowmove" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" ckcoloralternate="#f7f9f9" style="left:0px; top:55px; width:980px; height:560px; text-align:center; ">
- <col ref="REG_DTIME" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="CAST_MANA_NO"/>
- <col ref="CAST_EDT_SEQ"/>
- <col ref="ORD_NO"/>
- <col ref="ORD_SEQ"/>
- <col ref="ORD_THK"/>
- <col ref="ORD_WTH"/>
- <col ref="SPEC_STL_GRD"/>
- <col ref="CHARGE_MANA_NO"/>
- <col ref="STL_GRD"/>
- <col ref="SLAB_THK" style="text-align:right; "/>
- <col ref="SLAB_LEN" format="#,##0" style="text-align:right; "/>
- <col ref="SLAB_WTH" format="#,##0" style="text-align:right; "/>
- <col ref="SLAB_WGT" format="#,##0" style="text-align:right; "/>
- <col ref="PREV_CHARGE_WGT"/>
- <col disabled="true" ref="ORD_FL" type="combo">
- <choices>
- <item>
- <label>订单材</label>
- <value>1</value>
- </item>
- <item>
- <label>余材</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="INS_CHARGE_STR_DTIME" format="yyyy-mm-dd"/>
- <col ref="INS_CHARGE_END_DTIME" format="yyyy-mm-dd"/>
- <col ref="DEL_TO_DATE" format="yyyy-mm-dd"/>
- <col ref="KEEPWARM_YN"/>
- <col disabled="true" ref="DLIV_TP" type="combo">
- <choices>
- <item>
- <label>汽运</label>
- <value>C</value>
- </item>
- <item>
- <label>火运</label>
- <value>T</value>
- </item>
- </choices>
- </col>
- <col disabled="true" 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:0px; top:30px; 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:60px; top:30px; 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/ORD_FL" appearance="minimal" style="left:220px; top:30px; width:85px; height:20px; ">
- <choices>
- <item>
- <label>订单材</label>
- <value>1</value>
- </item>
- <item>
- <label>余材</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption4" class="cell" style="left:160px; top:30px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">余材区分</caption>
- <caption id="caption5" class="cell" style="left:320px; top:30px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">板坯宽度</caption>
- <caption id="caption6" class="cell" style="left:480px; top:30px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">板坯去向</caption>
- <input id="input4" ref="/root/searchData/SLAB_WTH" style="left:380px; top:30px; width:85px; height:20px; "/>
- <select1 id="combo6" ref="/root/searchData/SLAB_RT" appearance="minimal" style="left:540px; top:30px; width:80px; 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/>
- </item>
- </choices>
- </select1>
- </xhtml:body>
- </xhtml:html>
|