bfcbedf14588b341af57263e7a689e9845c68a08.svn-base 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  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[生产管制 >> 炼钢管制 >> 出钢参数接收现况分析(热轧)]]>
  7. </xhtml:title>
  8. <model id="model1">
  9. <instance id="instance1">
  10. <root xmlns="">
  11. <reqData>
  12. </reqData>
  13. <gridData>
  14. <paramCNT>
  15. <ORD_THK/>
  16. <SLAB_CNT750/>
  17. <SLAB_CNT800/>
  18. <SLAB_CNT850/>
  19. <SLAB_CNT900/>
  20. <SLAB_CNT950/>
  21. <SLAB_CNT1000/>
  22. <SLAB_CNT1050/>
  23. <SLAB_CNT1100/>
  24. <SLAB_CNT1150/>
  25. <SLAB_CNT1200/>
  26. <SLAB_CNT1250/>
  27. <SLAB_CNT1300/>
  28. <SLAB_CNT1350/>
  29. <SLAB_CNT1400/>
  30. <SLAB_CNT1450/>
  31. <SUM_CNT/>
  32. </paramCNT>
  33. <paramWGT>
  34. <ORD_THK/>
  35. <SLAB_WGT750/>
  36. <SLAB_WGT800/>
  37. <SLAB_WGT850/>
  38. <SLAB_WGT900/>
  39. <SLAB_WGT950/>
  40. <SLAB_WGT1000/>
  41. <SLAB_WGT1050/>
  42. <SLAB_WGT1100/>
  43. <SLAB_WGT1150/>
  44. <SLAB_WGT1200/>
  45. <SLAB_WGT1250/>
  46. <SLAB_WGT1300/>
  47. <SLAB_WGT1350/>
  48. <SLAB_WGT1400/>
  49. <SLAB_WGT1450/>
  50. </paramWGT>
  51. <pramSlabInfo>
  52. <SLAB_MANA_NO/>
  53. <STL_GRD/>
  54. <SLAB_THK/>
  55. <SLAB_WTH/>
  56. <SLAB_LEN/>
  57. <SLAB_WGT/>
  58. <HCR_CLF/>
  59. <ORD_FL/>
  60. <ORD_USEAGE_CD/>
  61. <ORD_THK/>
  62. <ORD_WTH/>
  63. <DELV_REQ_DATE/>
  64. <PROG_CD/>
  65. <SLAB_RT/>
  66. <DSN_SLAB_NO/>
  67. <L2_SEND/>
  68. </pramSlabInfo>
  69. </gridData>
  70. <detailData>
  71. <CCM_WTH/>
  72. <SLAB_RT/>
  73. <STL_GRD/>
  74. <PROG_CD/>
  75. <CCM_THK/>
  76. </detailData>
  77. <resData/>
  78. <formData>
  79. <searchForm>
  80. <SLAB_RT/>
  81. <STL_GRD/>
  82. <PROG_CD/>
  83. <JHFF>K</JHFF>
  84. <P_WTH/>
  85. <P_THK/>
  86. </searchForm>
  87. </formData>
  88. <initResult/>
  89. <g1Data/>
  90. </root>
  91. </instance>
  92. <script type="javascript" ev:event="xforms-ready">
  93. <![CDATA[
  94. commSubmit("UIF012020-service","success","glueAction.do");//提交服务
  95. model.duplicate("/root/initResult","/root/resData");//复制结点
  96. model.refresh();
  97. if (window.parent == null) Init();//无父窗口 进行初始化结点
  98. ]]>
  99. </script>
  100. <script type="javascript">
  101. <![CDATA[
  102. var m = 0;
  103. ]]>
  104. </script>
  105. </model>
  106. <script type="javascript" src="../../js/boaMsg.js"/>
  107. <script type="javascript" src="../../js/boaCommon.js"/>
  108. <script type="javascript" src="../../js/F.js"/>
  109. <script type="javascript">
  110. <![CDATA[
  111. function InitParams(node) {
  112. if (typeof node == "undefined" && typeof node != "object") return;
  113. model.removenode("/root/initData/rcvInfo");
  114. model.makeNode("/root/initData/rcvInfo");
  115. var nodeList = node.childNodes;
  116. for (var i = 0; i < nodeList.length; i++)
  117. model.instances(0).selectSingleNode("/root/initData/rcvInfo").appendChild(nodeList.item(i));
  118. }
  119. function Init(node) {
  120. InitParams(node);
  121. //插入空串到第一个结点
  122. // addAllOption("/root/initResult/resData/resultkey0_VO","/root/initResult/resData/resultkey0_VO/resultkey0_Row","FAC_STL_GRD","FAC_CODE","--全部--");
  123. }
  124. function setTitle()
  125. {
  126. return "炼钢管制 >> 作业进程现状 >> 出钢参数接收现况分析(热轧)"; // 如:return "进程管理 >> 订单进程现况查询";
  127. }
  128. function find() {
  129. if(m != 0)
  130. {
  131. datagrid1.rowstyle(m, "data", "background-color") = "#ffffff";
  132. datagrid1.rowstyle(m, "data", "color") = "#000000";
  133. }
  134. model.removenode("/root/reqData");
  135. model.makeNode("/root/reqData");
  136. commSendReq("/root/formData/searchForm");
  137. if(combo4.value == 'K') {
  138. datagrid1.nodeset = "/root/g1Data/rs_VO/rs_Row";
  139. commSubmit("UIF012020-service","findByK","glueAction.do");
  140. model.removenode("/root/g1Data");
  141. model.makeNode("/root/g1Data");
  142. commAppendData("/root/g1Data/rs_VO","/root/resData/rs_VO");
  143. }else {
  144. datagrid1.nodeset = "/root/g1Data/rs1_VO/rs1_Row";
  145. commSubmit("UIF012020-service","findByW","glueAction.do");
  146. model.removenode("/root/g1Data");
  147. model.makeNode("/root/g1Data");
  148. commAppendData("/root/g1Data/rs1_VO","/root/resData/rs1_VO");
  149. }
  150. model.refresh();
  151. if(datagrid1.rows> 1) {
  152. m= datagrid1.rows-1;
  153. datagrid1.rowstyle(datagrid1.rows-1, "data", "background-color") = "#ffffcc";
  154. datagrid1.rowstyle(datagrid1.rows-1, "data", "color") = "red";
  155. datagrid1.colstyle(datagrid1.cols-1, "data", "background-color") = "#ffffcc";
  156. datagrid1.colstyle(datagrid1.cols-1, "data", "color") = "red";
  157. }
  158. }
  159. //添加全部选项到combo头部
  160. function addAllOption(srcpath,targetpath,lable,value,allvalue) {
  161. model.duplicate(srcpath,targetpath);
  162. model.setValue(targetpath + "/" +lable,allvalue);
  163. model.setValue(targetpath + "/" +value,"");
  164. }
  165. function close() {
  166. window.close();//关闭窗口
  167. }
  168. ]]>
  169. </script>
  170. </xhtml:head>
  171. <xhtml:body pagewidth="980" pageheight="620" guideline="2,652;" style="border-color:#000000; ">
  172. <datagrid id="datagrid1" nodeset="/root/g1Data/rs_VO/rs_Row" scroll="auto" backcoloralternate="#f7f9f9" caption="轧制厚度 \ 板坯宽度^≤750^≤800^≤850^≤900^≤950^≤1000^≤1050^≤1100^≤1150^≤1200^≤1250^≤1300^≤1350^≤1400^≤1450^&gt;1450^合计^合计|轧制厚度 \ 板坯宽度^≤750^≤800^≤850^≤900^≤950^≤1000^≤1050^≤1100^≤1150^≤1200^≤1250^≤1300^≤1350^≤1400^≤1450^&gt;1450^合计^合计" colwidth="100, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 77" explorerbar="sortshowmove" extendlastcol="false" mergecellsfixedrows="bycolrec" subtotalposition="below" rowsep="|" colsep="^" style="left:0px; top:33px; width:980px; height:314px; text-align:center; ">
  173. <col ref="ORD_THK" style="text-align:center; "/>
  174. <col ref="SLAB_CNT750" format="#,##0" style="left:80px; top:40px; width:285px; height:20px; text-decoration:underline; color:#0000ff; text-align:right; "/>
  175. <col ref="SLAB_CNT800" format="#,##0" style="left:208px; top:40px; width:285px; height:20px; text-decoration:underline; color:#0000ff; text-align:right; "/>
  176. <col ref="SLAB_CNT850" format="#,##0" style="left:336px; top:40px; width:285px; height:20px; text-decoration:underline; color:#0000ff; text-align:right; "/>
  177. <col ref="SLAB_CNT900" format="#,##0" style="left:464px; top:40px; width:285px; height:20px; text-decoration:underline; color:#0000ff; text-align:right; "/>
  178. <col ref="SLAB_CNT950" format="#,##0" style="left:592px; top:40px; width:285px; height:20px; text-decoration:underline; color:#0000ff; text-align:right; "/>
  179. <col ref="SLAB_CNT1000" format="#,##0" style="text-decoration:underline; color:#0000ff; text-align:right; "/>
  180. <col ref="SLAB_CNT1050" format="#,##0" style="text-decoration:underline; color:#0000ff; text-align:right; "/>
  181. <col ref="SLAB_CNT1100" format="#,##0" style="text-decoration:underline; color:#0000ff; text-align:right; "/>
  182. <col ref="SLAB_CNT1150" format="#,##0" style="text-decoration:underline; color:#0000ff; text-align:right; "/>
  183. <col ref="SLAB_CNT1200" format="#,##0" style="text-decoration:underline; color:#0000ff; text-align:right; "/>
  184. <col ref="SLAB_CNT1250" format="#,##0" style="text-decoration:underline; color:#0000ff; text-align:right; "/>
  185. <col ref="SLAB_CNT1300" format="#,##0" style="text-decoration:underline; color:#0000ff; text-align:right; "/>
  186. <col ref="SLAB_CNT1350" format="#,##0" style="text-decoration:underline; color:#0000ff; text-align:right; "/>
  187. <col ref="SLAB_CNT1400" format="#,##0" style="text-decoration:underline; color:#0000ff; text-align:right; "/>
  188. <col ref="SLAB_CNT1450" format="#,##0" style="text-decoration:underline; color:#0000ff; text-align:right; "/>
  189. <col ref="SLAB_CNT_BIG1450" format="#,##0" style="text-decoration:underline; color:#0000ff; text-align:right; "/>
  190. <col ref="SUM_CNT" format="#,##0" style="text-decoration:underline; color:#0000ff; text-align:right; "/>
  191. <script type="javascript" ev:event="onclick">
  192. <![CDATA[
  193. if(datagrid1.col== 0) return;
  194. if(datagrid1.row <= 1) return;
  195. if (!datagrid1.isCell(event.target)) return;
  196. var v_wth_title = "";
  197. var v_thk_title = "";
  198. v_wth_title = datagrid1.valueMatrix(0,datagrid1.col);
  199. v_thk_title = datagrid1.valueMatrix(datagrid1.row,0);
  200. // alert( "v_wth_title:" + v_wth_title + "---v_thk_title:"+v_thk_title);
  201. model.setValue("/root/formData/searchForm/P_WTH",v_wth_title);
  202. model.setValue("/root/formData/searchForm/P_THK",v_thk_title);
  203. model.removenode("/root/reqData");
  204. model.makeNode("/root/reqData");
  205. commSendReq("/root/formData/searchForm");
  206. commSubmit("UIF012020-service","onclick","glueAction.do");
  207. ]]>
  208. </script>
  209. </datagrid>
  210. <caption id="caption1" class="cell" style="left:1px; top:6px; width:90px; height:20px; text-align:center; border-style:solid; ">去向</caption>
  211. <select1 id="combo1" ref="/root/formData/searchForm/STL_GRD" appearance="minimal" editmode="inputsearch" style="left:302px; top:6px; width:248px; height:20px; ">
  212. <choices>
  213. <itemset nodeset="/root/initResult/resData/resultkey0_VO/resultkey0_Row">
  214. <label ref="FAC_STL_GRD"/>
  215. <value ref="FAC_CODE"/>
  216. </itemset>
  217. </choices>
  218. </select1>
  219. <caption id="caption2" class="cell" style="left:211px; top:6px; width:90px; height:20px; text-align:center; border-style:solid; ">钢号</caption>
  220. <caption id="caption3" class="cell" style="left:561px; top:6px; width:90px; height:20px; text-align:center; border-style:solid; ">查询范围</caption>
  221. <caption id="caption4" class="cell" style="left:771px; top:6px; width:90px; height:20px; text-align:center; border-style:solid; ">集合方法</caption>
  222. <select1 id="combo3" ref="/root/formData/searchForm/PROG_CD" appearance="minimal" style="left:652px; top:6px; width:110px; height:20px; padding-left:20px; ">
  223. <choices>
  224. <item>
  225. <label>--全部--</label>
  226. <value/>
  227. </item>
  228. <item>
  229. <label>出钢指示待机</label>
  230. <value>JBA</value>
  231. </item>
  232. <item>
  233. <label>出钢待机</label>
  234. <value>JBB</value>
  235. </item>
  236. </choices>
  237. </select1>
  238. <select1 id="combo4" ref="/root/formData/searchForm/JHFF" appearance="minimal" style="left:862px; top:6px; width:110px; height:20px; ">
  239. <choices>
  240. <item>
  241. <label>块</label>
  242. <value>K</value>
  243. </item>
  244. <item>
  245. <label>重量</label>
  246. <value>W</value>
  247. </item>
  248. </choices>
  249. </select1>
  250. <select1 id="combo2" ref="/root/formData/searchForm/SLAB_RT" appearance="minimal" style="left:92px; top:6px; width:110px; height:20px; ">
  251. <choices>
  252. <item>
  253. <label>--全部--</label>
  254. <value/>
  255. </item>
  256. <item>
  257. <label>热轧</label>
  258. <value>H</value>
  259. </item>
  260. <item>
  261. <label>冷轧</label>
  262. <value>C</value>
  263. </item>
  264. </choices>
  265. </select1>
  266. <line id="line3" style="x1:1px; y1:29px; x2:980px; y2:29px; border-color:#ff00ff; "/>
  267. <line id="line1" style="x1:0px; y1:350px; x2:980px; y2:350px; border-color:#ff00ff; "/>
  268. <datagrid id="datagrid3" nodeset="/root/resData/rs2_VO/rs2_Row" scroll="auto" backcoloralternate="#f7f9f9" caption="板坯管理号^钢号^板坯^板坯^板坯^板坯^热送^订单材余材区分^订单用途^订单^订单^交货期^进程^板坯去向^板坯申请号^L2传送|板坯管理号^钢号^厚度^宽度^长度^重量^热送^订单材余材区分^订单用途^厚度^宽度^交货期^进程^板坯去向^板坯申请号^L2传送" colwidth="93, 63, 55, 55, 55, 55, 39, 61, 86, 36, 36, 81, 50, 40, 92, 49" defaultrows="0" explorerbar="sortshowmove" extendlastcol="false" fixedcols="2" mergecellsfixedrows="bycolrec" rowheader="seq" subtotalposition="below" rowsep="|" colsep="^" style="left:0px; top:354px; width:980px; height:266px; font-family:宋体; text-align:center; ">
  269. <col ref="SLAB_MANA_NO" style="left:0px; top:21px; width:134px; height:21px; text-align:center; "/>
  270. <col ref="STL_GRD" style="left:134px; top:21px; width:134px; height:21px; text-align:left; "/>
  271. <col ref="SLAB_THK" format="#,##0" style="left:268px; top:21px; width:134px; height:21px; text-align:right; "/>
  272. <col ref="SLAB_WTH" format="#,##0" style="left:402px; top:21px; width:134px; height:21px; text-align:right; "/>
  273. <col ref="SLAB_LEN" format="#,##0" style="left:536px; top:21px; width:134px; height:21px; text-align:right; "/>
  274. <col ref="SLAB_WGT" format="#,##0" style="left:670px; top:21px; width:134px; height:21px; text-align:right; "/>
  275. <col ref="HCR_CLF" style="text-align:center; "/>
  276. <col ref="ORD_FL" style="text-align:left; "/>
  277. <col ref="ORD_USEAGE_CD" style="text-align:left; "/>
  278. <col ref="ORD_THK" style="text-align:right; "/>
  279. <col ref="ORD_WTH" style="text-align:right; "/>
  280. <col ref="DELV_REQ_DATE" format="yyyy-mm-dd" style="text-align:center; "/>
  281. <col ref="PROG_CD" style="left:804px; top:21px; width:134px; height:21px; text-align:left; "/>
  282. <col ref="SLAB_RT" style="text-align:left; "/>
  283. <col ref="DSN_SLAB_NO" visibility="hidden" style="text-align:center; "/>
  284. <col ref="L2_SEND" style="text-align:center; "/>
  285. </datagrid>
  286. </xhtml:body>
  287. </xhtml:html>