| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366 |
- <?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>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <reqData>
- </reqData>
- <detailData>
- <gridData>
- <grid1>
- <CAST_MANA_NO/>
- <CAST_CHARGE_SEQ/>
- <PRC_LINE/>
- <CHARGE_MANA_NO/>
- <STL_GRD/>
- <PREV_CHARGE_WGT/>
- <LINE_PROC_CD/>
- <CCM_THK/>
- <CCM_WTH/>
- <ORD_SLAB_CNT/>
- <NONORD_SLAB_CNT/>
- <PRE_BOF_STR_DTIME/>
- <PROG_CD/>
- <STATUS_CD/>
- <HCR_CLF/>
- <L2_SEND/>
- <MILL_FL/>
- </grid1>
- <grid2>
- <CHARGE_SLAB_SEQ/>
- <SLAB_EDT_SEQ/>
- <SLAB_MANA_NO/>
- <STL_GRD/>
- <SLAB_THK/>
- <SLAB_WTH/>
- <SLAB_LEN/>
- <SLAB_WGT/>
- <HCR_CLF/>
- <EMGMTR_NMG_CLF/>
- <OVER_ROLL_YN/>
- <ORD_FL/>
- <ORD_THK/>
- <ORD_WTH/>
- <ORD_USEAGE_CD/>
- <DELV_REQ_DATE/>
- <SLAB_RT/>
- </grid2>
- </gridData>
- </detailData>
- <initResult/>
- <gridData>
- </gridData>
- <errorMsg/>
- <formData>
- <searchForm>
- <CCM/>
- <RH/>
- <LF/>
- <StaCharge/>
- <EndCharge/>
- <AimCharge/>
- <OutPut1/>
- <OutPut2/>
- <OutPut3/>
- <change/>
- <VD/>
- <PRC_PATH>1</PRC_PATH>
- <STL_GRD/>
- <PRC_LINE/>
- <CCM_PRC_LINE/>
- <BOF/>
- <CAS/>
- <PATH_LENTH/>
- </searchForm>
- </formData>
- <g1Data>
- <rs1_VO/>
- </g1Data>
- <g2Data/>
- <g3Data/>
- <g4Data/>
- <tempreqData>
- <CHARGE_MANA_NO/>
- <CHK_RH/>
- <CHK_LF/>
- <CHK_CCM/>
- <MSG_ID/>
- <REG_ID/>
- <STL_GRD/>
- <PRC_LINE/>
- <CCM_PRC_LINE/>
- </tempreqData>
- <initData>
- <LG_CD>G02003</LG_CD>
- </initData>
- <codeData>
- </codeData>
- <cdCode/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- CHARGE_MANA_NO = model.property("CHARGE_MANA_NO");
- var Number = model.property("Number");
- //var LINE_PROC_CD = model.property("LINE_PROC_CD");
- var ST = model.property("ST");
- var STL_GRD = model.property("STL_GRD");
- // model.setValue("/root/tempreqData/STL_GRD",STL_GRD);
- // model.setValue("/root/tempreqData/PRC_LINE",Number);
-
- model.setValue("/root/formData/searchForm/STL_GRD",STL_GRD);
- model.setValue("/root/formData/searchForm/PRC_LINE",Number);
-
- // for(var i = 0;i<LINE_PROC_CD.length;i=i+2) {
- // var procd = LINE_PROC_CD.substr(i, 2);
- // if(procd.substr(0,1) == "R"){
- // checkbox1.value = "R";
- // }
- // if(procd.substr(0,1) == "L"){
- // checkbox2.value = "L";
- // }
- // if(procd.substr(0,1) == "J"){
- // cur_ccm_prc_line = procd.substr(1,1);
- //// model.setValue("/root/tempreqData/CCM_PRC_LINE",cur_ccm_prc_line);
- // }
- // }
- commSendReq("/root/initData");
- commSubmit("UIGCOMMCODE-service","find","glueAction.do");
- model.copyNode("/root/codeData","/root/resData");
-
- 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" src="../../js/F.js"/>
- <bind id="bind1" ref="/root/gridData2/EmpListResult_VO/EmpListResult_Row/SLAB_WGT" calculate="../SLAB_LEN * ../SLAB_THK * ../SLAB_WTH * ../GRAVITY div 1000000000"/>
- <submission id="submission1" mediatype="application/x-www-form-urlencoded" method="post"/>
- </model>
- <script type="javascript">
- <![CDATA[
- var cur_ccm_prc_line ;
- var change_ccm_prc_line;
- var CHARGE_MANA_NO
- var CHK_RH ="";
- var CHG_LF = "";
- var CHK_CCM = "";;
- function setTitle()
- {
- return "炼钢管制 >> 炼钢管制指示 >> 经过工序调整"; // 如:return "进程管理 >> 订单进程现况查询";
- }
- 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 Init(node) {
- InitParams(node);
- datagrid1.fixedcellcheckbox(0,datagrid1.colRef("CHK"))=true;//设置第0行的checkbox的属性为true 便于进行全选操作
- datagrid1.colStatus(0)=false; //设置第0列也即为checkbox所在列的列状态为false。
- commSubmit("UIF012040-service","success","glueAction.do");//提交服务
- model.duplicate("/root/initResult","/root/resData");//复制结点
- model.refresh();
- }
-
- function find() {
- model.removenode("/root/lastResult/resData");
- model.removenode("/root/reqData");
- commSendReq("/root/formData/searchForm");
- commSubmit("UIF012040-service","findProcChange","glueAction.do");
- commAppendData("/root/g1Data/rs1_VO","/root/resData/rs1_VO");
- model.refresh();
- }
- function close() {
- window.close();//关闭窗口
- }
- function save() {
-
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
-
- commMultiUpdate(datagrid1,"/root/reqData","A",true,"rowStatus");
- model.makeValue("/root/reqData/PRC_PATH",model.getValue("/root/formData/searchForm/PRC_PATH"));
- model.makeValue("/root/reqData/MSG_ID","NIF012170");
- model.makeValue("/root/reqData/REG_ID",model.getValue("/root/initData/rcvInfo/REG_ID"));
- commSubmit("UIF012040-service","save","glueAction.do");
- model.refresh();
-
- find();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="980" pageheight="620" guideline="1,981;">
- <line id="line3" style="x1:1px; y1:59px; x2:980px; y2:59px; border-color:#ff00ff; "/>
- <datagrid id="datagrid1" nodeset="/root/g1Data/rs1_VO/rs1_Row" visibility="visible" scroll="auto" backcoloralternate="#f7f9f9" caption="选择^浇次管理号^浇次内顺序^转炉号^炉次管理号^钢号^预定出钢量^处理路径^浇铸厚度^浇铸宽度^订单板坯块数^余材板坯块数^计划出钢开始^进程^状态区分^热送^L2传送|选择^浇次管理号^浇次内顺序^转炉号^炉次管理号^钢号^预定出钢量^处理路径^浇铸厚度^浇铸宽度^订单板坯块数^余材板坯块数^计划出钢开始^进程^状态区分^热送^L2传送" colsep="^" colwidth="30, 38, 31, 23, 66, 66, 50, 209, 29, 29, 29, 31, 120, 84, 38, 21, 24" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:63px; width:980px; height:287px; color:#000000; text-align:center; ">
- <col checkvalue="true,false" ref="CHK" type="checkbox"/>
- <col autonext="true" ref="CAST_MANA_NO" style="text-align:center; "/>
- <col ref="CAST_CHARGE_SEQ" type="output" style="text-align:right; "/>
- <col ref="PRC_LINE"/>
- <col ref="CHARGE_MANA_NO"/>
- <col disabled="true" editmode="search" ref="STL_GRD" style="text-align:left; "/>
- <col ref="PREV_CHARGE_WGT" format="#,##0" style="text-align:right; "/>
- <col ref="LINE_PROC_CD" style="text-align:left; "/>
- <col ref="CCM_THK" style="text-align:right; "/>
- <col ref="CCM_WTH" format="#,##0" style="text-align:right; "/>
- <col ref="ORD_SLAB_CNT" format="#,##0" style="text-align:right; "/>
- <col ref="NONORD_SLAB_CNT" format="#,##0" style="text-align:right; "/>
- <col ref="PRE_BOF_STR_DTIME" format="yyyy-mm-dd hh:nn:ss"/>
- <col disabled="true" editmode="search" ref="PROG_CD" style="text-align:left; "/>
- <col disabled="true" editmode="search" ref="STATUS_CD"/>
- <col disabled="true" editmode="search" ref="HCR_CLF"/>
- <col ref="L2_SEND"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var i ;
- i = datagrid1.row;//记录点击行
- if(datagrid1.row <= 1) return;
- if (!datagrid1.isCell(event.target)) return;
- var CHARGE_EDT_SEQ = model.getValue("/root/g1Data/rs1_VO/rs1_Row["+(i-1)+"]/CHARGE_EDT_SEQ");//记录当前行的炉次编制号
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- model.makeNode("/root/gData/CHARGE_EDT_SEQ");
- model.setValue("/root/gData/CHARGE_EDT_SEQ",CHARGE_EDT_SEQ);
- model.duplicate("/root/reqData","/root/gData/CHARGE_EDT_SEQ");//将炉次编制号做为请求变量复制到root/reqData结点中
- commSubmit("UIF012040-service","findChargeInfo","glueAction.do");
- commAppendData("/root/g2Data/rs2_VO","/root/resData/rs2_VO");//将/root/resData/rs3_VO的值复制到/root/g3Data/rs3_VO中
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <datagrid id="datagrid2" nodeset="/root/g2Data/rs2_VO/rs2_Row" scroll="auto" backcoloralternate="#f7f9f9" caption="炉次内顺序^板坯编制号^板坯管理号^钢号^板坯厚度^板坯宽度^板坯长度^重量^热送^紧急材^过量生产判断^订单材余材区分^订单厚度^订单宽度^订单用途^交货期^板坯去向|炉次内顺序^板坯编制号^板坯管理号^钢号^板坯厚度^板坯宽度^板坯长度^重量^热送^紧急材^过量生产判断^订单材余材区分^订单厚度^订单宽度^订单用途^交货期^板坯去向" colsep="^" colwidth="58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58" defaultrows="0" extendlastcol="false" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:360px; width:980px; height:260px; text-align:center; ">
- <col ref="CHARGE_SLAB_SEQ"/>
- <col ref="SLAB_EDT_SEQ" type="output" visibility="hidden"/>
- <col disabled="true" ref="SLAB_MANA_NO" style="background-color:#ffffff; "/>
- <col disabled="true" editmode="search" ref="STL_GRD" style="text-align:left; "/>
- <col ref="SLAB_THK" format="#,##0" style="text-align:right; background-color:#ffffff; "/>
- <col ref="SLAB_WTH" format="#,##0" style="text-align:right; background-color:#ffffff; "/>
- <col ref="SLAB_LEN" format="#,##0" style="text-align:right; "/>
- <col ref="SLAB_WGT" format="#,##0" style="text-align:right; background-color:#ffffff; "/>
- <col disabled="true" editmode="search" ref="HCR_CLF"/>
- <col ref="EMGMTR_NMG_CLF"/>
- <col ref="OVER_ROLL_YN"/>
- <col disabled="true" editmode="search" ref="ORD_FL"/>
- <col ref="ORD_THK" style="text-align:right; "/>
- <col ref="ORD_WTH" format="#,##0" style="text-align:right; "/>
- <col disabled="true" editmode="search" ref="ORD_USEAGE_CD" style="text-align:left; "/>
- <col ref="DELV_REQ_DATE" format="yyyy-mm-dd"/>
- <col disabled="true" editmode="search" ref="SLAB_RT"/>
- </datagrid>
- <line id="line1" style="x1:1px; y1:306px; x2:980px; y2:306px; border-color:#0000ff; "/>
- <select1 id="combo1" ref="/root/formData/searchForm/RH" appearance="minimal" style="left:35px; top:35px; width:105px; height:20px; ">
- <choices>
- <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'A' or (LG_CD = 'G02003' and SM_EFNM = 'R')]">
- <label ref="SM_CFNM"/>
- <value ref="SM_CD"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo2" ref="/root/formData/searchForm/LF" appearance="minimal" style="left:185px; top:35px; width:100px; height:20px; ">
- <choices>
- <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'A' or (LG_CD = 'G02003' and SM_EFNM = 'L')]">
- <label ref="SM_CFNM"/>
- <value ref="SM_CD"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo3" ref="/root/formData/searchForm/VD" appearance="minimal" style="left:325px; top:35px; width:105px; height:20px; ">
- <choices>
- <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'A' or (LG_CD = 'G02003' and SM_EFNM = 'V')]">
- <label ref="SM_CFNM"/>
- <value ref="SM_CD"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption4" class="cell" style="left:145px; top:35px; width:40px; height:20px; text-align:center; border-style:solid; ">LF炉</caption>
- <select1 id="combo4" ref="/root/formData/searchForm/CCM" appearance="minimal" style="left:474px; top:35px; width:105px; height:20px; ">
- <choices>
- <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'A' or (LG_CD = 'G02003' and SM_EFNM = 'J')]">
- <label ref="SM_CFNM"/>
- <value ref="SM_CD"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption5" class="cell" style="left:290px; top:35px; width:35px; height:20px; text-align:center; border-style:solid; ">VD炉</caption>
- <caption id="caption8" class="cell" style="left:0px; top:35px; width:35px; height:20px; text-align:center; border-style:solid; ">RH炉</caption>
- <caption id="caption9" class="cell" style="left:434px; top:35px; width:40px; height:20px; text-align:center; border-style:solid; ">连铸机</caption>
- <caption id="caption2" class="cell" style="left:645px; top:35px; width:90px; height:20px; text-align:center; border-style:solid; ">处理路径</caption>
- <select1 id="combo5" ref="/root/formData/searchForm/PRC_PATH" appearance="minimal" style="left:735px; top:35px; width:226px; height:20px; ">
- <choices>
- <itemset nodeset="/root/cdCode/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'F01004' or LG_CD ='A']">
- <label ref="SM_CFNM"/>
- <value ref="SM_CD"/>
- </itemset>
- </choices>
- </select1>
- <button id="button1" style="left:580px; top:35px; width:65px; height:20px; ">
- <caption>确认</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var lenth = 0;
-
- var mc = model.getValue("/root/formData/searchForm/PRC_LINE");
- model.setValue("/root/formData/searchForm/BOF","B" + mc);
- model.setValue("/root/formData/searchForm/CAS","C" + mc);
-
- if(model.getValue("/root/formData/searchForm/BOF") == ""){
- alert(" 转炉号不能为空! ","错误");
- return ;
- }else{
- lenth = lenth + 2;
- }
- if(model.getValue("/root/formData/searchForm/CAS") != ""){
- lenth = lenth + 2;
- }
- if(model.getValue("/root/formData/searchForm/LF") != ""){
- lenth = lenth + 2;
- }
- if(model.getValue("/root/formData/searchForm/RH") != ""){
- lenth = lenth + 2;
- }
- if(model.getValue("/root/formData/searchForm/VD") != ""){
- lenth = lenth + 2;
- }
- if(model.getValue("/root/formData/searchForm/CCM") == ""){
- alert(" 连铸机不能为空! ","错误");
- return ;
- }else{
- lenth = lenth + 2;
- }
- model.setValue("/root/formData/searchForm/PATH_LENTH",lenth);
-
- commSendReq("/root/formData/searchForm");
- commSubmit("UIF012040-service","find_path_cd","glueAction.do");
- model.copyNode("/root/cdCode","/root/resData");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption1" class="cell" style="left:0px; top:0px; width:90px; height:20px; text-align:center; border-style:solid; ">转炉号</caption>
- <input id="input1" ref="/root/formData/searchForm/PRC_LINE" maxlength="1" format="999999-9999999" style="left:90px; top:0px; width:120px; height:20px; ">
- <hint>
- <![CDATA[必须输入转炉号:1、2]]>
- </hint>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- find();
- ]]>
- </script>
- </input>
- <caption id="caption3" class="cell" style="left:215px; top:0px; width:90px; height:20px; text-align:center; border-style:solid; ">牌号</caption>
- <input id="input2" ref="/root/formData/searchForm/STL_GRD" style="left:305px; top:0px; width:120px; height:20px; "/>
- <line id="line2" style="x1:2px; y1:27px; x2:981px; y2:27px; border-color:#ff00ff; "/>
- </xhtml:body>
- </xhtml:html>
|