| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355 |
- <?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[热轧作业>>轧辊/热轧标准>>热轧操作标准登录与查询(UIH010010)]]>
- </xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <formData>
- <PRODNM_CD/>
- <SPEC_ABBSYM/>
- <THK_TGT/>
- <STL_GRD/>
- <SEASON>SU</SEASON>
- </formData>
- <gridata>
- <grid1/>
- <grid2/>
- <grid3/>
- </gridata>
- <resData/>
- <reqData/>
- <selectData>
- <SPEC_ABBSYM/>
- </selectData>
- <THKTGT/>
- <codeData/>
- <initData>
- <searchInfo>
- <LG_CD>B01118,B01001</LG_CD>
- </searchInfo>
- </initData>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- initPage();
- commSendReq("/root/initData");
- commSubmit("UIGCOMMCODE-service","find","glueAction.do");
- model.copyNode("/root/codeData","/root/resData");
- commSendReq("root/reqData");
- model.refresh();
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../js/boaCommon.js"/>
- <script type="javascript">
- <![CDATA[
- function Init(node) {
- InitParams(node);
- }
-
- //调用公共的初始化方法获得登录用户名
- 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;
- node = model.instances(0).selectSingleNode("/root/initData/rcvInfo");
- for (var i = 0; i < nodeList.length; i++)
- node.appendChild(nodeList.item(i));
- }
-
- function find()
- {
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
-
- commSendReq("/root/formData");
-
- commSubmit("UIH010010-service","find","glueAction.do");
-
- commAppendData("/root/gridata/grid1/MillSTDResult_VO","/root/resData/MillSTDResult_VO");
- commAppendData("/root/gridata/grid2/MillSTDResult_VO","/root/resData/MillSTDResult_VO");
- commAppendData("/root/gridata/grid3/MillSTDResult_VO","/root/resData/MillSTDResult_VO");
- //厚度组标准信息,放在钢号选择地方带出
- //commAppendData("/root/THKTGT_VO","/root/resData/THKTGT_VO");
-
- model.refresh();
-
- //这里在没有查询结果的情况下,需要为各个表格新增一行
- if(datagrid1.rows <= 2){
- datagrid1.addRow();
- }
- if(datagrid2.rows <= 2){
- datagrid2.addRow();
- }
- if(datagrid3.rows <= 2){
- datagrid3.addRow();
- }
- }
-
- function save(){
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
-
- //判断主键不能为空
- var PRODNM_CD = model.getValue("/root/formData/PRODNM_CD");
- alert(PRODNM_CD);
- var SPEC_ABBSYM = model.getValue("/root/formData/SPEC_ABBSYM");
- var STL_GRD = model.getValue("/root/formData/STL_GRD");
-
- if(PRODNM_CD == ""){
- alert(" 产品名称信息不能为空,请选择产品名称! ");
- return;
- }
- if(SPEC_ABBSYM == ""){
- alert(" 标准号信息不能为空,请输入标准号! ");
- return;
- }
- if(STL_GRD == ""){
- alert(" 标准钢号信息不能为空,请输入标准钢号! ");
- return;
- }
-
- //如果表格没有改变的话,人工的给予行状态
- var nodeSet1 = datagrid1.nodeset;
- var nodeSet2 = datagrid2.nodeset;
- var nodeSet3 = datagrid3.nodeset;
-
- for(var i=0;i<=datagrid1.rows;i++){
- datagrid1.rowStatus(i) = 3;
- }
-
- for(var j=0;j<=datagrid2.rows;j++){
- datagrid2.rowStatus(j) = 3;
- }
-
- for(var k=0;k<=datagrid3.rows;k++){
- datagrid3.rowStatus(k) = 3;
- }
-
- //每次保存标准都只能对应一条记录,因此控制表格行数
- if(datagrid1.rows > 3 || datagrid2.rows > 3 || datagrid3.rows > 3){
- alert(" 标准信息只能是唯一的一组,请确认后重新保存! ");
- }
-
- //需要把表头数据也发送到后台
- commSendReq("/root/formData");
- commMultiUpdate(datagrid1,"/root/reqData","A",true,"rowStuts1");
- commMultiUpdate(datagrid2,"/root/reqData","A",true,"rowStuts2");
- commMultiUpdate(datagrid3,"/root/reqData","A",true,"rowStuts3");
-
- //这里加入登录用户名,会不会与已有的initData冲突
- model.makeValue("/root/reqData/REG_ID",model.getValue("/root/initData/rcvInfo/REG_ID"));
-
- commSubmit("UIH010010-service","save","glueAction.do");
-
- model.refresh();
-
- //find();
-
- }
- function initPage()
- {
- //?里就必?作?子?面操作了
- if(window.parent != null){
- var openWindow = window.parent;
-
- model.setValue("/root/formData/PRODNM_CD",openWindow.model.getValue("/root/tempData/PRODNM_CD"));
- model.setValue("/root/formData/SPEC_ABBSYM",openWindow.model.getValue("/root/tempData/SPEC_ABBSYM"));
- model.setValue("/root/formData/STL_GRD",openWindow.model.getValue("/root/tempData/STL_GRD"));
-
- find();
- }
- }
-
- function remove(){
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
-
- commSendReq("/root/formData");
-
- commSubmit("UIH010010-service","del","glueAction.do");
-
- model.refresh();
-
- find();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body>
- <caption id="caption1" class="cell" style="left:0px; top:5px; width:90px; height:20px; vertical-align:middle; border-color:#000000; ">交货状态</caption>
- <caption id="caption2" class="cell" style="left:207px; top:5px; width:90px; height:20px; vertical-align:middle; border-color:#000000; ">标准号</caption>
- <caption id="caption4" class="cell" style="left:491px; top:5px; width:90px; height:20px; vertical-align:middle; border-color:#000000; ">标准钢号</caption>
- <input id="input4" ref="/root/formData/STL_GRD" maxlength="30" style="left:583px; top:5px; width:110px; height:20px; background-color:#ffff99; ">
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- //这里提供双击事件,带出相应的系统已有的钢号
- window.load("./UIH02_SELECT_STL_GRD.xrw", "modal", "modalWin", "left:400; top:100; width:650px; height:500px");
-
- model.refresh();
-
- //得到选中的钢号后,需要把相应的钢号带到标准表中获得相应的标准信息
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
-
- //清空厚度组标准信息节点
- model.removenode("/root/formData/THK_TGT");
- model.makeNode("/root/formData/THK_TGT");
-
- model.duplicate("/root/reqData","/root/formData/STL_GRD");
- commSubmit("UIH010010-service","findTHK","glueAction.do");
- commAppendData("/root/THKTGT_VO","/root/resData/THKTGT_VO");
- model.refresh();
- ]]>
- </script>
- <hint>
- <![CDATA[选择钢号获取相应的厚度组标准]]>
- </hint>
- </input>
- <caption id="caption5" class="cell" style="left:0px; top:35px; width:90px; height:20px; vertical-align:middle; border-color:#000000; ">板坯标准</caption>
- <datagrid id="datagrid1" nodeset="/root/gridata/grid1/MillSTDResult_VO/MillSTDResult_Row" caption="出炉温度^出炉温度^出炉温度^出炉均热度^出炉均热度^在炉时间(分钟)^在炉时间(分钟)^均热时间(分钟)^均热时间(分钟)^RT2温度^RT2温度^RT2温度|目标^上限^下限^目标^上限^下限^上限^下限^上限^目标^上限^下限" colsep="^" colwidth="110, 110, 110, 110, 110, 110, 110, 90, 105, 100, 100, 100" defaultrows="6" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:55px; width:975px; height:165px; ">
- <col ref="EXTRACT_TGT_TEMP" type="input" format="999999-9999999" maxlength="4" style="text-align:right; "/>
- <col ref="EXTRACT_MAX_TEMP" type="input" format="999999-9999999" maxlength="4" style="text-align:right; "/>
- <col ref="EXTRACT_MIN_TEMP" type="input" format="999999-9999999" maxlength="4" style="text-align:right; "/>
- <col ref="CHARGING_TGT_TEMP" type="input" format="999999-9999999" maxlength="4" style="text-align:right; "/>
- <col ref="CHARGING_MAX_TEMP" type="input" format="999999-9999999" maxlength="4" style="text-align:right; "/>
- <col ref="INFUR_MIN_HOUR" type="input" format="999999-9999999" maxlength="5" style="text-align:right; "/>
- <col ref="INFUR_MAX_HOUR" type="input" format="999999-9999999" maxlength="5" style="text-align:right; "/>
- <col ref="EQ_HT_MIN_HOUR" type="input" format="999999-9999999" maxlength="5" style="text-align:right; "/>
- <col ref="EQ_HT_MAX_HOUR" type="input" format="999999-9999999" maxlength="5" style="text-align:right; "/>
- <col ref="RT2_EXIT_TGT_TEMP" type="input" format="999999-9999999" maxlength="5" style="text-align:right; "/>
- <col ref="RT2_EXIT_MIN_TEMP" type="input" format="999999-9999999" maxlength="5" style="text-align:right; "/>
- <col ref="RT2_EXIT_MAX_TEMP" type="input" format="999999-9999999" maxlength="5" style="text-align:right; "/>
- </datagrid>
- <caption id="caption6" class="cell" style="left:0px; top:235px; width:90px; height:20px; vertical-align:middle; border-color:#000000; ">钢卷标准</caption>
- <datagrid id="datagrid2" nodeset="/root/gridata/grid2/MillSTDResult_VO/MillSTDResult_Row" scroll="both" caption="铁素体变换^铁素体变换^铁素体变换^R2出口温度^R2出口温度^R2出口温度^额定精轧温度^额定精轧温度^额定精轧温度^额定精轧温度^额定精轧温度^额定精轧温度^额定钢卷凸度(μ)^额定钢卷凸度(μ)^额定钢卷凸度(μ)^额定钢卷凸度(μ)^额定钢卷凸度(μ)^额定钢卷凸度(μ)^平直度偏差(I-Unit)^平直度偏差(I-Unit)|轧制模式^开始温度^结束温度^目标^公差(-)^公差(+)^目标(1)^目标(2)^目标(3)^目标(4)^公差(-)^公差(+)^目标^目标2^目标3^目标4^最小值^最大值^对称^非对称" colsep="^" colwidth="54, 59, 62, 58, 61, 56, 56, 49, 50, 59, 58, 58, 56, 56, 49, 52, 53, 54, 59, 65" defaultrows="6" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:260px; width:975px; height:165px; ">
- <col ref="FERR_MODE" type="input" maxlength="1"/>
- <col ref="FERR_CON_STA_TGT_TEMP" type="input" format="999999-9999999" maxlength="4" style="text-align:right; "/>
- <col ref="FERR_CON_END_TGT_TEMP" type="input" format="999999-9999999" maxlength="4" style="text-align:right; "/>
- <col ref="RM2_EXIT_TGT_TEMP" type="input" visibility="visible" format="999999-9999999" maxlength="4"/>
- <col ref="RM2_EXIT_MIN_TEMP" type="input" visibility="visible" format="999999-9999999" maxlength="4" style="text-align:right; "/>
- <col ref="RM2_EXIT_MAX_TEMP" type="input" visibility="visible" format="999999-9999999" maxlength="4" style="text-align:right; "/>
- <col ref="STRIP_TGT_TEMP1" type="input" format="999999-9999999" maxlength="4"/>
- <col ref="STRIP_TGT_TEMP2" type="input" format="999999-9999999" maxlength="4"/>
- <col ref="STRIP_TGT_TEMP3" type="input" format="999999-9999999" maxlength="4"/>
- <col ref="STRIP_TGT_TEMP4" type="input" format="999999-9999999" maxlength="4"/>
- <col ref="STRIP_MIN_TEMP" type="input" format="999999-9999999" maxlength="4" style="text-align:right; "/>
- <col ref="STRIP_MAX_TEMP" type="input" format="999999-9999999" maxlength="4" style="text-align:right; "/>
- <col ref="FM_ENT_TGT_CROWN_40" type="input" maxlength="3"/>
- <col ref="FM_ENT_TGT_CROWN_401" type="input"/>
- <col ref="FM_ENT_TGT_CROWN_402" type="input"/>
- <col ref="FM_ENT_TGT_CROWN_403" type="input"/>
- <col ref="FM_ENT_MIN_CROWN_40" type="input" maxlength="3" style="text-align:right; "/>
- <col ref="FM_ENT_MAX_CROWN_40" type="input" maxlength="3" style="text-align:right; "/>
- <col ref="SYM_FLATNESS_DEV" type="input" maxlength="3"/>
- <col ref="ASY_FLATNESS_DEV" type="input" maxlength="3"/>
- <hint>
- <![CDATA[下限输入目标(小),上限输入目标(大)]]>
- </hint>
- </datagrid>
- <datagrid id="datagrid3" nodeset="/root/gridata/grid3/MillSTDResult_VO/MillSTDResult_Row" scroll="both" caption="钢板契型(mm)^钢板契型(mm)^两阶段轧制^两阶段轧制^两阶段轧制^不冷却长度^不冷却长度^不冷却长度^冷却速率(%)^冷却速率(%)^卷取温度^卷取温度^卷取温度^卷取温度^卷取温度^卷取温度^打捆条数^打捆条数|最小值^最大值^标记^温度^时间^头部^尾部^全部^头部^尾部^目标(1)^目标(2)^目标(3)^目标(4)^公差(-)^公差(+)^横向^纵向" colsep="^" colwidth="54, 55, 56, 54, 65, 54, 45, 47, 52, 51, 62, 49, 51, 60, 58, 56, 47, 52" defaultrows="6" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:430px; width:975px; height:165px; ">
- <col ref="STRIP_WED_MIN" type="input" maxlength="3" style="text-align:right; "/>
- <col ref="STRIP_WED_MAX" type="input" maxlength="3" style="text-align:right; "/>
- <col ref="DUAL_PHASE_CLF" type="combo" maxlength="1">
- <choices>
- <item>
- <label>两阶段轧</label>
- <value>1</value>
- </item>
- <item>
- <label>非两阶段轧</label>
- <value>0</value>
- </item>
- </choices>
- </col>
- <col ref="DUAL_PHASE_TEMP" type="input" format="999999-9999999" maxlength="4" style="text-align:right; "/>
- <col ref="DUAL_PHASE_TIME" type="input" format="999999-9999999" maxlength="5" style="text-align:right; "/>
- <col ref="NON_COOL_LEN_HEAD" type="input" format="9999999999999" maxlength="8" style="text-align:right; "/>
- <col ref="NON_COOL_LEN_TAIL" type="input" format="9999999999999" maxlength="8" style="text-align:right; "/>
- <col ref="NON_COOL_LEN_NOR" type="input" format="9999999999999" maxlength="8" style="text-align:right; "/>
- <col ref="COOL_TOP_RATE" type="input" maxlength="2" style="text-align:right; "/>
- <col ref="COOL_BOT_RATE" type="input" maxlength="2" style="text-align:right; "/>
- <col ref="COILING_TGT_TEMP1" type="input" format="999999-9999999" maxlength="4"/>
- <col ref="COILING_TGT_TEMP2" type="input" format="999999-9999999" maxlength="4"/>
- <col ref="COILING_TGT_TEMP3" type="input" format="999999-9999999" maxlength="4"/>
- <col ref="COILING_TGT_TEMP4" type="input" format="999999-9999999" maxlength="4"/>
- <col ref="COILING_MAX_TEMP" type="input" format="999999-9999999" maxlength="4" style="text-align:right; "/>
- <col ref="COILING_MIN_TEMP" type="input" format="999999-9999999" maxlength="4" style="text-align:right; "/>
- <col ref="BINDING_WGT_CIR" type="input" format="999999-9999999" maxlength="1" style="text-align:right; "/>
- <col ref="BINDING_WGT_RAD" type="input" format="999999-9999999" maxlength="1" style="text-align:right; "/>
- <hint>
- <![CDATA[下限输入目标(小),上限输入目标(大)]]>
- </hint>
- </datagrid>
- <line id="line2" style="x1:5px; y1:25px; x2:974px; y2:25px; "/>
- <line id="line1" style="x1:0px; y1:227px; x2:974px; y2:227px; "/>
- <line id="line3" style="x1:0px; y1:425px; x2:974px; y2:425px; "/>
- <select1 id="combo1" ref="/root/formData/PRODNM_CD" appearance="minimal" style="left:92px; top:5px; width:110px; height:20px; background-color:#ffff99; ">
- <choices>
- <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'B01118']">
- <label ref="SM_CFNM"/>
- <value ref="SM_CFNM"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- //通过选择方法来获得相应的标准号
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
-
- commSubmit("UIH010010-service","select","glueAction.do");
-
- commAppendData("/root/selectData/SPEC_ABBSYM","/root/resData/SPEC_VO");
-
- model.refresh();
- ]]>
- </script>
- <hint>
- <![CDATA[选择产品名称获取相应的标准号]]>
- </hint>
- </select1>
- <select1 id="combo2" ref="/root/formData/SPEC_ABBSYM" appearance="minimal" editmode="inputsearch" style="left:299px; top:5px; width:186px; height:20px; background-color:#ffff99; ">
- <choices>
- <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'B01001']">
- <label ref="SM_CD"/>
- <value ref="SM_CD"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption7" class="cell" style="left:700px; top:5px; width:90px; height:20px; vertical-align:middle; border-color:#000000; ">季节类型</caption>
- <select1 id="combo4" ref="/root/formData/SEASON" appearance="minimal" style="left:792px; top:5px; width:110px; height:20px; background-color:#ffff99; ">
- <choices>
- <item>
- <label>冬</label>
- <value>WI</value>
- </item>
- <item>
- <label>夏</label>
- <value>SU</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- //通过选择方法来获得相应的标准号
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
-
- commSubmit("UIH010010-service","select","glueAction.do");
-
- commAppendData("/root/selectData/SPEC_ABBSYM","/root/resData/SPEC_VO");
-
- model.refresh();
- ]]>
- </script>
- <hint>
- <![CDATA[选择产品名称获取相应的标准号]]>
- </hint>
- </select1>
- </xhtml:body>
- </xhtml:html>
|