6550b161a9d11b0271c4b2f7e8258c65db8e94ef.svn-base 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. ]]>
  17. </script>
  18. </model>
  19. <script type="javascript" src="../../js/boaCommon.js"/>
  20. <script type="javascript" src="../../js/boaMsg.js"/>
  21. <script type="javascript">
  22. <![CDATA[
  23. var ope = window.opener;//父窗口
  24. var flag = ope.model.getValue("/root/flag");
  25. ]]>
  26. </script>
  27. </xhtml:head>
  28. <xhtml:body pagewidth="650" pageheight="400">
  29. <select1 id="radio1" ref="/root/RadioResult" appearance="full" cellspacing="15" cols="4" overflow="visible" style="left:10px; top:35px; width:635px; height:359px; font-size:12pt; font-weight:bold; color:#333300; border-color:#800000; border-style:solid; ">
  30. <choices>
  31. <itemset nodeset="/root/RadioResult/CoilNOResult_Row">
  32. <label ref="LABEL"/>
  33. <value ref="VALUE"/>
  34. </itemset>
  35. </choices>
  36. <script type="javascript" ev:event="onclick">
  37. <![CDATA[
  38. ope.input40.value = radio1.value;
  39. ope.document.all("button99").dispatch("DOMActivate");
  40. window.close();
  41. // radio1.item(radio1.focusIndex).attribute("background-color") = "#ffff99";
  42. ]]>
  43. </script>
  44. </select1>
  45. <caption id="caption2" class="cell" style="left:120px; top:5px; width:140px; height:23px; "/>
  46. <input id="input1" ref="/root/ChargeNo" style="left:155px; top:0px; width:136px; height:20px; "/>
  47. <caption id="caption3" style="left:10px; top:0px; width:145px; height:20px; font-family:宋体; background-color:#ffcc99; border-style:solid; ">请选择钢卷号</caption>
  48. <button id="button2" style="left:290px; top:0px; width:74px; height:20px; font-family:宋体; background-color:#cc99ff; ">
  49. <caption>选择</caption>
  50. <script type="javascript" ev:event="DOMActivate">
  51. <![CDATA[
  52. window.close();
  53. ope.input40.value = input1.value;
  54. // ope.find();
  55. ]]>
  56. </script>
  57. </button>
  58. <line id="line1" style="x1:5px; y1:30px; x2:593px; y2:30px; border-color:#ff0000; "/>
  59. </xhtml:body>
  60. </xhtml:html>