94b3a386b947d5f97b9c22c7f5abd16926eeda75.svn-base 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564
  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>
  6. <![CDATA[生产管制 >> 热轧管理 >> HCR料轧制作业指示确定]]>
  7. </xhtml:title>
  8. <model id="model1">
  9. <instance id="instance1">
  10. <root xmlns="">
  11. <chargeInfo>
  12. <resData>
  13. <slabCnt/>
  14. </resData>
  15. </chargeInfo>
  16. <chargeCombo>
  17. <item>
  18. <lable/>
  19. <value/>
  20. </item>
  21. </chargeCombo>
  22. <detailData>
  23. <dgrid1>
  24. <CHARGE_SLAB_SEQ/>
  25. <SLAB_EDT_SEQ/>
  26. <SLAB_MANA_NO/>
  27. <SLAB_WTH/>
  28. <SLAB_LEN/>
  29. <ORD_THK/>
  30. <ORD_WTH/>
  31. <ORD_WGT/>
  32. <STL_GRD/>
  33. <HCR_CLF/>
  34. <ORD_NO/>
  35. <ORD_SEQ/>
  36. <SPEC_ABBSYM/>
  37. <SLAB_RT/>
  38. </dgrid1>
  39. <dgrid2>
  40. <SEQ_NO/>
  41. <ROLL_MANA_NO/>
  42. <ROLL_SLAB_CNT/>
  43. <ROLL_SLAB_WGT/>
  44. <MILL_LEN/>
  45. </dgrid2>
  46. <dgrid3>
  47. <ROLL_NO/>
  48. <ROLL_SLAB_SEQ/>
  49. <SLAB_NO/>
  50. <SLAB_WTH/>
  51. <SLAB_LEN/>
  52. <ORD_THK/>
  53. <ORD_WTH/>
  54. <ORD_WGT/>
  55. <STL_GRD/>
  56. <STATUS_CD/>
  57. <CUR_STORE_LOC/>
  58. <HCR_CLF/>
  59. <ORD_NO/>
  60. <ORD_SEQ/>
  61. <SPEC_ABBSYM/>
  62. <ORD_USEAGE_CD/>
  63. <DELV_REQ_DATE/>
  64. <ROUTE/>
  65. <FUR_IN_PRE_DTIME/>
  66. </dgrid3>
  67. </detailData>
  68. <tempreqData>
  69. <CHARGE_EDT_SEQ/>
  70. <ROLL_MANA_NO/>
  71. <POSITION/>
  72. <USER_NAME/>
  73. <CHARGE_MANA_NO/>
  74. </tempreqData>
  75. <formData>
  76. <Position/>
  77. <Charge_Mana/>
  78. <ROLL_MANA_NO/>
  79. <V_PROG_CD/>
  80. </formData>
  81. <g2Data/>
  82. <gData>
  83. <ROLL_MANA_NO/>
  84. </gData>
  85. <g3Data/>
  86. <g1Data/>
  87. <initResult/>
  88. </root>
  89. </instance>
  90. <script type="javascript" ev:event="xforms-ready">
  91. <![CDATA[
  92. var CHARGE_HCR_CLF = "";
  93. //getChart();
  94. commSubmit("UIF023100-service","success","glueAction.do");//提交服务
  95. model.duplicate("/root/initResult","/root/resData");//复制结点
  96. commAppendData("/root/g2Data/rs2_VO","/root/resData/rs2_VO");
  97. model.refresh();
  98. if (window.parent == null) Init();
  99. ]]>
  100. </script>
  101. </model>
  102. <script type="javascript">
  103. <![CDATA[
  104. var millfl = false;
  105. var chargeMana = "";
  106. var V_PROG_CD = "";
  107. var P_CHARGE_MANA_NO = "";
  108. var rollCnt = 0;
  109. var slabCnt = 0;
  110. var chareEdtSeq;
  111. var rectangleLeft, rectangleTop;
  112. var rollList = null;
  113. var mill_fl = null;
  114. var input_wdt_arr = null;
  115. var chargeList = null;
  116. var rectangleList = null;
  117. var slab_wth_List = null;
  118. var coil_thk_List = null;
  119. var hcr_clf = null;
  120. var ord_fl = null;
  121. var slab_no_list= null;
  122. var roll_nodeList = null;
  123. var slab_nodeList = null;
  124. // var slab_wthList = null;
  125. // var coil_thkList = null;
  126. var input_wdt = 0;
  127. var roll_row_path = "/root/initResult/resData/resultkey0_VO/resultkey0_Row";
  128. var slab_row_path = "/root/initResult/resData/resultkey1_VO/resultkey1_Row";
  129. // var slabWth_row_path = "/root/initResult/resData/resultkey1_VO/resultkey1_Row";
  130. // var coilThk_row_path = "/root/initResult/resData/resultkey2_VO/resultkey2_Row";
  131. var coordinateY = 40;
  132. var coordinateX = 228;
  133. var groupTop1 = 136;
  134. var input_hight = 20;
  135. var wthHighRate = 1/18;
  136. var thkHighRate = 5;
  137. var lineBorder = 2;
  138. var slabUnitHigh = 100;
  139. var slabUnitWidth = 8;//控制板坯的显示宽度比率
  140. var RollUnitHigh = 20;//控制板坯的显示高度的比率
  141. var rollUnitTop = 300;//控制板坯的显示TOP的位置
  142. var rollUnitLeftInit = 20;//控制板坯的LEFT开始位置
  143. //2. 页面初始化函数(必须)
  144. function Init(node)
  145. {
  146. model.setValue("/root/tempreqData/USER_NAME",model.getValue("/root/initData/rcvInfo/REG_ID"));
  147. //InitParams(node); // 用于设置节点:/root/initData/rcvInfo,获取用户登录信息
  148. // 在程序中会重建该节点,最好不要重名
  149. // 函数 InitParams 在 mesCommon.js 中,仅在需要使用登录用户信息时调用
  150. }
  151. //3、页面标题
  152. function setTitle()
  153. {
  154. return "热轧管制 >> 热轧管制指示 >> HCR料轧制作业指示确定"; // 如:return "进程管理 >> 订单进程现况查询";
  155. }
  156. function getChart() {
  157. model.removenode("/root/reqData");
  158. model.makeNode("/root/reqData");
  159. commSubmit("UIF023100-service","success","glueAction.do");//提交服务
  160. if (model.getValue("/root/resData/errorData") != "") {
  161. alert(model.getValue("/root/resData/errorData"));
  162. return;
  163. }
  164. model.removenode("/root/initResult");
  165. model.makeNode("/root/initResult");
  166. model.duplicate("/root/initResult","/root/resData");//复制结点
  167. removeChild();
  168. // model.refresh();
  169. }
  170. function initChartParams()
  171. {
  172. roll_nodeList = root.selectNodes(roll_row_path);
  173. slab_nodeList = root.selectNodes(slab_row_path);
  174. // slab_wthList = root.selectNodes(slabWth_row_path);
  175. // coil_thkList = root.selectNodes(coilThk_row_path);
  176. rollCnt = roll_nodeList.length;
  177. slabCnt = slab_nodeList.length;
  178. rollList = new Array(rollCnt);
  179. mill_fl = new Array(rollCnt);
  180. input_wdt_arr = new Array(rollCnt);
  181. chargeList = new Array();
  182. rectangleList = new Array(10);
  183. slab_wth_List = new Array(slabCnt);
  184. coil_thk_List = new Array(slabCnt);
  185. hcr_clf = new Array(slabCnt);
  186. ord_fl = new Array(slabCnt);
  187. slab_no_list= new Array(slabCnt);
  188. input_wdt = 0;
  189. var rectangle_left = rollUnitLeftInit;
  190. }
  191. function find()
  192. {
  193. getChart();
  194. commAppendData("/root/g2Data/rs2_VO","/root/resData/rs2_VO");
  195. initChartParams();
  196. display();
  197. model.refresh();
  198. group1.refresh();
  199. }
  200. function save()
  201. {
  202. // if(chargeMana == '') {
  203. // alert("请选择编制炉次");
  204. // return;
  205. // }
  206. // if(CHARGE_HCR_CLF != 'H') {
  207. // alert("请选择HCR编制");
  208. // return;
  209. // }
  210. model.removenode("/root/reqData");
  211. model.makeNode("/root/reqData");
  212. model.setValue("/root/tempreqData/CHARGE_EDT_SEQ",chareEdtSeq);
  213. model.setValue("/root/tempreqData/CHARGE_MANA_NO",output1.value);
  214. model.setValue("/root/tempreqData/ROLL_MANA_NO",output2.value);
  215. model.setValue("/root/tempreqData/POSITION",radio1.value);
  216. // alert(model.getValue("/root/initData/rcvInfo/REG_ID"));
  217. commSendReq("/root/tempreqData");
  218. commSubmit("UIF023100-service","hcrEdit","glueAction.do");
  219. alertError();
  220. if(!millfl) return;
  221. var oinput = null;
  222. for(var i = 1;i<=rollCnt;i++)
  223. {
  224. oinput = document.controls("input"+(i));//获取控件
  225. if(oinput.value == output1.value)
  226. {
  227. oinput.attribute("background-color") = "#ffff99";
  228. }
  229. }
  230. commAppendData("/root/g2Data/rs2_VO","/root/resData/rs2_VO");
  231. model.refresh();
  232. }
  233. function display()
  234. {
  235. rollDisplay();
  236. slabDisplay();
  237. coilMeasurement();
  238. }
  239. function removeChild()
  240. {
  241. slabRemove();
  242. rollRemove();
  243. twoLineRemove();
  244. }
  245. function slabRemove()
  246. {
  247. for(var i = slabCnt;i>0;i--)
  248. {
  249. group1.removeChild("optwth"+i)
  250. group1.removeChild("optthk"+i);
  251. }
  252. }
  253. function rollRemove()
  254. {
  255. for(var i = rollCnt;i>0;i--)
  256. {
  257. group1.removeChild("input"+i)
  258. }
  259. }
  260. function twoLineRemove()
  261. {
  262. group1.removeChild("line1");
  263. group1.removeChild("line2");
  264. }
  265. function rollDisplay()
  266. {
  267. for(var i=1;i<=rollCnt;i++ )
  268. {
  269. rollList[i] = model.getValue(roll_row_path+"["+i+"]/CHARGE_MANA_NO");
  270. mill_fl[i] = model.getValue(roll_row_path+"["+i+"]/MILL_FL");
  271. var bgcolor = "";
  272. var wth = slabUnitWidth * model.getValue(roll_row_path+"["+(i)+"]/ROLL_SLAB_CNT");
  273. if(i == 1) {
  274. input_wdt +=( coordinateY + lineBorder);
  275. }else{
  276. input_wdt += (slabUnitWidth * model.getValue(roll_row_path+"["+(i-1)+"]/ROLL_SLAB_CNT"));
  277. }
  278. if(mill_fl[i] == "Y") {
  279. bgcolor = "#ffff99";
  280. }else {
  281. bgcolor = "#ffffff";
  282. }
  283. group1.createChild("xforms:input","id:input"+(i)+";left:"+input_wdt + "px;top:" + (82) + "px;width:"+wth+"px; height:" +input_hight+ "px;background-color:"+bgcolor+";border-color:#0000ff;text-align:center;border-width:1px;ref :" + roll_row_path+"["+ i +"]/CHARGE_MANA_NO");
  284. var oInput = document.controls("input"+(i));
  285. oInput.attribute("editable") = "false";
  286. }
  287. displayTwoLine();
  288. }
  289. function displayTwoLine()
  290. {
  291. group1.createChild("xforms:line","id:line1;x1:"+(coordinateY+lineBorder)+"px; y1:"+ (coordinateX- groupTop1-lineBorder-input_hight/2) +"px; x2:"+(slabCnt*slabUnitWidth + 100)+"px; y2:"+ (coordinateX- groupTop1-lineBorder-input_hight/2) +"px; border-color:#0000ff; border-width:2px; ");
  292. group1.createChild("xforms:line","id:line2;x1:"+(coordinateY+lineBorder)+"px; y1:"+ (coordinateX- groupTop1+input_hight/2) +"px; x2:"+(slabCnt*slabUnitWidth + 100)+"px; y2:"+ (coordinateX- groupTop1+input_hight/2) +"px; border-color:#0000ff; border-width:2px; ");
  293. }
  294. function slabDisplay()
  295. {
  296. for(var i = 1;i<=slabCnt;i++)
  297. {
  298. slab_wth_List[i] = model.getValue(slab_row_path+"["+i+"]/WTH_AIM");
  299. coil_thk_List[i] = model.getValue(slab_row_path+"["+i+"]/HOT_THK_AIM");
  300. hcr_clf[i] = model.getValue(slab_row_path+"["+i+"]/HCR_CLF");
  301. ord_fl[i] = model.getValue(slab_row_path+"["+i+"]/ORD_FL");
  302. slab_no_list[i] = model.getValue(slab_row_path+"["+i+"]/SLAB_NO");
  303. var bgcolor = "#ffffff";
  304. if(hcr_clf[i] == "H") {
  305. bgcolor = "#ff5050";
  306. } else if(hcr_clf[i] == "C" && ord_fl[i] =="1") {
  307. bgcolor = "#c0c0c0";
  308. }
  309. if(i == 1) {
  310. rectangle_left = coordinateY + lineBorder;
  311. }else {
  312. rectangle_left += slabUnitWidth;
  313. }
  314. group1.createChild("xforms:output","id:optwth"+ i + ";left:"+ (rectangle_left) + "px;top:" + (coordinateX- groupTop1-input_hight/2 - slab_wth_List[i] * wthHighRate)+ "px;width:" +slabUnitWidth+ "px; height:" + slab_wth_List[i] * wthHighRate+ "px; border-style:solid;background-color:"+bgcolor);
  315. group1.createChild("xforms:output","id:optthk"+ i + ";left:"+ (rectangle_left) + "px;top:" + (coordinateX- groupTop1+input_hight/2)+ "px;width: "+slabUnitWidth+ "px; height:" + coil_thk_List[i] * thkHighRate + "px;border-style:solid;background-color:"+bgcolor);
  316. }
  317. }
  318. function coilMeasurement()
  319. {
  320. group1.createChild("xforms:line","id:lineWth+"+(1)+";x1:40px; y1:" + (coordinateX- groupTop1-lineBorder-1000 * wthHighRate)+"px; x2:30px; y2:" + (coordinateX- groupTop1-lineBorder-1000 * wthHighRate)+ "px;");
  321. group1.createChild("xforms:line","id:lineWth+"+(2)+";x1:40px; y1:" + (coordinateX- groupTop1-lineBorder-1500 * wthHighRate)+"px; x2:30px; y2:" + (coordinateX- groupTop1-lineBorder-1500 * wthHighRate)+ "px;");
  322. group1.createChild("xforms:caption","id:capintionWth+"+(1)+";left:"+5+"px; top:"+(coordinateX- groupTop1-lineBorder-1000 * wthHighRate-5)+"px; width:35px; height:15px; vertical-align:middle;value:"+1000+"");
  323. group1.createChild("xforms:caption","id:capintionWth+"+(2)+";left:"+5+"px; top:"+(coordinateX- groupTop1-lineBorder-1500 * wthHighRate-5)+"px; width:35px; height:15px; vertical-align:middle;value:"+1500+"");
  324. group1.createChild("xforms:line","id:lineThk+"+(1)+";x1:40px; y1:"+(coordinateX- groupTop1+input_hight/2+ 5*thkHighRate)+"px; x2:30px; y2:"+ (coordinateX- groupTop1+input_hight/2+ 5*thkHighRate)+ "px;");
  325. group1.createChild("xforms:caption","id:capintionThk+"+(1)+";left:5px; top:"+(coordinateX- groupTop1+input_hight/2+ 4*thkHighRate)+"px; width:35px; height:15px; vertical-align:middle;value:"+5+"");
  326. group1.createChild("xforms:line","id:lineThk+"+(2)+";x1:40px; y1:"+(coordinateX- groupTop1+input_hight/2+ 10*thkHighRate)+"px; x2:30px; y2:"+ (coordinateX- groupTop1+input_hight/2+ 10*thkHighRate)+ "px;");
  327. group1.createChild("xforms:caption","id:capintionThk+"+(2)+";left:5px; top:"+(coordinateX- groupTop1+input_hight/2+ 9*thkHighRate)+"px; width:35px; height:15px; vertical-align:middle;value:"+10+"");
  328. group1.createChild("xforms:line","id:lineThk+"+(3)+";x1:40px; y1:"+(coordinateX- groupTop1+input_hight/2+ 16*thkHighRate)+"px; x2:30px; y2:"+ (coordinateX- groupTop1+input_hight/2+ 16*thkHighRate)+ "px;");
  329. group1.createChild("xforms:caption","id:capintionThk+"+(3)+";left:5px; top:"+(coordinateX- groupTop1+input_hight/2+ 14*thkHighRate)+"px; width:35px; height:15px; vertical-align:middle;value:"+16.0+"");
  330. }
  331. function alertError() {
  332. if (model.getValue("/root/resData/errorData") != "") {
  333. alert(model.getValue("/root/resData/errorData"));
  334. millfl = false;
  335. } else {
  336. millfl = true;
  337. }
  338. }
  339. function fowardUID010031(gridID,colName) {
  340. if(gridID.col == gridID.colRef(colName)) {
  341. model.makeValue("/root/fwdData/UID010031/ORD_NO", gridID.valueMatrix(gridID.row, gridID.colRef("ORD_NO")));
  342. model.makeValue("/root/fwdData/UID010031/ORD_SEQ", gridID.valueMatrix(gridID.row, gridID.colRef("ORD_SEQ")));
  343. model.makeValue("/root/fwdData/UID010031/URL", "../../B/B01/UIB015020.xrw");
  344. var java = window.parent.javaScript;
  345. java.open(model.instances(0).selectSingleNode("/root/fwdData/UID010031"));
  346. }
  347. }
  348. ]]>
  349. </script>
  350. <script type="javascript" src="../../js/boaCommon.js"/>
  351. <script type="javascript" src="../../js/boaMsg.js"/>
  352. </xhtml:head>
  353. <xhtml:body overflow="scroll" guideline="1,979;2,137;2,228;2,32;2,620;" style="background-color:#ffffff; ">
  354. <group id="group1" overflow="scroll" scroll="horizontal" style="left:0px; top:33px; width:980px; height:201px; ">
  355. <line id="lineY" style="x1:40px; y1:0px; x2:40px; y2:184px; background-color:#0000ff; border-color:#0000ff; border-width:2px; "/>
  356. <script type="javascript" ev:event="onclick">
  357. <![CDATA[
  358. var oInput = null;
  359. var currentTarget = event.target;
  360. oInput = document.controls(currentTarget);
  361. if(oInput.elementName == "xforms:input") {
  362. output1.value = oInput.value;
  363. for(var i = 1;i<=rollCnt;i++) {
  364. chargeMana = model.getValue("/root/initResult/resData/resultkey0_VO/resultkey0_Row["+i+"]/CHARGE_MANA_NO");
  365. P_CHARGE_MANA_NO = chargeMana
  366. if(oInput.value == chargeMana) {
  367. CHARGE_HCR_CLF = model.getValue("/root/initResult/resData/resultkey0_VO/resultkey0_Row["+i+"]/HCR_CLF");
  368. chareEdtSeq = model.getValue("/root/initResult/resData/resultkey0_VO/resultkey0_Row["+i+"]/CHARGE_EDT_SEQ");
  369. model.property("CHARGE_EDT_SEQ") = chareEdtSeq;
  370. V_PROG_CD = model.getValue("/root/initResult/resData/resultkey0_VO/resultkey0_Row["+i+"]/PROG_CD");
  371. output3.value= V_PROG_CD;
  372. model.setValue("/root/tempreqData/CHARGE_EDT_SEQ",chareEdtSeq);
  373. }
  374. }
  375. }else {
  376. alert("请点击炉次号");
  377. return;
  378. }
  379. model.removenode("/root/reqData");
  380. model.makeNode("/root/reqData");
  381. commSendReq("/root/tempreqData");
  382. commSubmit("UIF023100-service","onclick","glueAction.do");
  383. commAppendData("/root/g1Data/rs1_VO","/root/resData/rs1_VO");
  384. model.refresh();
  385. ]]>
  386. </script>
  387. </group>
  388. <caption id="caption2" class="cell" style="left:0px; top:242px; width:121px; height:20px; text-align:center; border-style:solid; ">编制对象炉次管理号</caption>
  389. <datagrid id="datagrid1" nodeset="/root/g1Data/rs1_VO/rs1_Row" scroll="auto" backcoloralternate="#f7f9f9" caption="顺序^板坯编制号^板坯管理号^板坯厚度^板坯宽度^板坯长度^板坯重量^目标厚度^目标宽度^钢卷重量^热送代号^合同号^订单号^钢号^余材^标准号^板坯去向^发货方式^客户成分特殊要求^材质特殊要求^公差特殊要求^去向" colsep="^" colwidth="56, 67, 98, 60, 60, 60, 60, 67, 67, 67, 73, 103, 47, 57, 40, 88, 100, 60, 60, 60, 100" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheight="30" rowsep="|" tooltip="label" style="left:0px; top:270px; width:980px; height:105px; ">
  390. <col editable="false" ref="CHARGE_SLAB_SEQ" style="left:80px; top:40px; width:285px; height:20px; text-align:right; background-color:#ffffff; "/>
  391. <col editable="false" ref="SLAB_EDT_SEQ" visibility="hidden" style="left:208px; top:40px; width:285px; height:20px; text-align:right; background-color:#ffffff; "/>
  392. <col ref="SLAB_MANA_NO" style="left:336px; top:40px; width:285px; height:20px; text-align:center; "/>
  393. <col ref="SLAB_THK" format="#,##0" style="text-align:right; "/>
  394. <col ref="SLAB_WTH" format="#,##0" style="text-align:right; "/>
  395. <col ref="SLAB_LEN" format="#,##0" style="text-align:right; "/>
  396. <col ref="SLAB_WGT" format="#,##0" style="text-align:right; "/>
  397. <col editable="false" ref="HOT_THK_AIM" format="#.###" style="text-align:right; background-color:#ffffff; "/>
  398. <col editable="false" ref="WTH_AIM" format="#,##0" style="left:864px; top:40px; width:439px; height:20px; text-align:right; background-color:#ffffff; "/>
  399. <col editable="false" ref="ORD_WGT" format="#,##0" style="left:720px; top:40px; width:285px; height:20px; text-align:right; background-color:#ffffff; "/>
  400. <col disabled="true" editmode="search" ref="HCR_CLF" style="text-align:center; "/>
  401. <col ref="ORD_NO" style="text-align:center; "/>
  402. <col ref="ORD_SEQ" style="text-align:center; "/>
  403. <col disabled="true" editmode="search" ref="STL_GRD" style="text-align:left; "/>
  404. <col ref="ORD_FL"/>
  405. <col ref="SPEC_ABBSYM" style="text-align:left; "/>
  406. <col ref="SLAB_RT" style="text-align:left; "/>
  407. <col ref="DLIV_TP"/>
  408. <col ref="INGR_YN" style="text-decoration:underline; color:#0000ff; cursor:hand; ">
  409. <script type="javascript" ev:event="onclick">
  410. <![CDATA[
  411. fowardUID010031(datagrid1,"INGR_YN");
  412. ]]>
  413. </script>
  414. </col>
  415. <col ref="QLTY_YN" style="text-decoration:underline; color:#0000ff; cursor:hand; ">
  416. <script type="javascript" ev:event="onclick">
  417. <![CDATA[
  418. fowardUID010031(datagrid1,"QLTY_YN");
  419. ]]>
  420. </script>
  421. </col>
  422. <col ref="DEL_YN" style="text-decoration:underline; color:#0000ff; cursor:hand; ">
  423. <script type="javascript" ev:event="onclick">
  424. <![CDATA[
  425. fowardUID010031(datagrid1,"DEL_YN");
  426. ]]>
  427. </script>
  428. </col>
  429. </datagrid>
  430. <caption id="caption3" class="cell" style="left:0px; top:381px; width:121px; height:20px; text-align:center; border-style:solid; ">轧制单元号</caption>
  431. <datagrid id="datagrid2" nodeset="/root/g2Data/rs2_VO/rs2_Row" scroll="auto" backcoloralternate="#f7f9f9" caption="轧制单元号^编制轧辊内板坯数^编制轧辊内板坯重量^轧制长度|轧制单元号^编制轧辊内板坯数^编制轧辊内板坯重量^轧制长度" colsep="^" colwidth="49, 71, 75, 141" defaultrows="0" extendlastcol="false" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:408px; width:285px; height:212px; ">
  432. <col ref="ROLL_MANA_NO" style="left:100px; top:40px; width:100px; height:100px; text-align:center; "/>
  433. <col ref="ROLL_SLAB_CNT" format="#,##0" style="text-align:right; "/>
  434. <col ref="ROLL_SLAB_WGT" format="#,##0" style="text-align:right; "/>
  435. <col ref="MILL_LEN" format="#,##0" style="text-align:right; "/>
  436. <script type="javascript" ev:event="onclick">
  437. <![CDATA[
  438. var i ;
  439. i = datagrid2.mouseRow;//记录点击行
  440. var ROLL_MANA_NO = model.getValue("/root/g2Data/rs2_VO/rs2_Row["+(i-1)+"]/ROLL_MANA_NO");//记录当前行的炉次编制号
  441. output2.value = ROLL_MANA_NO;
  442. model.removenode("/root/reqData");
  443. model.makeNode("/root/reqData");
  444. model.makeNode("/root/gData/ROLL_MANA_NO");
  445. model.setValue("/root/gData/ROLL_MANA_NO",ROLL_MANA_NO);
  446. model.duplicate("/root/reqData","/root/gData/ROLL_MANA_NO");//将炉次编制号做为请求变量复制到root/reqData结点中
  447. commSubmit("UIF023100-service","findMillSpec","glueAction.do");
  448. commAppendData("/root/g3Data/rs3_VO","/root/resData/rs3_VO");//将/root/resData/rs3_VO的值复制到/root/g3Data/rs3_VO中
  449. model.refresh();
  450. ]]>
  451. </script>
  452. </datagrid>
  453. <shape id="rectangle1" appearance="rectangle" style="left:897px; top:7px; width:7px; height:13px; background-color:#ffff99; "/>
  454. <caption id="caption4" style="left:906px; top:5px; width:67px; height:20px; vertical-align:middle; ">已编制炉次</caption>
  455. <select1 id="radio1" ref="/root/formData/Position" appearance="full" cols="2" overflow="visible" style="left:242px; top:383px; width:95px; height:20px; border-style:none; ">
  456. <choices>
  457. <item>
  458. <label>前</label>
  459. <value>B</value>
  460. </item>
  461. <item>
  462. <label>后</label>
  463. <value>A</value>
  464. </item>
  465. </choices>
  466. </select1>
  467. <datagrid id="datagrid3" nodeset="/root/g3Data/rs3_VO/rs3_Row" scroll="auto" backcoloralternate="#f7f9f9" caption="顺序^板坯号^板坯^板坯^板坯^板坯^轧制^轧制^轧制^轧制^轧制^轧制^轧制^轧制^状态区分^堆置位置^热送代号^合同号^订单号^钢号^标准号^订单用途^交货期^紧急材^去向^计划加热炉装炉日期^发货方式^客户成分特殊要求^材质特殊要求^公差特殊要求|顺序^板坯号^厚度^宽度^长度^重量^目标厚度^厚度下限^厚度上限^目标宽度^宽度下限^宽度上限^长度^重量^状态区分^堆置位置^热送代号^合同号^订单号^钢号^标准号^订单用途^交货期^紧急材^去向^计划加热炉装炉日期^发货方式^客户成分特殊要求^材质特殊要求^公差特殊要求" colsep="^" colwidth="52, 51, 50, 40, 50, 50, 57, 55, 55, 55, 55, 55, 55, 55, 30, 30, 30, 50, 45, 35, 49, 60, 60, 100, 42, 100, 100, 60, 60, 60" defaultrows="0" extendlastcol="false" mergecellsfixedrows="bycolrec" rowsep="|" style="left:292px; top:408px; width:688px; height:212px; ">
  468. <col ref="ROLL_SLAB_SEQ" style="left:100px; top:40px; width:100px; height:100px; text-align:right; "/>
  469. <col ref="SLAB_NO" style="text-align:center; "/>
  470. <col ref="SLAB_THK" format="#,##0" style="text-align:right; "/>
  471. <col ref="SLAB_WTH" format="#,##0" style="text-align:right; "/>
  472. <col ref="SLAB_LEN" format="#,##0" style="text-align:right; "/>
  473. <col ref="SLAB_WGT" format="#,##0" style="text-align:right; "/>
  474. <col ref="HOT_THK_AIM" format="#.##0" style="text-align:right; "/>
  475. <col ref="HOT_THK_MIN" format="#.##0" style="text-align:right; "/>
  476. <col ref="HOT_THK_MAX" format="#.##0" style="text-align:right; "/>
  477. <col ref="WTH_AIM" format="#,##0" style="text-align:right; "/>
  478. <col ref="WTH_MIN" format="#,##0" style="text-align:right; "/>
  479. <col ref="WTH_MAX" format="#,##0" style="text-align:right; "/>
  480. <col ref="MILL_LEN" format="#,##0" style="text-align:right; "/>
  481. <col ref="MILL_WGT" format="#,##0" style="text-align:right; "/>
  482. <col disabled="true" editmode="search" ref="STATUS_CD" style="text-align:center; "/>
  483. <col ref="CUR_LOAD_LOC" style="text-align:center; "/>
  484. <col disabled="true" editmode="search" ref="HCR_CLF" style="text-align:center; "/>
  485. <col ref="ORD_NO" style="text-align:center; "/>
  486. <col ref="ORD_SEQ" style="text-align:center; "/>
  487. <col disabled="true" editmode="search" ref="STL_GRD" style="text-align:left; "/>
  488. <col ref="SPEC_ABBSYM" style="text-align:left; "/>
  489. <col disabled="true" editmode="search" ref="ORD_USEAGE_CD" style="text-align:left; "/>
  490. <col ref="DELV_REQ_DATE" format="yyyy-mm-dd" style="text-align:center; "/>
  491. <col ref="EMGMTR_NMG_CLF"/>
  492. <col disabled="true" editmode="search" ref="ROUTE" style="text-align:center; "/>
  493. <col ref="FUR_IN_PRE_DTIME" style="text-align:center; "/>
  494. <col ref="DLIV_TP"/>
  495. <col ref="INGR_YN" style="text-decoration:underline; color:#0000ff; cursor:hand; ">
  496. <script type="javascript" ev:event="onclick">
  497. <![CDATA[
  498. fowardUID010031(datagrid3,"INGR_YN");
  499. ]]>
  500. </script>
  501. </col>
  502. <col ref="QLTY_YN" style="text-decoration:underline; color:#0000ff; cursor:hand; ">
  503. <script type="javascript" ev:event="onclick">
  504. <![CDATA[
  505. fowardUID010031(datagrid3,"QLTY_YN");
  506. ]]>
  507. </script>
  508. </col>
  509. <col ref="DEL_YN" style="text-decoration:underline; color:#0000ff; cursor:hand; ">
  510. <script type="javascript" ev:event="onclick">
  511. <![CDATA[
  512. fowardUID010031(datagrid3,"DEL_YN");
  513. ]]>
  514. </script>
  515. </col>
  516. </datagrid>
  517. <output id="output1" ref="/root/formData/Charge_Mana" style="left:122px; top:242px; width:110px; height:20px; border-color:#c0c0c0; border-style:solid; "/>
  518. <output id="output2" ref="/root/formData/ROLL_MANA_NO" style="left:122px; top:381px; width:110px; height:20px; border-color:#c0c0c0; border-style:solid; "/>
  519. <shape id="rectangle2" appearance="rectangle" style="left:858px; top:7px; width:7px; height:13px; background-color:#ff0000; "/>
  520. <shape id="rectangle4" appearance="rectangle" style="left:817px; top:7px; width:7px; height:13px; background-color:#c0c0c0; "/>
  521. <caption id="caption6" style="left:868px; top:5px; width:21px; height:20px; vertical-align:middle; ">HCR</caption>
  522. <caption id="caption7" style="left:827px; top:5px; width:28px; height:20px; vertical-align:middle; ">CCR</caption>
  523. <button id="button3" style="left:901px; top:381px; width:73px; height:20px; text-align:right; background-image:../../images/save.gif; ">
  524. <caption>编制确定</caption>
  525. <script type="javascript" ev:event="onclick">
  526. <![CDATA[
  527. save();
  528. ]]>
  529. </script>
  530. </button>
  531. <line id="line1" style="x1:0px; y1:238px; x2:980px; y2:238px; border-color:#ff00ff; "/>
  532. <line id="line2" style="x1:0px; y1:265px; x2:980px; y2:265px; border-color:#ff00ff; "/>
  533. <line id="line4" style="x1:0px; y1:377px; x2:980px; y2:377px; border-color:#ff00ff; "/>
  534. <line id="line5" style="x1:0px; y1:404px; x2:980px; y2:404px; border-color:#ff00ff; "/>
  535. <line id="line3" style="x1:288px; y1:405px; x2:288px; y2:620px; "/>
  536. <shape id="rectangle3" appearance="rectangle" style="left:772px; top:7px; width:7px; height:13px; background-color:#ffffff; "/>
  537. <caption id="caption1" style="left:781px; top:5px; width:28px; height:20px; vertical-align:middle; ">余材</caption>
  538. <caption id="caption5" class="cell" style="left:241px; top:242px; width:121px; height:20px; text-align:center; border-style:solid; ">进程</caption>
  539. <output id="output3" ref="/root/formData/V_PROG_CD" style="left:363px; top:242px; width:110px; height:20px; border-color:#c0c0c0; border-style:solid; "/>
  540. </xhtml:body>
  541. </xhtml:html>