f59b5a8853b74346dff26c61bcea60cd6d0a4963.svn-base 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936
  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[炼钢作业 >> 板坯库管理 >> 板坯封闭(UIG040210)]]>
  7. </xhtml:title>
  8. <model id="model1">
  9. <instance id="instance1">
  10. <root xmlns="">
  11. <grid/>
  12. <formData>
  13. <SLAB_NO/>
  14. <CUR_LOAD_LOC/>
  15. <STL_GRD/>
  16. <SLAB_MIN_WTH>0</SLAB_MIN_WTH>
  17. <SLAB_MAX_WTH>100000</SLAB_MAX_WTH>
  18. <SLAB_MIN_LEN>0</SLAB_MIN_LEN>
  19. <SLAB_MAX_LEN>100000</SLAB_MAX_LEN>
  20. <ORD_NO/>
  21. <ORD_FL/>
  22. <fromDate/>
  23. <toDate/>
  24. <SLAB_RT/>
  25. <NO_ORD_CAUS_CD/>
  26. <SLAB_STOCK_TYPE/>
  27. <SLAB_INGR_DEC_GRD/>
  28. <CHANDI/>
  29. <CMT_DLIV_DEVLMT_DATE/>
  30. <CMT_DLIV_DEVLMT_DATE_temp>%</CMT_DLIV_DEVLMT_DATE_temp>
  31. <DLIV_TP/>
  32. <KEEPWARM_YN>%</KEEPWARM_YN>
  33. <SPEC_STL_GRD1>%</SPEC_STL_GRD1>
  34. <SPEC_STL_GRD2>%</SPEC_STL_GRD2>
  35. <SPEC_STL_GRD3>%</SPEC_STL_GRD3>
  36. <LZJL>N</LZJL>
  37. <SPEC_STL_GRD4>%</SPEC_STL_GRD4>
  38. <SPEC_STL_GRD5>%</SPEC_STL_GRD5>
  39. <SPEC_STL_GRD6>%</SPEC_STL_GRD6>
  40. <CUT_FROM_DATE>00000000</CUT_FROM_DATE>
  41. <CUT_TO_DATE/>
  42. <BOF_NO>%</BOF_NO>
  43. <CCM_NO>%</CCM_NO>
  44. <XSQY/>
  45. <SLAB_TOT_DEC_GRD/>
  46. <IGR_LAG_FROM_DTIME>-999999999</IGR_LAG_FROM_DTIME>
  47. <IGR_LAG_TO_DTIME>999999999</IGR_LAG_TO_DTIME>
  48. <CUT_LAG_FROM_DTIME>-999999999</CUT_LAG_FROM_DTIME>
  49. <CUT_LAG_TO_DTIME>999999999</CUT_LAG_TO_DTIME>
  50. <MAT_PROC/>
  51. <PRD_TY/>
  52. <SLAB_MIN_THK>0</SLAB_MIN_THK>
  53. <SLAB_MAX_THK>500</SLAB_MAX_THK>
  54. <L2_SCH_NO/>
  55. <TC_YN>N</TC_YN>
  56. <SFCHEM>N</SFCHEM>
  57. <CRK/>
  58. <SFZK>1</SFZK>
  59. </formData>
  60. <resData/>
  61. <reqData/>
  62. <initResult/>
  63. <totalData>
  64. <slabCnt/>
  65. <slabWgt/>
  66. </totalData>
  67. <codeData/>
  68. <initData>
  69. <LG_CD>F01002,F01002,E01010,E01007,D01003,D01001,G04001,B01136,E01002,A01004,G03004,G03004</LG_CD>
  70. </initData>
  71. <combData/>
  72. <fwdData>
  73. <UID010031>
  74. <ORD_NO/>
  75. <ORD_SEQ/>
  76. <URL/>
  77. </UID010031>
  78. </fwdData>
  79. </root>
  80. </instance>
  81. <script type="javascript" src="../../js/boaCommon.js"/>
  82. <script type="javascript" src="../../js/b01.js"/>
  83. <script type="javascript" src="../../js/bCommon.js"/>
  84. <script type="javascript" ev:event="xforms-ready">
  85. <![CDATA[
  86. initPage();
  87. ]]>
  88. </script>
  89. </model>
  90. <script type="javascript" src="../../js/b01.js"/>
  91. <script type="javascript" src="../../js/boaCommon.js"/>
  92. <script type="javascript" src="../../js/boaMsg.js"/>
  93. <script type="javascript" src="../../js/mesCommon.js"/>
  94. <script type="javascript">
  95. <![CDATA[
  96. function excelExport(){
  97. return datagrid1;
  98. }
  99. function initPage(){
  100. var nowdate = commCurDate();
  101. var nowdate_1 = AddDate(nowdate,1);
  102. input2.value = nowdate_1;
  103. commSendReq("/root/initData");
  104. commSubmit("UIGCOMMCODE-service","find","glueAction.do");
  105. model.copyNode("/root/codeData","/root/resData");
  106. commSendReq("root/reqData");
  107. commSubmit("UIG04COMBOX-service","stlSch","glueAction.do");
  108. model.copyNode("/root/combData","/root/resData");
  109. model.refresh();
  110. }
  111. function find()
  112. {
  113. commSendReq("/root/formData");
  114. if(combo266.value == "N"){
  115. if(model.getValue("/root/formData/TC_YN") == "Y"){
  116. //alert("Y");
  117. commSubmit("UIG040210-service","find2","glueAction.do");
  118. }else{
  119. //alert("N");
  120. commSubmit("UIG040210-service","find","glueAction.do");
  121. }
  122. }else{
  123. if(model.getValue("/root/formData/TC_YN") == "Y"){
  124. //alert("Y");
  125. commSubmit("UIG040210-service","findChem2","glueAction.do");
  126. }else{
  127. //alert("N");
  128. commSubmit("UIG040210-service","findChem","glueAction.do");
  129. }
  130. }
  131. commAppendData("/root/grid/SLAB_YARD_INFO_RESULT_VO","/root/resData/SLAB_YARD_INFO_RESULT_VO");
  132. var slabCnt = 0;
  133. var slabWgt = 0;
  134. datagrid1.refresh();
  135. for(var i = 1 ; i < datagrid1.rows-1 ; i++){
  136. slabCnt = slabCnt + 1;
  137. slabWgt = slabWgt + parseFloat(datagrid1.valueMatrix(i+1,datagrid1.colRef("SLAB_WGT")));
  138. }
  139. //model.setValue("/root/totalData/slabCnt",slabCnt);
  140. //model.setValue("/root/totalData/slabWgt",slabWgt/1000);
  141. //output1.refresh();
  142. //output2.refresh();
  143. datagrid1.rebuildStyle();
  144. datagrid1.refresh();
  145. if(combo25.value =='1')//
  146. var rows = datagrid1.Rows -1 ;
  147. var dfwz = null;
  148. var qx = null;
  149. for(var i = rows; i >= 1; i--)
  150. {
  151. dfwz = datagrid1.valueMatrix(i, 9);
  152. qx = datagrid1.valueMatrix(i, 11);
  153. if(/*dfwz == 'A0' || dfwz == 'C0' || */dfwz == '01' || dfwz == 'RFI' || dfwz == 'A7T' ) //dfwz == ''|| qx ==''
  154. {
  155. slabCnt = slabCnt - 1;
  156. slabWgt = slabWgt - parseFloat(datagrid1.valueMatrix(i,datagrid1.colRef("SLAB_WGT")));
  157. datagrid1.deleteRow(i,false);
  158. }
  159. }
  160. //
  161. model.setValue("/root/totalData/slabCnt",slabCnt);
  162. model.setValue("/root/totalData/slabWgt",slabWgt/1000);
  163. output1.refresh();
  164. output2.refresh();
  165. model.refresh();
  166. //是否隐藏成分信息
  167. if(combo266.value == "N"){
  168. datagrid1.colHidden(datagrid1.colRef("VALUE_C")) = true;
  169. datagrid1.colHidden(datagrid1.colRef("VALUE_MN")) = true;
  170. datagrid1.colHidden(datagrid1.colRef("VALUE_S")) = true;
  171. datagrid1.colHidden(datagrid1.colRef("VALUE_P")) = true;
  172. datagrid1.colHidden(datagrid1.colRef("VALUE_SI")) = true;
  173. datagrid1.colHidden(datagrid1.colRef("VALUE_NB")) = true;
  174. datagrid1.colHidden(datagrid1.colRef("VALUE_V")) = true;
  175. datagrid1.colHidden(datagrid1.colRef("VALUE_TI")) = true;
  176. datagrid1.colHidden(datagrid1.colRef("VALUE_ALS")) = true;
  177. datagrid1.colHidden(datagrid1.colRef("VALUE_B")) = true;
  178. datagrid1.colHidden(datagrid1.colRef("VALUE_CR")) = true;
  179. datagrid1.colHidden(datagrid1.colRef("VALUE_NI")) = true;
  180. datagrid1.colHidden(datagrid1.colRef("VALUE_CU")) = true;
  181. datagrid1.colHidden(datagrid1.colRef("VALUE_MO")) = true;
  182. datagrid1.colHidden(datagrid1.colRef("VALUE_N")) = true;
  183. datagrid1.colHidden(datagrid1.colRef("VALUE_CEV")) = true;
  184. }else{
  185. datagrid1.colHidden(datagrid1.colRef("VALUE_C")) = false;
  186. datagrid1.colHidden(datagrid1.colRef("VALUE_MN")) = false;
  187. datagrid1.colHidden(datagrid1.colRef("VALUE_S")) = false;
  188. datagrid1.colHidden(datagrid1.colRef("VALUE_P")) = false;
  189. datagrid1.colHidden(datagrid1.colRef("VALUE_SI")) = false;
  190. datagrid1.colHidden(datagrid1.colRef("VALUE_NB")) = false;
  191. datagrid1.colHidden(datagrid1.colRef("VALUE_V")) = false;
  192. datagrid1.colHidden(datagrid1.colRef("VALUE_TI")) = false;
  193. datagrid1.colHidden(datagrid1.colRef("VALUE_ALS")) = false;
  194. datagrid1.colHidden(datagrid1.colRef("VALUE_B")) = false;
  195. datagrid1.colHidden(datagrid1.colRef("VALUE_CR")) = false;
  196. datagrid1.colHidden(datagrid1.colRef("VALUE_NI")) = false;
  197. datagrid1.colHidden(datagrid1.colRef("VALUE_CU")) = false;
  198. datagrid1.colHidden(datagrid1.colRef("VALUE_MO")) = false;
  199. datagrid1.colHidden(datagrid1.colRef("VALUE_N")) = false;
  200. datagrid1.colHidden(datagrid1.colRef("VALUE_CEV")) = false;
  201. }
  202. }
  203. function save(){
  204. model.removenode("/root/reqData");
  205. model.makeNode("/root/reqData");
  206. for(var i=1; i <= datagrid1.rows; i++){
  207. if(datagrid1.valueMatrix(i , datagrid1.colRef("CHK"))=="Y"){
  208. commMultiUpdate(datagrid1 , "/root/reqData" , "A" , true , "rowStatus");
  209. model.makeValue("/root/reqData/FB_YN" , datagrid1.valueMatrix(datagrid1.row, datagrid1.colRef("FB_YN")));
  210. model.makeValue("/root/reqData/FB_REASON" , datagrid1.valueMatrix(datagrid1.row, datagrid1.colRef("FB_REASON")));
  211. model.makeValue("/root/reqData/SLAB_NO" , datagrid1.valueMatrix(datagrid1.row, datagrid1.colRef("SLAB_NO")));
  212. commSubmit("UIG040210-service" , "save" , "glueAction.do");
  213. }
  214. }
  215. find();
  216. datagrid1.clearStatus();//将更新的状态清除
  217. model.refresh();
  218. }
  219. function fowardUID010031(gridID,colName) {
  220. if(gridID.col == gridID.colRef(colName)) {
  221. model.makeValue("/root/fwdData/UID010031/ORD_NO", gridID.valueMatrix(gridID.row, gridID.colRef("ORD_NO")));
  222. model.makeValue("/root/fwdData/UID010031/ORD_SEQ", gridID.valueMatrix(gridID.row, gridID.colRef("ORD_SEQ")));
  223. model.makeValue("/root/fwdData/UID010031/URL", "../../B/B01/UIB015020.xrw");
  224. var java = window.parent.javaScript;
  225. java.open(model.instances(0).selectSingleNode("/root/fwdData/UID010031"));
  226. }
  227. }
  228. function fowardUID010031(gridID) {
  229. if(gridID.col == gridID.colRef("INGR_YN")) {
  230. model.makeValue("/root/fwdData/UID010031/ORD_NO", gridID.valueMatrix(gridID.row, gridID.colRef("ORD_NO")));
  231. model.makeValue("/root/fwdData/UID010031/ORD_SEQ", gridID.valueMatrix(gridID.row, gridID.colRef("ORD_SEQ")));
  232. model.makeValue("/root/fwdData/UID010031/URL", "../../B/B01/UIB015020.xrw");
  233. var java = window.parent.javaScript;
  234. java.open(model.instances(0).selectSingleNode("/root/fwdData/UID010031"));
  235. }
  236. }
  237. function commElearDate(ldate){
  238. ldate =(typeof ldate == 'string')? Number(ldate) : ldate;
  239. if(ldate == 0)ldate = 10000; //全部
  240. var curDate = "";
  241. var d = new Date;
  242. d.setDate(d.getDate( ) + ldate);
  243. var monString = (d.getMonth() + 1)+"";
  244. var dateString = d.getDate()+"";
  245. if(monString.length == 1){
  246. monString = "0" + monString;
  247. }
  248. if(dateString.length == 1){
  249. dateString = "0"+ dateString;
  250. }
  251. curDate += d.getYear();
  252. curDate += monString;
  253. curDate += dateString;
  254. return curDate;
  255. }
  256. ]]>
  257. </script>
  258. </xhtml:head>
  259. <xhtml:body guideline="1,981;2,620;2,619;2,619;">
  260. <caption id="caption2" class="cell" style="left:0px; top:0px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">板 坯 号</caption>
  261. <input id="input1" ref="/root/formData/SLAB_NO" style="left:60px; top:0px; width:85px; height:20px; "/>
  262. <datagrid id="datagrid1" nodeset="/root/grid/SLAB_YARD_INFO_RESULT_VO/SLAB_YARD_INFO_RESULT_Row" visibility="visible" caption="选择^板坯号^计划钢种^钢种^厚^宽^长^重量^称重重量(吨)^是否封闭^封闭原因^堆垛位置^入库时间^在库时间^去向^是否允许出库^物料进程^订单区分^产品类型^余材原因^外观缺陷^综合判定^判定依据^成分等级^转炉号^连铸机号^产地^合同号^订单序号^计划号^坑冷^合同类型^运输方式^订单钢种^预排期^交货期^销售区域^订单厚度^订单宽度^订单单重范围^成份判定^开浇时间^浇铸结束时间^判定时间^判定滞后时间(小时)^切割时间^切割滞后时间(小时)^切割班次^切割组^切割人^特殊要求^备注二^备注^C^Mn^S^P^Si^Nb^V^Ti^Als^B^Cr^Ni^Cu^Mo^N^CEV|选择^板坯号^计划钢种^钢种^厚^宽^长^重量^称重重量(吨)^是否封闭^封闭原因^堆垛位置^入库时间^在库时间^去向^是否允许出库^物料进程^订单区分^产品类型^余材原因^外观缺陷^综合判定^判定依据^成分等级^转炉号^连铸机号^产地^合同号^订单序号^计划号^坑冷^合同类型^运输方式^订单钢种^预排期^交货期^销售区域^订单厚度^订单宽度^订单单重范围^成份判定^开浇时间^浇铸结束时间^判定时间^判定滞后时间(小时)^切割时间^切割滞后时间(小时)^切割班次^切割组^切割人^特殊要求^备注二^备注^C^Mn^S^P^Si^Nb^V^Ti^Als^B^Cr^Ni^Cu^Mo^N^CEV" colsep="^" colwidth="61, 128, 100, 100, 30, 40, 40, 50, 100, 100, 100, 60, 100, 100, 35, 69, 100, 35, 54, 62, 100, 100, 60, 71, 100, 100, 47, 70, 30, 100, 30, 70, 60, 60, 69, 70, 100, 30, 40, 70, 44, 100, 100, 100, 67, 100, 69, 37, 37, 65, 100, 150, 200, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60" explorerbar="sortshow" frozencols="1" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="label" style="left:0px; top:125px; width:980px; height:490px; ">
  263. <col checkvalue="Y,N" ref="CHK" type="checkbox"/>
  264. <col editable="false" ref="SLAB_NO" type="input"/>
  265. <col ref="PLAN_STL_GRD" type="input"/>
  266. <col editable="false" ref="STL_GRD" type="input"/>
  267. <col editable="false" ref="SLAB_THK" type="input"/>
  268. <col editable="false" ref="SLAB_WTH" type="input"/>
  269. <col editable="false" ref="SLAB_LEN" type="input"/>
  270. <col editable="false" ref="SLAB_WGT" type="input"/>
  271. <col editable="false" ref="WEIGHT_WGT" type="input"/>
  272. <col ref="FB_YN" type="combo" visibility="visible" style="text-align:right; ">
  273. <choices>
  274. <item>
  275. <label/>
  276. <value/>
  277. </item>
  278. <item>
  279. <label>Y</label>
  280. <value>Y</value>
  281. </item>
  282. <item>
  283. <label>N</label>
  284. <value>N</value>
  285. </item>
  286. </choices>
  287. </col>
  288. <col ref="FB_REASON" type="input" style="background-color:#ffff99; "/>
  289. <col editable="false" ref="CUR_LOAD_LOC" type="input"/>
  290. <col editable="false" ref="SLAB_STOCK_ENT_DTIME" type="input" format="yyyy-mm-dd hh:nn"/>
  291. <col ref="ZKSJ" visibility="hidden" style="left:740px; top:41px; width:100px; height:21px; "/>
  292. <col disabled="true" ref="SLAB_RT"/>
  293. <col editable="false" ref="SLAB_OUT_TP" type="input"/>
  294. <col ref="CUR_PROG_CD"/>
  295. <col disabled="true" ref="ORD_FL"/>
  296. <col ref="PRD_TY" type="input">
  297. <choices>
  298. <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'A01004']">
  299. <label ref="SM_CFNM"/>
  300. <value ref="SM_CD"/>
  301. </itemset>
  302. </choices>
  303. </col>
  304. <col disabled="true" ref="NONORD_CAUSE_CD"/>
  305. <col ref="CRK_CD1" type="input"/>
  306. <col ref="SLAB_TOT_DEC_GRD" style="left:926px; top:41px; width:100px; height:21px; "/>
  307. <col ref="SLAB_INGR_DEC_KIND"/>
  308. <col disabled="true" ref="SLAB_INGR_DEC_GRD"/>
  309. <col ref="BOF_NO"/>
  310. <col ref="CCM_NO"/>
  311. <col ref="CHANDI"/>
  312. <col editable="false" ref="ORD_NO" type="input"/>
  313. <col editable="false" ref="ORD_SEQ" type="input"/>
  314. <col ref="L2_SCH_NO" type="input"/>
  315. <col disabled="true" ref="KEEPWARM_YN"/>
  316. <col ref="RCVORD_TP"/>
  317. <col ref="DLIV_TP"/>
  318. <col ref="SPEC_STL_GRD"/>
  319. <col ref="PLAN_PRODUCT_DATE" format="yyyy-mm-dd"/>
  320. <col ref="CMT_DLIV_DEVLMT_DATE" format="yyyy-mm-dd"/>
  321. <col ref="XSQY"/>
  322. <col ref="ORD_THK"/>
  323. <col ref="ORD_WTH"/>
  324. <col ref="ORD_WGT"/>
  325. <col disabled="true" ref="SLAB_INGR_DEC_GRD1"/>
  326. <col ref="CASTING_STA_DTIME" format="yyyy-mm-dd hh:nn:ss"/>
  327. <col ref="CASTING_END_DTIME" format="yyyy-mm-dd hh:nn:ss"/>
  328. <col editable="false" ref="INGR_DEC_DTIME" type="input" format="yyyy-mm-dd hh:nn"/>
  329. <col ref="IGR_LAG_DTIME"/>
  330. <col editable="false" ref="SLAB_CUT_DTIME" type="input" format="yyyy-mm-dd hh:nn"/>
  331. <col ref="CUT_LAG_DTIME"/>
  332. <col disabled="true" ref="CUT_WKSHIFT"/>
  333. <col disabled="true" ref="CUT_WKGROUP"/>
  334. <col ref="CUT_EMP_ID"/>
  335. <col ref="INGR_YN" type="input" style="text-decoration:underline; color:#0000ff; cursor:hand; ">
  336. <script type="javascript" ev:event="onclick">
  337. <![CDATA[
  338. fowardUID010031(datagrid1);
  339. ]]>
  340. </script>
  341. </col>
  342. <col ref="REMARKS2"/>
  343. <col ref="REMARKS" type="input"/>
  344. <col ref="VALUE_C" visibility="hidden"/>
  345. <col ref="VALUE_MN" visibility="hidden"/>
  346. <col ref="VALUE_S" visibility="hidden"/>
  347. <col ref="VALUE_P" visibility="hidden"/>
  348. <col ref="VALUE_SI" visibility="hidden"/>
  349. <col ref="VALUE_NB" visibility="hidden"/>
  350. <col ref="VALUE_V" visibility="hidden"/>
  351. <col ref="VALUE_TI" visibility="hidden"/>
  352. <col ref="VALUE_ALS" visibility="hidden"/>
  353. <col ref="VALUE_N" visibility="hidden"/>
  354. <col ref="VALUE_B" visibility="hidden"/>
  355. <col ref="VALUE_CR" visibility="hidden"/>
  356. <col ref="VALUE_NI" visibility="hidden"/>
  357. <col ref="VALUE_CU" visibility="hidden"/>
  358. <col ref="VALUE_MO" visibility="hidden"/>
  359. <col ref="VALUE_CEV" visibility="hidden"/>
  360. </datagrid>
  361. <caption id="caption1" class="cell" style="left:864px; top:0px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">板坯去向</caption>
  362. <select1 id="combo1" ref="/root/formData/STL_GRD" appearance="minimal" editmode="inputsearch" style="left:210px; top:0px; width:80px; height:20px; text-align:left; ">
  363. <choices>
  364. <itemset nodeset="/root/combData/STL_GRD_SELECT_VO/STL_GRD_SELECT_Row">
  365. <label ref="FAC_STL_GRD"/>
  366. <value ref="FAC_CODE"/>
  367. </itemset>
  368. </choices>
  369. </select1>
  370. <caption id="caption3" class="cell" style="left:150px; top:0px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">钢 号</caption>
  371. <select1 id="combo2" ref="/root/formData/SLAB_MIN_LEN" appearance="minimal" editmode="input" style="left:357px; top:0px; width:60px; height:20px; text-align:left; ">
  372. <choices>
  373. <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'D01003']">
  374. <label ref="SM_CD"/>
  375. <value ref="SM_CD"/>
  376. </itemset>
  377. </choices>
  378. </select1>
  379. <caption id="caption4" class="cell" style="left:494px; top:0px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">板坯产地</caption>
  380. <select1 id="combo3" ref="/root/formData/SLAB_MAX_LEN" appearance="minimal" editmode="input" style="left:424px; top:0px; width:65px; height:20px; text-align:left; ">
  381. <choices>
  382. <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'D01003']">
  383. <label ref="SM_CD"/>
  384. <value ref="SM_CD"/>
  385. </itemset>
  386. </choices>
  387. </select1>
  388. <caption id="caption5" class="cell" style="left:297px; top:0px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">长度范围</caption>
  389. <line id="line1" style="x1:792px; y1:0px; x2:797px; y2:0px; "/>
  390. <select1 id="combo4" ref="/root/formData/CUR_LOAD_LOC" appearance="minimal" style="left:210px; top:25px; width:80px; height:20px; ">
  391. <choices>
  392. <item>
  393. <label>全部</label>
  394. <value/>
  395. </item>
  396. <item>
  397. <label>炼钢</label>
  398. <value>J</value>
  399. </item>
  400. <item>
  401. <label>热轧</label>
  402. <value>R</value>
  403. </item>
  404. <item>
  405. <label>辊道</label>
  406. <value>G</value>
  407. </item>
  408. </choices>
  409. <script type="javascript" ev:event="xforms-value-changed">
  410. <![CDATA[
  411. if(combo4.value == "G"){
  412. model.setValue("/root/formData/TC_YN","Y");
  413. }else{
  414. model.setValue("/root/formData/TC_YN","N");
  415. }
  416. ]]>
  417. </script>
  418. </select1>
  419. <caption id="caption6" class="cell" style="left:150px; top:25px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">工厂区分</caption>
  420. <caption id="caption7" class="cell" style="left:0px; top:25px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">合 同 号</caption>
  421. <input id="input3" ref="/root/formData/ORD_NO" style="left:60px; top:25px; width:85px; height:20px; "/>
  422. <select1 id="combo5" ref="/root/formData/ORD_FL" appearance="minimal" editmode="inputsearch" style="left:554px; top:25px; width:63px; height:20px; text-align:left; ">
  423. <choices>
  424. <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'E01007' or LG_CD ='A']">
  425. <label ref="SM_CFNM"/>
  426. <value ref="SM_CD"/>
  427. </itemset>
  428. </choices>
  429. <script type="javascript" ev:event="xforms-value-changed">
  430. <![CDATA[
  431. if(model.getValue("/root/formData/ORD_FL") == "2") {
  432. combo7.disabled = false;
  433. combo7.refresh();
  434. }else {
  435. model.setValue("/root/formData/NO_ORD_CAUS_CD","");
  436. combo7.disabled = true;
  437. combo7.refresh();
  438. }
  439. ]]>
  440. </script>
  441. </select1>
  442. <caption id="caption8" class="cell" style="left:494px; top:25px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">订单区分</caption>
  443. <caption id="caption9" class="cell" style="left:670px; top:75px; width:60px; height:20px; font-weight:bold; background-color:#ffcc00; border-color:#000000; ">块数合计</caption>
  444. <caption id="caption10" class="cell" style="left:805px; top:75px; width:60px; height:20px; font-weight:bold; background-color:#ffcc00; border-color:#000000; ">重量合计</caption>
  445. <output id="output1" ref="/root/totalData/slabCnt" style="left:740px; top:75px; width:40px; height:20px; text-align:center; "/>
  446. <output id="output2" ref="/root/totalData/slabWgt" style="left:870px; top:75px; width:65px; height:20px; text-align:center; "/>
  447. <caption id="caption11" style="left:780px; top:75px; width:20px; height:20px; font-weight:bold; ">块</caption>
  448. <caption id="caption12" style="left:945px; top:75px; width:20px; height:20px; font-weight:bold; ">吨</caption>
  449. <line id="line2" style="x1:730px; y1:95px; x2:780px; y2:95px; "/>
  450. <line id="line3" style="x1:865px; y1:95px; x2:945px; y2:95px; "/>
  451. <line id="line4" style="x1:418px; y1:10px; x2:423px; y2:10px; "/>
  452. <caption id="caption13" class="cell" style="left:619px; top:0px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">入库类型</caption>
  453. <script type="javascript" ev:event="onkeypress">
  454. <![CDATA[
  455. if(event.keyCode == 13){
  456. find();
  457. }
  458. ]]>
  459. </script>
  460. <select1 id="combo6" ref="/root/formData/SLAB_RT" appearance="minimal" style="left:924px; top:0px; width:55px; height:20px; ">
  461. <choices>
  462. <item>
  463. <label>卷板</label>
  464. <value>H</value>
  465. </item>
  466. <item>
  467. <label>中板</label>
  468. <value>Z</value>
  469. </item>
  470. <item>
  471. <label>厚板</label>
  472. <value>P</value>
  473. </item>
  474. <item>
  475. <label>-----</label>
  476. <value/>
  477. </item>
  478. </choices>
  479. </select1>
  480. <select1 id="combo7" ref="/root/formData/NO_ORD_CAUS_CD" disabled="true" appearance="minimal" editmode="inputsearch" style="left:618px; top:25px; width:63px; height:20px; text-align:left; ">
  481. <choices>
  482. <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'E01010']">
  483. <label ref="SM_CFNM"/>
  484. <value ref="SM_CD"/>
  485. </itemset>
  486. </choices>
  487. </select1>
  488. <select1 id="combo8" ref="/root/formData/SLAB_STOCK_TYPE" appearance="minimal" style="left:679px; top:0px; width:60px; height:20px; ">
  489. <choices>
  490. <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'G04001' or LG_CD ='A']">
  491. <label ref="SM_CFNM"/>
  492. <value ref="SM_CD"/>
  493. </itemset>
  494. </choices>
  495. </select1>
  496. <caption id="caption14" class="cell" style="left:744px; top:0px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">成分等级</caption>
  497. <line id="line5" style="x1:973px; y1:0px; x2:978px; y2:0px; "/>
  498. <select1 id="combo9" ref="/root/formData/SLAB_INGR_DEC_GRD" appearance="minimal" style="left:804px; top:0px; width:55px; height:20px; ">
  499. <choices>
  500. <item>
  501. <label>不合格</label>
  502. <value>2</value>
  503. </item>
  504. <item>
  505. <label>----</label>
  506. <value/>
  507. </item>
  508. <item>
  509. <label>合格</label>
  510. <value>1</value>
  511. </item>
  512. <item>
  513. <label>化废</label>
  514. <value>3</value>
  515. </item>
  516. </choices>
  517. </select1>
  518. <select1 id="combo10" ref="/root/formData/CHANDI" appearance="minimal" style="left:554px; top:0px; width:60px; height:20px; ">
  519. <choices>
  520. <item>
  521. <label>一钢</label>
  522. <value>一钢</value>
  523. </item>
  524. <item>
  525. <label>二钢</label>
  526. <value>二钢</value>
  527. </item>
  528. <item>
  529. <label>三钢</label>
  530. <value>三钢</value>
  531. </item>
  532. <item>
  533. <label>---</label>
  534. <value/>
  535. </item>
  536. </choices>
  537. </select1>
  538. <select1 id="combo11" ref="/root/formData/SLAB_MIN_WTH" appearance="minimal" editmode="input" style="left:357px; top:25px; width:60px; height:20px; text-align:left; ">
  539. <choices>
  540. <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'D01001']">
  541. <label ref="SM_CD"/>
  542. <value ref="SM_CD"/>
  543. </itemset>
  544. </choices>
  545. </select1>
  546. <select1 id="combo12" ref="/root/formData/SLAB_MAX_WTH" appearance="minimal" editmode="input" style="left:424px; top:25px; width:65px; height:20px; text-align:left; ">
  547. <choices>
  548. <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'D01001']">
  549. <label ref="SM_CD"/>
  550. <value ref="SM_CD"/>
  551. </itemset>
  552. </choices>
  553. </select1>
  554. <caption id="caption15" class="cell" style="left:297px; top:25px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">宽度范围</caption>
  555. <line id="line6" style="x1:418px; y1:35px; x2:423px; y2:35px; "/>
  556. <select1 id="combo13" ref="/root/formData/CMT_DLIV_DEVLMT_DATE_temp" appearance="minimal" style="left:60px; top:50px; width:85px; height:20px; ">
  557. <choices>
  558. <item>
  559. <label>
  560. <![CDATA[<= 4 天]]>
  561. </label>
  562. <value>4</value>
  563. </item>
  564. <item>
  565. <label>
  566. <![CDATA[<=10 天]]>
  567. </label>
  568. <value>10</value>
  569. </item>
  570. <item>
  571. <label>
  572. <![CDATA[<=20 天]]>
  573. </label>
  574. <value>20</value>
  575. </item>
  576. <item>
  577. <label>
  578. <![CDATA[<=30 天]]>
  579. </label>
  580. <value>30</value>
  581. </item>
  582. <item>
  583. <label>--全部--</label>
  584. <value/>
  585. </item>
  586. </choices>
  587. <script type="javascript" ev:event="xforms-value-changed">
  588. <![CDATA[
  589. model.setValue("/root/formData/CMT_DLIV_DEVLMT_DATE",commElearDate(model.getValue("/root/formData/CMT_DLIV_DEVLMT_DATE_temp")));
  590. ]]>
  591. </script>
  592. </select1>
  593. <caption id="caption16" class="cell" style="left:0px; top:50px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">距交货期</caption>
  594. <select1 id="combo14" ref="/root/formData/KEEPWARM_YN" appearance="minimal" style="left:210px; top:50px; width:80px; height:20px; ">
  595. <choices>
  596. <item>
  597. <label>--全部--</label>
  598. <value/>
  599. </item>
  600. <item>
  601. <label>是</label>
  602. <value>Y</value>
  603. </item>
  604. <item>
  605. <label>否</label>
  606. <value/>
  607. </item>
  608. </choices>
  609. </select1>
  610. <caption id="caption17" class="cell" style="left:150px; top:50px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">是否坑冷</caption>
  611. <caption id="caption18" class="cell" style="left:297px; top:50px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">运输方式</caption>
  612. <select1 id="combo15" ref="/root/formData/DLIV_TP" appearance="minimal" style="left:357px; top:50px; width:80px; height:20px; ">
  613. <choices>
  614. <item>
  615. <label>--全部--</label>
  616. <value/>
  617. </item>
  618. <item>
  619. <label>火运</label>
  620. <value>T</value>
  621. </item>
  622. <item>
  623. <label>汽运</label>
  624. <value>C</value>
  625. </item>
  626. </choices>
  627. </select1>
  628. <caption id="caption19" class="cell" style="left:297px; top:50px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">运输方式</caption>
  629. <select1 id="combo16" ref="/root/formData/DLIV_TP" appearance="minimal" style="left:357px; top:50px; width:80px; height:20px; ">
  630. <choices>
  631. <item>
  632. <label>--全部--</label>
  633. <value/>
  634. </item>
  635. <item>
  636. <label>火运</label>
  637. <value>T</value>
  638. </item>
  639. <item>
  640. <label>汽运</label>
  641. <value>C</value>
  642. </item>
  643. </choices>
  644. </select1>
  645. <select1 id="combo17" ref="/root/formData/LZJL" appearance="minimal" style="left:502px; top:50px; width:80px; height:20px; ">
  646. <choices>
  647. <item>
  648. <label>--全部--</label>
  649. <value>N</value>
  650. </item>
  651. <item>
  652. <label>现货板坯</label>
  653. <value>Y</value>
  654. </item>
  655. </choices>
  656. <script type="javascript" ev:event="xforms-value-changed">
  657. <![CDATA[
  658. if(model.getValue("/root/formData/LZJL") == "Y"){
  659. model.setValue("/root/formData/SPEC_STL_GRD1","JBQ235");
  660. model.setValue("/root/formData/SPEC_STL_GRD2","JBQ345");
  661. model.setValue("/root/formData/SPEC_STL_GRD3","JBQ195");
  662. model.setValue("/root/formData/SPEC_STL_GRD4","JBSPHC");
  663. model.setValue("/root/formData/SPEC_STL_GRD5","JBSAE1008");
  664. model.setValue("/root/formData/SPEC_STL_GRD6","JBSAE1006");
  665. model.setValue("/root/formData/ORD_FL","2");
  666. combo5.refresh();
  667. }else if(model.getValue("/root/formData/LZJL") == "N"){
  668. model.setValue("/root/formData/SPEC_STL_GRD1","%");
  669. model.setValue("/root/formData/SPEC_STL_GRD2","%");
  670. model.setValue("/root/formData/SPEC_STL_GRD3","%");
  671. model.setValue("/root/formData/SPEC_STL_GRD4","%");
  672. model.setValue("/root/formData/SPEC_STL_GRD5","%");
  673. model.setValue("/root/formData/SPEC_STL_GRD6","%");
  674. }
  675. ]]>
  676. </script>
  677. </select1>
  678. <caption id="caption20" class="cell" style="left:442px; top:50px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">现货板坯</caption>
  679. <caption id="caption21" class="cell" style="left:685px; top:25px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">切割时间</caption>
  680. <input id="input5" ref="/root/formData/CUT_FROM_DATE" class="input" inputtype="date" format="yyyy-mm-dd" style="left:745px; top:25px; width:115px; height:20px; "/>
  681. <input id="input2" ref="/root/formData/CUT_TO_DATE" class="input" inputtype="date" format="yyyy-mm-dd" style="left:865px; top:25px; width:115px; height:20px; "/>
  682. <caption id="caption22" class="cell" style="left:0px; top:75px; width:63px; height:20px; font-weight:bold; border-color:#000000; ">转炉号</caption>
  683. <caption id="caption23" class="cell" style="left:150px; top:75px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">连铸机号</caption>
  684. <select1 id="combo18" ref="/root/formData/BOF_NO" appearance="minimal" style="left:60px; top:75px; width:85px; height:20px; ">
  685. <choices>
  686. <item>
  687. <label>1号转炉</label>
  688. <value>1</value>
  689. </item>
  690. <item>
  691. <label>2号转炉</label>
  692. <value>2</value>
  693. </item>
  694. <item>
  695. <label>全部</label>
  696. <value>%</value>
  697. </item>
  698. </choices>
  699. <script type="javascript" ev:event="xforms-value-changed">
  700. <![CDATA[
  701. model.setValue("/root/formData/CMT_DLIV_DEVLMT_DATE",commElearDate(model.getValue("/root/formData/CMT_DLIV_DEVLMT_DATE_temp")));
  702. ]]>
  703. </script>
  704. </select1>
  705. <select1 id="combo19" ref="/root/formData/CCM_NO" appearance="minimal" style="left:210px; top:75px; width:80px; height:20px; ">
  706. <choices>
  707. <item>
  708. <label>--全部--</label>
  709. <value>%</value>
  710. </item>
  711. <item>
  712. <label>1号连铸机</label>
  713. <value>1</value>
  714. </item>
  715. <item>
  716. <label>2号连铸机</label>
  717. <value>2</value>
  718. </item>
  719. <item>
  720. <label>3号连铸机</label>
  721. <value>3</value>
  722. </item>
  723. </choices>
  724. </select1>
  725. <caption id="caption24" class="cell" style="left:735px; top:50px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">销售区域</caption>
  726. <input id="input4" ref="/root/formData/XSQY" style="left:795px; top:50px; width:143px; height:20px; "/>
  727. <select1 id="combo20" ref="/root/formData/SLAB_TOT_DEC_GRD" appearance="minimal" style="left:650px; top:50px; width:80px; height:20px; ">
  728. <choices>
  729. <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'B01136' or LG_CD ='A']">
  730. <label ref="SM_CFNM"/>
  731. <value ref="SM_CD"/>
  732. </itemset>
  733. </choices>
  734. </select1>
  735. <caption id="caption25" class="cell" style="left:590px; top:50px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">综合判定</caption>
  736. <caption id="caption26" class="cell" visibility="hidden" style="left:495px; top:195px; width:82px; height:20px; font-weight:bold; border-color:#000000; ">判定滞后时间</caption>
  737. <input id="input6" ref="/root/formData/IGR_LAG_FROM_DTIME" visibility="hidden" style="left:575px; top:195px; width:63px; height:20px; "/>
  738. <caption id="caption27" class="cell" visibility="hidden" style="left:495px; top:220px; width:86px; height:20px; font-weight:bold; border-color:#000000; ">切割滞后时间</caption>
  739. <input id="input7" ref="/root/formData/CUT_LAG_FROM_DTIME" visibility="hidden" style="left:580px; top:220px; width:63px; height:20px; "/>
  740. <input id="input8" ref="/root/formData/IGR_LAG_TO_DTIME" visibility="hidden" style="left:640px; top:195px; width:63px; height:20px; "/>
  741. <input id="input9" ref="/root/formData/CUT_LAG_TO_DTIME" visibility="hidden" style="left:645px; top:220px; width:58px; height:20px; "/>
  742. <select1 id="combo21" ref="/root/formData/MAT_PROC" appearance="minimal" style="left:60px; top:100px; width:85px; height:20px; ">
  743. <choices>
  744. <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'E01002' or LG_CD ='A']">
  745. <label ref="SM_CFNM"/>
  746. <value ref="SM_CD"/>
  747. </itemset>
  748. </choices>
  749. <script type="javascript" ev:event="xforms-value-changed">
  750. <![CDATA[
  751. model.setValue("/root/formData/CMT_DLIV_DEVLMT_DATE",commElearDate(model.getValue("/root/formData/CMT_DLIV_DEVLMT_DATE_temp")));
  752. ]]>
  753. </script>
  754. </select1>
  755. <caption id="caption28" class="cell" style="left:0px; top:100px; width:58px; height:20px; font-weight:bold; border-color:#000000; ">物料进程</caption>
  756. <select1 id="combo22" ref="/root/formData/PRD_TY" visibility="hidden" appearance="minimal" style="left:710px; top:210px; width:85px; height:20px; ">
  757. <choices>
  758. <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'A01004' or LG_CD ='A']">
  759. <label ref="SM_CFNM"/>
  760. <value ref="SM_CD"/>
  761. </itemset>
  762. </choices>
  763. <script type="javascript" ev:event="xforms-value-changed">
  764. <![CDATA[
  765. model.setValue("/root/formData/CMT_DLIV_DEVLMT_DATE",commElearDate(model.getValue("/root/formData/CMT_DLIV_DEVLMT_DATE_temp")));
  766. ]]>
  767. </script>
  768. </select1>
  769. <caption id="caption29" class="cell" style="left:150px; top:100px; width:58px; height:20px; font-weight:bold; border-color:#000000; ">产品类型</caption>
  770. <select1 id="combo23" ref="/root/formData/SLAB_MIN_THK" appearance="minimal" editmode="input" style="left:360px; top:75px; width:60px; height:20px; text-align:left; ">
  771. <choices>
  772. <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'D01002']">
  773. <label ref="SM_CD"/>
  774. <value ref="SM_CD"/>
  775. </itemset>
  776. </choices>
  777. </select1>
  778. <select1 id="combo24" ref="/root/formData/SLAB_MAX_THK" appearance="minimal" editmode="input" style="left:427px; top:75px; width:65px; height:20px; text-align:left; ">
  779. <choices>
  780. <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'D01002']">
  781. <label ref="SM_CD"/>
  782. <value ref="SM_CD"/>
  783. </itemset>
  784. </choices>
  785. </select1>
  786. <caption id="caption30" class="cell" style="left:300px; top:75px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">厚度范围</caption>
  787. <caption id="caption31" class="cell" style="left:497px; top:75px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">计划号</caption>
  788. <input id="input10" ref="/root/formData/L2_SCH_NO" style="left:557px; top:75px; width:85px; height:20px; "/>
  789. <input id="input11" ref="/root/formData/PRD_TY" style="left:208px; top:100px; width:82px; height:20px; ">
  790. <script type="javascript" ev:event="onclick">
  791. <![CDATA[
  792. checkbox1.visible = (checkbox1.visible == false);
  793. ]]>
  794. </script>
  795. </input>
  796. <select id="checkbox1" ref="/root/formData/PRD_TY" visibility="hidden" overflow="visible" appearance="full" sep="," style="left:210px; top:120px; width:100px; height:20px; background-color:#ffff99; border-color:#000080; border-width:1px; border-style:none; ">
  797. <choices>
  798. <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'A01004' or LG_CD ='A']">
  799. <label ref="SM_CFNM"/>
  800. <value ref="SM_CD"/>
  801. </itemset>
  802. </choices>
  803. </select>
  804. <button id="button1" style="left:860px; top:100px; width:100px; height:20px; ">
  805. <caption>查询</caption>
  806. <script type="javascript" ev:event="onclick">
  807. <![CDATA[
  808. find();
  809. ]]>
  810. </script>
  811. </button>
  812. <caption id="caption32" class="cell" style="left:300px; top:100px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">外观缺陷</caption>
  813. <input id="input12" ref="/root/formData/CRK" style="left:360px; top:100px; width:100px; height:20px; ">
  814. <script type="javascript" ev:event="onclick">
  815. <![CDATA[
  816. checkbox2.visible = (checkbox2.visible == false);
  817. ]]>
  818. </script>
  819. </input>
  820. <select id="checkbox2" ref="/root/formData/CRK" visibility="hidden" overflow="scroll" appearance="full" sep="," style="left:360px; top:120px; width:100px; height:390px; background-color:#ffff99; border-color:#000080; border-width:1px; border-style:none; ">
  821. <choices>
  822. <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD='G03004']">
  823. <label ref="SM_CFNM"/>
  824. <value ref="SM_CD"/>
  825. </itemset>
  826. </choices>
  827. </select>
  828. <select1 id="combo25" ref="/root/formData/SFZK" appearance="minimal" style="left:490px; top:100px; width:100px; height:20px; ">
  829. <choices>
  830. <item>
  831. <label>在库板坯</label>
  832. <value>1</value>
  833. </item>
  834. <item>
  835. <label>所有板坯</label>
  836. <value>2</value>
  837. </item>
  838. </choices>
  839. </select1>
  840. <select1 id="combo266" ref="/root/formData/SFCHEM" visibility="hidden" appearance="minimal" style="left:600px; top:100px; width:80px; height:20px; ">
  841. <choices>
  842. <item>
  843. <label>不查成分</label>
  844. <value>N</value>
  845. </item>
  846. <item>
  847. <label>查询成分</label>
  848. <value>Y</value>
  849. </item>
  850. </choices>
  851. <script type="javascript" ev:event="xforms-value-changed">
  852. <![CDATA[
  853. if(combo266.value == "N"){
  854. datagrid1.colHidden(datagrid1.colRef("VALUE_C")) = true;
  855. datagrid1.colHidden(datagrid1.colRef("VALUE_MN")) = true;
  856. datagrid1.colHidden(datagrid1.colRef("VALUE_S")) = true;
  857. datagrid1.colHidden(datagrid1.colRef("VALUE_P")) = true;
  858. datagrid1.colHidden(datagrid1.colRef("VALUE_SI")) = true;
  859. datagrid1.colHidden(datagrid1.colRef("VALUE_NB")) = true;
  860. datagrid1.colHidden(datagrid1.colRef("VALUE_V")) = true;
  861. datagrid1.colHidden(datagrid1.colRef("VALUE_TI")) = true;
  862. datagrid1.colHidden(datagrid1.colRef("VALUE_ALS")) = true;
  863. datagrid1.colHidden(datagrid1.colRef("VALUE_B")) = true;
  864. datagrid1.colHidden(datagrid1.colRef("VALUE_CR")) = true;
  865. datagrid1.colHidden(datagrid1.colRef("VALUE_NI")) = true;
  866. datagrid1.colHidden(datagrid1.colRef("VALUE_CU")) = true;
  867. datagrid1.colHidden(datagrid1.colRef("VALUE_MO")) = true;
  868. datagrid1.colHidden(datagrid1.colRef("VALUE_N")) = true;
  869. datagrid1.colHidden(datagrid1.colRef("VALUE_CEV")) = true;
  870. }else{
  871. datagrid1.colHidden(datagrid1.colRef("VALUE_C")) = false;
  872. datagrid1.colHidden(datagrid1.colRef("VALUE_MN")) = false;
  873. datagrid1.colHidden(datagrid1.colRef("VALUE_S")) = false;
  874. datagrid1.colHidden(datagrid1.colRef("VALUE_P")) = false;
  875. datagrid1.colHidden(datagrid1.colRef("VALUE_SI")) = false;
  876. datagrid1.colHidden(datagrid1.colRef("VALUE_NB")) = false;
  877. datagrid1.colHidden(datagrid1.colRef("VALUE_V")) = false;
  878. datagrid1.colHidden(datagrid1.colRef("VALUE_TI")) = false;
  879. datagrid1.colHidden(datagrid1.colRef("VALUE_ALS")) = false;
  880. datagrid1.colHidden(datagrid1.colRef("VALUE_B")) = false;
  881. datagrid1.colHidden(datagrid1.colRef("VALUE_CR")) = false;
  882. datagrid1.colHidden(datagrid1.colRef("VALUE_NI")) = false;
  883. datagrid1.colHidden(datagrid1.colRef("VALUE_CU")) = false;
  884. datagrid1.colHidden(datagrid1.colRef("VALUE_MO")) = false;
  885. datagrid1.colHidden(datagrid1.colRef("VALUE_N")) = false;
  886. datagrid1.colHidden(datagrid1.colRef("VALUE_CEV")) = false;
  887. }
  888. ]]>
  889. </script>
  890. </select1>
  891. <button id="button7" visibility="visible" style="left:715px; top:100px; width:90px; height:20px; font-family:黑体; color:#3366ff; background-color:#ffffff; ">
  892. <caption>导出EXCEL</caption>
  893. <script type="javascript" ev:event="DOMActivate">
  894. <![CDATA[
  895. //saveExcelScript(datagrid1, "Sheet1");
  896. if(datagrid1.rows<=2){
  897. window.alert("无数据源,请先查询.", "提示");
  898. return;
  899. }
  900. var jsonMerges="[{'name':'y','x':0,'y':0,'cnt':1}]";
  901. var _cnt = datagrid1.selectedRows;
  902. commonOutExcel('dataKCMX',datagrid1.caption,'/root/grid/SLAB_YARD_INFO_RESULT_VO','UIH090060-service',jsonMerges,'xls');
  903. ]]>
  904. </script>
  905. </button>
  906. <button id="button2" style="left:800px; top:105px; width:50px; height:15px; ">
  907. <caption>保存</caption>
  908. <script type="javascript" ev:event="onclick">
  909. <![CDATA[
  910. save();
  911. ]]>
  912. </script>
  913. </button>
  914. </xhtml:body>
  915. </xhtml:html>