UIE012010.xrw 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534
  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[进程管理 >> 订单/物料进程管理 >> 订单进程现况查询]]>
  7. </xhtml:title>
  8. <model id="model1" autocdata="false">
  9. <instance id="instance1">
  10. <root xmlns="">
  11. <initData>
  12. <searchInfo>
  13. <LG_CD>A01001,A01004,A01007,E01001,E01003,E01005,E01011,B01004</LG_CD>
  14. </searchInfo>
  15. </initData>
  16. <fwdData>
  17. <UIE012020>
  18. <URL/>
  19. <ORD_NO/>
  20. <ORD_SEQ/>
  21. </UIE012020>
  22. </fwdData>
  23. <codeData>
  24. <ORD_SEQ/>
  25. </codeData>
  26. <formData>
  27. <searchInfo>
  28. <ORD_NO/>
  29. <ORD_SEQ/>
  30. <PRODNM_CD/>
  31. <ORD_PROG_CD/>
  32. <ABNOR_ORD_CD/>
  33. <CUST_CD/>
  34. <CUST_STL_GRD/>
  35. <DEL_TO_DATE_MIN/>
  36. <DEL_TO_DATE_MAX/>
  37. <RCVORD_CLF/>
  38. <ORD_PLAN_DATA_MIN/>
  39. <ORD_PLAN_DATA_MAX/>
  40. <DLIV_TP/>
  41. <ORD_WTH_FRM/>
  42. <ORD_WTH_TO/>
  43. <CUST_NM/>
  44. <ORD_THK_FRM/>
  45. <ORD_THK_TO/>
  46. <XSQY/>
  47. <PROD_LINE/>
  48. <DEST_PCD/>
  49. <ORD_PRC_LOCK/>
  50. </searchInfo>
  51. </formData>
  52. <gridData>
  53. </gridData>
  54. <ORD_REM_WGT_SUM/>
  55. </root>
  56. </instance>
  57. <script type="javascript" ev:event="xforms-ready">
  58. <![CDATA[
  59. if (window.parent == null) Init();
  60. datagrid1.fixedcellcheckbox(0,datagrid1.colRef("CHK"))=true;
  61. ]]>
  62. </script>
  63. </model>
  64. <script type="javascript" src="../../js/boaCommon.js"/>
  65. <script type="javascript" src="../../js/boaMsg.js"/>
  66. <script type="javascript" src="../../js/bCommon.js"/>
  67. <script type="javascript" src="../../js/mesCommon.js">
  68. <![CDATA[
  69. submitID = "UIE012010-service";
  70. function Init(node) {
  71. InitParams(node);
  72. exec("/root/initData/searchInfo", "", "", "/root/codeData/ListResult_0_VO",
  73. "/root/codeData/ListResult_1_VO", "/root/codeData/ListResult_2_VO");
  74. model.setValue("/root/formData/searchInfo/DEL_TO_DATE_MIN", commFirstDay());
  75. model.setValue("/root/formData/searchInfo/DEL_TO_DATE_MAX", commCurDate());
  76. //model.setValue("/root/formData/searchInfo/ORD_PLAN_DATA_MIN", commFirstDay());
  77. //model.setValue("/root/formData/searchInfo/ORD_PLAN_DATA_MAX", commCurDate());
  78. pageInit();
  79. model.duplicate("/root/formData", "/root/initData/rcvInfo/REG_ID");
  80. }
  81. function pageInit() {
  82. model.removenode("/root/reqData");
  83. model.removenode("/root/resData");
  84. model.setValue("/root/ORD_REM_WGT_SUM","");
  85. model.refresh();
  86. var datagrid = datagrid1;
  87. //datagrid.isReadOnly(0, 0, datagrid.rows-1, datagrid.cols-1) = true;
  88. datagrid.subtotal("clear", -1, 0);
  89. var rows = datagrid.rows;
  90. var colMin = datagrid.colRef("WGT_ACVAL_MIN");
  91. var colMax = datagrid.colRef("WGT_ACVAL_MAX");
  92. var colWgt = datagrid.colRef("SHIP_END_WGT");
  93. var ORDPROGCD = datagrid.colRef("ORD_PROG_CD");
  94. for (var i = datagrid.fixedRows; i < rows; i++)
  95. {
  96. var min = Number(datagrid.valueMatrix(i, colMin));
  97. var max = Number(datagrid.valueMatrix(i, colMax));
  98. var wgt = Number(datagrid.valueMatrix(i, colWgt));
  99. var ORDPROG = datagrid.valueMatrix(i, ORDPROGCD);
  100. if (wgt >= min && wgt < max && ORDPROG != "发货完成" && ORDPROG != "订单关闭")
  101. datagrid.rowStyle(i, "data", "background-color") = "#ffff99";
  102. }
  103. datagrid.subtotal("sum", -1, datagrid.colRef("ORD_WGT"), "#,###", "background-color:#99ff99", 1, "汇总行");
  104. datagrid.subtotal("sum", -1, datagrid.colRef("ORD_REM_WGT"), "#,###", "background-color:#99ff99");
  105. datagrid.subtotal("sum", -1, datagrid.colRef("LG"), "#,###", "background-color:#99ff99");
  106. datagrid.subtotal("sum", -1, datagrid.colRef("LZ"), "#,###", "background-color:#99ff99");
  107. datagrid.subtotal("sum", -1, datagrid.colRef("ZG"), "#,###", "background-color:#99ff99");
  108. datagrid.subtotal("sum", -1, datagrid.colRef("PZ"), "#,###", "background-color:#99ff99");
  109. datagrid.subtotal("sum", -1, datagrid.colRef("JZ"), "#,###", "background-color:#99ff99");
  110. datagrid.subtotal("sum", -1, datagrid.colRef("ZH"), "#,###", "background-color:#99ff99");
  111. datagrid.subtotal("sum", -1, datagrid.colRef("DD"), "#,###", "background-color:#99ff99");
  112. datagrid.subtotal("sum", -1, datagrid.colRef("DDA"), "#,###", "background-color:#99ff99");
  113. datagrid.subtotal("sum", -1, datagrid.colRef("DDB"), "#,###", "background-color:#99ff99");
  114. datagrid.subtotal("sum", -1, datagrid.colRef("OVER_DATE_WGT"), "#,###", "background-color:#99ff99");
  115. datagrid.subtotal("sum", -1, datagrid.colRef("CALZADA_WGT"), "#,###", "background-color:#99ff99");
  116. datagrid.subtotal("sum", -1, datagrid.colRef("TRAIN_WGT"), "#,###", "background-color:#99ff99");
  117. datagrid.subtotal("sum", -1, datagrid.colRef("SHIP_END_WGT"), "#,###", "background-color:#99ff99");
  118. datagrid.subtotal("sum", -1, datagrid.colRef("SHIP_REM_WGT"), "#,###", "background-color:#99ff99", 1, "汇总行");
  119. }
  120. function find() {
  121. exec("/root/formData/searchInfo", "", "find", "/root/gridData/ListResult_0_VO");
  122. pageInit();
  123. //订单未生产量单独统计,不计算负数的值 TL 091111
  124. var nodeSet1 = datagrid1.nodeset;
  125. var ORD_REM_WGT_SUM = 0;
  126. var rows = datagrid1.rows;
  127. for(var i=1;i<datagrid1.rows;i++){
  128. var ORD_REM_WGT = model.getValue(nodeSet1+"["+i+"]/ORD_REM_WGT");
  129. if(ORD_REM_WGT < 0){
  130. }else{
  131. ORD_REM_WGT_SUM = Number(ORD_REM_WGT_SUM) + Number(ORD_REM_WGT);
  132. }
  133. }
  134. model.setValue("/root/ORD_REM_WGT_SUM",ORD_REM_WGT_SUM);
  135. model.refresh();
  136. }
  137. function save() {}
  138. function create() {}
  139. function remove() {}
  140. function excelExport() {
  141. return datagrid1;
  142. }
  143. function fowardUID010031(gridID) {
  144. if(gridID.col == gridID.colRef("INGR_YN")) {
  145. model.makeValue("/root/fwdData/UID010031/ORD_NO", gridID.valueMatrix(gridID.row, gridID.colRef("ORD_NO")));
  146. model.makeValue("/root/fwdData/UID010031/ORD_SEQ", gridID.valueMatrix(gridID.row, gridID.colRef("ORD_SEQ")));
  147. model.makeValue("/root/fwdData/UID010031/URL", "../../B/B01/UIB015020.xrw");
  148. var java = window.parent.javaScript;
  149. java.open(model.instances(0).selectSingleNode("/root/fwdData/UID010031"));
  150. }
  151. }
  152. ]]>
  153. </script>
  154. </xhtml:head>
  155. <xhtml:body overflow="hidden" pagewidth="980" pageheight="620" guideline="1,544;" style="font-family:宋体; ">
  156. <group id="group1" overflow="hidden" ref="/root/formData/searchInfo" style="left:0px; top:0px; width:980px; height:125px; ">
  157. <line id="line2" style="x1:0px; y1:95px; x2:980px; y2:95px; "/>
  158. <caption id="caption1" class="cell" style="left:0px; top:5px; width:90px; height:20px; vertical-align:middle; ">合同号</caption>
  159. <input id="input1" ref="ORD_NO" maxlength="20" style="left:92px; top:5px; width:80px; height:20px; ">
  160. <script type="javascript" ev:event="xforms-value-changed">
  161. <![CDATA[
  162. model.setValue("/root/formData/searchInfo/ORD_SEQ", "");
  163. // var ordno = model.getValue("/root/formData/searchInfo/ORD_NO");
  164. // if (ordno.length == 12) {
  165. exec("/root/formData/searchInfo/ORD_NO", "", "seq", "/root/codeData/ORD_SEQ/ListResult_0_VO");
  166. // } else {
  167. // model.removenode("/root/codeData/ORD_SEQ/ListResult_0_VO");
  168. // }
  169. pageInit();
  170. ]]>
  171. </script>
  172. </input>
  173. <select1 id="combo1" ref="ORD_SEQ" appearance="minimal" editmode="search" style="left:174px; top:5px; width:45px; height:20px; ">
  174. <choices>
  175. <itemset nodeset="/root/codeData/ORD_SEQ/ListResult_0_VO/ListResult_0_Row">
  176. <label ref="ORD_SEQ"/>
  177. <value ref="ORD_SEQ"/>
  178. </itemset>
  179. </choices>
  180. <script type="javascript" ev:event="onclick">
  181. <![CDATA[
  182. if (model.getXPathValue("count(/root/codeData/ORD_SEQ/ListResult_0_VO/ListResult_0_Row)") == 0) {
  183. exec("/root/formData/searchInfo/ORD_NO", "", "seq", "/root/codeData/ORD_SEQ/ListResult_0_VO");
  184. model.setValue("/root/formData/searchInfo/ORD_SEQ", model.getValue("/root/codeData/ORD_SEQ/ListResult_0_VO/ListResult_0_Row[ORD_SEQ != '']/ORD_SEQ"));
  185. }
  186. ]]>
  187. </script>
  188. </select1>
  189. <caption id="caption2" class="cell" style="left:229px; top:5px; width:90px; height:20px; vertical-align:middle; ">产品类型</caption>
  190. <select1 id="combo2" ref="PRODNM_CD" visibility="hidden" appearance="minimal" style="left:355px; top:100px; width:110px; height:20px; ">
  191. <choices>
  192. <itemset nodeset="/root/codeData/ListResult_0_VO/ListResult_0_Row[LG_CD='A01004' or LG_CD = 'A']">
  193. <label ref="SM_CFNM"/>
  194. <value ref="SM_CD"/>
  195. </itemset>
  196. </choices>
  197. </select1>
  198. <caption id="caption3" class="cell" style="left:441px; top:5px; width:90px; height:20px; vertical-align:middle; ">订单进度</caption>
  199. <input id="combo3" ref="ORD_PROG_CD" editable="false" inputtype="button" style="left:533px; top:5px; width:110px; height:20px; ">
  200. <script type="javascript" ev:event="onclick">
  201. <![CDATA[
  202. checkbox1.visible = (checkbox1.visible == false);
  203. ]]>
  204. </script>
  205. </input>
  206. <caption id="caption4" class="cell" style="left:653px; top:5px; width:90px; height:20px; vertical-align:middle; ">异常订单类型</caption>
  207. <select1 id="combo4" ref="ABNOR_ORD_CD" appearance="minimal" style="left:745px; top:5px; width:100px; height:20px; ">
  208. <choices>
  209. <itemset nodeset="/root/codeData/ListResult_0_VO/ListResult_0_Row[LG_CD='E01003' or LG_CD = 'A']">
  210. <label ref="SM_CFNM"/>
  211. <value ref="SM_CD"/>
  212. </itemset>
  213. </choices>
  214. </select1>
  215. <caption id="caption5" class="cell" style="left:0px; top:27px; width:90px; height:20px; vertical-align:middle; ">客户</caption>
  216. <caption id="caption6" class="cell" style="left:442px; top:73px; width:90px; height:20px; vertical-align:middle; ">钢号</caption>
  217. <select1 id="combo5" ref="CUST_CD" visibility="hidden" appearance="minimal" editmode="inputsearch" style="left:540px; top:105px; width:127px; height:20px; ">
  218. <choices>
  219. <itemset nodeset="/root/codeData/ListResult_1_VO/ListResult_1_Row">
  220. <label ref="CUST_NM"/>
  221. <value ref="CUST_CD"/>
  222. </itemset>
  223. </choices>
  224. </select1>
  225. <caption id="caption105" class="cell" style="left:441px; top:27px; width:90px; height:20px; ">订货区分</caption>
  226. <input id="combo105" ref="RCVORD_CLF" inputtype="button" appearance="minimal" style="left:533px; top:27px; width:111px; height:20px; ">
  227. <script type="javascript" ev:event="onclick">
  228. <![CDATA[
  229. checkbox2.visible = (checkbox2.visible == false);
  230. ]]>
  231. </script>
  232. </input>
  233. <select1 id="combo6" ref="/root/formData/searchInfo/CUST_STL_GRD" appearance="minimal" editmode="inputsearch" style="left:534px; top:73px; width:110px; height:20px; ">
  234. <choices>
  235. <itemset nodeset="/root/codeData/ListResult_2_VO/ListResult_2_Row">
  236. <label ref="STL_GRD"/>
  237. <value ref="STL_GRD"/>
  238. </itemset>
  239. </choices>
  240. </select1>
  241. <caption id="caption7" class="cell" style="left:653px; top:27px; width:90px; height:20px; vertical-align:middle; ">交货日期</caption>
  242. <input id="input2" ref="DEL_TO_DATE_MIN" inputtype="date" style="left:745px; top:27px; width:101px; height:20px; "/>
  243. <input id="input3" ref="DEL_TO_DATE_MAX" inputtype="date" style="left:848px; top:27px; width:105px; height:20px; "/>
  244. <button id="button5" class="sw" style="left:855px; top:5px; width:100px; height:20px; ">
  245. <caption>OS再整理</caption>
  246. <script type="javascript" ev:event="DOMActivate">
  247. <![CDATA[
  248. var chk = "";
  249. var ordno = "";
  250. var ordseq = "";
  251. // exec("/root/formData", "", "os", "/root/gridData/ListResult_0_VO");
  252. model.removenode("/root/reqData");
  253. model.makeNode("/root/reqData");
  254. model.makeNode("/root/reqData/ORD_NO");
  255. model.makeNode("/root/reqData/ORD_SEQ");
  256. model.makeNode("/root/reqData/PGMID");
  257. model.makeNode("/root/reqData/REG_ID");
  258. for(var i = datagrid1.fixedRows;i< datagrid1.rows;i++){
  259. datagrid1.rowStatus(i) = 2;
  260. chk = datagrid1.valueMatrix(i,datagrid1.colRef("CHK"));
  261. ordno = datagrid1.valueMatrix(i,datagrid1.colRef("ORD_NO"));
  262. ordseq = datagrid1.valueMatrix(i,datagrid1.colRef("ORD_SEQ"));
  263. model.setValue("/root/reqData/ORD_NO",ordno);
  264. model.setValue("/root/reqData/ORD_SEQ",ordseq);
  265. commSubmit("UIE012020-service","os","glueAction.do");
  266. }
  267. //commMultiUpdate(datagrid1,"/root/reqData","A",true,"rowStatus");
  268. //model.makeValue("/root/reqData/USER" , "AA");
  269. //alert(instance1.selectSingleNode("root/reqData").xml);
  270. //commSubmit("UIE012010-service","aaa","glueAction.do");
  271. model.refresh();
  272. find();
  273. pageInit();
  274. ]]>
  275. </script>
  276. </button>
  277. <input id="input4" ref="/root/formData/searchInfo/ORD_PLAN_DATA_MIN" inputtype="date" style="left:745px; top:49px; width:101px; height:20px; "/>
  278. <caption id="caption8" class="cell" style="left:653px; top:49px; width:90px; height:20px; vertical-align:middle; ">订单预排期</caption>
  279. <input id="input5" ref="/root/formData/searchInfo/ORD_PLAN_DATA_MAX" inputtype="date" style="left:848px; top:49px; width:105px; height:20px; "/>
  280. <caption id="caption9" class="cell" style="left:230px; top:50px; width:187px; height:20px; vertical-align:middle; ">订单未生产量(不包括负数量)</caption>
  281. <input id="input6" ref="/root/ORD_REM_WGT_SUM" editable="false" format="#,###" style="left:415px; top:50px; width:115px; height:20px; text-align:right; background-color:#c0c0c0; "/>
  282. <select1 id="combo7" ref="/root/formData/searchInfo/DLIV_TP" appearance="minimal" editmode="inputsearch" style="left:92px; top:50px; width:100px; height:20px; text-align:left; ">
  283. <choices>
  284. <item>
  285. <label>火运</label>
  286. <value>T</value>
  287. </item>
  288. <item>
  289. <label>汽运</label>
  290. <value>C</value>
  291. </item>
  292. <item>
  293. <label/>
  294. <value/>
  295. </item>
  296. </choices>
  297. </select1>
  298. <caption id="caption14" class="cell" style="left:0px; top:50px; width:90px; height:20px; ">运输方式</caption>
  299. <input id="input8" ref="/root/formData/searchInfo/ORD_WTH_FRM" style="left:92px; top:73px; width:58px; height:20px; text-align:right; "/>
  300. <input id="input9" ref="/root/formData/searchInfo/ORD_WTH_TO" style="left:162px; top:73px; width:58px; height:20px; text-align:right; "/>
  301. <caption id="caption15" class="cell" style="left:0px; top:73px; width:90px; height:20px; vertical-align:middle; ">订单宽度</caption>
  302. <caption id="caption18" style="left:149px; top:77px; width:20px; height:15px; ">~</caption>
  303. <input id="input7" ref="/root/formData/searchInfo/CUST_NM" style="left:92px; top:27px; width:128px; height:20px; "/>
  304. <input id="input10" ref="ORD_THK_FRM" style="left:323px; top:73px; width:47px; height:20px; text-align:right; "/>
  305. <input id="input11" ref="ORD_THK_TO" style="left:380px; top:73px; width:50px; height:20px; text-align:right; "/>
  306. <caption id="caption10" class="cell" style="left:231px; top:73px; width:90px; height:20px; vertical-align:middle; ">订单厚度</caption>
  307. <caption id="caption11" style="left:370px; top:75px; width:20px; height:15px; ">~</caption>
  308. <input id="input12" ref="XSQY" style="left:745px; top:71px; width:58px; height:20px; text-align:right; "/>
  309. <input id="input13" ref="DEST_PCD" style="left:905px; top:70px; width:58px; height:20px; text-align:right; "/>
  310. <caption id="caption16" class="cell" style="left:813px; top:70px; width:90px; height:20px; vertical-align:middle; ">到站</caption>
  311. <caption id="caption12" class="cell" style="left:653px; top:71px; width:90px; height:20px; vertical-align:middle; ">销售区域</caption>
  312. <caption id="caption13" class="cell" style="left:229px; top:28px; width:90px; height:20px; vertical-align:middle; ">产线</caption>
  313. <select1 id="combo8" ref="PROD_LINE" appearance="minimal" style="left:321px; top:28px; width:110px; height:20px; ">
  314. <choices>
  315. <itemset nodeset="/root/codeData/ListResult_0_VO/ListResult_0_Row[LG_CD = 'B01004' or LG_CD = 'A']">
  316. <label ref="SM_CFNM"/>
  317. <value ref="SM_CD"/>
  318. </itemset>
  319. </choices>
  320. </select1>
  321. <caption id="caption24" class="cell" visibility="visible" style="left:0px; top:100px; width:90px; height:20px; text-align:center; border-color:#000000; border-style:solid; ">锁定工序</caption>
  322. <select1 id="combo9" ref="/root/formData/searchInfo/ORD_PRC_LOCK" visibility="visible" appearance="minimal" style="left:95px; top:100px; width:125px; height:20px; ">
  323. <choices>
  324. <item>
  325. <label>全部</label>
  326. <value/>
  327. </item>
  328. <item>
  329. <label>热轧</label>
  330. <value>R</value>
  331. </item>
  332. <item>
  333. <label>生产处</label>
  334. <value>S</value>
  335. </item>
  336. <item>
  337. <label>冷轧</label>
  338. <value>L</value>
  339. </item>
  340. </choices>
  341. </select1>
  342. <button id="button1" visibility="hidden" style="left:695px; top:100px; width:100px; height:20px; ">
  343. <caption>button1</caption>
  344. <script type="javascript" ev:event="onclick">
  345. <![CDATA[
  346. find();
  347. ]]>
  348. </script>
  349. </button>
  350. <input id="input14" ref="/root/formData/searchInfo/PRODNM_CD" inputtype="button" style="left:320px; top:5px; width:110px; height:20px; ">
  351. <script type="javascript" ev:event="onclick">
  352. <![CDATA[
  353. checkbox3.visible = (checkbox3.visible == false);
  354. ]]>
  355. </script>
  356. </input>
  357. </group>
  358. <datagrid id="datagrid1" nodeset="/root/gridData/ListResult_0_VO/ListResult_0_Row" backcoloralternate="#F7F9F9" caption="选择^合同号^订单号^订单进度^订单来源^工序锁定^客户^运输方式^生产保留区分^订货区分^产品类型^是否平整^热轧交货状态^冷轧交货状态^炼钢钢号^热轧成品钢号^热轧标准号^冷轧成品牌号^冷轧标准号^订单用途^订单厚度^订单宽度^订单长度^订单单重^单重下限^单重上限^销售区域^到站^品质设计日期^订单预排期^热轧交货期^交货日期^订单重量^交付允许误差最小^交付允许误差最大^生产量^订单未生产量^冷轧转运量^炼钢^连铸^轧钢^精整^酸轧^连退^重卷^包装^平整^综合判定^发货等待^发货指示^发货作业^已发货重量^剩余发货量^订单备注^客户特殊要求^合同兑现率^超交货期量^火车交货^汽车交货^结束日期^钢卷颜色备注^交货状态^异常订单类型^炼钢完成时间^热轧完成时间^酸轧完成时间^连退完成时间^是否进保温坑^是否全部取样^紧急材|选择^合同号^订单号^订单进度^订单来源^工序锁定^客户^运输方式^生产保留区分^订货区分^产品类型^是否平整^热轧交货状态^冷轧交货状态^炼钢钢号^热轧成品钢号^热轧标准号^冷轧成品牌号^冷轧标准号^订单用途^订单厚度^订单宽度^订单长度^订单单重^单重下限^单重上限^销售区域^到站^品质设计日期^订单预排期^热轧交货期^交货日期^订单重量^交付允许误差最小^交付允许误差最大^生产量^订单未生产量^冷轧转运量^炼钢^连铸^轧钢^精整^酸轧^连退^重卷^包装^平整^综合判定^发货等待^发货指示^发货作业^已发货重量^剩余发货量^订单备注^客户特殊要求^合同兑现率^超交货期量^火车交货^汽车交货^结束日期^钢卷颜色备注^交货状态^异常订单类型^炼钢完成时间^热轧完成时间^酸轧完成时间^连退完成时间^是否进保温坑^是否全部取样^紧急材" colsep="^" colwidth="36, 80, 35, 60, 68, 100, 134, 100, 100, 71, 100, 34, 88, 100, 80, 116, 125, 100, 100, 100, 80, 80, 80, 80, 80, 80, 100, 79, 100, 100, 100, 100, 80, 80, 80, 100, 80, 100, 45, 46, 42, 43, 42, 41, 42, 41, 39, 52, 80, 83, 76, 80, 80, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 66, 65, 62, 63, 100, 100, 100" explorerbar="sortshow" extendlastcol="false" frozencols="2" mergecellsfixedrows="bycolrec" rowheader="select" rowsep="|" subtotalposition="below" style="left:0px; top:125px; width:980px; height:485px; border-style:solid; border-right-style:sunken; ">
  359. <col checkvalue="Y,N" disabled="false" ref="CHK" type="checkbox"/>
  360. <col ref="ORD_NO" style="text-decoration:underline; color:#0000ff; cursor:hand; "/>
  361. <col ref="ORD_SEQ" style="text-decoration:underline; color:#0000ff; cursor:hand; "/>
  362. <col ref="ORD_PROG_CD" style="text-align:left; "/>
  363. <col ref="ISNEWPRODUCTS" style="text-align:left; "/>
  364. <col ref="ORD_PRC_LOCK" style="text-align:left; "/>
  365. <col ref="CUST_CD" style="text-align:left; "/>
  366. <col ref="DLIV_TP" style="text-align:left; "/>
  367. <col ref="PROD_HOLD_CD" style="text-align:left; "/>
  368. <col ref="RCVORD_CLF" style="text-align:left; "/>
  369. <col ref="PRD_TY"/>
  370. <col ref="YN_PING_ZHENG"/>
  371. <col ref="PRODNM_CD"/>
  372. <col ref="C_PRODNM_CD"/>
  373. <col ref="STL_GRD" style="text-align:left; "/>
  374. <col ref="H_SPEC_STL_GRD" style="text-align:left; "/>
  375. <col ref="SPEC_ABBSYM" style="text-align:left; "/>
  376. <col ref="C_SPEC_STL_GRD" style="text-align:left; "/>
  377. <col ref="C_SPEC_ABBSYM" style="text-align:left; "/>
  378. <col ref="ORD_USEAGE_CD" type="combo" visibility="hidden" style="text-align:left; "/>
  379. <col ref="ORD_THK" format="#,###.#" style="text-align:right; "/>
  380. <col ref="ORD_WTH" format="#,###.#" style="text-align:right; "/>
  381. <col ref="ORD_LEN" visibility="hidden" format="#,###.#" style="text-align:right; "/>
  382. <col ref="ORD_UNIT_WGT" visibility="hidden" format="#,###.#" style="text-align:right; "/>
  383. <col ref="ORD_UNIT_WGT_MIN" format="#,###.#" style="text-align:right; "/>
  384. <col ref="ORD_UNIT_WGT_MAX" format="#,###.#" style="text-align:right; "/>
  385. <col ref="XSQY"/>
  386. <col ref="DEST_PCD"/>
  387. <col ref="DSN_CMT_DATE"/>
  388. <col ref="ORD_PLAN_DATA" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
  389. <col ref="MILL_DUE_DATE" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
  390. <col ref="DEL_TO_DATE" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
  391. <col ref="ORD_WGT" format="#,###" style="text-align:right; "/>
  392. <col ref="WGT_ACVAL_MIN" format="#,###.#" style="text-align:right; "/>
  393. <col ref="WGT_ACVAL_MAX" format="#,###.#" style="text-align:right; "/>
  394. <col ref="SUM_WGT" format="#,###.#" style="text-align:right; "/>
  395. <col ref="ORD_REM_WGT" format="(-)#,###.#" style="text-align:right; "/>
  396. <col ref="HOT_ROLL_END_WGT" visibility="hidden" format="#,###.#" style="text-align:right; "/>
  397. <col ref="LG" format="#,###.#" style="text-align:right; "/>
  398. <col ref="LZ" format="#,###.#" style="text-align:right; "/>
  399. <col ref="ZG" format="#,###.#" style="text-align:right; "/>
  400. <col ref="JZ" visibility="hidden" format="#,###.#" style="text-align:right; "/>
  401. <col ref="SZ" visibility="hidden" format="#,###.#" style="text-align:right; "/>
  402. <col ref="LT" visibility="hidden" format="#,###.#" style="text-align:right; "/>
  403. <col ref="CJ" visibility="hidden" format="#,###.#" style="text-align:right; "/>
  404. <col ref="BZ" visibility="hidden" format="#,###.#" style="text-align:right; "/>
  405. <col ref="PZ" format="#,###.#" style="text-align:right; "/>
  406. <col ref="ZH" format="#,###.#" style="text-align:right; "/>
  407. <col ref="DD" visibility="hidden" format="#,###.#" style="text-align:right; "/>
  408. <col ref="DDA" format="#,###.#" style="text-align:right; "/>
  409. <col ref="DDB" format="#,###.#" style="text-align:right; "/>
  410. <col ref="SHIP_END_WGT" format="#,###.#" style="text-align:right; "/>
  411. <col ref="SHIP_REM_WGT" format="#,###.#" style="text-align:right; "/>
  412. <col ref="ORD_REMK"/>
  413. <col ref="INGR_YN" style="text-decoration:underline; color:#0000ff; cursor:hand; ">
  414. <script type="javascript" ev:event="onclick">
  415. <![CDATA[
  416. fowardUID010031(datagrid1);
  417. ]]>
  418. </script>
  419. </col>
  420. <col ref="ORD_RATE" format="#,###.#" style="text-align:right; "/>
  421. <col ref="OVER_DATE_WGT" format="#,###.#" style="text-align:right; "/>
  422. <col ref="CALZADA_WGT" format="#,###.#" style="text-align:right; "/>
  423. <col ref="TRAIN_WGT" format="#,###.#" style="text-align:right; "/>
  424. <col ref="PROD_END_DATE" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
  425. <col ref="MK_COIL"/>
  426. <col ref="TRTMTH_TP"/>
  427. <col ref="ABNOR_ORD_CD" style="text-align:left; "/>
  428. <col ref="SMS_DUE_DATE" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
  429. <col ref="MILL_DATE" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
  430. <col ref="PLTCM_DUE_DATE" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
  431. <col ref="CAL_DUE_DATE" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
  432. <col ref="KEEPWARM_YN"/>
  433. <col ref="EACHLOT_YN"/>
  434. <col ref="EMGMTR_NMG_CLF"/>
  435. <script type="javascript" ev:event="onclick">
  436. <![CDATA[
  437. var datagrid = datagrid1;
  438. if (!datagrid.isCell(event.target) || datagrid.row < datagrid.fixedRows ) return;
  439. var col = datagrid.col;
  440. var colNo = datagrid.colRef("ORD_NO");
  441. var colSeq = datagrid.colRef("ORD_SEQ");
  442. if (col != colNo && col != colSeq) return;
  443. var row = datagrid.row;
  444. colNo = datagrid.valueMatrix(row, colNo);
  445. colSeq = datagrid.valueMatrix(row, colSeq);
  446. if (colNo == "" || colSeq == "") return;
  447. model.setValue("/root/fwdData/UIE012020/ORD_NO", colNo);
  448. model.setValue("/root/fwdData/UIE012020/ORD_SEQ", colSeq);
  449. model.setValue("/root/fwdData/UIE012020/URL", "./UIE012020.xrw");
  450. var java = window.parent.javaScript;
  451. java.open(model.instances(0).selectSingleNode("/root/fwdData/UIE012020"));
  452. ]]>
  453. </script>
  454. <script type="javascript" ev:event="ondblclick">
  455. <![CDATA[
  456. var datagrid = datagrid1;
  457. window.clipboardData = datagrid.valueMatrix(datagrid.row, datagrid.col);
  458. ]]>
  459. </script>
  460. </datagrid>
  461. <select id="checkbox1" ref="/root/formData/searchInfo/ORD_PROG_CD" visibility="hidden" overflow="visible" appearance="full" sep="," style="left:533px; top:25px; width:110px; height:20px; background-color:#ffff99; border-color:#ff9900; border-width:1px; ">
  462. <choices>
  463. <itemset nodeset="/root/codeData/ListResult_0_VO/ListResult_0_Row[LG_CD = 'E01001']">
  464. <label ref="SM_CFNM"/>
  465. <value ref="SM_CD"/>
  466. </itemset>
  467. </choices>
  468. </select>
  469. <select id="checkbox2" ref="/root/formData/searchInfo/RCVORD_CLF" visibility="hidden" overflow="visible" appearance="full" sep="," style="left:533px; top:48px; width:110px; height:20px; background-color:#ffff99; border-color:#ff9900; border-width:1px; ">
  470. <choices>
  471. <itemset nodeset="/root/codeData/ListResult_0_VO/ListResult_0_Row[LG_CD = 'A01001']">
  472. <label ref="SM_CFNM"/>
  473. <value ref="SM_CD"/>
  474. </itemset>
  475. </choices>
  476. </select>
  477. <script type="javascript" ev:event="onclick">
  478. <![CDATA[
  479. var target = event.target;
  480. var parent = event.pTarget.parent;
  481. var parent2 = null;
  482. if (parent != null) parent2 = parent.parent;
  483. if (target != "checkbox1" && target != "combo3"
  484. && parent != null && parent.attribute("id") != "checkbox1" && parent.attribute("id") != "combo3"
  485. && parent2 != null && parent2.attribute("id") != "checkbox1" && parent2.attribute("id") != "combo3")
  486. checkbox1.visible = false;
  487. if (target != "checkbox2" && target != "combo105"
  488. && parent != null && parent.attribute("id") != "checkbox2" && parent.attribute("id") != "combo105"
  489. && parent2 != null && parent2.attribute("id") != "checkbox2" && parent2.attribute("id") != "combo105")
  490. checkbox2.visible = false;
  491. ]]>
  492. </script>
  493. <select id="checkbox3" ref="/root/formData/searchInfo/PRODNM_CD" visibility="hidden" overflow="visible" appearance="full" sep="," style="left:320px; top:25px; width:105px; height:20px; background-color:#ffff99; border-color:#ff9900; border-width:1px; ">
  494. <choices>
  495. <itemset nodeset="/root/codeData/ListResult_0_VO/ListResult_0_Row[LG_CD='A01004' or LG_CD = 'A']">
  496. <label ref="SM_CFNM"/>
  497. <value ref="SM_CD"/>
  498. </itemset>
  499. </choices>
  500. </select>
  501. <button id="button7" visibility="visible" style="left:230px; top:100px; width:90px; height:20px; font-family:黑体; color:#3366ff; background-color:#ffffff; ">
  502. <caption>导出EXCEL</caption>
  503. <script type="javascript" ev:event="DOMActivate">
  504. <![CDATA[
  505. //saveExcelScript(datagrid1, "Sheet1");
  506. if(datagrid1.rows<=2){
  507. window.alert("无数据源,请先查询.", "提示");
  508. return;
  509. }
  510. var jsonMerges="[{'name':'y','x':0,'y':0,'cnt':1}]";
  511. var _cnt = datagrid1.selectedRows;
  512. commonOutExcel('datareport',datagrid1.caption,'/root/gridData/ListResult_0_VO','UIH090060-service',jsonMerges,'xls');
  513. ]]>
  514. </script>
  515. </button>
  516. </xhtml:body>
  517. </xhtml:html>