9badeefdd01b4dcd8a58b9a7c093889411b32daa.svn-base 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="D:/glue/workspace1/xgmes3/WebContents/css/body.css" type="text/css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>炉次号/板坯号选择</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <ChargeNo/>
  10. <RadioResult>
  11. </RadioResult>
  12. </root>
  13. </instance>
  14. <script type="javascript" ev:event="xforms-ready">
  15. <![CDATA[
  16. input1.value = document.readIniFile("session1" , "020CHARGENO" , "" , "c:\\WINDOWS\\xgmes3.ini");
  17. ]]>
  18. </script>
  19. </model>
  20. <script type="javascript" src="../../js/boaCommon.js"/>
  21. <script type="javascript" src="../../js/boaMsg.js"/>
  22. <script type="javascript">
  23. <![CDATA[
  24. var ope = window.opener;//父窗口
  25. var flag = ope.model.getValue("/root/flag");
  26. function find()
  27. {
  28. model.removenode("/root/reqData");
  29. model.makeValue("/root/reqData/CHARGENO" , "%"+input1.value.Trim()+"%");
  30. document.writeIniFile("session1" , "020CHARGENO" , input1.value , "c:\\WINDOWS\\xgmes3.ini");
  31. commSubmit("UIB020030-service", "find_chargeno", "glueAction.do");
  32. model.copyNode("/root/RadioResult" , "/root/resData/ChargeNOResult_VO");
  33. model.refresh();
  34. }
  35. ]]>
  36. </script>
  37. </xhtml:head>
  38. <xhtml:body pagewidth="650" pageheight="400">
  39. <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; ">
  40. <choices>
  41. <itemset nodeset="/root/RadioResult/ChargeNOResult_Row">
  42. <label ref="LABEL"/>
  43. <value ref="VALUE"/>
  44. </itemset>
  45. </choices>
  46. <script type="javascript" ev:event="onclick">
  47. <![CDATA[
  48. ope.input40.value = radio1.value;
  49. ope.document.all("button99").dispatch("DOMActivate");
  50. window.close();
  51. // radio1.item(radio1.focusIndex).attribute("background-color") = "#ffff99";
  52. ]]>
  53. </script>
  54. </select1>
  55. <caption id="caption2" class="cell" style="left:120px; top:5px; width:140px; height:23px; "/>
  56. <input id="input1" ref="/root/ChargeNo" style="left:100px; top:0px; width:125px; height:20px; ">
  57. <script type="javascript" ev:event="onkeydown">
  58. <![CDATA[
  59. if(event.keyCode==13)
  60. {
  61. find();
  62. }
  63. ]]>
  64. </script>
  65. </input>
  66. <caption id="caption3" style="left:10px; top:0px; width:90px; height:20px; font-family:宋体; background-color:#ffcc99; border-style:solid; ">请输入炉号:</caption>
  67. <button id="button2" style="left:225px; top:0px; width:74px; height:20px; font-family:宋体; background-color:#cc99ff; ">
  68. <caption>查询</caption>
  69. <script type="javascript" ev:event="DOMActivate">
  70. <![CDATA[
  71. find();
  72. ]]>
  73. </script>
  74. </button>
  75. <line id="line1" style="x1:5px; y1:30px; x2:505px; y2:30px; border-color:#ff0000; "/>
  76. </xhtml:body>
  77. </xhtml:html>