| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273 |
- <?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[炼钢作业 >> 炼钢作业实绩 >> 预处理实绩查询与录入(UIG020010)]]>
- </xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <formData>
- <KR_CHARGE_NO/>
- <LAST_STEPNO/>
- </formData>
- <gridData>
- <grid1>
- </grid1>
- <grid2>
- </grid2>
- <grid3>
- </grid3>
- </gridData>
- <comboData/>
- <resData/>
- <reqData/>
- </root>
- </instance>
- </model>
- <script type="javascript">
- <![CDATA[
- function find()
- {
-
- commSendReq("/root/formData");
- commSubmit("UIG020010-service","find","glueAction.do");
-
- model.copyNode("/root/gridData/grid1","/root/resData/searchKrResult_VO");
- model.copyNode("/root/gridData/grid2","/root/resData/searchKrResult_VO");
- model.copyNode("/root/gridData/grid3","/root/resData/searchKrResult_VO");
- model.refresh();
-
- //判断datagrid1中是否有数据存在,无数据则为其增加一行使能输入
- if(datagrid1.rows==1)
- {
- datagrid1.addRow();
- }
- if(datagrid2.rows==2)
- {
- datagrid2.addRow();
- }
- if(datagrid3.rows==2)
- {
- datagrid3.addRow();
- }
- }
- function save()
- {
- var KrStat = "1";
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
-
- model.makeValue("/root/reqData/IRON_RECV_WGT",datagrid1.valueMatrix(1,datagrid1.colRef("IRON_RECV_WGT")));
- model.makeValue("/root/reqData/LD_NO",datagrid1.valueMatrix(1,datagrid1.colRef("LD_NO")));
- model.makeValue("/root/reqData/LD_ARRIV_DTIME",datagrid1.valueMatrix(1,datagrid1.colRef("LD_ARRIV_DTIME")));
- model.makeValue("/root/reqData/STA_DTIME",datagrid1.valueMatrix(1,datagrid1.colRef("STA_DTIME")));
- model.makeValue("/root/reqData/END_DTIME",datagrid1.valueMatrix(1,datagrid1.colRef("END_DTIME")));
- model.makeValue("/root/reqData/LD_DEP_DTIME",datagrid1.valueMatrix(1,datagrid1.colRef("LD_DEP_DTIME")));
- model.makeValue("/root/reqData/KR_NO",datagrid1.valueMatrix(1,datagrid1.colRef("KR_NO")));
- model.makeValue("/root/reqData/WKSHIFT",datagrid1.valueMatrix(1,datagrid1.colRef("WKSHIFT")));
- model.makeValue("/root/reqData/WKGROUP",datagrid1.valueMatrix(1,datagrid1.colRef("WKGROUP")));
- model.makeValue("/root/reqData/REG_ID",datagrid1.valueMatrix(1,datagrid1.colRef("REG_ID")));
-
- model.makeValue("/root/reqData/KR_CHARGE_NO",model.getValue("/root/formData/KR_CHARGE_NO"));
- model.makeValue("/root/reqData/END_TEMP",datagrid2.valueMatrix(2,datagrid2.colRef("END_TEMP")));
- model.makeValue("/root/reqData/MGO_WKER_INPUT_WGT",datagrid2.valueMatrix(2,datagrid2.colRef("MGO_WKER_INPUT_WGT")));
- model.makeValue("/root/reqData/CAO_WKER_INPUT_WGT",datagrid2.valueMatrix(2,datagrid2.colRef("CAO_WKER_INPUT_WGT")));
-
- commSubmit("UIG020010-service","save","glueAction.do");
- }
-
- function rightClick(){
- var checkValue = model.getValue("/root/formData/KR_CHARGE_NO");
- if(checkValue == null || checkValue == "")return;
- var tstvalue = parseInt(checkValue.substr(4,5),10);
- tstvalue = (tstvalue + 1) + "";
- var strLen = tstvalue.length;
- checkValue = checkValue.substr(0,4);
- for(var i = 0 ; i < (5 - strLen) ; i++){
- checkValue = checkValue + "0";
- }
- checkValue = checkValue + tstvalue;
- model.setValue("/root/formData/KR_CHARGE_NO",checkValue);
- find();
- }
-
- function leftClick(){
- var checkValue = model.getValue("/root/formData/KR_CHARGE_NO");
- if(checkValue == null || checkValue == "")return;
- var tstvalue = parseInt(checkValue.substr(4,5),10);
- tstvalue = (tstvalue - 1) + "";
- var strLen = tstvalue.length;
- checkValue = checkValue.substr(0,4);
- for(var i = 0 ; i < (5 - strLen) ; i++){
- checkValue = checkValue + "0";
- }
- checkValue = checkValue + tstvalue;
- model.setValue("/root/formData/KR_CHARGE_NO",checkValue);
- find();
- }
- ]]>
- </script>
- <script type="javascript" src="../../js/boaCommon.js"/>
- <script type="javascript" src="../../js/G02.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,980;">
- <caption id="caption2" class="cell" style="left:0px; top:5px; width:80px; height:20px; border-color:#000000; ">处理序号</caption>
- <datagrid id="datagrid1" nodeset="/root/gridData/grid1/searchKrResult_Row" allowuserresize="false" caption="处理日期^铁水重量^发生时刻^铁水包号^到达时刻^开始时刻^完成时刻^离开时刻^站号^班次^组^作业人" colsep="^" colwidth="86, 60, 80, 54, 115, 115, 115, 115, 50, 50, 50, 90" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:35px; width:980px; height:45px; border-color:#000000; ">
- <col ref="TREAT_DATE"/>
- <col ref="IRON_RECV_WGT" type="input" format="#,###" style="background-color:#ffff99; "/>
- <col ref="OCR_DTIME"/>
- <col ref="LD_NO" type="combo" style="background-color:#ffff99; ">
- <choices>
- <item>
- <label>S01</label>
- <value>S01</value>
- </item>
- <item>
- <label>S02</label>
- <value>S02</value>
- </item>
- <item>
- <label>S03</label>
- <value>S03</value>
- </item>
- <item>
- <label>S04</label>
- <value>S04</value>
- </item>
- <item>
- <label>S05</label>
- <value>S05</value>
- </item>
- <item>
- <label>S06</label>
- <value>S06</value>
- </item>
- <item>
- <label>S07</label>
- <value>S07</value>
- </item>
- <item>
- <label>S08</label>
- <value>S08</value>
- </item>
- <item>
- <label/>
- <value/>
- </item>
- </choices>
- </col>
- <col ref="LD_ARRIV_DTIME" type="inputdate" format="yyyy-mm-dd hh:nn:ss" style="background-color:#ffff99; "/>
- <col ref="STA_DTIME" type="inputdate" format="yyyy-mm-dd hh:nn:ss" style="background-color:#ffff99; "/>
- <col ref="END_DTIME" type="inputdate" format="yyyy-mm-dd hh:nn:ss" style="background-color:#ffff99; "/>
- <col ref="LD_DEP_DTIME" type="inputdate" format="yyyy-mm-dd hh:nn:ss" style="background-color:#ffff99; "/>
- <col editmode="inputsearch" ref="KR_NO" type="combo" style="background-color:#ffff99; ">
- <choices>
- <item>
- <label>K1</label>
- <value>1</value>
- </item>
- <item>
- <label>K2</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col editmode="inputsearch" ref="WKSHIFT" type="combo" style="background-color:#ffff99; ">
- <choices>
- <item>
- <label>早班</label>
- <value>1</value>
- </item>
- <item>
- <label>中班</label>
- <value>2</value>
- </item>
- <item>
- <label>晚班</label>
- <value>3</value>
- </item>
- <item>
- <label/>
- <value/>
- </item>
- </choices>
- </col>
- <col editmode="inputsearch" ref="WKGROUP" type="combo" style="background-color:#ffff99; ">
- <choices>
- <item>
- <label>甲</label>
- <value>1</value>
- </item>
- <item>
- <label>乙</label>
- <value>2</value>
- </item>
- <item>
- <label>丙</label>
- <value>3</value>
- </item>
- <item>
- <label>丁</label>
- <value>4</value>
- </item>
- </choices>
- </col>
- <col ref="REG_ID" type="input" style="background-color:#ffff99; "/>
- </datagrid>
- <datagrid id="datagrid2" nodeset="/root/gridData/grid2/searchKrResult_Row" allowuserresize="false" caption="处理后硫含量^处理后磷含量^处理后碳含量^处理后锰含量^处理后硅含量^处理后锑含量^结束温度^处理前扒渣与否^处理后扒渣与否^MgO设定值^CaO设定值^MgO使用量^CaO使用量|处理后硫含量^处理后磷含量^处理后碳含量^处理后锰含量^处理后硅含量^处理后锑含量^结束温度^处理前扒渣与否^处理后扒渣与否^MgO设定值^CaO设定值^MgO使用量^CaO使用量" colsep="^" colwidth="66, 66, 61, 65, 66, 65, 75, 75, 75, 93, 83, 95, 91" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:84px; width:980px; height:76px; border-color:#000000; ">
- <col ref="TREAT_AFT_S_WGT"/>
- <col ref="TREAT_AFT_P_WGT"/>
- <col ref="TREAT_AFT_C_WGT"/>
- <col ref="TREAT_AFT_MN_WGT"/>
- <col ref="TREAT_AFT_SI_WGT"/>
- <col ref="TREAT_AFT_TI_WGT"/>
- <col ref="END_TEMP" type="input" format="#,###" style="background-color:#ffff99; "/>
- <col ref="BEF_SLAG_REMOVE_YN"/>
- <col ref="AFT_SLAG_REMOVE_YN"/>
- <col ref="MGO_CAL_WGT"/>
- <col ref="CAO_CAL_WGT"/>
- <col ref="MGO_WKER_INPUT_WGT" type="input" format="#,###" style="background-color:#ffff99; "/>
- <col ref="CAO_WKER_INPUT_WGT" type="input" format="#,###" style="background-color:#ffff99; "/>
- </datagrid>
- <datagrid id="datagrid3" nodeset="/root/gridData/grid3/searchKrResult_Row" allowuserresize="false" caption="搅伴^ 搅伴^ 搅伴^扒前渣^扒前渣^扒前渣^扒前渣^扒后渣^扒后渣^扒后渣^扒后渣|作业时间^开始时刻^结束时刻^扒前渣量^作业时间^开始时刻^结束时刻^扒后渣量^作业时间^开始时刻^结束时刻" colsep="^" colwidth="80, 105, 105, 60, 80, 105, 101, 60, 80, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:165px; width:980px; height:115px; border-color:#000000; ">
- <col ref="MIX_TREAT_HOUR"/>
- <col ref="MIX_STA_DTIME"/>
- <col ref="MIX_END_DTIME"/>
- <col ref="BEF_SLAG_REMOVE_WGT"/>
- <col ref="BEF_SLAG_REMOVE_HOUR"/>
- <col ref="BEF_SLAG_REMOVE_STA_DTIME"/>
- <col ref="BEF_SLAG_REMOVE_END_DTIME"/>
- <col ref="AFT_SLAG_REMOVE_WGT"/>
- <col ref="AFT_SLAG_REMOVE_HOUR"/>
- <col ref="AFT_SLAG_REMOVE_STA_DTIME"/>
- <col ref="AFT_SLAG_REMOVE_END_DTIME"/>
- </datagrid>
- <line id="line4" style="x1:0px; y1:0px; x2:980px; y2:0px; "/>
- <line id="line2" style="x1:0px; y1:30px; x2:980px; y2:30px; "/>
- <input id="input1" ref="/root/formData/KR_CHARGE_NO" style="left:85px; top:5px; width:85px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- find();
- ]]>
- </script>
- </input>
- <button id="button3" style="left:200px; top:8px; width:20px; height:20px; background-image:../../images/cal_next_m.gif; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rightClick();
- ]]>
- </script>
- </button>
- <button id="button4" style="left:175px; top:8px; width:20px; height:20px; background-image:../../images/cal_pre_m.gif; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- leftClick();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|