8f03d3379653b91fed1dba362afa4be64a4b8790.svn-base 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="../../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. <formData>
  10. <ldNo/>
  11. <bdlg>2</bdlg>
  12. <bkjz>N</bkjz>
  13. <bkdz/>
  14. <rowStatus>u</rowStatus>
  15. </formData>
  16. </root>
  17. </instance>
  18. <script type="javascript" ev:event="xforms-ready">
  19. <![CDATA[
  20. init();
  21. ]]>
  22. </script>
  23. </model>
  24. <script type="javascript">
  25. <![CDATA[
  26. function init(){
  27. var parentWindow = window.opener;
  28. var ldNo = parentWindow.model.getValue("/root/tempData");
  29. model.setValue("/root/formData/ldNo",ldNo);
  30. input1.refresh();
  31. }
  32. function save(){
  33. commSendReq("/root/formData");
  34. commSubmit("UIG03COMM-service","LdInfoUpdate","glueAction.do");
  35. alert("操作成功");
  36. window.close();
  37. }
  38. ]]>
  39. </script>
  40. <script type="javascript" src="../../js/boaCommon.js"/>
  41. </xhtml:head>
  42. <xhtml:body pagewidth="300" pageheight="200">
  43. <button id="button1" style="left:200px; top:20px; width:85px; height:20px; background-image:../../images/btn_save1.gif; ">
  44. <caption>保 存</caption>
  45. <script type="javascript" ev:event="DOMActivate">
  46. <![CDATA[
  47. save();
  48. ]]>
  49. </script>
  50. </button>
  51. <caption id="caption1" class="cell" style="left:55px; top:80px; width:70px; height:25px; font-weight:bold; border-color:#000000; ">包底冷钢</caption>
  52. <caption id="caption2" class="cell" style="left:55px; top:15px; width:100px; height:25px; font-weight:bold; border-color:#000000; ">钢包包况</caption>
  53. <caption id="caption11" class="cell" style="left:55px; top:50px; width:70px; height:25px; font-weight:bold; border-color:#000000; ">钢包号</caption>
  54. <select1 id="combo2" ref="/root/formData/bdlg" appearance="minimal" editmode="input" style="left:125px; top:80px; width:100px; height:25px; ">
  55. <choices>
  56. <item>
  57. <label>1-2</label>
  58. <value>1</value>
  59. </item>
  60. <item>
  61. <label>2-3</label>
  62. <value>2</value>
  63. </item>
  64. <item>
  65. <label>3-4</label>
  66. <value>3</value>
  67. </item>
  68. <item>
  69. <label>4-5</label>
  70. <value>4</value>
  71. </item>
  72. <item>
  73. <label>5-6</label>
  74. <value>5</value>
  75. </item>
  76. <item>
  77. <label>6-7</label>
  78. <value>6</value>
  79. </item>
  80. <item>
  81. <label>7-8</label>
  82. <value>7</value>
  83. </item>
  84. <item>
  85. <label>8-9</label>
  86. <value>8</value>
  87. </item>
  88. <item>
  89. <label>9-10</label>
  90. <value>9</value>
  91. </item>
  92. <item>
  93. <label>10-11</label>
  94. <value>10</value>
  95. </item>
  96. <item>
  97. <label>11-12</label>
  98. <value>11</value>
  99. </item>
  100. <item>
  101. <label>12-13</label>
  102. <value>12</value>
  103. </item>
  104. <item>
  105. <label>13-14</label>
  106. <value>13</value>
  107. </item>
  108. <item>
  109. <label>14-15</label>
  110. <value>14</value>
  111. </item>
  112. <item>
  113. <label>15-16</label>
  114. <value>15</value>
  115. </item>
  116. <item>
  117. <label>16-17</label>
  118. <value>16</value>
  119. </item>
  120. <item>
  121. <label>17-18</label>
  122. <value>17</value>
  123. </item>
  124. <item>
  125. <label>18-19</label>
  126. <value>18</value>
  127. </item>
  128. <item>
  129. <label>19-20</label>
  130. <value>19</value>
  131. </item>
  132. <item>
  133. <label>20-21</label>
  134. <value>20</value>
  135. </item>
  136. <item>
  137. <label>无</label>
  138. <value/>
  139. </item>
  140. </choices>
  141. </select1>
  142. <caption id="caption3" class="cell" style="left:55px; top:140px; width:70px; height:25px; font-weight:bold; border-color:#000000; ">包口掉砖</caption>
  143. <caption id="caption4" class="cell" style="left:55px; top:110px; width:70px; height:25px; font-weight:bold; border-color:#000000; ">包口结渣</caption>
  144. <select1 id="combo3" ref="/root/formData/bkjz" appearance="minimal" style="left:125px; top:110px; width:100px; height:25px; ">
  145. <choices>
  146. <item>
  147. <label>有</label>
  148. <value>Y</value>
  149. </item>
  150. <item>
  151. <label>无</label>
  152. <value>N</value>
  153. </item>
  154. </choices>
  155. </select1>
  156. <select1 id="combo6" ref="/root/formData/bkdz" appearance="minimal" style="left:125px; top:140px; width:100px; height:25px; ">
  157. <choices>
  158. <item>
  159. <label>一层</label>
  160. <value>1</value>
  161. </item>
  162. <item>
  163. <label>二层</label>
  164. <value>2</value>
  165. </item>
  166. <item>
  167. <label>三层</label>
  168. <value>3</value>
  169. </item>
  170. <item>
  171. <label>四层</label>
  172. <value>4</value>
  173. </item>
  174. <item>
  175. <label>五层</label>
  176. <value>5</value>
  177. </item>
  178. <item>
  179. <label>无</label>
  180. <value/>
  181. </item>
  182. </choices>
  183. </select1>
  184. <input id="input1" ref="/root/formData/ldNo" disabled="true" style="left:125px; top:50px; width:100px; height:25px; "/>
  185. </xhtml:body>
  186. </xhtml:html>