| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291 |
- <?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[炼钢作业 >> 板坯库管理 >> 行车命令查询(UIG040047)]]>
- </xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <formData>
- <ORD_TYPE/>
- <REG_START_DTIME/>
- <REG_END_DTIME/>
- <ORD_START_DTIME/>
- <ORD_END_DTIME/>
- <ORD_STAT/>
- <CR_NO/>
- <ORD_SLAB_NO/>
- <YARD_ADDR/>
- <ROLL_NO/>
- <CHK_VALUE/>
- </formData>
- <gridData>
- <grid1/>
- <grid2/>
- </gridData>
- <combData>
- <ROLL_NO/>
- </combData>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- pageInit();
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../js/boaCommon.js"/>
- <script type="javascript">
- <![CDATA[
- function pageInit()
- {
- commSubmit("UIF025020-service","findRollManaNo","glueAction.do");
- model.copyNode("/root/combData/ROLL_NO","/root/resData/EmpListResult2_VO");
- model.refresh();
- combo1.select(1);
- model.refresh();
- }
-
- function find(){
- commSendReq("/root/formData");
- if(model.getValue("/root/formData/CHK_VALUE") == "Y"){
- commSubmit("UIG040047-service","find2","glueAction.do");
- }else{
- commSubmit("UIG040047-service","find","glueAction.do");
- }
-
- model.copyNode("/root/gridData/grid1","/root/resData/ORD_LIST_RESULT_VO");
- model.refresh();
- }
-
- function click(slabNo){
- datagrid2.rebuildStyle();
- commSendReq("/root/formData");
- commSubmit("UIG040047-service","click","glueAction.do");
- model.copyNode("/root/gridData/grid2","/root/resData/ADDR_ORD_RES_VO");
- datagrid2.refresh();
- var row = datagrid2.findRow(slabNo,parseInt(1),parseInt(datagrid2.colRef("SLAB_NO")),false,false);
- datagrid2.rowstyle(row, "data", "background-color") = "#FFF000";
- }
-
- function check(){
- datagrid1.rebuildStyle();
- commSendReq("/root/formData");
- commSubmit("UIG040047-service","check","glueAction.do");
- var node = instance1.selectNodes("/root/resData/CHECK_RESULT_VO/CHECK_RESULT_Row/SLAB_NO");
- while(childNode = node.nextNode()){
- var slabNo = childNode.nodeValue.toString();
- var row = datagrid1.findRow(slabNo,parseInt(1),parseInt(datagrid1.colRef("ORD_SLAB_NO1")),false,false);
- datagrid1.rowstyle(row, "data", "background-color") = "#FFF000";
- }
- }
-
- function del(){
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,980;">
- <caption id="caption1" class="cell" style="left:0px; top:0px; width:55px; height:20px; text-align:center; ">制定时间</caption>
- <input id="input1" ref="/root/formData/REG_START_DTIME" inputtype="date" format="yyyy-mm-dd hh:nn:ss" style="left:55px; top:0px; width:120px; height:20px; "/>
- <input id="input2" ref="/root/formData/REG_END_DTIME" inputtype="date" format="yyyy-mm-dd hh:nn:ss" style="left:180px; top:0px; width:120px; height:20px; "/>
- <line id="line1" style="x1:175px; y1:10px; x2:180px; y2:10px; "/>
- <caption id="caption2" class="cell" style="left:0px; top:25px; width:55px; height:20px; text-align:center; ">执行时间</caption>
- <line id="line2" style="x1:175px; y1:35px; x2:180px; y2:35px; "/>
- <input id="input3" ref="/root/formData/ORD_START_DTIME" inputtype="date" format="yyyy-mm-dd hh:nn:ss" style="left:55px; top:25px; width:120px; height:20px; "/>
- <input id="input4" ref="/root/formData/ORD_END_DTIME" inputtype="date" format="yyyy-mm-dd hh:nn:ss" style="left:180px; top:25px; width:120px; height:20px; "/>
- <caption id="caption3" class="cell" style="left:305px; top:0px; width:55px; height:20px; text-align:center; ">命令类型</caption>
- <select1 id="combo1" ref="/root/formData/ORD_TYPE" appearance="minimal" style="left:360px; top:0px; width:70px; height:20px; ">
- <choices>
- <item>
- <label>下线</label>
- <value>A</value>
- </item>
- <item>
- <label>上料</label>
- <value>B</value>
- </item>
- <item>
- <label>移垛</label>
- <value>C</value>
- </item>
- <item>
- <label>全部</label>
- <value/>
- </item>
- </choices>
- </select1>
- <select1 id="combo2" ref="/root/formData/ORD_STAT" appearance="minimal" style="left:490px; top:0px; width:70px; height:20px; ">
- <choices>
- <item>
- <label>制定</label>
- <value>1</value>
- </item>
- <item>
- <label>删除</label>
- <value>3</value>
- </item>
- <item>
- <label>执行</label>
- <value>2</value>
- </item>
- <item>
- <label>-全部-</label>
- <value/>
- </item>
- </choices>
- </select1>
- <caption id="caption4" class="cell" style="left:435px; top:0px; width:55px; height:20px; text-align:center; ">命令状态</caption>
- <select1 id="combo3" ref="/root/formData/CR_NO" appearance="minimal" style="left:620px; top:0px; width:70px; height:20px; ">
- <choices>
- <item>
- <label>1-1</label>
- <value>1-1</value>
- </item>
- <item>
- <label>1-2</label>
- <value>1-2</value>
- </item>
- <item>
- <label>2-1</label>
- <value>2-1</value>
- </item>
- <item>
- <label>2-2</label>
- <value>2-2</value>
- </item>
- <item>
- <label>3-1</label>
- <value>3-1</value>
- </item>
- <item>
- <label>3-2</label>
- <value>3-2</value>
- </item>
- <item>
- <label>-全部-</label>
- <value/>
- </item>
- </choices>
- </select1>
- <caption id="caption5" class="cell" style="left:565px; top:0px; width:55px; height:20px; text-align:center; ">行车编号</caption>
- <caption id="caption6" class="cell" style="left:695px; top:0px; width:55px; height:20px; text-align:center; ">板坯号</caption>
- <datagrid id="datagrid1" nodeset="/root/gridData/grid1/ORD_LIST_RESULT_Row" caption="选择^序号^类型^状态^行车编号^轧制序号^板坯号^原垛位^目标垛位^制定时间^执行时间|选择^序号^类型^状态^行车编号^轧制序号^板坯号^原垛位^目标垛位^制定时间^执行时间" colsep="^" colwidth="40, 40, 45, 45, 60, 39, 100, 70, 70, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:55px; width:650px; height:545px; ">
- <col checkvalue="Y,N" ref="CHK" type="checkbox"/>
- <col ref="SEQ_NO"/>
- <col disabled="true" ref="ORD_TYPE" type="combo">
- <choices>
- <item>
- <label>下线</label>
- <value>A</value>
- </item>
- <item>
- <label>上料</label>
- <value>B</value>
- </item>
- <item>
- <label>移垛</label>
- <value>C</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="ORD_STAT" type="combo">
- <choices>
- <item>
- <label>制定</label>
- <value>1</value>
- </item>
- <item>
- <label>删除</label>
- <value>3</value>
- </item>
- <item>
- <label>执行</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="CR_NO"/>
- <col ref="ROLL_SEQ"/>
- <col editable="false" ref="ORD_SLAB_NO1" type="input"/>
- <col editable="false" ref="FROM_ADDR" type="input"/>
- <col editable="false" ref="TO_ADDR" type="input"/>
- <col ref="REG_DTIME"/>
- <col ref="ORD_DTIME"/>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setValue("/root/formData/YARD_ADDR",datagrid1.valueMatrix(datagrid1.row,datagrid1.colRef("FROM_ADDR")));
- var slabNo = datagrid1.valueMatrix(datagrid1.row,datagrid1.colRef("ORD_SLAB_NO1"));
- click(slabNo);
- ]]>
- </script>
- </datagrid>
- <datagrid id="datagrid2" nodeset="/root/gridData/grid2/ADDR_ORD_RES_Row" disabled="true" caption="块^板坯号^命令制定^序号|块^板坯号^命令制定^序号" colsep="^" colwidth="25, 85, 36, 46" defaultrows="18" mergecellsfixedrows="bycolrec" rowsep="|" style="left:655px; top:55px; width:325px; height:545px; border-color:#000000; ">
- <col ref="STORELAY"/>
- <col ref="SLAB_NO"/>
- <col disabled="true" ref="ORD_FLAG" type="combo">
- <choices>
- <item>
- <label>制定</label>
- <value>1</value>
- </item>
- <item>
- <label>占位</label>
- <value>4</value>
- </item>
- <item>
- <label/>
- <value/>
- </item>
- </choices>
- </col>
- <col ref="SEQ_NO"/>
- </datagrid>
- <input id="input5" ref="/root/formData/ORD_SLAB_NO" style="left:750px; top:0px; width:95px; height:20px; "/>
- <button id="button2" style="left:655px; top:35px; width:70px; height:20px; text-align:center; background-image:D:\workspace\xgmes3\WebContents\images\btn_delete.gif; ">
- <caption>删 除</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //del();
- model1.removenode("/root/reqData");
- model1.makeNode("/root/reqData");
- commMultiUpdate(datagrid1,"/root/reqData","A",true,"rowStatus");
- commSubmit("UIG040047-service","del","glueAction.do");
- alert(model.getValue("/root/resData/MESSAGES_VO/MESSAGES_Row"));
- ]]>
- </script>
- </button>
- <button id="button1" style="left:575px; top:25px; width:50px; height:20px; ">
- <caption>button1</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- find();
- ]]>
- </script>
- </button>
- <select1 id="combo4" ref="/root/formData/ROLL_NO" appearance="minimal" style="left:406px; top:25px; width:85px; height:20px; ">
- <choices>
- <itemset nodeset="/root/combData/ROLL_NO/EmpListResult2_Row">
- <label ref="ROLL_MANA_NO_2"/>
- <value ref="ROLL_MANA_NO"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- find();
- ]]>
- </script>
- </select1>
- <select id="checkbox1" ref="/root/formData/CHK_VALUE" overflow="visible" appearance="full" style="left:305px; top:25px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>按轧制单元查询</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- </xhtml:body>
- </xhtml:html>
|