0727d7390a71dea1d06c6d7a036882caae6307fe.svn-base 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493
  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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <reqData/>
  10. <resData/>
  11. <formData>
  12. <roll_no/>
  13. <p_st_date/>
  14. <p_end_date/>
  15. <millst_date/>
  16. <millend_date/>
  17. <ord_no/>
  18. <ord_seq/>
  19. <PRD_TY/>
  20. <fahuo_fangshi/>
  21. <ordthk/>
  22. </formData>
  23. <gridData>
  24. <EmpListResult_VO/>
  25. </gridData>
  26. <initResult/>
  27. <g1Data>
  28. <SEQ/>
  29. <PIHAO/>
  30. <PIHAO_SEQ/>
  31. <STL_GRD/>
  32. <SLAB_THK/>
  33. <SLAB_WTH/>
  34. <SLAB_LEN/>
  35. <SLAB_WGT/>
  36. <HOT_THK_AIM/>
  37. <WTH_AIM/>
  38. <SLAB_NO/>
  39. <GJH/>
  40. <QY/>
  41. <CHARGE_NO/>
  42. <BZ/>
  43. <SM_CFNM/>
  44. <COIL_NO/>
  45. </g1Data>
  46. <gridDate2>
  47. <EmpListResult2_VO/>
  48. </gridDate2>
  49. <initData>
  50. <LG_CD>A01004</LG_CD>
  51. </initData>
  52. <codeData/>
  53. </root>
  54. </instance>
  55. <script type="javascript" ev:event="xforms-ready">
  56. <![CDATA[
  57. pageInit();
  58. // input1.value = commCurDate();
  59. // input2.value = commCurDate()-1;
  60. ]]>
  61. </script>
  62. <script type="javascript" src="../../js/boaMsg.js"/>
  63. <script type="javascript" src="../../js/boaCommon.js"/>
  64. <script type="javascript" src="../../js/dCommon.js"/>
  65. <script type="javascript">
  66. <![CDATA[
  67. //1、获取用户登录信息,只能在页面初始化函数中调用
  68. function InitParams(node)
  69. {
  70. if (typeof node == "undefined" && typeof node != "object") return;
  71. model.removenode("/root/initData/rcvInfo");
  72. model.makeNode("/root/initData/rcvInfo");
  73. var nodeList = node.childNodes;
  74. for (var i = 0; i < nodeList.length; i++)
  75. model.instances(0).selectSingleNode("/root/initData/rcvInfo").appendChild(nodeList.item(i));
  76. }
  77. function pageInit()
  78. {
  79. commSubmit("UIF025020-service","findRollManaNo","glueAction.do");
  80. model.copyNode("/root/gridDate2/EmpListResult2_VO","/root/resData/EmpListResult2_VO");
  81. model.refresh();
  82. model.removenode("/root/resData/EmpListResult2_VO");
  83. rollnumber.select(0);
  84. //model.removenode("/root/reqData");
  85. commSendReq("/root/initData");
  86. commSubmit("UIGCOMMCODE-service","find","glueAction.do");
  87. model.copyNode("/root/codeData","/root/resData");
  88. model.refresh();
  89. }
  90. //2. 页面初始化函数(必须)
  91. function Init(node)
  92. {
  93. InitParams(node); // 用于设置节点:/root/initData/rcvInfo,获取用户登录信息
  94. // 在程序中会重建该节点,最好不要重名
  95. // 函数 InitParams 在 mesCommon.js 中,仅在需要使用登录用户信息时调用
  96. //...
  97. }
  98. //3、页面标题
  99. function setTitle()
  100. {
  101. return "生产管制 >> 作业进程现状 >> 轧制计划查询"; // 如:return "进程管理 >> 订单进程现况查询";
  102. }
  103. //4. 页面按键动作
  104. // 查询按键
  105. function find()
  106. {
  107. model.removenode("/root/reqData");
  108. //model.makeNode("/root/reqData");
  109. model.makeValue("/root/reqData/ROLLMANANO",model.getValue("/root/formData/roll_no"));
  110. model.makeValue("/root/reqData/p_st_date",input2.value);
  111. model.makeValue("/root/reqData/p_end_date",input1.value);
  112. model.makeValue("/root/reqData/millst_date" , input3.value);
  113. model.makeValue("/root/reqData/millend_date", input4.value);
  114. model.makeValue("/root/reqData/ord_no" , input5.value);
  115. model.makeValue("/root/reqData/ord_seq", input6.value);
  116. model.makeValue("/root/reqData/fahuo_fangshi",combo1.value);
  117. model.makeValue("/root/reqData/PRD_TY",combo105.value);
  118. model.makeValue("/root/reqData/ordthk", input7.value);
  119. // if(rollnumber.value == "" || rollnumber.value == null)
  120. // {
  121. // alert("查询单元为空时,请选择开始时间!");
  122. // return;
  123. //
  124. // }
  125. commSubmit("UIF025020-service","findRollWork","glueAction.do");
  126. model.copyNode("/root/gridData/EmpListResult_VO","/root/resData/EmpListResult_VO");
  127. model.removenode("/root/resData/EmpListResult_VO");
  128. model.refresh();
  129. color_status();
  130. model.refresh();
  131. // differentiateRollManaNo();
  132. }
  133. // function initColor() {
  134. // var firstbiaojiwei = datagrid1.valueMatrix(2,0);
  135. // for(var i = 2;i<=datagrid1.rows-datagrid1.fixedRows+1;i++) {
  136. // var bjcolor = datagrid1.rowstyle(i, "data", "color");
  137. // if(bjcolor == "#ff00ff") {
  138. // datagrid1.rowstyle(i, "data", "color") = "";
  139. // }
  140. // }
  141. // }
  142. // function differentiateRollManaNo() {
  143. // initColor();
  144. // var firstbiaojiwei = datagrid1.valueMatrix(2,0);
  145. // for(var i = 2;i<=datagrid1.rows-datagrid1.fixedRows+1;i++) {
  146. // biaojiwei = datagrid1.valueMatrix(i,0);
  147. // while(biaojiwei != firstbiaojiwei) {
  148. // datagrid1.rowstyle(i, "data", "color") = "#ff00ff";
  149. // firstbiaojiwei = biaojiwei;
  150. // }
  151. // }
  152. // }
  153. function saveExcelScript(sDGridName, sExcelSheetName, saveType) {
  154. var sExcelName = window.fileDialog("save", ",", false, "", "xls", "Excel File(*.xls)|*.xls");
  155. if ( sExcelName == "" ) {
  156. return;
  157. }
  158. //var sCSVName = "C:\\TFSmartUpdater\\" + sExcelName.lastIndexOf(".") +".csv";
  159. var sCSVName = sExcelName +".csv";
  160. //alert("sExcelName = ["+ sExcelName +"]\nsCSVName = ["+ sCSVName + "]");
  161. eval(sDGridName).saveText(sCSVName, "\n", ",", '\:', true); //DataGrid? ??? CSV??? ??
  162. ObjTFExcel.launchNewInstance(0); //Execute EXCEL
  163. ObjTFExcel.createWorkbook(); //Create new Workbook(for example:Sheet1,Sheet2,Sheet3) -- createWorkBook(Excel-TemplateFile)
  164. ObjTFExcel.loadCSV(sCSVName); //Loading Contents, from CSV to Excel
  165. //Setting up EXCEL Layout.
  166. //var nRows = sDGridName.rows - sDGridName.fixedRows + 1; //Keep Careful !!!
  167. var nRows = sDGridName.rows ; //Keep Careful !!!
  168. var nCols = sDGridName.cols;
  169. //Header
  170. //Line 1 : Sheet Title
  171. //行高的设置
  172. //All of the range
  173. ObjTFExcel.fontcolor ( 01, 01, nRows, nCols ) = "#000000" ;
  174. ObjTFExcel.font ( 01, 01, nRows, nCols ) = "SimSun" ;
  175. //取消边框
  176. ObjTFExcel.setBorderColor( 01, 01, nRows, nCols, "#000000") ;
  177. ObjTFExcel.bold ( 01, 01, nRows, nCols ) = true ;
  178. //改变字体大小
  179. ObjTFExcel.fontsize ( 01, 01, nRows, nCols ) = 12 ;
  180. ObjTFExcel.underline ( 01, 01, nRows, nCols ) = 0 ;
  181. ObjTFExcel.valign ( 01, 01, nRows, nCols ) ="middle" ;
  182. //字体居中
  183. ObjTFExcel.halign ( 01, 01, nRows, nCols ) ="center" ;
  184. //Query-Results Data
  185. var iRow = 1; // iRow = HeaderLine + 1;
  186. //这里设置字体的行宽
  187. // for(var i = iRow; i <= nRows; i++ ) {
  188. // if( (i%5) == 1 ) {
  189. // ObjTFExcel.rowHeight( i ) = 60;
  190. // ObjTFExcel.mergeCell( i, 01, i, nCols );
  191. // } else if( (i%5) == 0 ) {
  192. // ObjTFExcel.rowHeight( i ) = 45;
  193. // ObjTFExcel.mergeCell( i, 01, i, nCols );
  194. // } else {
  195. // ObjTFExcel.rowHeight( i ) = 40;
  196. // }
  197. // }
  198. //改变文本格式的方法,未知
  199. //ObjTFExcel.setformat(02,02,02,03,'@');
  200. //设置列的宽度
  201. ObjTFExcel.colwidth ( 01 ) = 5 ;
  202. ObjTFExcel.colwidth ( 02 ) = 10 ;
  203. ObjTFExcel.colwidth ( 03 ) = 50 ;
  204. ObjTFExcel.colwidth ( 04 ) = 10 ;
  205. ObjTFExcel.colwidth ( 05 ) = 15 ;
  206. ObjTFExcel.colwidth ( 06 ) = 10 ;
  207. ObjTFExcel.colwidth ( 07 ) = 10 ;
  208. ObjTFExcel.colwidth ( 08 ) = 5 ;
  209. ObjTFExcel.colwidth ( 09 ) = 5 ;
  210. ObjTFExcel.colwidth ( 10 ) = 10 ;
  211. // ObjTFExcel.setFormat(iRow, 14, nRows, 14, "yyyy\"-\"mm\"-\"dd\"\" hh\":\"mm\":\"ss\"\";@");
  212. ObjTFExcel.sheetName(1) = sExcelSheetName;
  213. ObjTFExcel.save(sExcelName); //Saving EXCEL
  214. ObjTFExcel.close(); //Closing EXCEL. (You must be closed EXCEL !!!)
  215. window.exec("EXCEL.EXE", sExcelName); //Openning EXCEL
  216. }
  217. function excelExport() {
  218. return datagrid1;
  219. }
  220. function color_status()
  221. {
  222. for(var i = 2;i<=datagrid1.rows-1;i++){
  223. var SLAB_WTH = parseFloat(datagrid1.valueMatrix(i,datagrid1.colRef("SLAB_WTH")));
  224. var WTH_AIM = parseFloat(datagrid1.valueMatrix(i,datagrid1.colRef("WTH_AIM")));
  225. var SLAB_INGR_DEC_GRD = datagrid1.valueMatrix(i,datagrid1.colRef("SLAB_INGR_DEC_GRD"));
  226. var v_status = datagrid1.valueMatrix(i,datagrid1.colRef("STATUS_CD"));
  227. var bgcolor = "#ffffff";
  228. if(v_status == "轧制吊销" ) {
  229. bgcolor = "red";
  230. }else if(v_status == "轧制进行") {
  231. bgcolor = "#ffffcc";
  232. if(SLAB_WTH < WTH_AIM){
  233. bgcolor = "#00ff00";
  234. }
  235. }else if(v_status == "轧制完成") {
  236. bgcolor = "#00ffff";
  237. }else if(v_status == "上料进行") {
  238. bgcolor = "#ff99ff";
  239. }else if(v_status == "轧废或中板") {
  240. bgcolor = "#c0c0c0";
  241. }else{
  242. if(SLAB_INGR_DEC_GRD != "合格"){
  243. bgcolor = "#ffcc00";
  244. }else if(SLAB_WTH < WTH_AIM){
  245. bgcolor = "#0000ff";
  246. }else{
  247. bgcolor = "#ffffff";
  248. }
  249. }
  250. datagrid1.rowstyle(i, "data", "background-color") = bgcolor;
  251. }
  252. }
  253. function fowardUID010031(gridID,colName) {
  254. if(gridID.col == gridID.colRef(colName)) {
  255. model.makeValue("/root/fwdData/UID010031/ORD_NO", gridID.valueMatrix(gridID.row, gridID.colRef("ORD_NO")));
  256. model.makeValue("/root/fwdData/UID010031/ORD_SEQ", gridID.valueMatrix(gridID.row, gridID.colRef("ORD_SEQ")));
  257. model.makeValue("/root/fwdData/UID010031/URL", "../../B/B01/UIB015020.xrw");
  258. var java = window.parent.javaScript;
  259. java.open(model.instances(0).selectSingleNode("/root/fwdData/UID010031"));
  260. }
  261. }
  262. ]]>
  263. </script>
  264. </model>
  265. </xhtml:head>
  266. <xhtml:body pageheight="620" guideline="1,980;" style="font-family:宋体; ">
  267. <datagrid id="datagrid1" nodeset="/root/gridData/EmpListResult_VO/EmpListResult_Row" scroll="auto" backcoloralternate="#f7f9f9" caption="轧辊单元^轧辊内顺序^流水号^板坯号^在库时间^钢卷号^批号^序号^取样^炼钢计划牌号^钢种^板坯^板坯^板坯^坯料类型^板坯位置^板坯理论重量kg^板坯磅重^判定规格^判定规格^成品规格mm^成品规格mm^进行状态^炉号^发货方式^发货单位^订货单位^合同号^订单号^交货期^日计划编制人^编制时间^客户订单用途^产品类型^钢卷位置^钢卷重量^轧制时间^客户成分特殊要求^材质特殊要求^公差特殊要求^成分等级|轧辊单元^轧辊内顺序^流水号^板坯号^在库时间^钢卷号^批号^序号^取样^炼钢计划牌号^钢种^厚度^宽度^长度^坯料类型^板坯位置^板坯理论重量kg^板坯磅重^厚度^宽度^厚度^宽度^进行状态^炉号^发货方式^发货单位^订货单位^合同号^订单号^交货期^日计划编制人^编制时间^客户订单用途^产品类型^钢卷位置^钢卷重量^轧制时间^客户成分特殊要求^材质特殊要求^公差特殊要求^成分等级" colsep="^" colwidth="63, 65, 60, 112, 86, 105, 100, 100, 52, 71, 60, 52, 55, 55, 100, 100, 71, 66, 49, 52, 58, 55, 70, 76, 55, 68, 63, 100, 100, 100, 47, 69, 100, 100, 100, 100, 60, 60, 60, 100, 100" explorerbar="sortshow" extendlastcol="false" frozencols="3" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:75px; width:980px; height:540px; ">
  268. <col editable="false" ref="ROLLMANANUMBER" type="input"/>
  269. <col editable="false" ref="SEQ" type="input"/>
  270. <col editable="false" ref="COIL_NO" type="input"/>
  271. <col editable="false" ref="SLAB_NO" type="input"/>
  272. <col editable="false" ref="TIMES" type="input"/>
  273. <col editable="false" ref="GJH" type="input"/>
  274. <col ref="PIHAO"/>
  275. <col ref="PIHAO_SEQ"/>
  276. <col ref="QY"/>
  277. <col ref="LG_STL_GRD"/>
  278. <col editable="false" ref="STL_GRD" type="input" style="text-align:left; "/>
  279. <col ref="SLAB_THK" format="#,##0" style="text-align:right; "/>
  280. <col ref="SLAB_WTH" format="#,##0" style="text-align:right; "/>
  281. <col ref="SLAB_LEN" format="#,##0" style="text-align:right; "/>
  282. <col key="false" ref="PLLX" type="input"/>
  283. <col ref="SLAB_LOAD_LOC"/>
  284. <col ref="SLAB_WGT" format="#,##0" style="text-align:right; "/>
  285. <col ref="WEIGHT_WGT" style="text-align:right; "/>
  286. <col ref="DCS_THK" style="text-align:right; "/>
  287. <col ref="DCS_WTH" style="text-align:right; "/>
  288. <col ref="HOT_THK_AIM" format="#.##0" style="text-align:right; "/>
  289. <col ref="WTH_AIM" format="#.##0" style="text-align:right; "/>
  290. <col ref="STATUS_CD" style="text-align:left; "/>
  291. <col ref="CHARGE_NO"/>
  292. <col ref="BZ" style="text-align:left; "/>
  293. <col ref="ORDCUST_CD" style="text-align:left; "/>
  294. <col ref="SM_CFNM" style="text-align:left; "/>
  295. <col ref="ORD_NO"/>
  296. <col ref="ORD_SEQ"/>
  297. <col ref="DEL_TO_DATE"/>
  298. <col ref="USER_NM"/>
  299. <col ref="MOD_DTIME"/>
  300. <col ref="APPLICATION"/>
  301. <col ref="PRD_TY" type="combo">
  302. <choices>
  303. <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'A01004']">
  304. <label ref="SM_CFNM"/>
  305. <value ref="SM_CD"/>
  306. </itemset>
  307. </choices>
  308. </col>
  309. <col ref="CUR_LOAD_LOC"/>
  310. <col ref="ACT_WGT" format="#.##0" style="text-align:right; "/>
  311. <col ref="MILL_DTIME" format="yyyy-mm-dd hh:nn:ss" style="text-align:left; "/>
  312. <col ref="INGR_YN" style="text-decoration:underline; color:#0000ff; cursor:hand; ">
  313. <script type="javascript" ev:event="onclick">
  314. <![CDATA[
  315. fowardUID010031(datagrid1,"INGR_YN");
  316. ]]>
  317. </script>
  318. </col>
  319. <col ref="QLTY_YN" style="text-decoration:underline; color:#0000ff; cursor:hand; ">
  320. <script type="javascript" ev:event="onclick">
  321. <![CDATA[
  322. fowardUID010031(datagrid1,"QLTY_YN");
  323. ]]>
  324. </script>
  325. </col>
  326. <col ref="DEL_YN" style="text-decoration:underline; color:#0000ff; cursor:hand; ">
  327. <script type="javascript" ev:event="onclick">
  328. <![CDATA[
  329. fowardUID010031(datagrid1,"DEL_YN");
  330. ]]>
  331. </script>
  332. </col>
  333. <col ref="SLAB_INGR_DEC_GRD"/>
  334. </datagrid>
  335. <caption id="caption1" class="cell" style="left:0px; top:5px; width:60px; height:20px; text-align:center; border-style:solid; ">轧辊单元</caption>
  336. <select1 id="rollnumber" ref="/root/formData/roll_no" appearance="minimal" editmode="inputsearch" style="left:61px; top:5px; width:90px; height:20px; ">
  337. <choices>
  338. <itemset nodeset="/root/gridDate2/EmpListResult2_VO/EmpListResult2_Row">
  339. <label ref="ROLL_MANA_NO_2"/>
  340. <value ref="ROLL_MANA_NO"/>
  341. </itemset>
  342. </choices>
  343. <script type="javascript" ev:event="xforms-value-changed">
  344. <![CDATA[
  345. //find();
  346. ]]>
  347. </script>
  348. <script type="javascript" ev:event="xforms-select">
  349. <![CDATA[
  350. input1.value = commCurDate();
  351. if(rollnumber.value == "%" || rollnumber.value == null) {
  352. input2.value = commCurDate()-1;
  353. }
  354. // else {
  355. // input2.value = "00000000";
  356. // }
  357. ]]>
  358. </script>
  359. </select1>
  360. <shape id="rectangle4" appearance="rectangle" style="left:584px; top:5px; width:10px; height:20px; background-color:#ff99ff; "/>
  361. <caption id="caption7" style="left:501px; top:5px; width:74px; height:20px; vertical-align:middle; ">轧制作业待机</caption>
  362. <shape id="rectangle2" appearance="rectangle" style="left:665px; top:5px; width:10px; height:20px; background-color:#ffffcc; "/>
  363. <caption id="caption3" style="left:680px; top:5px; width:35px; height:20px; vertical-align:middle; "/>
  364. <shape id="rectangle3" appearance="rectangle" style="left:740px; top:5px; width:10px; height:20px; background-color:#00ffff; "/>
  365. <caption id="caption4" style="left:677px; top:5px; width:54px; height:20px; vertical-align:middle; ">轧制进行</caption>
  366. <shape id="rectangle5" appearance="rectangle" style="left:816px; top:5px; width:10px; height:20px; background-color:red; "/>
  367. <caption id="caption5" style="left:829px; top:5px; width:54px; height:20px; vertical-align:middle; ">轧制吊销</caption>
  368. <shape id="rectangle6" appearance="rectangle" style="left:491px; top:5px; width:10px; height:20px; background-color:#ffffff; "/>
  369. <caption id="caption6" style="left:597px; top:5px; width:59px; height:20px; vertical-align:middle; ">上料进行</caption>
  370. <caption id="caption2" style="left:753px; top:5px; width:54px; height:20px; vertical-align:middle; ">轧制完成</caption>
  371. <shape id="rectangle1" appearance="rectangle" style="left:888px; top:5px; width:10px; height:20px; background-color:#c0c0c0; "/>
  372. <caption id="caption9" style="left:900px; top:5px; width:67px; height:20px; vertical-align:middle; ">轧废或中板</caption>
  373. <caption id="caption8" class="cell" style="left:0px; top:30px; width:60px; height:20px; ">编制时间</caption>
  374. <input id="input2" ref="/root/formData/p_st_date" editable="false" inputtype="date" required="true" style="left:60px; top:30px; width:102px; height:20px; "/>
  375. <input id="input1" ref="/root/formData/p_end_date" editable="false" inputtype="date" required="true" style="left:175px; top:30px; width:102px; height:20px; "/>
  376. <caption id="caption10" style="left:160px; top:40px; width:20px; height:9px; font-weight:bold; text-align:center; ">~</caption>
  377. <caption id="caption11" class="cell" style="left:300px; top:30px; width:60px; height:20px; ">轧制日期</caption>
  378. <input id="input3" ref="/root/formData/millst_date" inputtype="date" style="left:360px; top:30px; width:100px; height:20px; "/>
  379. <input id="input4" ref="/root/formData/millend_date" inputtype="date" style="left:475px; top:30px; width:100px; height:20px; "/>
  380. <caption id="caption12" style="left:460px; top:40px; width:20px; height:9px; font-weight:bold; text-align:center; ">~</caption>
  381. <shape id="rectangle7" appearance="rectangle" style="left:355px; top:5px; width:10px; height:20px; background-color:#ffcc00; "/>
  382. <caption id="caption13" style="left:370px; top:5px; width:110px; height:20px; vertical-align:middle; ">板坯成份等级不合格</caption>
  383. <shape id="rectangle8" appearance="rectangle" style="left:190px; top:5px; width:10px; height:20px; background-color:#0000ff; "/>
  384. <caption id="caption14" style="left:205px; top:5px; width:150px; height:20px; vertical-align:middle; ">板坯实际宽度小于订单宽度</caption>
  385. <shape id="rectangle9" appearance="rectangle" style="left:584px; top:30px; width:10px; height:20px; background-color:#00ff00; "/>
  386. <caption id="caption15" style="left:596px; top:30px; width:182px; height:20px; vertical-align:middle; ">入炉后板坯实际宽度小于订单宽度</caption>
  387. <caption id="caption16" class="cell" style="left:0px; top:53px; width:60px; height:20px; text-align:center; border-style:solid; ">合同号</caption>
  388. <input id="input5" ref="/root/formData/ord_no" style="left:60px; top:53px; width:100px; height:20px; "/>
  389. <caption id="caption17" class="cell" style="left:175px; top:53px; width:60px; height:20px; text-align:center; border-style:solid; ">订单号</caption>
  390. <input id="input6" ref="/root/formData/ord_seq" style="left:235px; top:53px; width:100px; height:20px; "/>
  391. <select1 id="combo22" ref="/root/formData/PRD_TY" visibility="hidden" appearance="minimal" style="left:920px; top:30px; width:50px; height:20px; ">
  392. <choices>
  393. <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'A01004' or LG_CD ='A']">
  394. <label ref="SM_CFNM"/>
  395. <value ref="SM_CD"/>
  396. </itemset>
  397. </choices>
  398. </select1>
  399. <caption id="caption29" class="cell" style="left:350px; top:53px; width:58px; height:20px; font-weight:bold; border-color:#000000; ">产品类型</caption>
  400. <caption id="caption18" class="cell" style="left:520px; top:55px; width:58px; height:20px; font-weight:bold; border-color:#000000; ">发货方式</caption>
  401. <select1 id="combo1" ref="/root/formData/fahuo_fangshi" appearance="minimal" style="left:580px; top:55px; width:100px; height:20px; ">
  402. <choices>
  403. <item>
  404. <label/>
  405. <value/>
  406. </item>
  407. <item>
  408. <label>火</label>
  409. <value>铁路</value>
  410. </item>
  411. <item>
  412. <label>汽运</label>
  413. <value>公路</value>
  414. </item>
  415. </choices>
  416. </select1>
  417. <caption id="caption19" class="cell" style="left:715px; top:55px; width:58px; height:20px; font-weight:bold; border-color:#000000; ">订单厚度</caption>
  418. <input id="input7" ref="/root/formData/ordthk" style="left:775px; top:55px; width:100px; height:20px; "/>
  419. <input id="input8" style="left:880px; top:55px; width:100px; height:20px; "/>
  420. <input id="combo105" ref="/root/formData/PRD_TY" inputtype="button" appearance="minimal" style="left:410px; top:53px; width:100px; height:20px; ">
  421. <script type="javascript" ev:event="onclick">
  422. <![CDATA[
  423. //修改订单类型,可以多选。TL 091125
  424. checkbox1.visible = (checkbox1.visible == false);
  425. ]]>
  426. </script>
  427. </input>
  428. <select id="checkbox1" ref="/root/formData/PRD_TY" visibility="hidden" overflow="visible" appearance="full" style="left:410px; top:70px; width:100px; height:20px; background-color:#ffff99; border-width:1px; border-style:none; ">
  429. <choices>
  430. <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'A01004' or LG_CD ='A']">
  431. <label ref="SM_CFNM"/>
  432. <value ref="SM_CD"/>
  433. </itemset>
  434. </choices>
  435. </select>
  436. <object id="ObjTFExcel" clsid="{fe8d1001-6a9d-424d-ae2a-301493bb12da}" style="left:810px; top:10px; width:155px; height:19px; "/>
  437. <button id="button1" visibility="hidden" style="left:790px; top:30px; width:60px; height:20px; ">
  438. <caption>button1</caption>
  439. <script type="javascript" ev:event="DOMActivate">
  440. <![CDATA[
  441. //导出EXCEL方法
  442. saveExcelScript(datagrid1,"Sheet1");
  443. ]]>
  444. </script>
  445. </button>
  446. <button id="button2" visibility="hidden" style="left:860px; top:30px; width:60px; height:20px; ">
  447. <caption>button1</caption>
  448. <script type="javascript" ev:event="DOMActivate">
  449. <![CDATA[
  450. //导出EXCEL方法
  451. saveExcelScript(datagrid1,"Sheet1");
  452. ]]>
  453. </script>
  454. <script type="javascript" ev:event="onclick">
  455. <![CDATA[
  456. find();
  457. ]]>
  458. </script>
  459. </button>
  460. </xhtml:body>
  461. </xhtml:html>