74892a10a0555250248d807926daeaa7c96a37ba.svn-base 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460
  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[炼钢作业 >> 板坯库管理 >> 板坯历史明细查询(UIG040500)]]>
  7. </xhtml:title>
  8. <model id="model1">
  9. <instance id="instance1">
  10. <root xmlns="">
  11. <grid/>
  12. <resData/>
  13. <reqData/>
  14. <initResult/>
  15. <totalData>
  16. <slabCnt/>
  17. <slabWgt/>
  18. </totalData>
  19. <codeData/>
  20. <initData>
  21. <LG_CD>F01002,F01002,E01010,E01007,D01003,D01001</LG_CD>
  22. </initData>
  23. <combData/>
  24. <fwdData>
  25. <UID010031>
  26. <ORD_NO/>
  27. <ORD_SEQ/>
  28. <URL/>
  29. </UID010031>
  30. </fwdData>
  31. <formData>
  32. <SLAB_NO/>
  33. <CUR_LOAD_LOC/>
  34. <STL_GRD/>
  35. <SLAB_MIN_WTH>0</SLAB_MIN_WTH>
  36. <SLAB_MAX_WTH>100000</SLAB_MAX_WTH>
  37. <SLAB_MIN_LEN>0</SLAB_MIN_LEN>
  38. <SLAB_MAX_LEN>100000</SLAB_MAX_LEN>
  39. <ORD_NO/>
  40. <ORD_FL/>
  41. <fromDate/>
  42. <toDate/>
  43. <SLAB_RT/>
  44. <NO_ORD_CAUS_CD/>
  45. <SLAB_STOCK_TYPE/>
  46. <SLAB_INGR_DEC_GRD/>
  47. <CHANDI/>
  48. <CMT_DLIV_DEVLMT_DATE/>
  49. <CMT_DLIV_DEVLMT_DATE_temp/>
  50. <FROM_STOCK_ENT_DTIME/>
  51. <TO_STOCK_ENT_DTIME/>
  52. <FROM_STOCK_EXT_DTIME/>
  53. <TO_STOCK_EXT_DTIME/>
  54. <BOF_STAT_TIME_FRM/>
  55. <BOF_STAT_TIME_TO/>
  56. <CC_DEVNO/>
  57. <TO_SMS_EXT_DTIME/>
  58. <FROM_SMS_EXT_DTIME/>
  59. <TO_SMS_ENT_DTIME/>
  60. <FROM_SMS_ENT_DTIME/>
  61. </formData>
  62. </root>
  63. </instance>
  64. <script type="javascript" ev:event="xforms-ready">
  65. <![CDATA[
  66. initPage();
  67. ]]>
  68. </script>
  69. </model>
  70. <script type="javascript" src="../../js/boaCommon.js"/>
  71. <script type="javascript" src="../../js/b01.js"/>
  72. <script type="javascript" src="../../js/bCommon.js"/>
  73. <script type="javascript" src="../../js/boaMsg.js"/>
  74. <script type="javascript" src="../../js/mesCommon.js"/>
  75. <script type="javascript" src="../../js/G02.js"/>
  76. <script type="javascript">
  77. <![CDATA[
  78. function excelExport(){
  79. return datagrid1;
  80. }
  81. function initPage(){
  82. commSendReq("/root/initData");
  83. commSubmit("UIGCOMMCODE-service","find","glueAction.do");
  84. model.copyNode("/root/codeData","/root/resData");
  85. commSendReq("root/reqData");
  86. commSubmit("UIG04COMBOX-service","stlSch","glueAction.do");
  87. model.copyNode("/root/combData","/root/resData");
  88. model.refresh();
  89. }
  90. function find()
  91. {
  92. if(commDiffDay(input5.value,input6.value)>30)
  93. {
  94. window.alert("查询时间不能超过30天");
  95. return;
  96. }
  97. if(commDiffDay(input7.value,input8.value)>30)
  98. {
  99. window.alert("查询时间不能超过30天");
  100. return;
  101. }
  102. if(commDiffDay(input11.value,input12.value)>30)
  103. {
  104. window.alert("查询时间不能超过30天");
  105. return;
  106. }
  107. if(model.getValue(" /root/formData/BOF_STAT_TIME_FRM") == null || model.getValue(" /root/formData/BOF_STAT_TIME_FRM") == "" || model.getValue("/root/formData/BOF_STAT_TIME_TO") == null || model.getValue("/root/formData/BOF_STAT_TIME_TO") == ""){
  108. var curDate = CurentDate();
  109. model.setValue("/root/formData/BOF_STAT_TIME_FRM",curDate);
  110. model.setValue("/root/formData/BOF_STAT_TIME_TO",curDate);
  111. }
  112. commSendReq("/root/formData");
  113. commSubmit("UIG040500-service","find","glueAction.do");
  114. commAppendData("/root/grid/SLAB_YARD_INFO_RESULT_VO","/root/resData/SLAB_YARD_INFO_RESULT_VO");
  115. var slabCnt = 0;
  116. var slabWgt = 0;
  117. datagrid1.refresh();
  118. for(var i = 1 ; i < datagrid1.rows-1 ; i++){
  119. slabCnt = slabCnt + 1;
  120. slabWgt = slabWgt + parseFloat(datagrid1.valueMatrix(i+1,datagrid1.colRef("SLAB_WGT")));
  121. }
  122. model.setValue("/root/totalData/slabCnt",slabCnt);
  123. model.setValue("/root/totalData/slabWgt",slabWgt/1000);
  124. output1.refresh();
  125. output2.refresh();
  126. }
  127. function excelExport(){
  128. return datagrid1;
  129. }
  130. function fowardUID010031(gridID) {
  131. if(gridID.col == gridID.colRef("INGR_YN")) {
  132. model.makeValue("/root/fwdData/UID010031/ORD_NO", gridID.valueMatrix(gridID.row, gridID.colRef("ORD_NO")));
  133. model.makeValue("/root/fwdData/UID010031/ORD_SEQ", gridID.valueMatrix(gridID.row, gridID.colRef("ORD_SEQ")));
  134. model.makeValue("/root/fwdData/UID010031/URL", "../../B/B01/UIB015020.xrw");
  135. var java = window.parent.javaScript;
  136. java.open(model.instances(0).selectSingleNode("/root/fwdData/UID010031"));
  137. }
  138. }
  139. ]]>
  140. </script>
  141. </xhtml:head>
  142. <xhtml:body guideline="1,979;2,620;2,619;2,619;">
  143. <caption id="caption2" class="cell" style="left:0px; top:0px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">板 坯 号</caption>
  144. <input id="input1" ref="/root/formData/SLAB_NO" style="left:60px; top:0px; width:85px; height:20px; "/>
  145. <datagrid id="datagrid1" nodeset="/root/grid/SLAB_YARD_INFO_RESULT_VO/SLAB_YARD_INFO_RESULT_Row" caption="板坯号^铸机号^流号^计划钢种^钢种^厚^宽^长^测宽^重量^磅重^7.85重量^磅重差^磅差合格^堆垛位置^是否允许出库^冶炼时间^浇次开始时间^浇次结束时间^热轧入库时间^热轧出库时间^炼钢入库时间^炼钢出库时间^去向^订单区分^余材原因^判定依据^成分等级^产地^合同号^订单序号^计划号^坑冷^合同类型^运输方式^订单钢种^交货期^订单厚度^订单宽度^订单单重范围^成份判定^判定时间^切割时间^切割班次^切割组^切割人^特殊要求^备注|板坯号^铸机号^流号^计划钢种^钢种^厚^宽^长^测宽^重量^磅重^7.85重量^磅重差^磅差合格^堆垛位置^是否允许出库^冶炼时间^浇次开始时间^浇次结束时间^热轧入库时间^热轧出库时间^炼钢入库时间^炼钢出库时间^去向^订单区分^余材原因^判定依据^成分等级^产地^合同号^订单序号^计划号^坑冷^合同类型^运输方式^订单钢种^交货期^订单厚度^订单宽度^订单单重范围^成份判定^判定时间^切割时间^切割班次^切割组^切割人^特殊要求^备注" colsep="^" colwidth="100, 100, 45, 100, 100, 30, 40, 40, 51, 50, 51, 51, 50, 49, 60, 100, 100, 100, 100, 100, 100, 100, 100, 35, 35, 62, 60, 71, 47, 70, 30, 71, 30, 70, 60, 60, 70, 30, 40, 70, 44, 100, 100, 37, 37, 65, 100, 400" explorerbar="sortshow" frozencols="1" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:100px; width:980px; height:515px; ">
  146. <col editable="false" ref="SLAB_NO" type="input"/>
  147. <col ref="CC_DEVNO"/>
  148. <col ref="STREAM_NO"/>
  149. <col ref="PLAN_STL_GRD" type="input"/>
  150. <col editable="false" ref="STL_GRD" type="input"/>
  151. <col editable="false" ref="SLAB_THK" type="input"/>
  152. <col editable="false" ref="SLAB_WTH" type="input"/>
  153. <col editable="false" ref="SLAB_LEN" type="input"/>
  154. <col editable="false" ref="AVG_WIDTH" type="input"/>
  155. <col editable="false" ref="SLAB_WGT" type="input"/>
  156. <col editable="false" ref="WEIGHT_WGT" type="input"/>
  157. <col editable="false" ref="SLAB_WGT85"/>
  158. <col ref="SLAB_WGT_DIFF"/>
  159. <col ref="SLAB_WGT_OK" style="left:901px; top:41px; width:49px; height:21px; "/>
  160. <col editable="false" ref="CUR_LOAD_LOC" type="input"/>
  161. <col editable="false" ref="SLAB_OUT_TP" type="input" style="left:937px; top:41px; width:100px; height:18px; "/>
  162. <col editable="false" ref="BOF_STA_DTIME" type="input" format="yyyy-mm-dd hh:nn"/>
  163. <col editable="false" ref="CASTING_STA_DTIME" type="input" format="yyyy-mm-dd hh:nn"/>
  164. <col editable="false" ref="CASTING_END_DTIME" type="input" format="yyyy-mm-dd hh:nn"/>
  165. <col editable="false" ref="SLAB_STOCK_ENT_DTIME" type="input" format="yyyy-mm-dd hh:nn"/>
  166. <col editable="false" ref="SLAB_STOCK_EXT_DTIME" type="input" format="yyyy-mm-dd hh:nn"/>
  167. <col editable="false" ref="SMS_YARD_ENT_DTIME" type="input" format="yyyy-mm-dd hh:nn"/>
  168. <col editable="false" ref="SMS_YARD_EXT_DTIME" type="input" format="yyyy-mm-dd hh:nn"/>
  169. <col disabled="true" ref="SLAB_RT"/>
  170. <col disabled="true" ref="ORD_FL"/>
  171. <col disabled="true" ref="NONORD_CAUSE_CD"/>
  172. <col ref="SLAB_INGR_DEC_KIND"/>
  173. <col disabled="true" ref="SLAB_INGR_DEC_GRD"/>
  174. <col ref="CHANDI"/>
  175. <col editable="false" ref="ORD_NO" type="input"/>
  176. <col editable="false" ref="ORD_SEQ" type="input"/>
  177. <col editable="false" ref="L2_SCH_NO" type="input"/>
  178. <col disabled="true" ref="KEEPWARM_YN"/>
  179. <col ref="RCVORD_TP"/>
  180. <col ref="DLIV_TP"/>
  181. <col ref="SPEC_STL_GRD"/>
  182. <col ref="CMT_DLIV_DEVLMT_DATE" format="yyyy-mm-dd"/>
  183. <col ref="ORD_THK"/>
  184. <col ref="ORD_WTH"/>
  185. <col ref="ORD_WGT"/>
  186. <col disabled="true" ref="SLAB_INGR_DEC_GRD1"/>
  187. <col editable="false" ref="INGR_DEC_DTIME" type="input" format="yyyy-mm-dd hh:nn"/>
  188. <col editable="false" ref="SLAB_CUT_DTIME" type="input" format="yyyy-mm-dd hh:nn"/>
  189. <col disabled="true" ref="CUT_WKSHIFT"/>
  190. <col disabled="true" ref="CUT_WKGROUP"/>
  191. <col ref="CUT_EMP_ID"/>
  192. <col ref="INGR_YN" type="input" style="text-decoration:underline; "/>
  193. <col ref="REMARKS" type="input"/>
  194. <script type="javascript" ev:event="onclick">
  195. <![CDATA[
  196. fowardUID010031(datagrid1);
  197. ]]>
  198. </script>
  199. </datagrid>
  200. <caption id="caption1" class="cell" style="left:864px; top:0px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">板坯去向</caption>
  201. <select1 id="combo1" ref="/root/formData/STL_GRD" appearance="minimal" editmode="inputsearch" style="left:210px; top:0px; width:80px; height:20px; text-align:left; ">
  202. <choices>
  203. <itemset nodeset="/root/combData/STL_GRD_SELECT_VO/STL_GRD_SELECT_Row">
  204. <label ref="FAC_STL_GRD"/>
  205. <value ref="FAC_CODE"/>
  206. </itemset>
  207. </choices>
  208. </select1>
  209. <caption id="caption3" class="cell" style="left:150px; top:0px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">钢 号</caption>
  210. <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; ">
  211. <choices>
  212. <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'D01003']">
  213. <label ref="SM_CD"/>
  214. <value ref="SM_CD"/>
  215. </itemset>
  216. </choices>
  217. </select1>
  218. <caption id="caption4" class="cell" style="left:494px; top:0px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">板坯产地</caption>
  219. <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; ">
  220. <choices>
  221. <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'D01003']">
  222. <label ref="SM_CD"/>
  223. <value ref="SM_CD"/>
  224. </itemset>
  225. </choices>
  226. </select1>
  227. <caption id="caption5" class="cell" style="left:297px; top:0px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">长度范围</caption>
  228. <line id="line1" style="x1:792px; y1:0px; x2:797px; y2:0px; "/>
  229. <select1 id="combo4" ref="/root/formData/CUR_LOAD_LOC" appearance="minimal" style="left:210px; top:25px; width:80px; height:20px; ">
  230. <choices>
  231. <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'F01002' or LG_CD ='A']">
  232. <label ref="SM_CFNM"/>
  233. <value ref="SM_CD"/>
  234. </itemset>
  235. </choices>
  236. </select1>
  237. <caption id="caption6" class="cell" style="left:150px; top:25px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">工厂区分</caption>
  238. <caption id="caption7" class="cell" style="left:0px; top:25px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">合 同 号</caption>
  239. <input id="input3" ref="/root/formData/ORD_NO" style="left:60px; top:25px; width:85px; height:20px; "/>
  240. <select1 id="combo5" ref="/root/formData/ORD_FL" appearance="minimal" editmode="inputsearch" style="left:554px; top:25px; width:63px; height:20px; text-align:left; ">
  241. <choices>
  242. <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'E01007' or LG_CD ='A']">
  243. <label ref="SM_CFNM"/>
  244. <value ref="SM_CD"/>
  245. </itemset>
  246. </choices>
  247. <script type="javascript" ev:event="xforms-value-changed">
  248. <![CDATA[
  249. if(model.getValue("/root/formData/ORD_FL") == "2") {
  250. combo7.disabled = false;
  251. combo7.refresh();
  252. }else {
  253. model.setValue("/root/formData/NO_ORD_CAUS_CD","");
  254. combo7.disabled = true;
  255. combo7.refresh();
  256. }
  257. ]]>
  258. </script>
  259. </select1>
  260. <caption id="caption8" class="cell" style="left:494px; top:25px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">订单区分</caption>
  261. <caption id="caption9" class="cell" style="left:720px; top:55px; width:60px; height:20px; font-weight:bold; background-color:#ffcc00; border-color:#000000; ">块数合计</caption>
  262. <caption id="caption10" class="cell" style="left:835px; top:55px; width:60px; height:20px; font-weight:bold; background-color:#ffcc00; border-color:#000000; ">重量合计</caption>
  263. <output id="output1" ref="/root/totalData/slabCnt" style="left:780px; top:55px; width:40px; height:20px; text-align:center; "/>
  264. <output id="output2" ref="/root/totalData/slabWgt" style="left:895px; top:55px; width:65px; height:20px; text-align:center; "/>
  265. <caption id="caption11" style="left:820px; top:56px; width:20px; height:20px; font-weight:bold; ">块</caption>
  266. <caption id="caption12" style="left:960px; top:55px; width:20px; height:20px; font-weight:bold; ">吨</caption>
  267. <line id="line2" style="x1:730px; y1:75px; x2:790px; y2:75px; "/>
  268. <line id="line3" style="x1:880px; y1:75px; x2:960px; y2:75px; "/>
  269. <line id="line4" style="x1:418px; y1:10px; x2:423px; y2:10px; "/>
  270. <caption id="caption13" class="cell" style="left:619px; top:0px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">入库类型</caption>
  271. <script type="javascript" ev:event="onkeypress">
  272. <![CDATA[
  273. if(event.keyCode == 13){
  274. find();
  275. }
  276. ]]>
  277. </script>
  278. <select1 id="combo6" ref="/root/formData/SLAB_RT" appearance="minimal" style="left:924px; top:0px; width:55px; height:20px; ">
  279. <choices>
  280. <item>
  281. <label>卷板</label>
  282. <value>H</value>
  283. </item>
  284. <item>
  285. <label>中板</label>
  286. <value>Z</value>
  287. </item>
  288. <item>
  289. <label>厚板</label>
  290. <value>P</value>
  291. </item>
  292. <item>
  293. <label>-----</label>
  294. <value/>
  295. </item>
  296. </choices>
  297. </select1>
  298. <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; ">
  299. <choices>
  300. <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'E01010']">
  301. <label ref="SM_CFNM"/>
  302. <value ref="SM_CD"/>
  303. </itemset>
  304. </choices>
  305. </select1>
  306. <select1 id="combo8" ref="/root/formData/SLAB_STOCK_TYPE" appearance="minimal" style="left:679px; top:0px; width:60px; height:20px; ">
  307. <choices>
  308. <item>
  309. <label>轧回坯</label>
  310. <value>4</value>
  311. </item>
  312. <item>
  313. <label>加回</label>
  314. <value>3</value>
  315. </item>
  316. <item>
  317. <label>----</label>
  318. <value/>
  319. </item>
  320. </choices>
  321. </select1>
  322. <caption id="caption14" class="cell" style="left:744px; top:0px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">成分等级</caption>
  323. <line id="line5" style="x1:973px; y1:0px; x2:978px; y2:0px; "/>
  324. <select1 id="combo9" ref="/root/formData/SLAB_INGR_DEC_GRD" appearance="minimal" style="left:804px; top:0px; width:55px; height:20px; ">
  325. <choices>
  326. <item>
  327. <label>不合格</label>
  328. <value>2</value>
  329. </item>
  330. <item>
  331. <label>----</label>
  332. <value/>
  333. </item>
  334. <item>
  335. <label>合格</label>
  336. <value>1</value>
  337. </item>
  338. <item>
  339. <label>化废</label>
  340. <value>3</value>
  341. </item>
  342. </choices>
  343. </select1>
  344. <select1 id="combo10" ref="/root/formData/CHANDI" appearance="minimal" style="left:554px; top:0px; width:60px; height:20px; ">
  345. <choices>
  346. <item>
  347. <label>一钢</label>
  348. <value>一钢</value>
  349. </item>
  350. <item>
  351. <label>二钢</label>
  352. <value>二钢</value>
  353. </item>
  354. <item>
  355. <label>三钢</label>
  356. <value>三钢</value>
  357. </item>
  358. <item>
  359. <label>---</label>
  360. <value/>
  361. </item>
  362. </choices>
  363. </select1>
  364. <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; ">
  365. <choices>
  366. <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'D01001']">
  367. <label ref="SM_CD"/>
  368. <value ref="SM_CD"/>
  369. </itemset>
  370. </choices>
  371. </select1>
  372. <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; ">
  373. <choices>
  374. <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'D01001']">
  375. <label ref="SM_CD"/>
  376. <value ref="SM_CD"/>
  377. </itemset>
  378. </choices>
  379. </select1>
  380. <caption id="caption15" class="cell" style="left:297px; top:25px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">宽度范围</caption>
  381. <line id="line6" style="x1:418px; y1:35px; x2:423px; y2:35px; "/>
  382. <caption id="caption16" class="cell" style="left:0px; top:50px; width:80px; height:20px; font-weight:bold; border-color:#000000; ">热轧入库</caption>
  383. <caption id="caption17" class="cell" style="left:280px; top:50px; width:80px; height:20px; font-weight:bold; border-color:#000000; ">热轧出库</caption>
  384. <line id="line7" style="x1:455px; y1:60px; x2:460px; y2:60px; "/>
  385. <line id="line8" style="x1:175px; y1:60px; x2:180px; y2:60px; "/>
  386. <input id="input2" ref="/root/formData/FROM_STOCK_EXT_DTIME" class="input" inputtype="date" style="left:360px; top:50px; width:95px; height:20px; ">
  387. <script type="javascript" ev:event="xforms-value-changed">
  388. <![CDATA[
  389. if(model.getValue("/root/formData/toDate") == null || model.getValue("/root/formData/toDate") == ""||
  390. model.getValue("/root/formData/fromDate") > model.getValue("/root/formData/toDate")){
  391. model.setValue("/root/formData/toDate",model.getValue("/root/formData/fromDate"));
  392. input2.refresh();
  393. }
  394. ]]>
  395. </script>
  396. </input>
  397. <input id="input4" ref="/root/formData/TO_STOCK_EXT_DTIME" class="input" inputtype="date" style="left:460px; top:50px; width:95px; height:20px; ">
  398. <script type="javascript" ev:event="xforms-value-changed">
  399. <![CDATA[
  400. if(model.getValue("/root/formData/fromDate") == null || model.getValue("/root/formData/fromDate") == ""||
  401. model.getValue("/root/formData/fromDate") > model.getValue("/root/formData/toDate")){
  402. model.setValue("/root/formData/fromDate",model.getValue("/root/formData/toDate"));
  403. input1.refresh();
  404. }
  405. ]]>
  406. </script>
  407. </input>
  408. <input id="input5" ref="/root/formData/FROM_STOCK_ENT_DTIME" class="input" inputtype="date" style="left:80px; top:50px; width:95px; height:20px; "/>
  409. <input id="input6" ref="/root/formData/TO_STOCK_ENT_DTIME" class="input" inputtype="date" style="left:180px; top:50px; width:95px; height:20px; "/>
  410. <input id="input7" ref="/root/formData/BOF_STAT_TIME_FRM" class="input" inputtype="date" style="left:765px; top:25px; width:95px; height:20px; "/>
  411. <caption id="caption18" class="cell" style="left:685px; top:25px; width:80px; height:20px; font-weight:bold; border-color:#000000; ">冶 炼 时 间</caption>
  412. <input id="input8" ref="/root/formData/BOF_STAT_TIME_TO" class="input" inputtype="date" style="left:865px; top:25px; width:95px; height:20px; "/>
  413. <line id="line9" style="x1:860px; y1:35px; x2:865px; y2:35px; "/>
  414. <caption id="caption19" class="cell" style="left:560px; top:50px; width:80px; height:20px; font-weight:bold; border-color:#000000; ">铸机</caption>
  415. <select1 id="combo13" ref="/root/formData/CC_DEVNO" disabled="false" appearance="minimal" editmode="inputsearch" style="left:640px; top:50px; width:63px; height:20px; text-align:left; ">
  416. <choices>
  417. <item>
  418. <label>--全部--</label>
  419. <value/>
  420. </item>
  421. <item>
  422. <label>一号机</label>
  423. <value>J1</value>
  424. </item>
  425. <item>
  426. <label>二号机</label>
  427. <value>J2</value>
  428. </item>
  429. <item>
  430. <label>三号机</label>
  431. <value>J3</value>
  432. </item>
  433. </choices>
  434. </select1>
  435. <input id="input9" ref="/root/formData/FROM_SMS_EXT_DTIME" class="input" inputtype="date" style="left:360px; top:75px; width:95px; height:20px; "/>
  436. <caption id="caption20" class="cell" style="left:0px; top:75px; width:80px; height:20px; font-weight:bold; border-color:#000000; ">炼钢入库</caption>
  437. <caption id="caption21" class="cell" style="left:280px; top:75px; width:80px; height:20px; font-weight:bold; border-color:#000000; ">炼钢出库</caption>
  438. <input id="input10" ref="/root/formData/TO_SMS_EXT_DTIME" class="input" inputtype="date" style="left:460px; top:75px; width:95px; height:20px; "/>
  439. <input id="input11" ref="/root/formData/FROM_SMS_ENT_DTIME" class="input" inputtype="date" style="left:80px; top:75px; width:95px; height:20px; "/>
  440. <input id="input12" ref="/root/formData/TO_SMS_ENT_DTIME" class="input" inputtype="date" style="left:180px; top:75px; width:95px; height:20px; "/>
  441. <button id="button7" visibility="visible" style="left:580px; top:75px; width:90px; height:20px; font-family:黑体; color:#3366ff; background-color:#ffffff; ">
  442. <caption>导出EXCEL</caption>
  443. <script type="javascript" ev:event="DOMActivate">
  444. <![CDATA[
  445. if(datagrid1.rows<1){
  446. window.alert("无数据源,请先查询.", "提示");
  447. return;
  448. }
  449. var jsonMerges="[{'name':'y','x':0,'y':0,'cnt':1}]";
  450. var _cnt = datagrid1.selectedRows;
  451. commonOutExcel('dataLSMX1',datagrid1.caption,'/root/grid/SLAB_YARD_INFO_RESULT_VO','UIH090060-service',jsonMerges,'xls');
  452. ]]>
  453. </script>
  454. </button>
  455. </xhtml:body>
  456. </xhtml:html>