99e2b4be8e7e2bd2689a471bac10393afca80110.svn-base 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet type="text/css" href="../../css/body.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. <comdData>
  10. <ld_no/>
  11. <charge_no/>
  12. <send_type/>
  13. </comdData>
  14. <formData>
  15. <chargeNo/>
  16. <ldNo>R01</ldNo>
  17. <ldGrd/>
  18. <sendtype/>
  19. </formData>
  20. <comboData>
  21. <chargeNo/>
  22. </comboData>
  23. </root>
  24. </instance>
  25. <script type="javascript" ev:event="xforms-ready">
  26. <![CDATA[
  27. init();
  28. ]]>
  29. </script>
  30. </model>
  31. <script type="javascript">
  32. <![CDATA[
  33. function init(){
  34. var parentWindow = window.opener;
  35. var ldNo = parentWindow.model.getValue("/root/tempData");
  36. model.setValue("/root/formData/ldNo",ldNo);
  37. commSendReq("/root/formData");
  38. commSubmit("UIG03COMM-service","initcharge","glueAction.do");
  39. model.setValue("/root/formData/ldGrd",model.getValue("/root/resData/InitChargeRes_VO/InitChargeRes_Row/LD_GRADE"));
  40. combo1.refresh();
  41. }
  42. function save(){
  43. commSendReq("/root/formData");
  44. commSubmit("UIG03COMM-service","ldSend","glueAction.do");
  45. var msg = model.getValue("/root/resData/MESSAGES_VO/MESSAGES_Row");
  46. alert(msg);
  47. window.close();
  48. }
  49. function saveRtn(){
  50. commSendReq("/root/formData");
  51. commSubmit("UIG03COMM-service","ldSend","glueAction.do");
  52. var msg = model.getValue("/root/resData/MESSAGES_VO/MESSAGES_Row");
  53. alert(msg);
  54. window.close();
  55. }
  56. ]]>
  57. </script>
  58. <script type="javascript" src="../../js/boaCommon.js"/>
  59. </xhtml:head>
  60. <xhtml:body pagewidth="300" pageheight="200">
  61. <caption id="caption11" class="cell" style="left:60px; top:85px; width:70px; height:25px; font-weight:bold; border-color:#000000; ">钢包等级</caption>
  62. <caption id="caption1" class="cell" style="left:60px; top:50px; width:70px; height:25px; font-weight:bold; border-color:#000000; ">钢包号</caption>
  63. <select1 id="combo1" ref="/root/formData/ldGrd" appearance="minimal" style="left:130px; top:85px; width:100px; height:25px; ">
  64. <choices>
  65. <item>
  66. <label>A级</label>
  67. <value>A</value>
  68. </item>
  69. <item>
  70. <label>B级</label>
  71. <value>B</value>
  72. </item>
  73. <item>
  74. <label>C级</label>
  75. <value>C</value>
  76. </item>
  77. <item>
  78. <label>D级</label>
  79. <value>D</value>
  80. </item>
  81. </choices>
  82. </select1>
  83. <select1 id="combo5" ref="/root/formData/ldNo" disabled="true" appearance="minimal" editmode="input" style="left:130px; top:50px; width:100px; height:25px; ">
  84. <choices>
  85. <item>
  86. <label>R01</label>
  87. <value>R01</value>
  88. </item>
  89. <item>
  90. <label>R02</label>
  91. <value>R02</value>
  92. </item>
  93. <item>
  94. <label>R03</label>
  95. <value>R03</value>
  96. </item>
  97. <item>
  98. <label>R04</label>
  99. <value>R04</value>
  100. </item>
  101. <item>
  102. <label>R05</label>
  103. <value>R05</value>
  104. </item>
  105. <item>
  106. <label>R06</label>
  107. <value>R06</value>
  108. </item>
  109. <item>
  110. <label>R07</label>
  111. <value>R07</value>
  112. </item>
  113. <item>
  114. <label>R08</label>
  115. <value>R08</value>
  116. </item>
  117. <item>
  118. <label>R09</label>
  119. <value>R09</value>
  120. </item>
  121. <item>
  122. <label>R10</label>
  123. <value>R10</value>
  124. </item>
  125. <item>
  126. <label>R11</label>
  127. <value>R11</value>
  128. </item>
  129. <item>
  130. <label>R12</label>
  131. <value>R12</value>
  132. </item>
  133. <item>
  134. <label>R13</label>
  135. <value>R13</value>
  136. </item>
  137. </choices>
  138. </select1>
  139. <caption id="caption2" class="cell" style="left:10px; top:10px; width:70px; height:25px; font-weight:bold; border-color:#000000; ">钢包发送</caption>
  140. <button id="button1" style="left:65px; top:165px; width:85px; height:20px; background-image:../../images/btn_save1.gif; ">
  141. <caption>发 送</caption>
  142. <script type="javascript" ev:event="DOMActivate">
  143. <![CDATA[
  144. model.setValue("/root/formData/sendtype","send");
  145. save();
  146. ]]>
  147. </script>
  148. </button>
  149. <select1 id="combo2" ref="/root/formData/chargeNo" appearance="minimal" style="left:130px; top:120px; width:100px; height:25px; ">
  150. <choices>
  151. <item>
  152. <label>1#转炉</label>
  153. <value>B1</value>
  154. </item>
  155. <item>
  156. <label>2#转炉</label>
  157. <value>B2</value>
  158. </item>
  159. <item>
  160. <label>3#转炉</label>
  161. <value>B3</value>
  162. </item>
  163. </choices>
  164. </select1>
  165. <caption id="caption3" class="cell" style="left:60px; top:120px; width:70px; height:25px; font-weight:bold; border-color:#000000; ">转炉号</caption>
  166. <button id="button2" style="left:165px; top:165px; width:85px; height:20px; background-image:../../images/btn_save1.gif; ">
  167. <caption>退 回</caption>
  168. <script type="javascript" ev:event="DOMActivate">
  169. <![CDATA[
  170. model.setValue("/root/formData/sendtype","saveRtn");
  171. save();
  172. ]]>
  173. </script>
  174. </button>
  175. </xhtml:body>
  176. </xhtml:html>