642fe4ead64fe6318f038329ef76aea5c5f17ce7.svn-base 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526
  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,B01001</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. <REG_DTIME_MIN/>
  26. <REG_DTIME_MAX/>
  27. </codeData>
  28. <formData>
  29. <searchInfo>
  30. <ORD_NO/>
  31. <ORD_SEQ/>
  32. <PRODNM_CD/>
  33. <ORD_PROG_CD/>
  34. <ABNOR_ORD_CD/>
  35. <CUST_CD/>
  36. <CUST_STL_GRD/>
  37. <DEL_TO_DATE_MIN/>
  38. <DEL_TO_DATE_MAX/>
  39. <RCVORD_CLF/>
  40. <ORD_PLAN_DATA_MIN/>
  41. <ORD_PLAN_DATA_MAX/>
  42. <DLIV_TP/>
  43. <SPEC_STL_GRD/>
  44. <KEEPWARM_YN/>
  45. <ORD_WTH_FRM/>
  46. <ORD_WTH_TO/>
  47. <ORD_THK_FRM/>
  48. <ORD_THK_TO/>
  49. <REG_DTIME_MIN/>
  50. <REG_DTIME_MAX/>
  51. <DEL_TO_DATE_YN/>
  52. <ORD_PROC_CD/>
  53. <PROCD_NM/>
  54. <ORD_PROCXX/>
  55. </searchInfo>
  56. </formData>
  57. <gridData>
  58. </gridData>
  59. <ORD_REM_WGT_SUM/>
  60. </root>
  61. </instance>
  62. <script type="javascript" ev:event="xforms-ready">
  63. <![CDATA[
  64. if (window.parent == null) Init();
  65. ]]>
  66. </script>
  67. </model>
  68. <script type="javascript" src="../../js/boaCommon.js"/>
  69. <script type="javascript" src="../../js/boaMsg.js"/>
  70. <script type="javascript" src="../../js/bCommon.js"/>
  71. <script type="javascript" src="../../js/mesCommon.js">
  72. <![CDATA[
  73. submitID = "UID070010-service";
  74. var l =",{";
  75. function Init(node) {
  76. InitParams(node);
  77. exec("/root/initData/searchInfo", "", "", "/root/codeData/ListResult_0_VO",
  78. "/root/codeData/ListResult_1_VO", "/root/codeData/ListResult_2_VO");
  79. model.setValue("/root/formData/searchInfo/DEL_TO_DATE_MIN", commFirstDay());
  80. model.setValue("/root/formData/searchInfo/DEL_TO_DATE_MAX", commCurDate());
  81. //model.setValue("/root/formData/searchInfo/ORD_PLAN_DATA_MIN", commFirstDay());
  82. //model.setValue("/root/formData/searchInfo/ORD_PLAN_DATA_MAX", commCurDate());
  83. pageInit();
  84. model.duplicate("/root/formData", "/root/initData/rcvInfo/REG_ID");
  85. }
  86. function pageInit() {
  87. model.removenode("/root/reqData");
  88. model.removenode("/root/resData");
  89. //model.setValue("/root/ORD_REM_WGT_SUM","");
  90. model.refresh();
  91. var datagrid = datagrid1;
  92. datagrid.isReadOnly(0, 0, datagrid.rows-1, datagrid.cols-1) = true;
  93. datagrid.subtotal("clear", -1, 0);
  94. //var rows = datagrid.rows;
  95. //var colMin = datagrid.colRef("WGT_ACVAL_MIN");
  96. //var colMax = datagrid.colRef("WGT_ACVAL_MAX");
  97. //var colWgt = datagrid.colRef("SHIP_END_WGT");
  98. //var ORDPROGCD = datagrid.colRef("ORD_PROG_CD");
  99. //for (var i = datagrid.fixedRows; i < rows; i++)
  100. //{
  101. // var min = Number(datagrid.valueMatrix(i, colMin));
  102. // var max = Number(datagrid.valueMatrix(i, colMax));
  103. // var wgt = Number(datagrid.valueMatrix(i, colWgt));
  104. // var ORDPROG = datagrid.valueMatrix(i, ORDPROGCD);
  105. // if (wgt >= min && wgt < max && ORDPROG != "发货完成" && ORDPROG != "订单关闭")
  106. // datagrid.rowStyle(i, "data", "background-color") = "#ffff99";
  107. //}
  108. //datagrid.subtotal("sum", -1, datagrid.colRef("ORD_WGT"), "#,###", "background-color:#99ff99", 1, "汇总行");
  109. //datagrid.subtotal("sum", -1, datagrid.colRef("ORD_REM_WGT"), "#,###", "background-color:#99ff99");
  110. //datagrid.subtotal("sum", -1, datagrid.colRef("LG"), "#,###", "background-color:#99ff99");
  111. //datagrid.subtotal("sum", -1, datagrid.colRef("LZ"), "#,###", "background-color:#99ff99");
  112. //datagrid.subtotal("sum", -1, datagrid.colRef("ZG"), "#,###", "background-color:#99ff99");
  113. //datagrid.subtotal("sum", -1, datagrid.colRef("JZ"), "#,###", "background-color:#99ff99");
  114. //datagrid.subtotal("sum", -1, datagrid.colRef("ZH"), "#,###", "background-color:#99ff99");
  115. //datagrid.subtotal("sum", -1, datagrid.colRef("DD"), "#,###", "background-color:#99ff99");
  116. //datagrid.subtotal("sum", -1, datagrid.colRef("OVER_DATE_WGT"), "#,###", "background-color:#99ff99");
  117. //datagrid.subtotal("sum", -1, datagrid.colRef("CALZADA_WGT"), "#,###", "background-color:#99ff99");
  118. //datagrid.subtotal("sum", -1, datagrid.colRef("TRAIN_WGT"), "#,###", "background-color:#99ff99");
  119. //datagrid.subtotal("sum", -1, datagrid.colRef("SHIP_END_WGT"), "#,###", "background-color:#99ff99");
  120. //datagrid.subtotal("sum", -1, datagrid.colRef("SHIP_REM_WGT"), "#,###", "background-color:#99ff99", 1, "汇总行");
  121. }
  122. function find() {
  123. if(model.getValue("/root/codeData/REG_DTIME_MIN") == "")
  124. {
  125. model.setValue("/root/formData/searchInfo/REG_DTIME_MIN","00000000");
  126. }
  127. else
  128. {
  129. model.setValue("/root/formData/searchInfo/REG_DTIME_MIN",model.getValue("/root/codeData/REG_DTIME_MIN"));
  130. }
  131. if(model.getValue("/root/codeData/REG_DTIME_MAX") == "")
  132. {
  133. model.setValue("/root/formData/searchInfo/REG_DTIME_MAX","99999999");
  134. }
  135. else
  136. {
  137. model.setValue("/root/formData/searchInfo/REG_DTIME_MAX",model.getValue("/root/codeData/REG_DTIME_MAX"));
  138. }
  139. //commSendReq("/root/formData/searchInfo");
  140. //commSubmit("UID070010-service", "find", "glueAction.do");
  141. //commAppendData("/root/datagrid1/DLIVInfo_VO","/root/resData/DLIVInfo_VO");
  142. exec("/root/formData/searchInfo", "", "find", "/root/gridData/ListResult_0_VO");
  143. //pageInit();
  144. model.removenode("/root/reqData");
  145. model.removenode("/root/resData");
  146. model.refresh();
  147. checkbox3.visible = false;
  148. //SUM_WGT
  149. datagrid1.subtotal("sum", -1, datagrid1.colRef("ORD_WGT"), "#,###", "background-color:#99ff99", 1, "汇总行");
  150. datagrid1.subtotal("sum", -1, datagrid1.colRef("ORD_UNIT_WGT"), "#,###", "background-color:#99ff99");
  151. datagrid1.subtotal("sum", -1, datagrid1.colRef("SUM_WGT"), "#,###", "background-color:#99ff99");
  152. datagrid1.subtotal("sum", -1, datagrid1.colRef("DD"), "#,###", "background-color:#99ff99");
  153. datagrid1.subtotal("sum", -1, datagrid1.colRef("ORD_REM_WGT"), "#,###", "background-color:#99ff99");
  154. datagrid1.subtotal("sum", -1, datagrid1.colRef("SHIP_END_WGT"), "#,###", "background-color:#99ff99");
  155. datagrid1.subtotal("sum", -1, datagrid1.colRef("OVER_DATE_WGT"), "#,###", "background-color:#99ff99");
  156. var r =datagrid1.rows-1;
  157. l=l+"\"ORD_NO\":\"汇总行\",";
  158. l=l+"\"ORD_UNIT_WGT\":\""+datagrid1.valueMatrix(r , datagrid1.colRef("ORD_UNIT_WGT"))+"\",";
  159. l=l+"\"SUM_WGT\":\""+datagrid1.valueMatrix(r , datagrid1.colRef("SUM_WGT"))+"\",";
  160. l=l+"\"ORD_WGT\":\""+datagrid1.valueMatrix(r , datagrid1.colRef("ORD_WGT"))+"\",";
  161. l=l+"\"ORD_REM_WGT\":\""+datagrid1.valueMatrix(r , datagrid1.colRef("ORD_REM_WGT"))+"\",";
  162. l=l+"\"DD\":\""+datagrid1.valueMatrix(r , datagrid1.colRef("DD"))+"\",";
  163. l=l+"\"SHIP_END_WGT\":\""+datagrid1.valueMatrix(r , datagrid1.colRef("SHIP_END_WGT"))+"\",";
  164. l=l+"\"OVER_DATE_WGT\":\""+datagrid1.valueMatrix(r , datagrid1.colRef("OVER_DATE_WGT"))+"\"}]";
  165. }
  166. function save() {}
  167. function create() {}
  168. function remove() {}
  169. function saveExcelScript() {
  170. if(datagrid1.rows<=2){
  171. window.alert("无数据源,请先查询.", "提示");
  172. return;
  173. }
  174. //window.load("../../G/G10/_out.xrw", "modal", "", "left:350; top:240; width:400; height:220; sysmenu:visible; min:visible; max:true; resize:true; caption:visible;");
  175. var jsonMerges="[{'name':'y','x':0,'y':0,'cnt':2},{'name':'y','x':1,'y':0,'cnt':2},{'name':'y','x':2,'y':0,'cnt':2},{'name':'y','x':3,'y':0,'cnt':2},{'name':'y','x':4,'y':0,'cnt':2},{'name':'y','x':5,'y':0,'cnt':2},{'name':'y','x':6,'y':0,'cnt':2},{'name':'y','x':7,'y':0,'cnt':2},{'name':'y','x':8,'y':0,'cnt':2},{'name':'y','x':9,'y':0,'cnt':2},{'name':'y','x':10,'y':0,'cnt':2},{'name':'y','x':11,'y':0,'cnt':2},{'name':'y','x':12,'y':0,'cnt':2},{'name':'y','x':13,'y':0,'cnt':2},{'name':'y','x':14,'y':0,'cnt':2},{'name':'y','x':15,'y':0,'cnt':2},{'name':'y','x':16,'y':0,'cnt':2},{'name':'y','x':17,'y':0,'cnt':2},{'name':'y','x':18,'y':0,'cnt':2},{'name':'y','x':19,'y':0,'cnt':2},{'name':'y','x':20,'y':0,'cnt':2},{'name':'y','x':21,'y':0,'cnt':2},{'name':'y','x':22,'y':0,'cnt':2},{'name':'y','x':23,'y':0,'cnt':2},{'name':'y','x':24,'y':0,'cnt':2},{'name':'y','x':25,'y':0,'cnt':2},{'name':'y','x':26,'y':0,'cnt':2},{'name':'y','x':27,'y':0,'cnt':2},{'name':'y','x':28,'y':0,'cnt':2},{'name':'y','x':29,'y':0,'cnt':2},{'name':'y','x':30,'y':0,'cnt':2},{'name':'y','x':31,'y':0,'cnt':2},{'name':'y','x':32,'y':0,'cnt':2},{'name':'y','x':33,'y':0,'cnt':2},{'name':'x','x':34,'y':0,'cnt':2},{'name':'y','x':36,'y':0,'cnt':2},{'name':'y','x':37,'y':0,'cnt':2}]";
  176. var colRef = getVoColrefs("/root/gridData/ListResult_0_VO");
  177. var list = parseVoToStr("/root/gridData/ListResult_0_VO");//数据集
  178. list=list.substring(0,list.length-1);
  179. list = list + l;
  180. commonOuterExcel('UID070010',datagrid1.caption,colRef,list,'UIH090060-service',jsonMerges,'xls');
  181. }
  182. function excelExport() {
  183. return datagrid1;
  184. }
  185. function fowardUID010031(gridID) {
  186. if(gridID.col == gridID.colRef("INGR_YN")) {
  187. model.makeValue("/root/fwdData/UID010031/ORD_NO", gridID.valueMatrix(gridID.row, gridID.colRef("ORD_NO")));
  188. model.makeValue("/root/fwdData/UID010031/ORD_SEQ", gridID.valueMatrix(gridID.row, gridID.colRef("ORD_SEQ")));
  189. model.makeValue("/root/fwdData/UID010031/URL", "../../B/B01/UIB015020.xrw");
  190. var java = window.parent.javaScript;
  191. java.open(model.instances(0).selectSingleNode("/root/fwdData/UID010031"));
  192. }
  193. }
  194. ]]>
  195. </script>
  196. </xhtml:head>
  197. <xhtml:body overflow="hidden" pagewidth="980" pageheight="620" style="font-family:宋体; ">
  198. <group id="group1" overflow="hidden" ref="/root/formData/searchInfo" style="left:0px; top:0px; width:980px; height:100px; ">
  199. <line id="line2" style="x1:0px; y1:95px; x2:980px; y2:95px; "/>
  200. <caption id="caption1" class="cell" style="left:0px; top:5px; width:90px; height:20px; vertical-align:middle; ">合同号</caption>
  201. <input id="input1" ref="ORD_NO" maxlength="12" style="left:92px; top:5px; width:80px; height:20px; ">
  202. <script type="javascript" ev:event="xforms-value-changed">
  203. <![CDATA[
  204. model.setValue("/root/formData/searchInfo/ORD_SEQ", "");
  205. // var ordno = model.getValue("/root/formData/searchInfo/ORD_NO");
  206. // if (ordno.length == 12) {
  207. exec("/root/formData/searchInfo/ORD_NO", "", "seq", "/root/codeData/ORD_SEQ/ListResult_0_VO");
  208. // } else {
  209. // model.removenode("/root/codeData/ORD_SEQ/ListResult_0_VO");
  210. // }
  211. pageInit();
  212. ]]>
  213. </script>
  214. </input>
  215. <select1 id="combo1" ref="ORD_SEQ" appearance="minimal" editmode="search" style="left:174px; top:5px; width:45px; height:20px; ">
  216. <choices>
  217. <itemset nodeset="/root/codeData/ORD_SEQ/ListResult_0_VO/ListResult_0_Row">
  218. <label ref="ORD_SEQ"/>
  219. <value ref="ORD_SEQ"/>
  220. </itemset>
  221. </choices>
  222. <script type="javascript" ev:event="onclick">
  223. <![CDATA[
  224. if (model.getXPathValue("count(/root/codeData/ORD_SEQ/ListResult_0_VO/ListResult_0_Row)") == 0) {
  225. exec("/root/formData/searchInfo/ORD_NO", "", "seq", "/root/codeData/ORD_SEQ/ListResult_0_VO");
  226. model.setValue("/root/formData/searchInfo/ORD_SEQ", model.getValue("/root/codeData/ORD_SEQ/ListResult_0_VO/ListResult_0_Row[ORD_SEQ != '']/ORD_SEQ"));
  227. }
  228. ]]>
  229. </script>
  230. </select1>
  231. <caption id="caption2" class="cell" style="left:223px; top:5px; width:90px; height:20px; vertical-align:middle; ">产品类型</caption>
  232. <select1 id="combo2" ref="PRODNM_CD" appearance="minimal" style="left:315px; top:5px; width:110px; height:20px; ">
  233. <choices>
  234. <itemset nodeset="/root/codeData/ListResult_0_VO/ListResult_0_Row[LG_CD='A01004' or LG_CD = 'A']">
  235. <label ref="SM_CFNM"/>
  236. <value ref="SM_CD"/>
  237. </itemset>
  238. </choices>
  239. </select1>
  240. <caption id="caption3" class="cell" visibility="hidden" style="left:960px; top:15px; width:90px; height:20px; vertical-align:middle; ">订单进度</caption>
  241. <input id="combo3" ref="ORD_PROG_CD" visibility="hidden" editable="false" inputtype="button" style="left:960px; top:40px; width:110px; height:20px; ">
  242. <script type="javascript" ev:event="onclick">
  243. <![CDATA[
  244. checkbox1.visible = (checkbox1.visible == false);
  245. ]]>
  246. </script>
  247. </input>
  248. <caption id="caption4" class="cell" visibility="hidden" style="left:960px; top:20px; width:90px; height:20px; vertical-align:middle; ">异常订单类型</caption>
  249. <select1 id="combo4" ref="ABNOR_ORD_CD" visibility="hidden" appearance="minimal" style="left:960px; top:30px; width:100px; height:20px; ">
  250. <choices>
  251. <itemset nodeset="/root/codeData/ListResult_0_VO/ListResult_0_Row[LG_CD='E01003' or LG_CD = 'A']">
  252. <label ref="SM_CFNM"/>
  253. <value ref="SM_CD"/>
  254. </itemset>
  255. </choices>
  256. </select1>
  257. <caption id="caption6" class="cell" style="left:223px; top:27px; width:90px; height:20px; vertical-align:middle; ">厂内牌号</caption>
  258. <select1 id="combo5" ref="CUST_CD" visibility="hidden" appearance="minimal" editmode="inputsearch" style="left:960px; top:10px; width:127px; height:20px; ">
  259. <choices>
  260. <itemset nodeset="/root/codeData/ListResult_1_VO/ListResult_1_Row">
  261. <label ref="CUST_NM"/>
  262. <value ref="CUST_CD"/>
  263. </itemset>
  264. </choices>
  265. </select1>
  266. <caption id="caption105" class="cell" style="left:431px; top:5px; width:90px; height:20px; ">订货区分</caption>
  267. <input id="combo105" ref="RCVORD_CLF" inputtype="button" appearance="minimal" style="left:523px; top:5px; width:111px; height:20px; ">
  268. <script type="javascript" ev:event="onclick">
  269. <![CDATA[
  270. checkbox2.visible = (checkbox2.visible == false);
  271. ]]>
  272. </script>
  273. </input>
  274. <select1 id="combo6" ref="CUST_STL_GRD" appearance="minimal" editmode="search" style="left:315px; top:27px; width:110px; height:20px; ">
  275. <choices>
  276. <itemset nodeset="/root/codeData/ListResult_2_VO/ListResult_2_Row">
  277. <label ref="STL_GRD"/>
  278. <value ref="STL_GRD"/>
  279. </itemset>
  280. </choices>
  281. </select1>
  282. <caption id="caption7" class="cell" style="left:639px; top:5px; width:90px; height:20px; vertical-align:middle; ">交货日期</caption>
  283. <input id="input2" ref="DEL_TO_DATE_MIN" inputtype="date" style="left:731px; top:5px; width:101px; height:20px; "/>
  284. <input id="input3" ref="DEL_TO_DATE_MAX" inputtype="date" style="left:834px; top:5px; width:105px; height:20px; "/>
  285. <input id="input4" ref="/root/formData/searchInfo/ORD_PLAN_DATA_MIN" inputtype="date" style="left:731px; top:27px; width:101px; height:20px; "/>
  286. <caption id="caption8" class="cell" style="left:639px; top:27px; width:90px; height:20px; vertical-align:middle; ">订单预排期</caption>
  287. <input id="input5" ref="/root/formData/searchInfo/ORD_PLAN_DATA_MAX" inputtype="date" style="left:834px; top:27px; width:105px; height:20px; "/>
  288. <caption id="caption9" class="cell" visibility="hidden" style="left:960px; top:30px; width:187px; height:20px; vertical-align:middle; ">订单未生产量(不包括负数量)</caption>
  289. <input id="input6" ref="/root/ORD_REM_WGT_SUM" visibility="hidden" editable="false" format="#,###" style="left:960px; top:50px; width:115px; height:20px; text-align:right; background-color:#c0c0c0; "/>
  290. <select1 id="combo7" ref="/root/formData/searchInfo/DLIV_TP" appearance="minimal" editmode="inputsearch" style="left:92px; top:27px; width:110px; height:20px; text-align:left; ">
  291. <choices>
  292. <item>
  293. <label>火运</label>
  294. <value>T</value>
  295. </item>
  296. <item>
  297. <label>汽运</label>
  298. <value>C</value>
  299. </item>
  300. <item>
  301. <label/>
  302. <value/>
  303. </item>
  304. </choices>
  305. </select1>
  306. <caption id="caption14" class="cell" style="left:0px; top:27px; width:90px; height:20px; border-color:#000000; ">运输方式</caption>
  307. <caption id="caption5" class="cell" visibility="hidden" style="left:960px; top:0px; width:90px; height:20px; vertical-align:middle; ">客户</caption>
  308. <caption id="caption10" class="cell" style="left:431px; top:27px; width:90px; height:20px; vertical-align:middle; ">成品牌号</caption>
  309. <input id="input7" ref="/root/formData/searchInfo/SPEC_STL_GRD" style="left:523px; top:27px; width:111px; height:20px; "/>
  310. <caption id="caption12" class="cell" style="left:0px; top:50px; width:90px; height:20px; vertical-align:middle; ">是否坑冷</caption>
  311. <caption id="caption13" class="cell" style="left:208px; top:50px; width:90px; height:20px; vertical-align:middle; ">订单厚度</caption>
  312. <caption id="caption15" class="cell" style="left:432px; top:50px; width:90px; height:20px; vertical-align:middle; ">订单宽度</caption>
  313. <select1 id="combo9" ref="/root/formData/searchInfo/KEEPWARM_YN" appearance="minimal" style="left:92px; top:50px; width:110px; height:20px; ">
  314. <choices>
  315. <item>
  316. <label>是</label>
  317. <value>Y</value>
  318. </item>
  319. <item>
  320. <label>否</label>
  321. <value>N</value>
  322. </item>
  323. <item>
  324. <label/>
  325. <value/>
  326. </item>
  327. </choices>
  328. </select1>
  329. <input id="input8" ref="/root/formData/searchInfo/ORD_WTH_FRM" style="left:526px; top:50px; width:58px; height:20px; text-align:right; "/>
  330. <input id="input9" ref="/root/formData/searchInfo/ORD_WTH_TO" style="left:597px; top:50px; width:58px; height:20px; text-align:right; "/>
  331. <caption id="caption18" style="left:584px; top:55px; width:20px; height:15px; ">~</caption>
  332. <input id="input11" ref="/root/formData/searchInfo/ORD_THK_FRM" style="left:300px; top:50px; width:58px; height:20px; text-align:right; "/>
  333. <input id="input12" ref="/root/formData/searchInfo/ORD_THK_TO" style="left:371px; top:50px; width:58px; height:20px; text-align:right; "/>
  334. <caption id="caption16" style="left:358px; top:55px; width:20px; height:15px; ">~</caption>
  335. <caption id="caption11" class="cell" style="left:0px; top:73px; width:90px; height:20px; vertical-align:middle; ">品质设计时间</caption>
  336. <input id="input10" ref="/root/formData/searchInfo/ORD_PLAN_DATA_MIN" inputtype="date" style="left:731px; top:27px; width:101px; height:20px; "/>
  337. <input id="input13" ref="/root/formData/searchInfo/ORD_PLAN_DATA_MIN" inputtype="date" style="left:92px; top:73px; width:101px; height:20px; "/>
  338. <input id="input14" ref="/root/codeData/REG_DTIME_MIN" inputtype="date" style="left:92px; top:73px; width:101px; height:20px; "/>
  339. <input id="input15" ref="/root/codeData/REG_DTIME_MAX" inputtype="date" style="left:195px; top:73px; width:105px; height:20px; "/>
  340. <caption id="caption17" class="cell" style="left:660px; top:50px; width:90px; height:20px; vertical-align:middle; ">是否超交货期</caption>
  341. <select1 id="combo8" ref="/root/formData/searchInfo/DEL_TO_DATE_YN" appearance="minimal" style="left:752px; top:50px; width:79px; height:20px; ">
  342. <choices>
  343. <item>
  344. <label/>
  345. <value/>
  346. </item>
  347. <item>
  348. <label>是</label>
  349. <value>是</value>
  350. </item>
  351. <item>
  352. <label>否</label>
  353. <value>否</value>
  354. </item>
  355. </choices>
  356. </select1>
  357. <caption id="caption19" class="cell" style="left:310px; top:73px; width:100px; height:20px; ">订单进度</caption>
  358. <button id="button1" style="left:1008px; top:75px; width:50px; height:20px; ">
  359. <caption>FIND</caption>
  360. <script type="javascript" ev:event="DOMActivate">
  361. <![CDATA[
  362. find();
  363. ]]>
  364. </script>
  365. </button>
  366. <caption id="caption20" class="cell" style="left:1088px; top:75px; width:50px; height:20px; vertical-align:middle; border-color:#000000; ">Export</caption>
  367. <button id="button2" style="left:1088px; top:75px; width:50px; height:20px; border-color:#000000; ">
  368. <caption>Export</caption>
  369. <script type="javascript" ev:event="DOMActivate">
  370. <![CDATA[
  371. saveExcelScript();
  372. ]]>
  373. </script>
  374. </button>
  375. <caption id="caption21" class="cell" style="left:525px; top:73px; width:100px; height:20px; ">产品分类</caption>
  376. <select1 id="combo11" ref="/root/formData/searchInfo/PROCD_NM" appearance="minimal" showvalue="true" style="left:625px; top:73px; width:240px; height:20px; ">
  377. <choices>
  378. <itemset nodeset="/root/codeData/ListResult_0_VO/ListResult_0_Row[LG_CD='B01001' or LG_CD = 'A']">
  379. <label ref="SM_CFNM"/>
  380. <value ref="SM_CD"/>
  381. </itemset>
  382. </choices>
  383. </select1>
  384. <input id="input_outType" visibility="hidden" style="left:875px; top:70px; width:100px; height:20px; "/>
  385. <input id="input16" ref="/root/formData/searchInfo/ORD_PROC_CD" inputtype="button" style="left:409px; top:73px; width:100px; height:20px; ">
  386. <script type="javascript" ev:event="onclick">
  387. <![CDATA[
  388. checkbox3.visible = (checkbox3.visible == false);
  389. ]]>
  390. </script>
  391. </input>
  392. </group>
  393. <datagrid id="datagrid1" nodeset="/root/gridData/ListResult_0_VO/ListResult_0_Row" backcoloralternate="#F7F9F9" caption="合同号^订单号^销售区域^品质设计确认日期^订单进度^客户^运输方式^订货区分^产品分类^产品类型^厂内钢号^成品牌号^标准号^炼钢开始时间^板坯充当时间^钢卷充当时间^热轧库入库时间^轧制时间^生产结束日期^是否坑冷^订单厚度^订单宽度^订单长度^订单单重^单重下限^单重上限^订单预排期^交货日期^生产量^订单重量^交付允许误差最小^交付允许误差最大^订单未生产量^待发运量^已发货重量^已发货重量^发货结束日期^是否超交货期^非计划量^非计划量^非计划量^非计划量|合同号^订单号^销售区域^品质设计确认日期^订单进度^客户^运输方式^订货区分^产品分类^产品类型^厂内钢号^成品牌号^标准号^炼钢开始时间^板坯充当时间^钢卷充当时间^热轧库入库时间^轧制时间^生产结束日期^是否坑冷^订单厚度^订单宽度^订单长度^订单单重^单重下限^单重上限^订单预排期^交货日期^生产量^订单重量^交付允许误差最小^交付允许误差最大^订单未生产量^待发运量^交货期内^交货期外^发货结束日期^是否超交货期^热轧^比例^二钢^比例" colsep="^" colwidth="80, 45, 74, 74, 60, 94, 79, 100, 100, 52, 88, 104, 82, 79, 100, 100, 89, 91, 100, 45, 80, 80, 80, 80, 80, 80, 77, 100, 74, 80, 80, 80, 80, 80, 80, 83, 100, 67, 56, 59, 69, 56" explorerbar="sortshow" extendlastcol="false" frozencols="2" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" subtotalposition="below" tooltip="label" style="left:0px; top:100px; width:980px; height:520px; border-style:solid; border-right-style:sunken; ">
  394. <col ref="ORD_NO" style="text-align:left; "/>
  395. <col ref="ORD_SEQ" style="text-align:left; "/>
  396. <col ref="XSQY" style="text-align:left; "/>
  397. <col ref="REG_DTIME" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
  398. <col ref="ORD_PROG_CD" style="text-align:left; "/>
  399. <col ref="CUST_CD" style="text-align:left; "/>
  400. <col ref="DLIV_TP" style="text-align:left; "/>
  401. <col ref="RCVORD_CLF" style="text-align:left; "/>
  402. <col ref="PROD_NM" style="text-align:left; "/>
  403. <col ref="PRODNM_CD"/>
  404. <col ref="STL_GRD" style="text-align:left; "/>
  405. <col ref="SPEC_STL_GRD" style="text-align:left; "/>
  406. <col ref="SPEC_ABBSYM" style="text-align:left; "/>
  407. <col ref="SLAB_CUT_DTIME" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
  408. <col ref="E_SLAB_REP_DTIME" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
  409. <col ref="E_COIL_REP_DTIME" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
  410. <col ref="SLAB_STOCK_ENT_DTIME" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
  411. <col ref="EXTRACT_DTIME" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
  412. <col ref="PROD_END_DATE" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
  413. <col ref="KEEPWARM_YN"/>
  414. <col ref="ORD_THK" format="#,###.#" style="text-align:right; "/>
  415. <col ref="ORD_WTH" format="#,###.#" style="text-align:right; "/>
  416. <col ref="ORD_LEN" visibility="hidden" format="#,###.#" style="text-align:right; "/>
  417. <col ref="ORD_UNIT_WGT" visibility="hidden" format="#,###.#" style="text-align:right; "/>
  418. <col ref="ORD_UNIT_WGT_MIN" format="#,###.#" style="text-align:right; "/>
  419. <col ref="ORD_UNIT_WGT_MAX" format="#,###.#" style="text-align:right; "/>
  420. <col ref="ORD_PLAN_DATA" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
  421. <col ref="DEL_TO_DATE" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
  422. <col ref="SUM_WGT" format="#,###" style="text-align:right; "/>
  423. <col ref="ORD_WGT" format="#,###" style="text-align:right; "/>
  424. <col ref="WGT_ACVAL_MIN" format="#,###.#" style="text-align:right; "/>
  425. <col ref="WGT_ACVAL_MAX" format="#,###.#" style="text-align:right; "/>
  426. <col ref="ORD_REM_WGT" format="(-)#,###.#" style="text-align:right; "/>
  427. <col ref="DD" format="#,###.#" style="text-align:right; "/>
  428. <col ref="SHIP_END_WGT" format="#,###.#" style="text-align:right; "/>
  429. <col ref="OVER_DATE_WGT" format="#,###.#" style="text-align:right; "/>
  430. <col ref="SHIP_END_DATE" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
  431. <col ref="DEL_TO_DATE_YN"/>
  432. <col visibility="hidden"/>
  433. <col visibility="hidden"/>
  434. <col visibility="hidden"/>
  435. <col visibility="hidden"/>
  436. </datagrid>
  437. <select id="checkbox1" ref="/root/formData/searchInfo/ORD_PROG_CD" visibility="hidden" overflow="visible" appearance="full" sep="," style="left:960px; top:15px; width:110px; height:20px; background-color:#ffff99; border-color:#ff9900; border-width:1px; ">
  438. <choices>
  439. <itemset nodeset="/root/codeData/ListResult_0_VO/ListResult_0_Row[LG_CD = 'E01001']">
  440. <label ref="SM_CFNM"/>
  441. <value ref="SM_CD"/>
  442. </itemset>
  443. </choices>
  444. </select>
  445. <select id="checkbox2" ref="/root/formData/searchInfo/RCVORD_CLF" visibility="hidden" overflow="visible" appearance="full" sep="," style="left:525px; top:25px; width:110px; height:20px; background-color:#ffff99; border-color:#ff9900; border-width:1px; ">
  446. <choices>
  447. <itemset nodeset="/root/codeData/ListResult_0_VO/ListResult_0_Row[LG_CD = 'A01001']">
  448. <label ref="SM_CFNM"/>
  449. <value ref="SM_CD"/>
  450. </itemset>
  451. </choices>
  452. </select>
  453. <script type="javascript" ev:event="onclick">
  454. <![CDATA[
  455. var target = event.target;
  456. var parent = event.pTarget.parent;
  457. var parent2 = null;
  458. if (parent != null) parent2 = parent.parent;
  459. if (target != "checkbox1" && target != "combo3"
  460. && parent != null && parent.attribute("id") != "checkbox1" && parent.attribute("id") != "combo3"
  461. && parent2 != null && parent2.attribute("id") != "checkbox1" && parent2.attribute("id") != "combo3")
  462. checkbox1.visible = false;
  463. if (target != "checkbox2" && target != "combo105"
  464. && parent != null && parent.attribute("id") != "checkbox2" && parent.attribute("id") != "combo105"
  465. && parent2 != null && parent2.attribute("id") != "checkbox2" && parent2.attribute("id") != "combo105")
  466. checkbox2.visible = false;
  467. ]]>
  468. </script>
  469. <select id="checkbox3" ref="/root/formData/searchInfo/ORD_PROCXX" visibility="hidden" overflow="visible" scroll="both" appearance="full" direction="downacross" style="left:409px; top:90px; width:100px; height:20px; background-color:#ffff99; border-width:1px; ">
  470. <choices>
  471. <item>
  472. <label>品质设计待机</label>
  473. <value>,A</value>
  474. </item>
  475. <item>
  476. <label>订单关闭</label>
  477. <value>,B</value>
  478. </item>
  479. <item>
  480. <label>品质设计再待机</label>
  481. <value>,C</value>
  482. </item>
  483. <item>
  484. <label>投入确定</label>
  485. <value>,D</value>
  486. </item>
  487. <item>
  488. <label>生产进行</label>
  489. <value>,E</value>
  490. </item>
  491. <item>
  492. <label>生产保留</label>
  493. <value>,H</value>
  494. </item>
  495. <item>
  496. <label>生产完成</label>
  497. <value>,F</value>
  498. </item>
  499. <item>
  500. <label>发货完成</label>
  501. <value>,G</value>
  502. </item>
  503. <item>
  504. <label>订单完成</label>
  505. <value>,X</value>
  506. </item>
  507. <item>
  508. <label>订单取消</label>
  509. <value>,N</value>
  510. </item>
  511. </choices>
  512. <script type="javascript" ev:event="onclick">
  513. <![CDATA[
  514. input16.value = checkbox3.value.replace("," , "");
  515. model.refresh();
  516. ]]>
  517. </script>
  518. </select>
  519. </xhtml:body>
  520. </xhtml:html>