UIB015020_.xrw 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653
  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. <initData>
  12. </initData>
  13. <datagrid1/>
  14. <formData>
  15. <no/>
  16. <seq/>
  17. <sd/>
  18. <changeFlag/>
  19. <PROG/>
  20. </formData>
  21. <info>
  22. <DesignRKeyResult_Row>
  23. </DesignRKeyResult_Row>
  24. </info>
  25. <query/>
  26. <findData>
  27. <no/>
  28. <seq/>
  29. <fac/>
  30. <ord/>
  31. </findData>
  32. <comboData>
  33. <ordNo/>
  34. <ordSeq/>
  35. <ordProcess/>
  36. </comboData>
  37. <resData/>
  38. <searchInfo/>
  39. <Cust>
  40. <CustInfoResult_Row/>
  41. </Cust>
  42. <grid>
  43. <datagrid1/>
  44. <datagrid2/>
  45. <datagrid3/>
  46. <datagrid4/>
  47. <datagrid5/>
  48. <datagrid6/>
  49. <datagrid7/>
  50. <datagrid8/>
  51. <datagrid9/>
  52. <datagrid10/>
  53. </grid>
  54. </root>
  55. </instance>
  56. </model>
  57. <script type="javascript" src="../../js/boaCommon.js"/>
  58. <script type="javascript" src="../../js/b01.js"/>
  59. <script type="javascript" src="../../js/mesCommon.js"/>
  60. <script type="javascript">
  61. <![CDATA[
  62. var flag;
  63. var initFlag = 0;
  64. var viewFlag = "single";
  65. var ord;//区分订单为品质设计待机或者其他状态
  66. function InitParams(node)
  67. {
  68. if (typeof node != "object" || typeof node != "undefined") return;
  69. model.instances(0).selectSingleNode("/root/initData/rcvInfo").appendChild(nodeList.item(i));
  70. }
  71. function Init(node)
  72. {
  73. InitParams(node);
  74. if (window.parent != null) {
  75. var java = window.parent.javaScript;
  76. var node = java.getInitDataNode();
  77. if (node != null) {
  78. copyNode(node, "/root/searchInfo");
  79. model.setValue("/root/formData/no" , model.getValue("/root/searchInfo/ORD_NO"));
  80. model.setValue("/root/formData/seq" , model.getValue("/root/searchInfo/ORD_SEQ"));
  81. find();
  82. }
  83. }
  84. }
  85. function find()
  86. {
  87. model.removenode("/root/reqData");
  88. model.makeNode("/root/reqData");
  89. commSendReq("/root/formData");
  90. ord = model.getValue("/root/formData/PROG");
  91. if(ord=="A"){
  92. commSubmit("UIB015020-service", "findA", "glueAction.do");
  93. }
  94. else{
  95. commSubmit("UIB015020-service", "findB", "glueAction.do");
  96. }
  97. model.copyNode("/root/info","/root/resData/DesignRKeyResult_VO");
  98. model.copyNode("/root/query","/root/resData/SelectResult_VO");
  99. model.copyNode("/root/Cust" , "/root/resData/CustInfoResult_VO");
  100. model.makeValue("/root/findData/ord",ord);
  101. model.removenode("/root/reqData");
  102. model.makeNode("/root/reqData");
  103. commSendReq("/root/formData");
  104. if(ord=="A"){
  105. commSubmit("UIB015020-service", "findD", "glueAction.do");
  106. }
  107. else{
  108. commSubmit("UIB015020-service", "findO", "glueAction.do");
  109. }
  110. model.copyNode("/root/grid/datagrid2" , "/root/resData/SingleResult_VO");
  111. model.removenode("/root/resData");
  112. model.refresh();
  113. setButtonColor();//设置button颜色,区分是否有特殊要求
  114. model.toggle("case2");
  115. }
  116. //设置颜色
  117. function setButtonColor()
  118. {
  119. button1.attribute("color") ="#000000";
  120. button2.attribute("color") ="#000000";
  121. button3.attribute("color") ="#000000";
  122. button4.attribute("color") ="#000000";
  123. button5.attribute("color") ="#000000";
  124. var ingr = model.getValue("/root/Cust/CustInfoResult_Row/INGR");
  125. var qlty = model.getValue("/root/Cust/CustInfoResult_Row/QLTY");
  126. var del = model.getValue("/root/Cust/CustInfoResult_Row/DEL");
  127. //交付条件
  128. if( del == "1")
  129. {
  130. button1.attribute("color") = "#0000ff";
  131. }
  132. else if(del == "X")
  133. {
  134. button1.attribute("color") = "#ff0000";
  135. }
  136. //成分
  137. if( ingr == "1")
  138. {
  139. button2.attribute("color") = "#0000ff";
  140. button5.attribute("color") = "#0000ff";
  141. }
  142. else if(ingr == "X")
  143. {
  144. button2.attribute("color") = "#ff0000";
  145. button5.attribute("color") = "#ff0000";
  146. }
  147. //材质特殊要求
  148. if( qlty == "1")
  149. {
  150. button4.attribute("color") = "#0000ff";
  151. }
  152. else if(qlty == "X")
  153. {
  154. button4.attribute("color") = "#ff0000";
  155. }
  156. }
  157. ]]>
  158. </script>
  159. </xhtml:head>
  160. <xhtml:body pagewidth="980" pageheight="620" guideline="1,980;">
  161. <caption id="caption2" class="cell" style="left:225px; top:5px; width:90px; height:20px; vertical-align:middle; border-style:solid; ">订单序号</caption>
  162. <caption id="caption4" class="cell" style="left:0px; top:5px; width:85px; height:20px; vertical-align:middle; border-style:solid; ">订单进程</caption>
  163. <line id="line1" style="x1:415px; y1:15px; x2:430px; y2:15px; "/>
  164. <button id="button1" class="sw" group="select" groupalign="user" style="left:0px; top:190px; width:100px; height:20px; ">
  165. <caption>交付条件</caption>
  166. <script type="javascript" ev:event="DOMActivate">
  167. <![CDATA[
  168. model.toggle("case1");
  169. model.removenode("/root/reqData");
  170. model.makeNode("/root/reqData");
  171. commSendReq("/root/formData");
  172. if(ord=="A"){
  173. commSubmit("UIB015010-service", "findA", "glueAction.do");
  174. }
  175. else{
  176. commSubmit("UIB015010-service", "findB", "glueAction.do");
  177. }
  178. model.copyNode("/root/grid/datagrid1" , "/root/resData/ConditionResult_VO");
  179. model.refresh();
  180. ]]>
  181. </script>
  182. </button>
  183. <button id="button2" class="sw" group="select" groupalign="user" selected="true" style="left:100px; top:190px; width:100px; height:20px; ">
  184. <caption>单一元素</caption>
  185. <script type="javascript" ev:event="DOMActivate">
  186. <![CDATA[
  187. model.toggle("case2");
  188. model.makeValue("/root/findData/ord",ord);
  189. model.removenode("/root/reqData");
  190. model.makeNode("/root/reqData");
  191. commSendReq("/root/formData");
  192. if(ord=="A"){
  193. commSubmit("UIB015020-service", "findD", "glueAction.do");
  194. }
  195. else{
  196. commSubmit("UIB015020-service", "findO", "glueAction.do");
  197. }
  198. model.copyNode("/root/grid/datagrid2" , "/root/resData/SingleResult_VO");
  199. model.removenode("/root/resData");
  200. model.refresh();
  201. ]]>
  202. </script>
  203. </button>
  204. <button id="button3" class="sw" group="select" groupalign="user" style="left:400px; top:190px; width:100px; height:20px; ">
  205. <caption>制造标准</caption>
  206. <script type="javascript" ev:event="DOMActivate">
  207. <![CDATA[
  208. model.toggle("case5");
  209. model.removenode("/root/reqData");
  210. model.makeNode("/root/reqData");
  211. commSendReq("/root/formData");
  212. if(ord=="A"){
  213. commSubmit("UIB015050-service", "findA", "glueAction.do");
  214. }
  215. else{
  216. commSubmit("UIB015050-service", "findB", "glueAction.do");
  217. }
  218. model.copyNode("/root/grid/datagrid6" , "/root/resData/SMSResult_VO");
  219. model.copyNode("/root/grid/datagrid7" , "/root/resData/MILLResult_VO");
  220. model.copyNode("/root/grid/datagrid8" , "/root/resData/MILLINFOResult_VO");
  221. model.copyNode("/root/grid/datagrid9" , "/root/resData/ColdResult_VO");
  222. model.refresh();
  223. ]]>
  224. </script>
  225. </button>
  226. <button id="button4" class="sw" group="select" groupalign="user" style="left:300px; top:190px; width:100px; height:20px; ">
  227. <caption>材质检查</caption>
  228. <script type="javascript" ev:event="DOMActivate">
  229. <![CDATA[
  230. model.toggle("case4");
  231. model.removenode("/root/reqData");
  232. model.makeNode("/root/reqData");
  233. commSendReq("/root/formData");
  234. if(ord=="A"){
  235. commSubmit("UIB015040-service", "findA", "glueAction.do");
  236. }
  237. else{
  238. commSubmit("UIB015040-service", "findB", "glueAction.do");
  239. }
  240. model.copyNode("/root/grid/datagrid4" , "/root/resData/QltyResult_VO");
  241. model.copyNode("/root/grid/datagrid5" , "/root/resData/SMPResult_VO");
  242. model.refresh();
  243. ]]>
  244. </script>
  245. </button>
  246. <button id="button5" class="sw" group="select" groupalign="user" style="left:200px; top:190px; width:100px; height:20px; ">
  247. <caption>复合元素</caption>
  248. <script type="javascript" ev:event="DOMActivate">
  249. <![CDATA[
  250. model.toggle("case3");
  251. model.removenode("/root/reqData");
  252. model.makeNode("/root/reqData");
  253. commSendReq("/root/formData");
  254. if(ord=="A"){
  255. commSubmit("UIB015030-service", "findA", "glueAction.do");
  256. }
  257. else{
  258. commSubmit("UIB015030-service", "findB", "glueAction.do");
  259. }
  260. model.copyNode("/root/grid/datagrid3" , "/root/resData/Complex_VO");
  261. model.removenode("/root/resData");
  262. model.refresh();
  263. ]]>
  264. </script>
  265. </button>
  266. <select1 id="combo2" ref="/root/formData/PROG" appearance="minimal" style="left:85px; top:5px; width:120px; height:20px; border-style:solid; ">
  267. <choices>
  268. <item>
  269. <label/>
  270. <value/>
  271. </item>
  272. <item>
  273. <label>品质设计待机</label>
  274. <value>A</value>
  275. </item>
  276. <item>
  277. <label>订单关闭</label>
  278. <value>B</value>
  279. </item>
  280. <item>
  281. <label>品质再设计待机</label>
  282. <value>C</value>
  283. </item>
  284. <item>
  285. <label>投入确定</label>
  286. <value>D</value>
  287. </item>
  288. <item>
  289. <label>生产进行</label>
  290. <value>E</value>
  291. </item>
  292. <item>
  293. <label>生产完成</label>
  294. <value>F</value>
  295. </item>
  296. <item>
  297. <label>发货完成</label>
  298. <value>G</value>
  299. </item>
  300. <item>
  301. <label>生产保留</label>
  302. <value>H</value>
  303. </item>
  304. <item>
  305. <label>订单完成</label>
  306. <value>X</value>
  307. </item>
  308. <item>
  309. <label>订单取消</label>
  310. <value>N</value>
  311. </item>
  312. </choices>
  313. <script type="javascript" ev:event="xforms-select">
  314. <![CDATA[
  315. model.removenode("/root/reqData");
  316. model.makeNode("/root/reqData");
  317. commSendReq("/root/formData");
  318. if(combo2.value == "A")
  319. {
  320. commSubmit("UIB015020-service", "findDSNORD", "glueAction.do");
  321. }
  322. else
  323. {
  324. commSubmit("UIB015020-service", "findord", "glueAction.do");
  325. }
  326. model.copyNode("/root/grid/datagrid10","/root/resData/ORDNOResult_VO");
  327. model.resetInstanceNode("/root/comboData/ordSeq");
  328. model.makeValue("/root/formData/seq","");
  329. model.makeValue("/root/formData/no","");
  330. model.refresh();
  331. ]]>
  332. </script>
  333. </select1>
  334. <line id="line6" style="x1:0px; y1:0px; x2:980px; y2:0px; "/>
  335. <line id="line7" style="x1:0px; y1:30px; x2:980px; y2:30px; "/>
  336. <caption id="caption5" class="cell" style="left:0px; top:35px; width:980px; height:155px; vertical-align:middle; border-style:solid; "/>
  337. <caption id="caption12" class="cell" style="left:5px; top:65px; width:80px; height:20px; vertical-align:middle; ">订单交货期</caption>
  338. <caption id="caption14" class="cell" style="left:390px; top:65px; width:85px; height:20px; vertical-align:middle; ">热卷状态/牌号</caption>
  339. <caption id="caption6" class="cell" style="left:390px; top:140px; width:85px; height:20px; vertical-align:middle; ">热卷标准号</caption>
  340. <caption id="caption37" class="cell" style="left:5px; top:115px; width:80px; height:20px; vertical-align:middle; ">生产规范</caption>
  341. <caption id="caption38" class="cell" style="left:5px; top:90px; width:80px; height:20px; vertical-align:middle; ">客户参数号</caption>
  342. <caption id="caption7" class="cell" style="left:390px; top:40px; width:85px; height:20px; vertical-align:middle; ">热卷厚度/宽度</caption>
  343. <caption id="caption39" class="cell" style="left:5px; top:40px; width:80px; height:20px; vertical-align:middle; ">订单进程</caption>
  344. <caption id="caption8" class="cell" style="left:390px; top:90px; width:85px; height:20px; vertical-align:middle; ">热卷产品名称</caption>
  345. <caption id="caption9" class="cell" style="left:390px; top:115px; width:85px; height:20px; vertical-align:middle; ">热卷标准牌号</caption>
  346. <input id="input3" ref="root/info/DesignRKeyResult_Row/ORD_PROG_CD" editable="false" style="left:85px; top:40px; width:95px; height:20px; "/>
  347. <input id="input4" ref="root/info/DesignRKeyResult_Row/PRDNM_CD" editable="false" style="left:475px; top:65px; width:100px; height:20px; "/>
  348. <input id="input5" ref="root/info/DesignRKeyResult_Row/ORD_DEVLMT_DATE" editable="false" format="yyyy-mm-dd" style="left:85px; top:65px; width:95px; height:20px; "/>
  349. <input id="input6" ref="root/info/DesignRKeyResult_Row/CUST_SPEC_NO" editable="false" style="left:85px; top:90px; width:70px; height:20px; "/>
  350. <input id="input7" ref="root/info/DesignRKeyResult_Row/SPEC_STL_GRD" editable="false" style="left:475px; top:115px; width:205px; height:20px; "/>
  351. <input id="input8" ref="root/info/DesignRKeyResult_Row/SPEC_ABBSYM" editable="false" style="left:475px; top:140px; width:205px; height:20px; "/>
  352. <input id="input9" ref="root/info/DesignRKeyResult_Row/ORD_USE_TP" editable="false" style="left:475px; top:90px; width:205px; height:20px; "/>
  353. <input id="input10" ref="root/info/DesignRKeyResult_Row/ORD_THK" editable="false" style="left:475px; top:40px; width:99px; height:20px; "/>
  354. <input id="input11" ref="root/info/DesignRKeyResult_Row/ORD_WTH" editable="false" style="left:585px; top:40px; width:96px; height:20px; "/>
  355. <input id="input16" ref="root/info/DesignRKeyResult_Row/SMS_STD_NO" editable="false" style="left:85px; top:115px; width:95px; height:20px; "/>
  356. <input id="input17" ref="root/info/DesignRKeyResult_Row/MILL_STD_NO" editable="false" style="left:195px; top:115px; width:85px; height:20px; "/>
  357. <input id="input18" ref="root/info/DesignRKeyResult_Row/FAC_STL_GRD" editable="false" style="left:585px; top:65px; width:95px; height:20px; "/>
  358. <line id="line2" style="x1:575px; y1:50px; x2:586px; y2:50px; "/>
  359. <line id="line5" style="x1:185px; y1:125px; x2:195px; y2:125px; "/>
  360. <switch id="switch1" style="left:0px; top:210px; width:980px; height:405px; ">
  361. <case id="case1">
  362. <datagrid id="datagrid1" nodeset="/root/grid/datagrid1/ConditionResult_Row" caption="交付条件公差^客户(热轧)^客户(热轧)^客户(热轧)^标准(热轧)^标准(热轧)^标准(热轧)^客户(冷轧)^客户(冷轧)^客户(冷轧)^标准(冷轧)^标准(冷轧)^标准(冷轧)^Type 说明|交付条件公差^最小^最大^单位^最小^最大^单位^最小 ^最大^单位^最小 ^最大^单位^Type 说明" colsep="^" colwidth="142, 74, 70, 65, 70, 68, 66, 73, 71, 63, 69, 68, 100" defaultrows="20" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:976px; height:400px; border-style:solid; ">
  363. <col editable="false" ref="LABEL" type="input" style="text-align:left; background-color:#ffffff; "/>
  364. <col editable="false" ref="MIN1" type="input" style="text-align:right; background-color:#ffffff; "/>
  365. <col editable="false" ref="MAX1" type="input" style="text-align:right; background-color:#ffffff; "/>
  366. <col ref="UNIT1" visibility="hidden" style="text-align:left; "/>
  367. <col editable="false" ref="MIN2" type="input" style="text-align:right; background-color:#ffffff; "/>
  368. <col editable="false" ref="MAX2" type="input" style="text-align:right; background-color:#ffffff; "/>
  369. <col editable="false" ref="UNIT2" type="input" style="text-align:left; background-color:#ffffff; "/>
  370. <col ref="MIN4"/>
  371. <col ref="MAX4"/>
  372. <col ref="UNIT4"/>
  373. <col ref="MIN3"/>
  374. <col ref="MAX3"/>
  375. <col ref="UNIT3"/>
  376. <script type="javascript" ev:event="onclick">
  377. <![CDATA[
  378. //alert(datagrid1.row);
  379. if(datagrid1.row == "4"||datagrid1.row == "5"||datagrid1.row == "6")
  380. {
  381. //alert(1);
  382. datagrid1.colAttribute(1,"editable")= "false";
  383. }
  384. if(datagrid1.row == "2"||datagrid1.row == "3")
  385. {
  386. //alert(1);
  387. datagrid1.colAttribute(1,"editable")= "true";
  388. }
  389. ]]>
  390. </script>
  391. </datagrid>
  392. </case>
  393. <case id="case2">
  394. <datagrid id="datagrid2" nodeset="/root/grid/datagrid2/SingleResult_Row" caption="元素名^内控^内控^成品放行^成品放行^成品放行^炼钢放行^炼钢放行^炼钢放行^冷轧客户要求^冷轧客户要求^冷轧成品放行^冷轧成品放行^冷轧成品放行^上限&#xA;|元素名^最小^最大^最小^最大^类型^目标^最小^最大^最小^最大^最小^最大^类型^符号" colsep="^" colwidth="123, 67, 52, 70, 64, 53, 59, 53, 76, 69, 61, 64, 76, 100" defaultrows="40" mergecellsfixedrows="bycolrec" rowsep="|" style="left:3px; top:5px; width:977px; height:395px; border-style:solid; ">
  395. <col editable="false" ref="CHEM_CD" type="input" style="text-align:left; background-color:#ffffff; "/>
  396. <col editable="false" ref="MIN1" type="input" style="text-align:right; background-color:#ffffff; "/>
  397. <col editable="false" ref="MAX1" type="input" style="text-align:right; background-color:#ffffff; "/>
  398. <col editable="false" ref="MIN2" type="input" style="text-align:right; background-color:#ffffff; "/>
  399. <col editable="false" ref="MAX2" type="input" style="text-align:right; background-color:#ffffff; "/>
  400. <col ref="CHEM_DEC_CD2"/>
  401. <col editable="false" ref="AIM3" type="input" style="text-align:right; background-color:#ffffff; "/>
  402. <col editable="false" ref="MIN3" type="input" style="text-align:right; background-color:#ffffff; "/>
  403. <col editable="false" ref="MAX3" type="input" style="text-align:right; background-color:#ffffff; "/>
  404. <col ref="MIN5"/>
  405. <col ref="MAX5"/>
  406. <col ref="MIN4"/>
  407. <col ref="MAX4"/>
  408. <col ref="CHEM_DEC_CD4"/>
  409. <script type="javascript" ev:event="onstartedit">
  410. <![CDATA[
  411. if(model.getValue("/root/findData/ord") != "A"){
  412. event.preventDefault();
  413. }
  414. ]]>
  415. </script>
  416. </datagrid>
  417. </case>
  418. <case id="case3">
  419. <datagrid id="datagrid3" nodeset="/root/grid/datagrid3/Complex_Row" caption="复合元素^复合元素计算式^内控^内控^成品放行^成品放行^成品放行^炼钢放行^炼钢放行^炼钢放行^冷轧特殊要求^冷轧特殊要求^冷轧成品放行^冷轧成品放行^冷轧成品放行|复合元素^复合元素计算式^最小^最大^最小^最大^类型^目标^最小^最大^最小^最大^最小^最大^类型" colsep="^" colwidth="72, 160, 52, 59, 55, 51, 65, 56, 49, 57, 70, 60, 62, 58, 58" defaultrows="40" mergecellsfixedrows="bycolrec" rowsep="|" style="left:3px; top:0px; width:977px; height:400px; border-style:solid; ">
  420. <col editable="false" ref="COMP_DETAIL" type="input" style="text-align:left; background-color:#ffffff; "/>
  421. <col editable="false" ref="COMP_CAL" type="input" style="text-align:left; background-color:#ffffff; "/>
  422. <col editable="false" ref="MIN1" type="input" style="text-align:right; background-color:#ffffff; "/>
  423. <col editable="false" ref="MAX1" type="input" style="text-align:right; background-color:#ffffff; "/>
  424. <col editable="false" ref="MIN2" type="input" style="text-align:right; background-color:#ffffff; "/>
  425. <col editable="false" ref="MAX2" type="input" style="text-align:right; background-color:#ffffff; "/>
  426. <col ref="CHEM_DEC_CD2"/>
  427. <col editable="false" ref="AIM3" type="input" style="text-align:right; background-color:#ffffff; "/>
  428. <col editable="false" ref="MIN3" type="input" style="text-align:right; background-color:#ffffff; "/>
  429. <col editable="false" ref="MAX3" type="input" style="text-align:right; background-color:#ffffff; "/>
  430. <col ref="MIN5"/>
  431. <col ref="MAX5"/>
  432. <col ref="MIN4"/>
  433. <col ref="MAX4"/>
  434. <col ref="CHEM_DEC_CD4"/>
  435. </datagrid>
  436. </case>
  437. <case id="case4">
  438. <datagrid id="datagrid4" nodeset="/root/grid/datagrid4/QltyResult_Row" caption="材质代码^材质项目^热轧客户要求^热轧客户要求^热轧客户要求^热轧标准^热轧标准^热轧标准^冷轧客户要求^冷轧客户要求^冷轧客户要求^冷轧标准^冷轧标准^冷轧标准|材质代码^材质项目^最小^最大^检验类型^最小^最大^检验类型^最小^最大^检验类型^最小^最大^检验类型" colsep="^" colwidth="63, 185, 63, 58, 55, 60, 54, 59, 58, 53, 56, 69, 59, 61" defaultrows="30" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:980px; height:285px; border-style:solid; ">
  439. <col editable="false" ref="QLTY_CD" type="input" style="text-align:left; background-color:#ffffff; "/>
  440. <col editable="false" ref="QLTY_CD_CFNM" type="input" style="text-align:left; background-color:#ffffff; "/>
  441. <col editable="false" ref="MIN1" type="input" style="text-align:right; background-color:#ffffff; "/>
  442. <col editable="false" ref="MAX1" type="input" style="text-align:right; background-color:#ffffff; "/>
  443. <col ref="QLTY_DEC_CD1"/>
  444. <col editable="false" ref="MIN2" type="input" style="text-align:right; background-color:#ffffff; "/>
  445. <col editable="false" ref="MAX2" type="input" style="text-align:right; background-color:#ffffff; "/>
  446. <col ref="QLTY_DEC_CD2"/>
  447. <col ref="MIN5"/>
  448. <col ref="MAX5"/>
  449. <col ref="QLTY_DEC_CD5"/>
  450. <col ref="MIN4"/>
  451. <col ref="MAX4"/>
  452. <col ref="QLTY_DEC_CD4"/>
  453. <script type="javascript" ev:event="onclick">
  454. <![CDATA[
  455. var QLTY_MIN_TP = datagrid1.valueMatrix(datagrid1.row,10);
  456. var QLTY_MAX_TP = datagrid1.valueMatrix(datagrid1.row,11);
  457. if(QLTY_MIN_TP == "Y")
  458. {
  459. datagrid1.colAttribute(1,"editable")= "true";
  460. }
  461. else
  462. {
  463. datagrid1.colAttribute(1,"editable")= "false";
  464. }
  465. if(QLTY_MAX_TP == "Y")
  466. {
  467. datagrid1.colAttribute(2,"editable")= "true";
  468. }
  469. else
  470. {
  471. datagrid1.colAttribute(2,"editable")= "false";
  472. }
  473. ]]>
  474. </script>
  475. <script type="javascript" ev:event="xforms-value-changed">
  476. <![CDATA[
  477. if(datagrid1.col == 4)
  478. {
  479. var QLTY_TYPE_TP = datagrid1.valueMatrix(datagrid1.row,12);
  480. if(QLTY_TYPE_TP == "Y"){
  481. }
  482. else{
  483. datagrid1.valueMatrix(datagrid1.row,4) = "";
  484. alert("该材质项目不允许输入材质类型");
  485. }
  486. }
  487. ]]>
  488. </script>
  489. </datagrid>
  490. <caption id="caption18" class="cell" visibility="visible" style="left:5px; top:295px; width:146px; height:25px; vertical-align:middle; border-style:solid; ">采样方法</caption>
  491. <datagrid id="datagrid5" nodeset="/root/grid/datagrid5/SMPResult_Row" caption="热轧取样^热轧取样^热轧取样^冷轧取样^冷轧取样^冷轧取样|取样LOT^长度方向位置^宽度方向位置^取样LOT^长度方向位置^宽度方向位置" colsep="^" colwidth="150, 150, 150, 150, 150, 150" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:320px; width:970px; height:65px; ">
  492. <col ref="SMP_LOT_CD"/>
  493. <col ref="SMP_LEN_LOC"/>
  494. <col ref="SMP_WTH_LOC"/>
  495. <col ref="SMP_LOT_CD1"/>
  496. <col ref="SMP_LEN_LOC1"/>
  497. <col ref="SMP_WTH_LOC1"/>
  498. </datagrid>
  499. </case>
  500. <case id="case5" selected="true">
  501. <datagrid id="datagrid7" nodeset="/root/grid/datagrid7/MILLResult_Row" caption="区分^探伤^平整分卷^涂油^交货状态^特别管理 MSG 1^特别管理 MSG 2" colsep="^" colwidth="125, 135, 135, 135, 135, 135, 134" defaultrows="2" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:80px; width:980px; height:44px; ">
  502. <col/>
  503. <col editable="false" ref="UST_DEF" style="text-align:left; background-color:#ffffff; "/>
  504. <col editable="false" ref="SPM_DEF" style="text-align:left; background-color:#ffffff; "/>
  505. <col editable="false" ref="OIL_DEF" style="text-align:left; background-color:#ffffff; "/>
  506. <col editable="false" ref="MET_DEF" style="text-align:left; background-color:#ffffff; "/>
  507. <col editable="false" ref="SPECIALMGMT_MSG1" style="text-align:left; background-color:#ffffff; "/>
  508. <col editable="false" ref="SPECIALMGMT_MSG2" style="text-align:left; background-color:#ffffff; "/>
  509. </datagrid>
  510. <datagrid id="datagrid8" nodeset="/root/grid/datagrid8/MILLINFOResult_Row" caption="区分^厚度^厚度^厚度^厚度^宽度^宽度^宽度|区分^厚度目标^热轧 厚度目标^热轧 厚度下限^热轧 厚度上限^宽度目标^宽度下限^宽度上限" colsep="^" colwidth="125, 100, 101, 109, 109, 150, 132, 121" defaultrows="3" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:160px; width:980px; height:64px; ">
  511. <col/>
  512. <col editable="false" ref="THK_AIM" style="text-align:left; background-color:#ffffff; "/>
  513. <col editable="false" ref="HOT_THK_AIM" style="text-align:left; background-color:#ffffff; "/>
  514. <col editable="false" ref="HOT_THK_MIN" style="text-align:left; background-color:#ffffff; "/>
  515. <col editable="false" ref="HOT_THK_MAX" style="text-align:left; background-color:#ffffff; "/>
  516. <col editable="false" ref="WTH_AIM" style="text-align:left; background-color:#ffffff; "/>
  517. <col editable="false" ref="WTH_MIN" style="text-align:left; background-color:#ffffff; "/>
  518. <col editable="false" ref="WTH_MAX" style="text-align:left; background-color:#ffffff; "/>
  519. </datagrid>
  520. <caption id="caption15" class="cell" visibility="visible" style="left:0px; top:102px; width:127px; height:21px; vertical-align:middle; ">轧钢制造标准</caption>
  521. <caption id="caption16" class="cell" visibility="visible" style="left:0px; top:201px; width:127px; height:22px; vertical-align:middle; ">热轧制造标准</caption>
  522. <caption id="caption17" class="cell" visibility="visible" style="left:0px; top:21px; width:125px; height:21px; vertical-align:middle; ">炼钢制造标准</caption>
  523. <datagrid id="datagrid6" nodeset="/root/grid/datagrid6/SMSResult_Row" scroll="autovscroll" caption="区分^CAS指定^LF指定^RH指定^板坯修整指定^板坯修整方法^是否冷装^保温指定" colsep="^" colwidth="125, 100, 111, 115, 99, 130, 150, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:980px; height:44px; ">
  524. <col/>
  525. <col editable="false" ref="CAS_DEF" style="text-align:left; background-color:#ffffff; "/>
  526. <col editable="false" ref="LF_DEF" style="text-align:left; background-color:#ffffff; "/>
  527. <col editable="false" ref="RH_DEF" style="text-align:left; background-color:#ffffff; "/>
  528. <col editable="false" ref="SF_DEF" style="text-align:left; background-color:#ffffff; "/>
  529. <col editable="false" ref="SF_METHOD" style="text-align:left; background-color:#ffffff; "/>
  530. <col disabled="true" editable="false" ref="SMS_HCR_DEF" type="combo" style="text-align:left; background-color:#ffffff; ">
  531. <choices>
  532. <item>
  533. <label/>
  534. <value/>
  535. </item>
  536. <item>
  537. <label>Y</label>
  538. <value>C</value>
  539. </item>
  540. </choices>
  541. </col>
  542. <col editable="false" ref="SMS_7_DEF" style="text-align:left; background-color:#ffffff; "/>
  543. </datagrid>
  544. <caption id="caption19" class="cell" visibility="visible" style="left:0px; top:22px; width:126px; height:21px; vertical-align:middle; ">炼钢制造标准</caption>
  545. <datagrid id="datagrid9" nodeset="/root/grid/datagrid9/ColdResult_Row" caption="区分^酸洗^酸轧^退火^镀锌^涂层^重卷^平整^工序路径" colsep="^" colwidth="125, 102, 86, 86, 87, 89, 91, 103, 100" mergecellsfixedrows="bycolrec" rowheight="30" rowsep="|" style="left:0px; top:245px; width:980px; height:55px; ">
  546. <col/>
  547. <col ref="ONLY_WASH"/>
  548. <col ref="PICK_TP"/>
  549. <col ref="ANNE_TP"/>
  550. <col ref="GALV_TP"/>
  551. <col ref="COAT_TP"/>
  552. <col ref="REWG_TP"/>
  553. <col ref="C_SPM_TP"/>
  554. <col ref="ACID_PROD_PATH"/>
  555. </datagrid>
  556. <caption id="caption1" class="cell" visibility="visible" style="left:0px; top:275px; width:127px; height:22px; vertical-align:middle; ">冷轧制造标准</caption>
  557. </case>
  558. </switch>
  559. <caption id="caption20" class="cell" style="left:5px; top:140px; width:80px; height:20px; vertical-align:middle; ">客户名称</caption>
  560. <input id="input19" ref="root/info/DesignRKeyResult_Row/CUST_NM" editable="false" style="left:85px; top:140px; width:290px; height:20px; "/>
  561. <caption id="caption21" class="cell" style="left:205px; top:40px; width:80px; height:20px; vertical-align:middle; ">生产线</caption>
  562. <input id="input20" ref="root/info/DesignRKeyResult_Row/PROD_LINE" editable="false" style="left:285px; top:40px; width:90px; height:20px; "/>
  563. <caption id="caption22" class="cell" style="left:205px; top:65px; width:80px; height:20px; vertical-align:middle; ">设计日期</caption>
  564. <input id="input21" ref="root/info/DesignRKeyResult_Row/DSN_CMT_DATE" editable="false" format="yyyy-mm-dd" style="left:285px; top:65px; width:90px; height:20px; "/>
  565. <input id="input1" ref="root/info/DesignRKeyResult_Row/COLD_STD_NO" editable="false" style="left:290px; top:115px; width:85px; height:20px; "/>
  566. <input id="input2" ref="root/info/DesignRKeyResult_Row/CUST_SPEC_NO_INGR" editable="false" style="left:160px; top:90px; width:65px; height:20px; "/>
  567. <input id="input22" ref="root/info/DesignRKeyResult_Row/CUST_SPEC_NO_QLTY" editable="false" style="left:230px; top:90px; width:70px; height:20px; "/>
  568. <input id="input23" ref="root/info/DesignRKeyResult_Row/CUST_SPEC_NO_DEL" editable="false" style="left:305px; top:90px; width:70px; height:20px; "/>
  569. <line id="line9" style="x1:575px; y1:75px; x2:586px; y2:75px; "/>
  570. <caption id="caption3" class="cell" style="left:700px; top:40px; width:85px; height:20px; vertical-align:middle; ">冷卷厚度/宽度</caption>
  571. <input id="input12" ref="root/info/DesignRKeyResult_Row/C_ORD_THK" editable="false" style="left:785px; top:40px; width:85px; height:20px; "/>
  572. <input id="input13" ref="root/info/DesignRKeyResult_Row/C_ORD_WTH" editable="false" style="left:880px; top:40px; width:90px; height:20px; "/>
  573. <line id="line3" style="x1:870px; y1:50px; x2:881px; y2:50px; "/>
  574. <caption id="caption10" class="cell" style="left:700px; top:65px; width:85px; height:20px; vertical-align:middle; ">冷卷交货状态</caption>
  575. <caption id="caption11" class="cell" style="left:700px; top:90px; width:85px; height:20px; vertical-align:middle; ">冷卷产品名称</caption>
  576. <caption id="caption13" class="cell" style="left:700px; top:115px; width:85px; height:20px; vertical-align:middle; ">冷卷标准牌号</caption>
  577. <caption id="caption23" class="cell" style="left:700px; top:140px; width:85px; height:20px; vertical-align:middle; ">冷卷标准号</caption>
  578. <line id="line4" style="x1:280px; y1:125px; x2:290px; y2:125px; "/>
  579. <input id="input14" ref="root/info/DesignRKeyResult_Row/C_PRDNM_CD" editable="false" style="left:785px; top:65px; width:185px; height:20px; "/>
  580. <input id="input15" ref="root/info/DesignRKeyResult_Row/C_ORD_USE_TP" editable="false" style="left:785px; top:90px; width:185px; height:20px; "/>
  581. <input id="input24" ref="root/info/DesignRKeyResult_Row/C_SPEC_STL_GRD" editable="false" style="left:785px; top:115px; width:185px; height:20px; "/>
  582. <input id="input25" ref="root/info/DesignRKeyResult_Row/C_SPEC_ABBSYM" editable="false" style="left:785px; top:140px; width:185px; height:20px; "/>
  583. <input id="input26" ref="/root/formData/no" style="left:315px; top:5px; width:100px; height:20px; ">
  584. <script type="javascript" ev:event="onkeydown">
  585. <![CDATA[
  586. if(event.keyCode==13)
  587. {
  588. if(combo2.value =="A" ||combo2.value == "C")
  589. return;
  590. model.setFocus("");
  591. model.removenode("/root/reqData");
  592. model.makeValue("/root/reqData/ORDNO" , input26.value);
  593. commSubmit("UIB015020-service", "findOrdLike", "glueAction.do");
  594. model.copyNode("/root/grid/datagrid10","/root/resData/ORDNOResult_VO");
  595. model.refresh();
  596. datagrid10.visible = true;
  597. }
  598. ]]>
  599. </script>
  600. <script type="javascript" ev:event="ondblclick">
  601. <![CDATA[
  602. datagrid10.visible = !datagrid10.visible;
  603. ]]>
  604. </script>
  605. </input>
  606. <input id="input27" ref="/root/formData/seq" style="left:430px; top:5px; width:55px; height:20px; ">
  607. <script type="javascript" ev:event="onkeydown">
  608. <![CDATA[
  609. if(event.keyCode == 13)
  610. {
  611. model.setFocus("");
  612. find();
  613. datagrid10.visible = false;
  614. }
  615. ]]>
  616. </script>
  617. </input>
  618. <datagrid id="datagrid10" nodeset="/root/grid/datagrid10/ORDNOResult_Row" visibility="hidden" caption="合同号^订单号" colsep="^" colwidth="79, 46" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:315px; top:25px; width:190px; height:165px; ">
  619. <col ref="ORD_NO" style="text-align:left; "/>
  620. <col ref="ORD_SEQ" style="text-align:left; "/>
  621. <script type="javascript" ev:event="onclick">
  622. <![CDATA[
  623. if(datagrid10.row >= datagrid10.fixedRows
  624. && datagrid10.col == datagrid10.colRef("ORD_NO") )
  625. {
  626. input26.value = datagrid10.valueMatrix(datagrid10.row , datagrid10.colRef("ORD_NO"));
  627. input27.value = datagrid10.valueMatrix(datagrid10.row , datagrid10.colRef("ORD_SEQ"));
  628. datagrid10.col = datagrid10.colRef("ORD_SEQ");
  629. find();
  630. }
  631. ]]>
  632. </script>
  633. </datagrid>
  634. <caption id="caption24" class="cell" style="left:5px; top:165px; width:80px; height:20px; vertical-align:middle; ">是否切边</caption>
  635. <input id="input28" ref="root/info/DesignRKeyResult_Row/EDGE_PROC_YN" editable="false" style="left:85px; top:165px; width:100px; height:20px; "/>
  636. <caption id="caption25" style="left:190px; top:165px; width:146px; height:20px; ">切边时热轧宽度已增加40mm</caption>
  637. </xhtml:body>
  638. </xhtml:html>