| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564 |
- <?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[生产管制 >> 热轧管理 >> HCR料轧制作业指示确定]]>
- </xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <chargeInfo>
- <resData>
- <slabCnt/>
- </resData>
- </chargeInfo>
- <chargeCombo>
- <item>
- <lable/>
- <value/>
- </item>
- </chargeCombo>
- <detailData>
- <dgrid1>
- <CHARGE_SLAB_SEQ/>
- <SLAB_EDT_SEQ/>
- <SLAB_MANA_NO/>
- <SLAB_WTH/>
- <SLAB_LEN/>
- <ORD_THK/>
- <ORD_WTH/>
- <ORD_WGT/>
- <STL_GRD/>
- <HCR_CLF/>
- <ORD_NO/>
- <ORD_SEQ/>
- <SPEC_ABBSYM/>
- <SLAB_RT/>
- </dgrid1>
- <dgrid2>
- <SEQ_NO/>
- <ROLL_MANA_NO/>
- <ROLL_SLAB_CNT/>
- <ROLL_SLAB_WGT/>
- <MILL_LEN/>
- </dgrid2>
- <dgrid3>
- <ROLL_NO/>
- <ROLL_SLAB_SEQ/>
- <SLAB_NO/>
- <SLAB_WTH/>
- <SLAB_LEN/>
- <ORD_THK/>
- <ORD_WTH/>
- <ORD_WGT/>
- <STL_GRD/>
- <STATUS_CD/>
- <CUR_STORE_LOC/>
- <HCR_CLF/>
- <ORD_NO/>
- <ORD_SEQ/>
- <SPEC_ABBSYM/>
- <ORD_USEAGE_CD/>
- <DELV_REQ_DATE/>
- <ROUTE/>
- <FUR_IN_PRE_DTIME/>
- </dgrid3>
- </detailData>
- <tempreqData>
- <CHARGE_EDT_SEQ/>
- <ROLL_MANA_NO/>
- <POSITION/>
- <USER_NAME/>
- <CHARGE_MANA_NO/>
- </tempreqData>
- <formData>
- <Position/>
- <Charge_Mana/>
- <ROLL_MANA_NO/>
- <V_PROG_CD/>
- </formData>
- <g2Data/>
- <gData>
- <ROLL_MANA_NO/>
- </gData>
- <g3Data/>
- <g1Data/>
- <initResult/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var CHARGE_HCR_CLF = "";
- //getChart();
- commSubmit("UIF023100-service","success","glueAction.do");//提交服务
- model.duplicate("/root/initResult","/root/resData");//复制结点
- commAppendData("/root/g2Data/rs2_VO","/root/resData/rs2_VO");
- model.refresh();
- if (window.parent == null) Init();
- ]]>
- </script>
- </model>
- <script type="javascript">
- <![CDATA[
- var millfl = false;
-
- var chargeMana = "";
- var V_PROG_CD = "";
- var P_CHARGE_MANA_NO = "";
- var rollCnt = 0;
- var slabCnt = 0;
- var chareEdtSeq;
- var rectangleLeft, rectangleTop;
-
- var rollList = null;
- var mill_fl = null;
- var input_wdt_arr = null;
- var chargeList = null;
- var rectangleList = null;
- var slab_wth_List = null;
- var coil_thk_List = null;
- var hcr_clf = null;
- var ord_fl = null;
- var slab_no_list= null;
- var roll_nodeList = null;
- var slab_nodeList = null;
- // var slab_wthList = null;
- // var coil_thkList = null;
- var input_wdt = 0;
-
- var roll_row_path = "/root/initResult/resData/resultkey0_VO/resultkey0_Row";
- var slab_row_path = "/root/initResult/resData/resultkey1_VO/resultkey1_Row";
- // var slabWth_row_path = "/root/initResult/resData/resultkey1_VO/resultkey1_Row";
- // var coilThk_row_path = "/root/initResult/resData/resultkey2_VO/resultkey2_Row";
-
- var coordinateY = 40;
- var coordinateX = 228;
- var groupTop1 = 136;
- var input_hight = 20;
-
- var wthHighRate = 1/18;
- var thkHighRate = 5;
- var lineBorder = 2;
-
- var slabUnitHigh = 100;
- var slabUnitWidth = 8;//控制板坯的显示宽度比率
- var RollUnitHigh = 20;//控制板坯的显示高度的比率
- var rollUnitTop = 300;//控制板坯的显示TOP的位置
- var rollUnitLeftInit = 20;//控制板坯的LEFT开始位置
-
- //2. 页面初始化函数(必须)
- function Init(node)
- {
- model.setValue("/root/tempreqData/USER_NAME",model.getValue("/root/initData/rcvInfo/REG_ID"));
- //InitParams(node); // 用于设置节点:/root/initData/rcvInfo,获取用户登录信息
- // 在程序中会重建该节点,最好不要重名
- // 函数 InitParams 在 mesCommon.js 中,仅在需要使用登录用户信息时调用
- }
-
- //3、页面标题
- function setTitle()
- {
- return "热轧管制 >> 热轧管制指示 >> HCR料轧制作业指示确定"; // 如:return "进程管理 >> 订单进程现况查询";
- }
- function getChart() {
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- commSubmit("UIF023100-service","success","glueAction.do");//提交服务
- if (model.getValue("/root/resData/errorData") != "") {
- alert(model.getValue("/root/resData/errorData"));
- return;
- }
- model.removenode("/root/initResult");
- model.makeNode("/root/initResult");
- model.duplicate("/root/initResult","/root/resData");//复制结点
- removeChild();
- // model.refresh();
- }
- function initChartParams()
- {
- roll_nodeList = root.selectNodes(roll_row_path);
- slab_nodeList = root.selectNodes(slab_row_path);
- // slab_wthList = root.selectNodes(slabWth_row_path);
- // coil_thkList = root.selectNodes(coilThk_row_path);
- rollCnt = roll_nodeList.length;
- slabCnt = slab_nodeList.length;
-
-
- rollList = new Array(rollCnt);
- mill_fl = new Array(rollCnt);
- input_wdt_arr = new Array(rollCnt);
- chargeList = new Array();
- rectangleList = new Array(10);
- slab_wth_List = new Array(slabCnt);
- coil_thk_List = new Array(slabCnt);
- hcr_clf = new Array(slabCnt);
- ord_fl = new Array(slabCnt);
- slab_no_list= new Array(slabCnt);
- input_wdt = 0;
- var rectangle_left = rollUnitLeftInit;
-
- }
- function find()
- {
- getChart();
- commAppendData("/root/g2Data/rs2_VO","/root/resData/rs2_VO");
- initChartParams();
- display();
- model.refresh();
- group1.refresh();
- }
- function save()
- {
- // if(chargeMana == '') {
- // alert("请选择编制炉次");
- // return;
- // }
- // if(CHARGE_HCR_CLF != 'H') {
- // alert("请选择HCR编制");
- // return;
- // }
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- model.setValue("/root/tempreqData/CHARGE_EDT_SEQ",chareEdtSeq);
- model.setValue("/root/tempreqData/CHARGE_MANA_NO",output1.value);
- model.setValue("/root/tempreqData/ROLL_MANA_NO",output2.value);
-
- model.setValue("/root/tempreqData/POSITION",radio1.value);
- // alert(model.getValue("/root/initData/rcvInfo/REG_ID"));
- commSendReq("/root/tempreqData");
- commSubmit("UIF023100-service","hcrEdit","glueAction.do");
- alertError();
- if(!millfl) return;
- var oinput = null;
- for(var i = 1;i<=rollCnt;i++)
- {
- oinput = document.controls("input"+(i));//获取控件
- if(oinput.value == output1.value)
- {
- oinput.attribute("background-color") = "#ffff99";
- }
- }
- commAppendData("/root/g2Data/rs2_VO","/root/resData/rs2_VO");
- model.refresh();
- }
- function display()
- {
- rollDisplay();
- slabDisplay();
- coilMeasurement();
- }
- function removeChild()
- {
- slabRemove();
- rollRemove();
- twoLineRemove();
-
- }
- function slabRemove()
- {
- for(var i = slabCnt;i>0;i--)
- {
- group1.removeChild("optwth"+i)
- group1.removeChild("optthk"+i);
- }
- }
-
- function rollRemove()
- {
- for(var i = rollCnt;i>0;i--)
- {
- group1.removeChild("input"+i)
- }
- }
- function twoLineRemove()
- {
- group1.removeChild("line1");
- group1.removeChild("line2");
- }
- function rollDisplay()
- {
- for(var i=1;i<=rollCnt;i++ )
- {
- rollList[i] = model.getValue(roll_row_path+"["+i+"]/CHARGE_MANA_NO");
- mill_fl[i] = model.getValue(roll_row_path+"["+i+"]/MILL_FL");
- var bgcolor = "";
- var wth = slabUnitWidth * model.getValue(roll_row_path+"["+(i)+"]/ROLL_SLAB_CNT");
- if(i == 1) {
- input_wdt +=( coordinateY + lineBorder);
- }else{
- input_wdt += (slabUnitWidth * model.getValue(roll_row_path+"["+(i-1)+"]/ROLL_SLAB_CNT"));
- }
- if(mill_fl[i] == "Y") {
- bgcolor = "#ffff99";
- }else {
- bgcolor = "#ffffff";
- }
- group1.createChild("xforms:input","id:input"+(i)+";left:"+input_wdt + "px;top:" + (82) + "px;width:"+wth+"px; height:" +input_hight+ "px;background-color:"+bgcolor+";border-color:#0000ff;text-align:center;border-width:1px;ref :" + roll_row_path+"["+ i +"]/CHARGE_MANA_NO");
- var oInput = document.controls("input"+(i));
- oInput.attribute("editable") = "false";
- }
- displayTwoLine();
- }
- function displayTwoLine()
- {
- group1.createChild("xforms:line","id:line1;x1:"+(coordinateY+lineBorder)+"px; y1:"+ (coordinateX- groupTop1-lineBorder-input_hight/2) +"px; x2:"+(slabCnt*slabUnitWidth + 100)+"px; y2:"+ (coordinateX- groupTop1-lineBorder-input_hight/2) +"px; border-color:#0000ff; border-width:2px; ");
- group1.createChild("xforms:line","id:line2;x1:"+(coordinateY+lineBorder)+"px; y1:"+ (coordinateX- groupTop1+input_hight/2) +"px; x2:"+(slabCnt*slabUnitWidth + 100)+"px; y2:"+ (coordinateX- groupTop1+input_hight/2) +"px; border-color:#0000ff; border-width:2px; ");
- }
- function slabDisplay()
- {
- for(var i = 1;i<=slabCnt;i++)
- {
- slab_wth_List[i] = model.getValue(slab_row_path+"["+i+"]/WTH_AIM");
- coil_thk_List[i] = model.getValue(slab_row_path+"["+i+"]/HOT_THK_AIM");
- hcr_clf[i] = model.getValue(slab_row_path+"["+i+"]/HCR_CLF");
- ord_fl[i] = model.getValue(slab_row_path+"["+i+"]/ORD_FL");
- slab_no_list[i] = model.getValue(slab_row_path+"["+i+"]/SLAB_NO");
- var bgcolor = "#ffffff";
- if(hcr_clf[i] == "H") {
- bgcolor = "#ff5050";
- } else if(hcr_clf[i] == "C" && ord_fl[i] =="1") {
- bgcolor = "#c0c0c0";
- }
- if(i == 1) {
- rectangle_left = coordinateY + lineBorder;
- }else {
- rectangle_left += slabUnitWidth;
- }
- group1.createChild("xforms:output","id:optwth"+ i + ";left:"+ (rectangle_left) + "px;top:" + (coordinateX- groupTop1-input_hight/2 - slab_wth_List[i] * wthHighRate)+ "px;width:" +slabUnitWidth+ "px; height:" + slab_wth_List[i] * wthHighRate+ "px; border-style:solid;background-color:"+bgcolor);
- group1.createChild("xforms:output","id:optthk"+ i + ";left:"+ (rectangle_left) + "px;top:" + (coordinateX- groupTop1+input_hight/2)+ "px;width: "+slabUnitWidth+ "px; height:" + coil_thk_List[i] * thkHighRate + "px;border-style:solid;background-color:"+bgcolor);
- }
- }
-
- function coilMeasurement()
- {
- group1.createChild("xforms:line","id:lineWth+"+(1)+";x1:40px; y1:" + (coordinateX- groupTop1-lineBorder-1000 * wthHighRate)+"px; x2:30px; y2:" + (coordinateX- groupTop1-lineBorder-1000 * wthHighRate)+ "px;");
- group1.createChild("xforms:line","id:lineWth+"+(2)+";x1:40px; y1:" + (coordinateX- groupTop1-lineBorder-1500 * wthHighRate)+"px; x2:30px; y2:" + (coordinateX- groupTop1-lineBorder-1500 * wthHighRate)+ "px;");
- group1.createChild("xforms:caption","id:capintionWth+"+(1)+";left:"+5+"px; top:"+(coordinateX- groupTop1-lineBorder-1000 * wthHighRate-5)+"px; width:35px; height:15px; vertical-align:middle;value:"+1000+"");
- group1.createChild("xforms:caption","id:capintionWth+"+(2)+";left:"+5+"px; top:"+(coordinateX- groupTop1-lineBorder-1500 * wthHighRate-5)+"px; width:35px; height:15px; vertical-align:middle;value:"+1500+"");
-
- group1.createChild("xforms:line","id:lineThk+"+(1)+";x1:40px; y1:"+(coordinateX- groupTop1+input_hight/2+ 5*thkHighRate)+"px; x2:30px; y2:"+ (coordinateX- groupTop1+input_hight/2+ 5*thkHighRate)+ "px;");
- group1.createChild("xforms:caption","id:capintionThk+"+(1)+";left:5px; top:"+(coordinateX- groupTop1+input_hight/2+ 4*thkHighRate)+"px; width:35px; height:15px; vertical-align:middle;value:"+5+"");
- group1.createChild("xforms:line","id:lineThk+"+(2)+";x1:40px; y1:"+(coordinateX- groupTop1+input_hight/2+ 10*thkHighRate)+"px; x2:30px; y2:"+ (coordinateX- groupTop1+input_hight/2+ 10*thkHighRate)+ "px;");
- group1.createChild("xforms:caption","id:capintionThk+"+(2)+";left:5px; top:"+(coordinateX- groupTop1+input_hight/2+ 9*thkHighRate)+"px; width:35px; height:15px; vertical-align:middle;value:"+10+"");
- group1.createChild("xforms:line","id:lineThk+"+(3)+";x1:40px; y1:"+(coordinateX- groupTop1+input_hight/2+ 16*thkHighRate)+"px; x2:30px; y2:"+ (coordinateX- groupTop1+input_hight/2+ 16*thkHighRate)+ "px;");
- group1.createChild("xforms:caption","id:capintionThk+"+(3)+";left:5px; top:"+(coordinateX- groupTop1+input_hight/2+ 14*thkHighRate)+"px; width:35px; height:15px; vertical-align:middle;value:"+16.0+"");
- }
-
- function alertError() {
- if (model.getValue("/root/resData/errorData") != "") {
- alert(model.getValue("/root/resData/errorData"));
- millfl = false;
- } else {
- millfl = true;
- }
- }
-
- function fowardUID010031(gridID,colName) {
- if(gridID.col == gridID.colRef(colName)) {
- model.makeValue("/root/fwdData/UID010031/ORD_NO", gridID.valueMatrix(gridID.row, gridID.colRef("ORD_NO")));
- model.makeValue("/root/fwdData/UID010031/ORD_SEQ", gridID.valueMatrix(gridID.row, gridID.colRef("ORD_SEQ")));
- model.makeValue("/root/fwdData/UID010031/URL", "../../B/B01/UIB015020.xrw");
- var java = window.parent.javaScript;
- java.open(model.instances(0).selectSingleNode("/root/fwdData/UID010031"));
- }
- }
- ]]>
- </script>
- <script type="javascript" src="../../js/boaCommon.js"/>
- <script type="javascript" src="../../js/boaMsg.js"/>
- </xhtml:head>
- <xhtml:body overflow="scroll" guideline="1,979;2,137;2,228;2,32;2,620;" style="background-color:#ffffff; ">
- <group id="group1" overflow="scroll" scroll="horizontal" style="left:0px; top:33px; width:980px; height:201px; ">
- <line id="lineY" style="x1:40px; y1:0px; x2:40px; y2:184px; background-color:#0000ff; border-color:#0000ff; border-width:2px; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var oInput = null;
- var currentTarget = event.target;
- oInput = document.controls(currentTarget);
- if(oInput.elementName == "xforms:input") {
- output1.value = oInput.value;
- for(var i = 1;i<=rollCnt;i++) {
- chargeMana = model.getValue("/root/initResult/resData/resultkey0_VO/resultkey0_Row["+i+"]/CHARGE_MANA_NO");
-
- P_CHARGE_MANA_NO = chargeMana
- if(oInput.value == chargeMana) {
- CHARGE_HCR_CLF = model.getValue("/root/initResult/resData/resultkey0_VO/resultkey0_Row["+i+"]/HCR_CLF");
- chareEdtSeq = model.getValue("/root/initResult/resData/resultkey0_VO/resultkey0_Row["+i+"]/CHARGE_EDT_SEQ");
- model.property("CHARGE_EDT_SEQ") = chareEdtSeq;
- V_PROG_CD = model.getValue("/root/initResult/resData/resultkey0_VO/resultkey0_Row["+i+"]/PROG_CD");
- output3.value= V_PROG_CD;
- model.setValue("/root/tempreqData/CHARGE_EDT_SEQ",chareEdtSeq);
- }
- }
- }else {
- alert("请点击炉次号");
- return;
- }
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- commSendReq("/root/tempreqData");
- commSubmit("UIF023100-service","onclick","glueAction.do");
- commAppendData("/root/g1Data/rs1_VO","/root/resData/rs1_VO");
- model.refresh();
- ]]>
- </script>
- </group>
- <caption id="caption2" class="cell" style="left:0px; top:242px; width:121px; height:20px; text-align:center; border-style:solid; ">编制对象炉次管理号</caption>
- <datagrid id="datagrid1" nodeset="/root/g1Data/rs1_VO/rs1_Row" scroll="auto" backcoloralternate="#f7f9f9" caption="顺序^板坯编制号^板坯管理号^板坯厚度^板坯宽度^板坯长度^板坯重量^目标厚度^目标宽度^钢卷重量^热送代号^合同号^订单号^钢号^余材^标准号^板坯去向^发货方式^客户成分特殊要求^材质特殊要求^公差特殊要求^去向" colsep="^" colwidth="56, 67, 98, 60, 60, 60, 60, 67, 67, 67, 73, 103, 47, 57, 40, 88, 100, 60, 60, 60, 100" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheight="30" rowsep="|" tooltip="label" style="left:0px; top:270px; width:980px; height:105px; ">
- <col editable="false" ref="CHARGE_SLAB_SEQ" style="left:80px; top:40px; width:285px; height:20px; text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="SLAB_EDT_SEQ" visibility="hidden" style="left:208px; top:40px; width:285px; height:20px; text-align:right; background-color:#ffffff; "/>
- <col ref="SLAB_MANA_NO" 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 editable="false" ref="HOT_THK_AIM" format="#.###" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="WTH_AIM" format="#,##0" style="left:864px; top:40px; width:439px; height:20px; text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="ORD_WGT" format="#,##0" style="left:720px; top:40px; width:285px; height:20px; text-align:right; background-color:#ffffff; "/>
- <col disabled="true" editmode="search" ref="HCR_CLF" style="text-align:center; "/>
- <col ref="ORD_NO" style="text-align:center; "/>
- <col ref="ORD_SEQ" style="text-align:center; "/>
- <col disabled="true" editmode="search" ref="STL_GRD" style="text-align:left; "/>
- <col ref="ORD_FL"/>
- <col ref="SPEC_ABBSYM" style="text-align:left; "/>
- <col ref="SLAB_RT" style="text-align:left; "/>
- <col ref="DLIV_TP"/>
- <col ref="INGR_YN" style="text-decoration:underline; color:#0000ff; cursor:hand; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fowardUID010031(datagrid1,"INGR_YN");
- ]]>
- </script>
- </col>
- <col ref="QLTY_YN" style="text-decoration:underline; color:#0000ff; cursor:hand; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fowardUID010031(datagrid1,"QLTY_YN");
- ]]>
- </script>
- </col>
- <col ref="DEL_YN" style="text-decoration:underline; color:#0000ff; cursor:hand; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fowardUID010031(datagrid1,"DEL_YN");
- ]]>
- </script>
- </col>
- </datagrid>
- <caption id="caption3" class="cell" style="left:0px; top:381px; width:121px; height:20px; text-align:center; border-style:solid; ">轧制单元号</caption>
- <datagrid id="datagrid2" nodeset="/root/g2Data/rs2_VO/rs2_Row" scroll="auto" backcoloralternate="#f7f9f9" caption="轧制单元号^编制轧辊内板坯数^编制轧辊内板坯重量^轧制长度|轧制单元号^编制轧辊内板坯数^编制轧辊内板坯重量^轧制长度" colsep="^" colwidth="49, 71, 75, 141" defaultrows="0" extendlastcol="false" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:408px; width:285px; height:212px; ">
- <col ref="ROLL_MANA_NO" style="left:100px; top:40px; width:100px; height:100px; text-align:center; "/>
- <col ref="ROLL_SLAB_CNT" format="#,##0" style="text-align:right; "/>
- <col ref="ROLL_SLAB_WGT" format="#,##0" style="text-align:right; "/>
- <col ref="MILL_LEN" format="#,##0" style="text-align:right; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var i ;
- i = datagrid2.mouseRow;//记录点击行
- var ROLL_MANA_NO = model.getValue("/root/g2Data/rs2_VO/rs2_Row["+(i-1)+"]/ROLL_MANA_NO");//记录当前行的炉次编制号
- output2.value = ROLL_MANA_NO;
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- model.makeNode("/root/gData/ROLL_MANA_NO");
- model.setValue("/root/gData/ROLL_MANA_NO",ROLL_MANA_NO);
- model.duplicate("/root/reqData","/root/gData/ROLL_MANA_NO");//将炉次编制号做为请求变量复制到root/reqData结点中
- commSubmit("UIF023100-service","findMillSpec","glueAction.do");
- commAppendData("/root/g3Data/rs3_VO","/root/resData/rs3_VO");//将/root/resData/rs3_VO的值复制到/root/g3Data/rs3_VO中
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <shape id="rectangle1" appearance="rectangle" style="left:897px; top:7px; width:7px; height:13px; background-color:#ffff99; "/>
- <caption id="caption4" style="left:906px; top:5px; width:67px; height:20px; vertical-align:middle; ">已编制炉次</caption>
- <select1 id="radio1" ref="/root/formData/Position" appearance="full" cols="2" overflow="visible" style="left:242px; top:383px; width:95px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>前</label>
- <value>B</value>
- </item>
- <item>
- <label>后</label>
- <value>A</value>
- </item>
- </choices>
- </select1>
- <datagrid id="datagrid3" nodeset="/root/g3Data/rs3_VO/rs3_Row" scroll="auto" backcoloralternate="#f7f9f9" caption="顺序^板坯号^板坯^板坯^板坯^板坯^轧制^轧制^轧制^轧制^轧制^轧制^轧制^轧制^状态区分^堆置位置^热送代号^合同号^订单号^钢号^标准号^订单用途^交货期^紧急材^去向^计划加热炉装炉日期^发货方式^客户成分特殊要求^材质特殊要求^公差特殊要求|顺序^板坯号^厚度^宽度^长度^重量^目标厚度^厚度下限^厚度上限^目标宽度^宽度下限^宽度上限^长度^重量^状态区分^堆置位置^热送代号^合同号^订单号^钢号^标准号^订单用途^交货期^紧急材^去向^计划加热炉装炉日期^发货方式^客户成分特殊要求^材质特殊要求^公差特殊要求" colsep="^" colwidth="52, 51, 50, 40, 50, 50, 57, 55, 55, 55, 55, 55, 55, 55, 30, 30, 30, 50, 45, 35, 49, 60, 60, 100, 42, 100, 100, 60, 60, 60" defaultrows="0" extendlastcol="false" mergecellsfixedrows="bycolrec" rowsep="|" style="left:292px; top:408px; width:688px; height:212px; ">
- <col ref="ROLL_SLAB_SEQ" style="left:100px; top:40px; width:100px; height:100px; text-align:right; "/>
- <col ref="SLAB_NO" style="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="HOT_THK_AIM" 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 ref="WTH_AIM" 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 ref="MILL_LEN" format="#,##0" style="text-align:right; "/>
- <col ref="MILL_WGT" format="#,##0" style="text-align:right; "/>
- <col disabled="true" editmode="search" ref="STATUS_CD" style="text-align:center; "/>
- <col ref="CUR_LOAD_LOC" style="text-align:center; "/>
- <col disabled="true" editmode="search" ref="HCR_CLF" style="text-align:center; "/>
- <col ref="ORD_NO" style="text-align:center; "/>
- <col ref="ORD_SEQ" style="text-align:center; "/>
- <col disabled="true" editmode="search" ref="STL_GRD" 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="DELV_REQ_DATE" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="EMGMTR_NMG_CLF"/>
- <col disabled="true" editmode="search" ref="ROUTE" style="text-align:center; "/>
- <col ref="FUR_IN_PRE_DTIME" style="text-align:center; "/>
- <col ref="DLIV_TP"/>
- <col ref="INGR_YN" style="text-decoration:underline; color:#0000ff; cursor:hand; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fowardUID010031(datagrid3,"INGR_YN");
- ]]>
- </script>
- </col>
- <col ref="QLTY_YN" style="text-decoration:underline; color:#0000ff; cursor:hand; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fowardUID010031(datagrid3,"QLTY_YN");
- ]]>
- </script>
- </col>
- <col ref="DEL_YN" style="text-decoration:underline; color:#0000ff; cursor:hand; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fowardUID010031(datagrid3,"DEL_YN");
- ]]>
- </script>
- </col>
- </datagrid>
- <output id="output1" ref="/root/formData/Charge_Mana" style="left:122px; top:242px; width:110px; height:20px; border-color:#c0c0c0; border-style:solid; "/>
- <output id="output2" ref="/root/formData/ROLL_MANA_NO" style="left:122px; top:381px; width:110px; height:20px; border-color:#c0c0c0; border-style:solid; "/>
- <shape id="rectangle2" appearance="rectangle" style="left:858px; top:7px; width:7px; height:13px; background-color:#ff0000; "/>
- <shape id="rectangle4" appearance="rectangle" style="left:817px; top:7px; width:7px; height:13px; background-color:#c0c0c0; "/>
- <caption id="caption6" style="left:868px; top:5px; width:21px; height:20px; vertical-align:middle; ">HCR</caption>
- <caption id="caption7" style="left:827px; top:5px; width:28px; height:20px; vertical-align:middle; ">CCR</caption>
- <button id="button3" style="left:901px; top:381px; width:73px; height:20px; text-align:right; background-image:../../images/save.gif; ">
- <caption>编制确定</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- save();
- ]]>
- </script>
- </button>
- <line id="line1" style="x1:0px; y1:238px; x2:980px; y2:238px; border-color:#ff00ff; "/>
- <line id="line2" style="x1:0px; y1:265px; x2:980px; y2:265px; border-color:#ff00ff; "/>
- <line id="line4" style="x1:0px; y1:377px; x2:980px; y2:377px; border-color:#ff00ff; "/>
- <line id="line5" style="x1:0px; y1:404px; x2:980px; y2:404px; border-color:#ff00ff; "/>
- <line id="line3" style="x1:288px; y1:405px; x2:288px; y2:620px; "/>
- <shape id="rectangle3" appearance="rectangle" style="left:772px; top:7px; width:7px; height:13px; background-color:#ffffff; "/>
- <caption id="caption1" style="left:781px; top:5px; width:28px; height:20px; vertical-align:middle; ">余材</caption>
- <caption id="caption5" class="cell" style="left:241px; top:242px; width:121px; height:20px; text-align:center; border-style:solid; ">进程</caption>
- <output id="output3" ref="/root/formData/V_PROG_CD" style="left:363px; top:242px; width:110px; height:20px; border-color:#c0c0c0; border-style:solid; "/>
- </xhtml:body>
- </xhtml:html>
|