bb9d1a8cc0cba49abf3476467b5014257fd52a4e.svn-base 40 KB

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