af4d6fbf10439a535c526b7659b86b013795e7f2.svn-base 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  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>
  6. <![CDATA[炼钢作业 >> 板坯库管理 >> 异常坯料处理(UIG040700)]]>
  7. </xhtml:title>
  8. <model id="model1">
  9. <instance id="instance1">
  10. <root xmlns="">
  11. <formData>
  12. <SLAB_NO/>
  13. <OPER_TYPE/>
  14. <SEARCH_TYPE>COMM</SEARCH_TYPE>
  15. <SLAB_RTURN/>
  16. <PLT_TRS_EMP_NM/>
  17. </formData>
  18. <gridData/>
  19. <MESSAGES/>
  20. </root>
  21. </instance>
  22. </model>
  23. <script type="javascript" src="../../js/boaCommon.js"/>
  24. <script type="javascript">
  25. <![CDATA[
  26. function find(){
  27. var searchType = model.getValue("/root/formData/SEARCH_TYPE");
  28. commSendReq("/root/formData");
  29. input2.value = model.getValue("/root/initData/rcvInfo/REG_ID");
  30. if(searchType == "COMM"){
  31. if(model.getValue("/root/formData/SLAB_NO") == ""){
  32. alert("板坯号不能为空!");
  33. return;
  34. }
  35. commSubmit("UIG040700-service","find","glueAction.do");
  36. }else if(searchType == "RAB"){
  37. commSubmit("UIG040700-service","RAB","glueAction.do");
  38. }else if(searchType == "RABERR"){
  39. commSubmit("UIG040700-service","RABERR","glueAction.do");
  40. }else if(searchType == "STATERR"){
  41. commSubmit("UIG040700-service","stat","glueAction.do");
  42. }
  43. commAppendData("/root/gridData/ERROR_SLAB_RES_VO","/root/resData/ERROR_SLAB_RES_VO");
  44. datagrid1.refresh();
  45. }
  46. function save(){
  47. if(model.getValue("/root/formData/OPER_TYPE") == ""){
  48. alert(" 操作方式不能为空! ");
  49. return;
  50. }
  51. var answer = window.alert(" 确定强制执行? " ,"Conform", 1 | 32);
  52. if (answer == "2") {return;}
  53. model.removenode("/root/reqData");
  54. model.makeNode("/root/reqData");
  55. model.duplicate("/root/reqData","/root/formData/PLT_TRS_EMP_NM");
  56. commMultiUpdate(datagrid1,"/root/reqData","A",true,"rowStatus");
  57. model.makeValue("/root/reqData/OPER_TYPE",model.getValue("/root/formData/OPER_TYPE"));
  58. model.makeValue("/root/reqData/SLAB_RTURN",model.getValue("/root/formData/SLAB_RTURN"));
  59. commSubmit("UIG040700-service","save","glueAction.do");
  60. model.setValue("/root/MESSAGES",model.getValue("/root/resData/MESSAGES_VO/MESSAGES_Row"));
  61. alert(model.getValue("/root/MESSAGES"));
  62. find();
  63. }
  64. ]]>
  65. </script>
  66. </xhtml:head>
  67. <xhtml:body>
  68. <button id="button2" style="left:420px; top:7px; width:20px; height:20px; background-image:../../images/cal_next_m.gif; ">
  69. <caption/>
  70. <script type="javascript" ev:event="DOMActivate">
  71. <![CDATA[
  72. rightClick();
  73. ]]>
  74. </script>
  75. </button>
  76. <button id="button3" style="left:400px; top:7px; width:20px; height:20px; background-image:../../images/cal_pre_m.gif; ">
  77. <caption/>
  78. <script type="javascript" ev:event="DOMActivate">
  79. <![CDATA[
  80. leftClick();
  81. ]]>
  82. </script>
  83. </button>
  84. <caption id="caption2" class="cell" style="left:190px; top:5px; width:100px; height:20px; font-weight:bold; border-color:#000000; ">板坯号</caption>
  85. <input id="input1" ref="/root/formData/SLAB_NO" style="left:291px; top:5px; width:105px; height:20px; "/>
  86. <caption id="caption3" class="cell" style="left:0px; top:5px; width:100px; height:20px; font-weight:bold; border-color:#000000; ">查询方式</caption>
  87. <select1 id="combo2" ref="/root/formData/SEARCH_TYPE" appearance="minimal" style="left:101px; top:5px; width:85px; height:20px; ">
  88. <choices>
  89. <item>
  90. <label>精整待机</label>
  91. <value>RAB</value>
  92. </item>
  93. <item>
  94. <label>精整待机异常</label>
  95. <value>RABERR</value>
  96. </item>
  97. <item>
  98. <label>状态错误</label>
  99. <value>STATERR</value>
  100. </item>
  101. <item>
  102. <label>普通查询</label>
  103. <value>COMM</value>
  104. </item>
  105. </choices>
  106. </select1>
  107. <datagrid id="datagrid1" nodeset="/root/gridData/ERROR_SLAB_RES_VO/ERROR_SLAB_RES_Row" caption="选择^板坯号^钢号^存放位置^库存位置^板坯规格^板坯去向^成份等级^尺寸等级^坯料进程^坯料状态^轧制状态^订单区分^合同号^订单号^板坯去向|选择^板坯号^钢号^存放位置^库存位置^厚×宽×长(mm)^板坯去向^成份等级^尺寸等级^坯料进程^坯料状态^轧制状态^订单区分^合同号^订单号^板坯去向" colsep="^" colwidth="29, 86, 100, 100, 100, 142, 100, 49, 58, 104, 100, 100, 100, 100, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:30px; width:980px; height:585px; ">
  108. <col checkvalue="Y,N" ref="CHK" type="checkbox"/>
  109. <col editable="false" ref="SLAB_NO" type="input"/>
  110. <col editable="false" ref="STL_GRD" type="input"/>
  111. <col editable="false" ref="CUR_LOAD_LOC" type="input"/>
  112. <col editable="false" ref="YARD_ADDR" type="input"/>
  113. <col editable="false" ref="SLAB_SIZE" type="input"/>
  114. <col disabled="true" ref="SLAB_RT" type="combo">
  115. <choices>
  116. <item>
  117. <label>中板</label>
  118. <value>Z</value>
  119. </item>
  120. <item>
  121. <label>厚板</label>
  122. <value>P</value>
  123. </item>
  124. <item>
  125. <label>卷板</label>
  126. <value>H</value>
  127. </item>
  128. </choices>
  129. </col>
  130. <col disabled="true" editable="false" ref="SLAB_INGR_DEC_GRD" type="combo">
  131. <choices>
  132. <item>
  133. <label>合格</label>
  134. <value>1</value>
  135. </item>
  136. <item>
  137. <label>不合格</label>
  138. <value>2</value>
  139. </item>
  140. <item>
  141. <label>化废</label>
  142. <value>3</value>
  143. </item>
  144. </choices>
  145. </col>
  146. <col disabled="true" ref="SLAB_SIZE_DEC_GRD" type="combo">
  147. <choices>
  148. <item>
  149. <label>合格</label>
  150. <value>1</value>
  151. </item>
  152. <item>
  153. <label>不合格</label>
  154. <value>2</value>
  155. </item>
  156. </choices>
  157. </col>
  158. <col disabled="true" editable="false" ref="CUR_PROG_CD" type="combo">
  159. <choices>
  160. <item>
  161. <label>精整作业待机</label>
  162. <value>RAB</value>
  163. </item>
  164. <item>
  165. <label>轧钢作业指示待机</label>
  166. <value>RBA</value>
  167. </item>
  168. <item>
  169. <label>加热炉入炉待机</label>
  170. <value>RBB</value>
  171. </item>
  172. <item>
  173. <label>钢卷卷取待机</label>
  174. <value>RCB</value>
  175. </item>
  176. <item>
  177. <label>板坯充当待机</label>
  178. <value>RRC</value>
  179. </item>
  180. <item>
  181. <label>中厚板板坯移送指示待机</label>
  182. <value>RGA</value>
  183. </item>
  184. <item>
  185. <label>中厚板板坯移送待机</label>
  186. <value>RGB</value>
  187. </item>
  188. <item>
  189. <label>中厚板板坯移送完成</label>
  190. <value>RGF</value>
  191. </item>
  192. </choices>
  193. </col>
  194. <col disabled="true" editable="false" ref="SLAB_STAT" type="combo">
  195. <choices>
  196. <item>
  197. <label>指示</label>
  198. <value>1</value>
  199. </item>
  200. <item>
  201. <label>坯料</label>
  202. <value>2</value>
  203. </item>
  204. <item>
  205. <label>结束</label>
  206. <value>3</value>
  207. </item>
  208. <item>
  209. <label>切废</label>
  210. <value>4</value>
  211. </item>
  212. <item>
  213. <label>转废钢库</label>
  214. <value>5</value>
  215. </item>
  216. </choices>
  217. </col>
  218. <col disabled="true" ref="MILL_SCH_STAT" type="combo">
  219. <choices>
  220. <item>
  221. <label>装炉</label>
  222. <value>A7T</value>
  223. </item>
  224. <item>
  225. <label/>
  226. <value/>
  227. </item>
  228. </choices>
  229. </col>
  230. <col disabled="true" editable="false" ref="ORD_FL" type="combo">
  231. <choices>
  232. <item>
  233. <label>订单材</label>
  234. <value>1</value>
  235. </item>
  236. <item>
  237. <label>余材</label>
  238. <value>2</value>
  239. </item>
  240. </choices>
  241. </col>
  242. <col editable="false" ref="ORD_NO" type="input"/>
  243. <col editable="false" ref="ORD_SEQ" type="input"/>
  244. <col disabled="true" ref="SLAB_RT" type="combo">
  245. <choices>
  246. <item>
  247. <label>热轧厂</label>
  248. <value>H</value>
  249. </item>
  250. <item>
  251. <label>厚板厂</label>
  252. <value>P</value>
  253. </item>
  254. <item>
  255. <label>中板厂</label>
  256. <value>Z</value>
  257. </item>
  258. </choices>
  259. </col>
  260. </datagrid>
  261. <select1 id="combo3" ref="/root/formData/OPER_TYPE" appearance="minimal" style="left:545px; top:5px; width:85px; height:20px; ">
  262. <choices>
  263. <item>
  264. <label>强制结束</label>
  265. <value>END</value>
  266. </item>
  267. <item>
  268. <label>强制退回</label>
  269. <value>BCK</value>
  270. </item>
  271. <item>
  272. <label>切废</label>
  273. <value>CHF</value>
  274. </item>
  275. <item>
  276. <label>转废钢库</label>
  277. <value>ZHK</value>
  278. </item>
  279. </choices>
  280. </select1>
  281. <caption id="caption4" class="cell" style="left:444px; top:5px; width:100px; height:20px; font-weight:bold; border-color:#000000; ">操作方式</caption>
  282. <select1 id="combo1" ref="/root/formData/SLAB_RTURN" appearance="minimal" style="left:740px; top:5px; width:85px; height:20px; ">
  283. <choices>
  284. <item>
  285. <label>是</label>
  286. <value>Y</value>
  287. </item>
  288. <item>
  289. <label>否</label>
  290. <value>N</value>
  291. </item>
  292. <item>
  293. <label>-----</label>
  294. <value/>
  295. </item>
  296. </choices>
  297. </select1>
  298. <caption id="caption1" class="cell" style="left:635px; top:5px; width:100px; height:20px; font-weight:bold; border-color:#000000; ">热轧回退</caption>
  299. <input id="input2" ref="/root/formData/PLT_TRS_EMP_NM" visibility="hidden" style="left:850px; top:5px; width:65px; height:20px; "/>
  300. </xhtml:body>
  301. </xhtml:html>