_0200SLAB.xrw 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. <SlabRadio>
  13. <SlabResult_Row>
  14. <LABEL/>
  15. <VALUE/>
  16. </SlabResult_Row>
  17. </SlabRadio>
  18. <Seq/>
  19. <inputvalue>J91-</inputvalue>
  20. </root>
  21. </instance>
  22. <script type="javascript" ev:event="xforms-ready">
  23. <![CDATA[
  24. ]]>
  25. </script>
  26. </model>
  27. <script type="javascript" src="../../js/boaCommon.js"/>
  28. <script type="javascript" src="../../js/boaMsg.js"/>
  29. <script type="javascript">
  30. <![CDATA[
  31. var ope = window.opener;//子窗口
  32. var flag = ope.model.getValue("/root/flag");
  33. ]]>
  34. </script>
  35. </xhtml:head>
  36. <xhtml:body pagewidth="530" pageheight="400">
  37. <select1 id="radio1" ref="/root/RadioResult" appearance="full" cellspacing="15" cols="3" itemheight="25" itemwidth="150" overflow="visible" style="left:5px; top:30px; width:516px; height:365px; font-size:12pt; font-weight:bold; color:#333300; border-color:#800000; border-style:solid; ">
  38. <choices>
  39. <itemset nodeset="/root/RadioResult/ChargeNOResult_Row">
  40. <label ref="LABEL"/>
  41. <value ref="VALUE"/>
  42. </itemset>
  43. </choices>
  44. <script type="javascript" ev:event="onclick">
  45. <![CDATA[
  46. //没更换一个炉次,需要将上次查询的不合格炉次号对应的板坯号清除
  47. model.resetInstanceNode("/root/initSlabData/SlabResult_VO");
  48. model.removenode("/root/reqData");
  49. model.makeValue("/root/reqData/QQ" , radio1.value);
  50. if(flag == "UIB020040")
  51. {
  52. commSubmit("UIB020040-service" , "findSlabSeq" , "glueAction.do");
  53. }
  54. else if(flag=="UIB020035")
  55. {
  56. ope.input40.value = radio1.value;
  57. ope.document.all("button99").dispatch("DOMActivate");
  58. window.close();
  59. }
  60. // model.copyNode("/root/SlabRadio" , "/root/resData/SlabResult_VO");
  61. // input1.value = radio1.value;
  62. // model.refresh();
  63. ]]>
  64. </script>
  65. </select1>
  66. <caption id="caption2" class="cell" style="left:120px; top:5px; width:140px; height:23px; "/>
  67. <input id="input1" ref="/root/inputvalue" style="left:95px; top:0px; width:130px; height:20px; "/>
  68. <caption id="caption1" style="left:5px; top:0px; width:90px; height:20px; font-family:宋体; vertical-align:middle; background-color:#ffcc99; border-style:solid; ">请输入炉号:</caption>
  69. <button id="button1" visibility="visible" style="left:225px; top:0px; width:85px; height:20px; font-family:宋体; background-color:#cc99ff; ">
  70. <caption>选择</caption>
  71. <script type="javascript" ev:event="DOMActivate">
  72. <![CDATA[
  73. ope.input40.value = input1.value;
  74. ope.document.all("button99").dispatch("DOMActivate");
  75. window.close();
  76. ]]>
  77. </script>
  78. </button>
  79. <line id="line1" style="x1:5px; y1:25px; x2:450px; y2:25px; border-color:#ff0000; "/>
  80. </xhtml:body>
  81. </xhtml:html>