| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?xml-stylesheet href="D:/glue/workspace1/xgmes3/WebContents/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>炉次号/板坯号选择</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <ChargeNo/>
- <RadioResult>
- </RadioResult>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- input1.value = document.readIniFile("session1" , "020CHARGENO" , "" , "c:\\WINDOWS\\xgmes3.ini");
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../js/boaCommon.js"/>
- <script type="javascript" src="../../js/boaMsg.js"/>
- <script type="javascript">
- <![CDATA[
- var ope = window.opener;//父窗口
- var flag = ope.model.getValue("/root/flag");
-
- function find()
- {
- model.removenode("/root/reqData");
- model.makeValue("/root/reqData/CHARGENO" , "%"+input1.value.Trim()+"%");
-
- document.writeIniFile("session1" , "020CHARGENO" , input1.value , "c:\\WINDOWS\\xgmes3.ini");
-
- commSubmit("UIB020030-service", "find_chargeno", "glueAction.do");
- model.copyNode("/root/RadioResult" , "/root/resData/ChargeNOResult_VO");
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="650" pageheight="400">
- <select1 id="radio1" ref="/root/RadioResult" appearance="full" cellspacing="15" cols="4" itemheight="25" itemwidth="135" rows="50" overflow="visible" style="left:10px; top:35px; width:600px; height:359px; font-size:12pt; font-weight:bold; color:#333300; border-color:#800000; border-style:solid; ">
- <choices>
- <itemset nodeset="/root/RadioResult/ChargeNOResult_Row">
- <label ref="LABEL"/>
- <value ref="VALUE"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- ope.input40.value = radio1.value;
- ope.document.all("button99").dispatch("DOMActivate");
- window.close();
- // radio1.item(radio1.focusIndex).attribute("background-color") = "#ffff99";
- ]]>
- </script>
- </select1>
- <caption id="caption2" class="cell" style="left:120px; top:5px; width:140px; height:23px; "/>
- <input id="input1" ref="/root/ChargeNo" style="left:100px; top:0px; width:125px; height:20px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode==13)
- {
- find();
- }
- ]]>
- </script>
- </input>
- <caption id="caption3" style="left:10px; top:0px; width:90px; height:20px; font-family:宋体; background-color:#ffcc99; border-style:solid; ">请输入炉号:</caption>
- <button id="button2" style="left:225px; top:0px; width:74px; height:20px; font-family:宋体; background-color:#cc99ff; ">
- <caption>查询</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- find();
- ]]>
- </script>
- </button>
- <line id="line1" style="x1:5px; y1:30px; x2:505px; y2:30px; border-color:#ff0000; "/>
- </xhtml:body>
- </xhtml:html>
|