9c2ddef3d236f3e79c0b0100080c1de7a094af66.svn-base 56 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet type="text/css" href="D:/workspace/xgmes3/WebContents/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[热轧作业>>钢卷库管理>>钢卷库冷轧移送(UIH052400)]]>
  7. </xhtml:title>
  8. <model id="model1">
  9. <instance id="instance1">
  10. <root xmlns="">
  11. <reqData/>
  12. <resData/>
  13. <datagrid1/>
  14. <datagrid2/>
  15. <WK>
  16. <TRNF_SHIFT/>
  17. <TRNF_GROUP/>
  18. <TRNF_REG/>
  19. <TRNF_DTIME/>
  20. <TRANSFER_TYPE/>
  21. <TRANSFER_NO/>
  22. <COIL_NOS/>
  23. <ACT_WGTS/>
  24. <ORD_NOS/>
  25. <ORD_SEQS/>
  26. <CUR_PROG_CDS/>
  27. <LSHS/>
  28. <TRANSSEQS/>
  29. <RZHQX/>
  30. </WK>
  31. <TR>
  32. <TRANSFER_TIME/>
  33. <TRANSFER_NO/>
  34. </TR>
  35. <QDATA>
  36. <ORD_YN/>
  37. <ORD_NO/>
  38. <ORD_SEQ/>
  39. <COIL_NO/>
  40. </QDATA>
  41. <EXCELHead>
  42. <ListResult_1_VO>
  43. <ListResult_1_Row>
  44. <col1>冷轧钢卷移送明细单</col1>
  45. <col2/>
  46. <col3/>
  47. <col4/>
  48. <col5/>
  49. <col6/>
  50. <col7/>
  51. <col8/>
  52. <col9/>
  53. <col10/>
  54. <col11/>
  55. <col12/>
  56. <col13/>
  57. </ListResult_1_Row>
  58. <ListResult_1_Row>
  59. <col1>移送班次</col1>
  60. <col2/>
  61. <col3/>
  62. <col4>移送班组</col4>
  63. <col5/>
  64. <col6/>
  65. <col7/>
  66. <col8/>
  67. <col9/>
  68. <col10/>
  69. <col11/>
  70. <col12/>
  71. <col13/>
  72. </ListResult_1_Row>
  73. <ListResult_1_Row>
  74. <col1>移送人</col1>
  75. <col2/>
  76. <col3/>
  77. <col4>移送时间</col4>
  78. <col5/>
  79. <col6/>
  80. <col7/>
  81. <col8/>
  82. <col9/>
  83. <col10/>
  84. <col11/>
  85. <col12/>
  86. <col13/>
  87. </ListResult_1_Row>
  88. <ListResult_1_Row>
  89. <col1>序号</col1>
  90. <col2>钢卷号</col2>
  91. <col3>冶炼炉号</col3>
  92. <col4>钢种</col4>
  93. <col5>成品厚度</col5>
  94. <col6>成品宽度</col6>
  95. <col7>订单厚度</col7>
  96. <col8>订单宽度</col8>
  97. <col9>重量</col9>
  98. <col10>外径</col10>
  99. <col11>内径</col11>
  100. <col12>堆放位置</col12>
  101. <col13>外观质量</col13>
  102. </ListResult_1_Row>
  103. <ListResult_1_Row>
  104. <col1>序号</col1>
  105. <col2>钢卷号</col2>
  106. <col3>冶炼炉号</col3>
  107. <col4>钢种</col4>
  108. <col5>成品厚度</col5>
  109. <col6>成品宽度</col6>
  110. <col7>订单厚度</col7>
  111. <col8>订单宽度</col8>
  112. <col9>重量</col9>
  113. <col10>外径</col10>
  114. <col11>内径</col11>
  115. <col12>堆放位置</col12>
  116. <col13>外观质量</col13>
  117. </ListResult_1_Row>
  118. </ListResult_1_VO>
  119. </EXCELHead>
  120. <dg1/>
  121. <EXCELHead2>
  122. <ListResult_2_VO>
  123. <ListResult_2_Row>
  124. <col1>冷轧钢卷移送实绩明细单</col1>
  125. <col2/>
  126. <col3/>
  127. <col4/>
  128. <col5/>
  129. <col6/>
  130. <col7/>
  131. <col8/>
  132. <col9/>
  133. <col10/>
  134. <col11/>
  135. <col12/>
  136. <col13/>
  137. <col14/>
  138. <col15/>
  139. <col16/>
  140. <col17/>
  141. <col18/>
  142. </ListResult_2_Row>
  143. <ListResult_2_Row>
  144. <col1/>
  145. <col2>退回班次</col2>
  146. <col3/>
  147. <col4>退回班组</col4>
  148. <col5/>
  149. <col6/>
  150. <col7/>
  151. <col8/>
  152. <col9/>
  153. <col10/>
  154. <col11/>
  155. <col12/>
  156. <col13/>
  157. <col14/>
  158. <col15/>
  159. <col16/>
  160. <col17/>
  161. <col18/>
  162. </ListResult_2_Row>
  163. <ListResult_2_Row>
  164. <col1/>
  165. <col2>退回人</col2>
  166. <col3/>
  167. <col4>退回时间</col4>
  168. <col5/>
  169. <col6/>
  170. <col7/>
  171. <col8/>
  172. <col9/>
  173. <col10/>
  174. <col11/>
  175. <col12/>
  176. <col13/>
  177. <col14/>
  178. <col15/>
  179. <col16/>
  180. <col17/>
  181. <col18/>
  182. </ListResult_2_Row>
  183. <ListResult_2_Row>
  184. <col1>序号</col1>
  185. <col2>钢卷号</col2>
  186. <col3>牌号</col3>
  187. <col4>合同号</col4>
  188. <col5>订单号</col5>
  189. <col6>宽度</col6>
  190. <col7>厚度</col7>
  191. <col8>长度</col8>
  192. <col9>重量</col9>
  193. <col10>移送区分</col10>
  194. <col11>车辆号</col11>
  195. <col12>移送顺序</col12>
  196. <col13>退回堆放位置</col13>
  197. <col14>移送日期</col14>
  198. <col15>接收人</col15>
  199. <col16>接收时间</col16>
  200. <col17>退回人</col17>
  201. <col18>退回时间</col18>
  202. </ListResult_2_Row>
  203. <ListResult_2_Row>
  204. <col1>序号</col1>
  205. <col2>钢卷号</col2>
  206. <col3>牌号</col3>
  207. <col4>合同号</col4>
  208. <col5>订单号</col5>
  209. <col6>宽度</col6>
  210. <col7>厚度</col7>
  211. <col8>长度</col8>
  212. <col9>重量</col9>
  213. <col10>移送区分</col10>
  214. <col11>车辆号</col11>
  215. <col12>移送顺序</col12>
  216. <col13>退回堆放位置</col13>
  217. <col14>移送日期</col14>
  218. <col15>接收人</col15>
  219. <col16>接收时间</col16>
  220. <col17>退回人</col17>
  221. <col18>退回时间</col18>
  222. </ListResult_2_Row>
  223. </ListResult_2_VO>
  224. </EXCELHead2>
  225. <dg2/>
  226. <RegResultc>
  227. <InitRegResultc_Row>
  228. <LABEL/>
  229. <VALUE/>
  230. </InitRegResultc_Row>
  231. </RegResultc>
  232. </root>
  233. </instance>
  234. <script type="javascript" ev:event="xforms-ready">
  235. <![CDATA[
  236. if(window.parent==null) Init();
  237. ]]>
  238. </script>
  239. </model>
  240. <script type="javascript" src="../../js/boaCommon.js"/>
  241. <script type="javascript">
  242. <![CDATA[
  243. //页面初始化的时候需要获取登录的相关用户信息
  244. function Init(node) {
  245. InitParams(node);
  246. commSubmit("UIB010278-service", "success", "glueAction.do");
  247. model.copyNode("/root/RegResultc" , "/root/resData/InitRegResultc_VO");
  248. model.refresh();
  249. }
  250. //调用公共的初始化方法获得登录用户名
  251. function InitParams(node) {
  252. if (typeof node == "undefined" && typeof node != "object") return;
  253. model.removenode("/root/initData/rcvInfo");
  254. model.makeNode("/root/initData/rcvInfo");
  255. var nodeList = node.childNodes;
  256. node = model.instances(0).selectSingleNode("/root/initData/rcvInfo");
  257. for (var i = 0; i < nodeList.length; i++)
  258. node.appendChild(nodeList.item(i));
  259. }
  260. /**
  261. 移送实绩导出功能数据设置
  262. */
  263. function setExcelData(){
  264. var transList = new Array();
  265. var nRows = 0;
  266. var nCnt = datagrid2.rows - datagrid2.fixedRows + 1;
  267. var coilNos = "";
  268. var actWgts = "";
  269. var ordNos = "";
  270. var ordSeqs = "";
  271. var curProgCds = "";
  272. var lshs = "";
  273. var transSeqs = "";//移送顺序
  274. var transId = 1;
  275. for( var i = datagrid2.fixedRows ; i <= nCnt ; i++ ) {
  276. if( true) {
  277. //移送顺序
  278. // if(datagrid1.valueMatrix(i, datagrid1.colRef("CR_PLANT_TRS_SEQ")) == ""){
  279. // alert("移送的钢卷必须输入移送顺序,请确认后重新操作!");
  280. // return;
  281. // }
  282. //钢卷号
  283. coilNos += datagrid2.valueMatrix(i, datagrid2.colRef("OLD_SAMPL_NO"))+"|";
  284. actWgts += datagrid2.valueMatrix(i, datagrid2.colRef("ACT_WGT"))+"|";
  285. ordNos += datagrid2.valueMatrix(i, datagrid2.colRef("ORD_NO"))+"|";
  286. ordSeqs += datagrid2.valueMatrix(i, datagrid2.colRef("ORD_SEQ"))+"|";
  287. curProgCds += datagrid2.valueMatrix(i, datagrid2.colRef("CUR_PROG_CD"))+"|";
  288. lshs += datagrid2.valueMatrix(i, datagrid2.colRef("COIL_NO"))+"|";//流水号
  289. transSeqs += datagrid2.valueMatrix(i, datagrid2.colRef("CR_PLANT_TRS_SEQ")) + "|";
  290. var transObj = new TransObject2();
  291. transObj.id2 = transId;
  292. transObj.coilNo2 = datagrid2.valueMatrix(i, datagrid2.colRef("OLD_SAMPL_NO"));
  293. transObj.stlGrd2 = datagrid2.valueMatrix(i, datagrid2.colRef("STL_GRD"));
  294. transObj.ordNo2 = datagrid2.valueMatrix(i, datagrid2.colRef("ORD_NO"));
  295. transObj.ordSeq2 = datagrid2.valueMatrix(i, datagrid2.colRef("ORD_SEQ"));
  296. transObj.coilWth2 = datagrid2.valueMatrix(i, datagrid2.colRef("COIL_WTH"));
  297. transObj.coilThk2 = datagrid2.valueMatrix(i, datagrid2.colRef("COIL_THK"));
  298. transObj.coilLen2 = datagrid2.valueMatrix(i, datagrid2.colRef("COIL_LEN"));
  299. transObj.coilWgt2 = datagrid2.valueMatrix(i, datagrid2.colRef("ACT_WGT"));
  300. transObj.crPlantClf2 = datagrid2.valueMatrix(i, datagrid2.colRef("CR_PLANT_TRS_CLF"));
  301. transObj.crPlantNo2 = datagrid2.valueMatrix(i, datagrid2.colRef("CR_PLANT_TRS_NO"));
  302. transObj.crPlantCd2 = datagrid2.valueMatrix(i, datagrid2.colRef("CR_PLANT_TRS_CD"));
  303. transObj.curLoadLoc2 = datagrid2.valueMatrix(i, datagrid2.colRef("CUR_LOAD_LOC"));
  304. transObj.crPlantTime2 = datagrid2.valueMatrix(i, datagrid2.colRef("CR_PLANT_TRS_DTIME"));
  305. transObj.receiveReg2 = datagrid2.valueMatrix(i, datagrid2.colRef("RECEIVE_REG"));
  306. transObj.receiveTime2 = datagrid2.valueMatrix(i, datagrid2.colRef("RECEIBE_TIME"));
  307. transObj.trnfReg2 = datagrid2.valueMatrix(i, datagrid2.colRef("TRNF_REG"));
  308. transObj.trnfTime2 = datagrid2.valueMatrix(i, datagrid2.colRef("TRNF_DTIME"));
  309. transId++;
  310. transList.push(transObj);
  311. }
  312. nRows++;
  313. }
  314. if(nRows > 0){
  315. model.makeValue("/root/WK/COIL_NOS",coilNos);
  316. model.duplicate("/root/reqData","/root/WK/COIL_NOS");
  317. model.makeValue("/root/WK/ACT_WGTS",actWgts);
  318. model.duplicate("/root/reqData","/root/WK/ACT_WGTS");
  319. model.makeValue("/root/WK/ORD_NOS",ordNos);
  320. model.duplicate("/root/reqData","/root/WK/ORD_NOS");
  321. model.makeValue("/root/WK/ORD_SEQS",ordSeqs);
  322. model.duplicate("/root/reqData","/root/WK/ORD_SEQS");
  323. model.makeValue("/root/WK/CUR_PROG_CDS",curProgCds);
  324. model.duplicate("/root/reqData","/root/WK/CUR_PROG_CDS");
  325. model.makeValue("/root/WK/LSHS",lshs);
  326. model.duplicate("/root/reqData","/root/WK/LSHS");
  327. model.makeValue("/root/WK/TRANSSEQS",transSeqs);
  328. model.duplicate("/root/reqData","/root/WK/TRANSSEQS");
  329. //这里加入班次、班组、出库人、时间
  330. model.duplicate("/root/reqData","/root/WK/TRNF_SHIFT");
  331. model.duplicate("/root/reqData","/root/WK/TRNF_GROUP");
  332. model.duplicate("/root/reqData","/root/WK/TRNF_REG");
  333. model.duplicate("/root/reqData","/root/WK/TRNF_DTIME");
  334. model.duplicate("/root/reqData","/root/WK/TRANSFER_TYPE");
  335. model.duplicate("/root/reqData","/root/WK/TRANSFER_NO");
  336. if(transList.length > 0)
  337. {
  338. commAppendData ("/root/dg2/ListResult_2_VO" ,"/root/EXCELHead2/ListResult_2_VO" );
  339. //var wgtCount = 0;
  340. for(var k = 0;k < transList.length;k++){
  341. var transObj = transList[k];
  342. var row = k+5;
  343. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col1");
  344. model.setValue("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col1",transObj.id2);
  345. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col2");
  346. model.setValue("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col2",transObj.coilNo2);
  347. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col3");
  348. model.setValue("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col3",transObj.stlGrd2);
  349. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col4");
  350. model.setValue("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col4",transObj.ordNo2);
  351. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col5");
  352. model.setValue("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col5",transObj.ordSeq2);
  353. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col6");
  354. model.setValue("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col6",transObj.coilWth2);
  355. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col7");
  356. model.setValue("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col7",transObj.coilThk2);
  357. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col8");
  358. model.setValue("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col8",transObj.coilLen2);
  359. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col9");
  360. model.setValue("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col9",transObj.coilWgt2);
  361. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col10");
  362. model.setValue("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col10",transObj.crPlantClf2);
  363. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col11");
  364. model.setValue("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col11",transObj.crPlantNo2);
  365. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col12");
  366. model.setValue("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col12",transObj.crPlantCd2);
  367. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col13");
  368. model.setValue("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col13",transObj.curLoadLoc2);
  369. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col14");
  370. model.setValue("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col14",transObj.crPlantTime2);
  371. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col15");
  372. model.setValue("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col15",transObj.receiveReg2);
  373. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col16");
  374. model.setValue("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col16",transObj.receiveTime2);
  375. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col17");
  376. model.setValue("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col17",transObj.trnfReg2);
  377. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col18");
  378. model.setValue("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ row +"]/col18",transObj.trnfTime2);
  379. //wgtCount += parseFloat(transObj.coilWgt2);
  380. }
  381. for(var k = 5;k < 8;k++){
  382. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ (transList.length+k) +"]/col1");
  383. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ (transList.length+k) +"]/col2");
  384. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ (transList.length+k)+"]/col3");
  385. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ (transList.length+k) +"]/col4");
  386. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ (transList.length+k) +"]/col5");
  387. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ (transList.length+k)+"]/col6");
  388. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ (transList.length+k) +"]/col7");
  389. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ (transList.length+k) +"]/col8");
  390. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ (transList.length+k) +"]/col9");
  391. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ (transList.length+k) +"]/col10");
  392. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ (transList.length+k) +"]/col11");
  393. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ (transList.length+k) +"]/col12");
  394. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ (transList.length+k) +"]/col13");
  395. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ (transList.length+k) +"]/col14");
  396. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ (transList.length+k) +"]/col15");
  397. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ (transList.length+k) +"]/col16");
  398. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ (transList.length+k) +"]/col17");
  399. model.makeNode("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ (transList.length+k) +"]/col18");
  400. }
  401. model.setValue("/root/dg2/ListResult_2_VO/ListResult_2_Row["+2 +"]/col3",combo8.label + "班");
  402. model.setValue("/root/dg2/ListResult_2_VO/ListResult_2_Row["+2 +"]/col5",combo9.label + "班");
  403. model.setValue("/root/dg2/ListResult_2_VO/ListResult_2_Row["+3 +"]/col3",model.getValue("/root/WK/TRNF_REG"));
  404. model.setValue("/root/dg2/ListResult_2_VO/ListResult_2_Row["+3 +"]/col5",model.getValue("/root/WK/TRNF_DTIME") + " ");
  405. model.setValue("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ (transList.length+7) +"]/col1","小计");
  406. model.setValue("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ (transList.length+7) +"]/col2",transList.length + "卷");
  407. //model.setValue("/root/dg2/ListResult_2_VO/ListResult_2_Row["+ (transList.length+7) +"]/col9",(wgtCount/1000) + "吨");
  408. model.refresh();
  409. saveExcelScript2(dg2,"Sheet1");
  410. }
  411. }
  412. }
  413. /**
  414. 移送实绩导出功能
  415. */
  416. function saveExcelScript2(sDGridName, sExcelSheetName, saveType) {
  417. var sExcelName = window.fileDialog( "save", "", false, "冷轧钢卷移送实绩明细单", "xls", "Excel Files(*.xls)|*.xls" );
  418. if ( sExcelName == "" ) {
  419. return;
  420. }
  421. //var sCSVName = "C:\\TFSmartUpdater\\" + sExcelName.lastIndexOf(".") +".csv";
  422. var sCSVName = sExcelName + ".csv" ;
  423. //alert("sExcelName = ["+ sExcelName +"]\nsCSVName = ["+ sCSVName + "]");
  424. eval(sDGridName).saveText(sCSVName, "\n", ",", '\:', true); //DataGrid? ??? CSV??? ??
  425. ObjTFExcel.launchNewInstance(0); //Execute EXCEL
  426. ObjTFExcel.createWorkbook(); //Create new Workbook(for example:Sheet1,Sheet2,Sheet3) -- createWorkBook(Excel-TemplateFile)
  427. ObjTFExcel.loadCSV(sCSVName); //Loading Contents, from CSV to Excel
  428. //Setting up EXCEL Layout.
  429. var nRows = sDGridName.rows - sDGridName.fixedRows; //Keep Careful !!!
  430. //导出表的列数
  431. var nCols = sDGridName.cols;
  432. //All of the range
  433. ObjTFExcel.fontcolor( 01, 01, nRows, nCols ) = "#000000" ;
  434. ObjTFExcel.font ( 01, 01, nRows, nCols ) = "SimSun" ;
  435. //Header
  436. //Line 1 : Sheet Title
  437. //行高的设置
  438. ObjTFExcel.rowheight( 01 ) = 30 ;
  439. ObjTFExcel.bold ( 01, 01, 01, nCols ) = true ;
  440. //改变字体大小
  441. ObjTFExcel.fontsize ( 01, 01, 01, nCols ) = 14;
  442. ObjTFExcel.underline( 01, 01, 01, nCols ) = 3 ;
  443. ObjTFExcel.halign ( 01, 01, 01, nCols ) ="center" ;
  444. ObjTFExcel.valign ( 01, 01, 01, nCols ) ="top" ;
  445. ObjTFExcel.mergeCell( 01, 01, 01, nCols ) ;
  446. // ObjTFExcel.colwidth ( 01 ) = 200 ;
  447. for(var i = 2; i <= nRows; i++ ) {
  448. ObjTFExcel.rowHeight( i ) = 18;
  449. }
  450. //取消边框
  451. ObjTFExcel.setBorderColor( 01, 01, nRows, nCols, "#000000") ;
  452. //ObjTFExcel.bold ( 01, 01, nRows, nCols ) = false ;
  453. ObjTFExcel.bold ( 01, 01, 01, nCols) = true ;
  454. ObjTFExcel.bold ( 02, 02, 02, 02 ) = true ;
  455. ObjTFExcel.bold ( 02, 04, 02, 04) = true ;
  456. ObjTFExcel.bold ( 03, 02, 03, 02 ) = true ;
  457. ObjTFExcel.bold ( 03, 04, 03, 04 ) = true ;
  458. ObjTFExcel.bold ( 04, 01, 04, nCols) = true ;
  459. //改变字体大小
  460. ObjTFExcel.fontsize ( 02, 01, nRows, nCols ) = 12 ;
  461. ObjTFExcel.underline ( 01, 01, nRows, nCols ) = 0 ;
  462. ObjTFExcel.valign ( 01, 01, nRows, nCols ) ="middle" ;
  463. //字体居中
  464. ObjTFExcel.halign ( 04, 01, 04, nCols ) ="center" ;
  465. ObjTFExcel.halign ( 05, 02, nRows, nCols ) ="left" ;
  466. //字体左对齐的特殊定义
  467. ObjTFExcel.halign ( 01, 01, 02, nCols ) ="left" ;
  468. ObjTFExcel.halign ( 01, 01, 03, nCols ) ="left" ;
  469. //ObjTFExcel.halign ( 01, 01, 04, nCols ) ="left" ;
  470. //ObjTFExcel.halign ( 01, 01, 05, nCols ) ="left" ;
  471. //ObjTFExcel.halign ( 01, 01, 06, nCols ) ="left" ;
  472. ObjTFExcel.halign ( 01, 01, 01, nCols ) ="center" ;
  473. //合并单元格
  474. //ObjTFExcel.mergeCell(02,02,02,03);
  475. ObjTFExcel.mergeCell(02,05,02,18);
  476. //ObjTFExcel.mergeCell(03,02,03,03);
  477. ObjTFExcel.mergeCell(03,05,03,18);
  478. //设置列的宽度
  479. ObjTFExcel.colwidth ( 01 ) = 8 ;
  480. ObjTFExcel.colwidth ( 02 ) = 16 ;
  481. ObjTFExcel.colwidth ( 03 ) = 13 ;
  482. ObjTFExcel.colwidth ( 04 ) = 16 ;
  483. //设置表格文本常规格式
  484. ObjTFExcel.setFormat(05, 04, nRows, 04, "0;@");
  485. ObjTFExcel.colwidth ( 05 ) = 10 ;
  486. //设置表格文本格式
  487. ObjTFExcel.setFormat(05, 05, nRows, 05, "000;@");
  488. ObjTFExcel.colwidth ( 06 ) = 10 ;
  489. ObjTFExcel.colwidth ( 07 ) = 10 ;
  490. ObjTFExcel.colwidth ( 08 ) = 10 ;
  491. ObjTFExcel.colwidth ( 09 ) = 10 ;
  492. ObjTFExcel.colwidth ( 10 ) = 12 ;
  493. ObjTFExcel.colwidth ( 11 ) = 10 ;
  494. ObjTFExcel.colwidth ( 12 ) = 10 ;
  495. ObjTFExcel.colwidth ( 13 ) = 15 ;
  496. ObjTFExcel.colwidth ( 14 ) = 12 ;
  497. ObjTFExcel.halign (05,14, nRows, 14) ="right" ;
  498. ObjTFExcel.setFormat(05, 14, nRows, 14, "yyyy\"-\"mm\"-\"dd;@");
  499. ObjTFExcel.colwidth ( 15 ) = 12 ;
  500. ObjTFExcel.colwidth ( 16 ) = 21 ;
  501. ObjTFExcel.halign (05,16, nRows, 16) ="right" ;
  502. ObjTFExcel.setFormat(05, 16, nRows, 16, "yyyy\"-\"mm\"-\"dd\"\" hh\":\"mm\":\"ss\"\";@");
  503. ObjTFExcel.colwidth ( 17 ) = 12 ;
  504. ObjTFExcel.colwidth ( 18 ) = 21 ;
  505. ObjTFExcel.halign (05,18, nRows, 18) ="right" ;
  506. ObjTFExcel.setFormat(05, 18, nRows,18, "yyyy\"-\"mm\"-\"dd\"\" hh\":\"mm\":\"ss\"\";@");
  507. //ObjTFExcel.halign (05,16, nRows, 16) ="right" ; //接收日期
  508. //ObjTFExcel.setFormat(05, 18, nRows, 18, "yyyy\"-\"mm\"-\"dd\"\" hh\":\"mm\":\"ss\"\";@");
  509. ObjTFExcel.sheetName(1) = sExcelSheetName;
  510. ObjTFExcel.save(sExcelName); //Saving EXCEL
  511. ObjTFExcel.close(); //Closing EXCEL. (You must be closed EXCEL !!!)
  512. //window.exec("EXCEL.EXE", sExcelName); //Openning EXCEL
  513. }
  514. /**
  515. *移送实绩导出对象
  516. */
  517. function TransObject2(){
  518. this.id2 = null;
  519. this.coilNo2 = null;
  520. this.stlGrd2 = null;
  521. this.ordNo2 = null;
  522. this.ordSeq2 = null;
  523. this.coilWth2 = null;
  524. this.coilThk2 = null;
  525. this.coilLen2 = null;
  526. this.coilWgt2 = 0;
  527. this.crPlantClf2 = null;
  528. this.crPlantNo2 = null;
  529. this.crPlantCd2 = null;
  530. this.curLoadLoc2 = null;
  531. this.crPlantTime2 = null;
  532. this.receiveReg2 = null;
  533. this.receiveTime2 = null;
  534. this.trnfReg2 = null;
  535. this.trnfTime2 = null;
  536. }
  537. /*
  538. *查询操作
  539. */
  540. function find(){
  541. model.removenode("/root/reqData");
  542. model.makeNode("/root/reqData");
  543. model.refresh();
  544. if(model.getValue("/root/QDATA/ORD_YN") == "1")
  545. {
  546. model.duplicate("/root/reqData","/root/QDATA/COIL_NO");
  547. commSubmit("UIH052400-service", "find1", "glueAction.do");
  548. }
  549. else
  550. {
  551. model.duplicate("/root/reqData","/root/QDATA/ORD_NO");
  552. model.duplicate("/root/reqData","/root/QDATA/ORD_SEQ");
  553. model.duplicate("/root/reqData","/root/QDATA/COIL_NO");
  554. commSubmit("UIH052400-service", "find", "glueAction.do");
  555. }
  556. commAppendData("/root/datagrid1/ColdCoilResult_VO","/root/resData/ColdCoilResult_VO");
  557. model.refresh();
  558. //计算总数目和总重量
  559. }
  560. function getNowFormatDate() {
  561. var currentdate = commCurDate();
  562. return currentdate;
  563. }
  564. /**
  565. *移送冷轧操作
  566. */
  567. function save(){
  568. model.removenode("/root/reqData");
  569. model.makeNode("/root/reqData");
  570. //这里判断不为空
  571. if(model.getValue("/root/WK/TRNF_SHIFT") == ""){
  572. alert(" 出库班次信息不能为空,请选择相应的出库班次! ");
  573. return;
  574. }
  575. if(model.getValue("/root/WK/TRNF_GROUP") == ""){
  576. alert(" 出库班组信息不能为空,请选择相应的出库班组信息!! ");
  577. return;
  578. }
  579. if(model.getValue("/root/WK/TRNF_REG") == ""){
  580. alert(" 出库人信息不能为空,请选择相应的出库人信息!! ");
  581. return;
  582. }
  583. if(model.getValue("/root/WK/TRNF_DTIME") == ""){
  584. alert(" 出库时间信息不能为空,请输入相应的出库时间信息!! ");
  585. return;
  586. }
  587. if(model.getValue("/root/WK/TRANSFER_TYPE") == ""){
  588. alert(" 移送区分不能为空,请选 择相应的移送方式!! ");
  589. return;
  590. }
  591. if(model.getValue("/root/WK/TRANSFER_NO") == ""){
  592. alert(" 步进梁号/车辆号不能为空,请输入相应的步进梁号/车辆号!! ");
  593. return;
  594. }
  595. var tmpdate = getNowFormatDate();
  596. var inputdate =model.getValue("/root/WK/TRNF_DTIME") ;
  597. if(inputdate!=tmpdate)
  598. {
  599. //if(commComfirmBox("所输出库日期"+"("+inputdate+")"+"与当前日期"+"("+tmpdate+")"+"不一致,是否继续出库?","提示")=="0") return;
  600. alert("所输移送日期"+"("+inputdate+")"+"不等于当前日期"+"("+tmpdate+")"+",禁止移送,请重新输入!");
  601. return;
  602. }
  603. var transList = new Array();
  604. var nRows = 0;
  605. var nCnt = datagrid1.rows - datagrid1.fixedRows + 1;
  606. var coilNos = "";
  607. var actWgts = "";
  608. var ordNos = "";
  609. var ordSeqs = "";
  610. var curProgCds = "";
  611. var lshs = "";
  612. var transSeqs = "";//移送顺序
  613. var rzhqx = "";//移送顺序
  614. var transId = 1;
  615. for( var i = datagrid1.fixedRows ; i <= nCnt ; i++ ) {
  616. if( datagrid1.valueMatrix(i, datagrid1.colRef("CHK")) == "Y") {
  617. if((datagrid1.valueMatrix(i, datagrid1.colRef("ACT_WGT")) == "")||(datagrid1.valueMatrix(i, datagrid1.colRef("ACT_WGT")) =="0")){
  618. alert("移送的钢卷重量为0,请确认后重新操作!");
  619. return;
  620. }
  621. if(1.7>datagrid1.valueMatrix(i, datagrid1.colRef("COIL_THK")) >0){
  622. alert("厚度不符合要求!(0~2mm不允许移送)");
  623. return;
  624. }
  625. //移送顺序
  626. if(datagrid1.valueMatrix(i, datagrid1.colRef("CR_PLANT_TRS_SEQ")) == ""){
  627. alert("移送的钢卷必须输入移送顺序,请确认后重新操作!");
  628. return;
  629. }
  630. //钢卷号
  631. coilNos += datagrid1.valueMatrix(i, datagrid1.colRef("OLD_SAMPL_NO"))+"|";
  632. actWgts += datagrid1.valueMatrix(i, datagrid1.colRef("ACT_WGT"))+"|";
  633. ordNos += datagrid1.valueMatrix(i, datagrid1.colRef("ORD_NO"))+"|";
  634. ordSeqs += datagrid1.valueMatrix(i, datagrid1.colRef("ORD_SEQ"))+"|";
  635. curProgCds += datagrid1.valueMatrix(i, datagrid1.colRef("CUR_PROG_CD"))+"|";
  636. lshs += datagrid1.valueMatrix(i, datagrid1.colRef("COIL_NO"))+"|";//流水号
  637. transSeqs += datagrid1.valueMatrix(i, datagrid1.colRef("CR_PLANT_TRS_SEQ")) + "|";
  638. rzhqx += datagrid1.valueMatrix(i, datagrid1.colRef("RZHQX")) + "|";
  639. var transObj = new TransObject();
  640. transObj.id = transId;
  641. transObj.coilNo = datagrid1.valueMatrix(i, datagrid1.colRef("OLD_SAMPL_NO"));
  642. transObj.chargeNo = datagrid1.valueMatrix(i, datagrid1.colRef("CHARGE_NO"));
  643. transObj.stlGrd = datagrid1.valueMatrix(i, datagrid1.colRef("STL_GRD"));
  644. transObj.coilThk = datagrid1.valueMatrix(i, datagrid1.colRef("COIL_THK"));
  645. transObj.coilWth = datagrid1.valueMatrix(i, datagrid1.colRef("COIL_WTH"));
  646. transObj.instrCoilThk = datagrid1.valueMatrix(i, datagrid1.colRef("INSTR_COIL_THK"));
  647. transObj.instrCoilWth = datagrid1.valueMatrix(i, datagrid1.colRef("INSTR_COIL_WTH"));
  648. transObj.coilWgt = datagrid1.valueMatrix(i, datagrid1.colRef("ACT_WGT"));
  649. transObj.india = datagrid1.valueMatrix(i, datagrid1.colRef("COIL_INDIA"));
  650. transObj.outdia = datagrid1.valueMatrix(i, datagrid1.colRef("COIL_OUTDIA"));
  651. transObj.yardAddr = datagrid1.valueMatrix(i, datagrid1.colRef("CUR_LOAD_LOC"));
  652. transObj.extShape = datagrid1.valueMatrix(i, datagrid1.colRef("EXTSHAPE_DEC_GRD"));
  653. transId++;
  654. transList.push(transObj);
  655. }
  656. nRows++;
  657. }
  658. if(nRows > 0){
  659. model.makeValue("/root/WK/COIL_NOS",coilNos);
  660. model.duplicate("/root/reqData","/root/WK/COIL_NOS");
  661. model.makeValue("/root/WK/ACT_WGTS",actWgts);
  662. model.duplicate("/root/reqData","/root/WK/ACT_WGTS");
  663. model.makeValue("/root/WK/ORD_NOS",ordNos);
  664. model.duplicate("/root/reqData","/root/WK/ORD_NOS");
  665. model.makeValue("/root/WK/ORD_SEQS",ordSeqs);
  666. model.duplicate("/root/reqData","/root/WK/ORD_SEQS");
  667. model.makeValue("/root/WK/CUR_PROG_CDS",curProgCds);
  668. model.duplicate("/root/reqData","/root/WK/CUR_PROG_CDS");
  669. model.makeValue("/root/WK/LSHS",lshs);
  670. model.duplicate("/root/reqData","/root/WK/LSHS");
  671. model.makeValue("/root/WK/TRANSSEQS",transSeqs);
  672. model.duplicate("/root/reqData","/root/WK/TRANSSEQS");
  673. model.makeValue("/root/WK/RZHQX",rzhqx);
  674. model.duplicate("/root/reqData","/root/WK/RZHQX");
  675. //这里加入班次、班组、出库人、时间
  676. model.duplicate("/root/reqData","/root/WK/TRNF_SHIFT");
  677. model.duplicate("/root/reqData","/root/WK/TRNF_GROUP");
  678. model.duplicate("/root/reqData","/root/WK/TRNF_REG");
  679. model.duplicate("/root/reqData","/root/WK/TRNF_DTIME");
  680. model.duplicate("/root/reqData","/root/WK/TRANSFER_TYPE");
  681. model.duplicate("/root/reqData","/root/WK/TRANSFER_NO");
  682. commSubmit("UIH052400-service" ,"save","glueAction.do");
  683. if(transList.length > 0)
  684. {
  685. commAppendData ("/root/dg1/ListResult_1_VO" ,"/root/EXCELHead/ListResult_1_VO" );
  686. var wgtCount = 0;
  687. for(var k = 0;k < transList.length;k++){
  688. var transObj = transList[k];
  689. var row = k+5;
  690. model.makeNode("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ row +"]/col1");
  691. model.setValue("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ row +"]/col1",transObj.id);
  692. model.makeNode("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ row +"]/col2");
  693. model.setValue("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ row +"]/col2",transObj.coilNo);
  694. model.makeNode("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ row +"]/col3");
  695. model.setValue("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ row +"]/col3",transObj.chargeNo);
  696. model.makeNode("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ row +"]/col4");
  697. model.setValue("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ row +"]/col4",transObj.stlGrd);
  698. model.makeNode("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ row +"]/col5");
  699. model.setValue("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ row +"]/col5",transObj.coilThk);
  700. model.makeNode("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ row +"]/col6");
  701. model.setValue("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ row +"]/col6",transObj.coilWth);
  702. model.makeNode("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ row +"]/col7");
  703. model.setValue("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ row +"]/col7",transObj.instrCoilThk);
  704. model.makeNode("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ row +"]/col8");
  705. model.setValue("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ row +"]/col8",transObj.instrCoilWth);
  706. model.makeNode("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ row +"]/col9");
  707. model.setValue("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ row +"]/col9",transObj.coilWgt);
  708. model.makeNode("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ row +"]/col10");
  709. model.setValue("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ row +"]/col10",transObj.outdia);
  710. model.makeNode("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ row +"]/col11");
  711. model.setValue("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ row +"]/col11",transObj.india);
  712. model.makeNode("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ row +"]/col12");
  713. model.setValue("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ row +"]/col12",transObj.yardAddr);
  714. model.makeNode("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ row +"]/col13");
  715. model.setValue("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ row +"]/col13",transObj.extShape);
  716. wgtCount += parseFloat(transObj.coilWgt);
  717. }
  718. for(var k = 5;k < 8;k++){
  719. model.makeNode("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ (transList.length+k) +"]/col1");
  720. model.makeNode("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ (transList.length+k) +"]/col2");
  721. model.makeNode("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ (transList.length+k) +"]/col3");
  722. model.makeNode("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ (transList.length+k) +"]/col4");
  723. model.makeNode("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ (transList.length+k) +"]/col5");
  724. model.makeNode("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ (transList.length+k) +"]/col6");
  725. model.makeNode("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ (transList.length+k) +"]/col7");
  726. model.makeNode("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ (transList.length+k) +"]/col8");
  727. model.makeNode("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ (transList.length+k) +"]/col9");
  728. model.makeNode("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ (transList.length+k) +"]/col10");
  729. model.makeNode("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ (transList.length+k) +"]/col11");
  730. model.makeNode("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ (transList.length+k) +"]/col12");
  731. model.makeNode("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ (transList.length+k) +"]/col13");
  732. }
  733. model.setValue("/root/dg1/ListResult_1_VO/ListResult_1_Row["+2 +"]/col2",combo8.label + "班");
  734. model.setValue("/root/dg1/ListResult_1_VO/ListResult_1_Row["+2 +"]/col5",combo9.label + "班");
  735. model.setValue("/root/dg1/ListResult_1_VO/ListResult_1_Row["+3 +"]/col2",model.getValue("/root/WK/TRNF_REG"));
  736. model.setValue("/root/dg1/ListResult_1_VO/ListResult_1_Row["+3 +"]/col5",model.getValue("/root/WK/TRNF_DTIME") + " ");
  737. model.setValue("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ (transList.length+7) +"]/col1","小计");
  738. model.setValue("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ (transList.length+7) +"]/col2",transList.length + "卷");
  739. model.setValue("/root/dg1/ListResult_1_VO/ListResult_1_Row["+ (transList.length+7) +"]/col9",(wgtCount/1000) + "吨");
  740. model.refresh();
  741. saveExcelScript(dg1,"Sheet1");
  742. }
  743. }
  744. model.refresh();
  745. find();
  746. }
  747. function TransObject(){
  748. this.id = null;
  749. this.coilNo = null;
  750. this.chargeNo = null;
  751. this.stlGrd = null;
  752. this.coilThk = null;
  753. this.coilWth = null;
  754. this.instrCoilThk = null;
  755. this.instrCoilWth = null;
  756. this.coilWgt = null;
  757. this.india = null;
  758. this.outdia = null;
  759. this.yardAddr = null;
  760. this.extShape = null;
  761. }
  762. function saveExcelScript(sDGridName, sExcelSheetName, saveType) {
  763. var sExcelName = window.fileDialog( "save", "", false, "SaveFileName", "xls", "Excel Files(*.xls)|*.xls" );
  764. if ( sExcelName == "" ) {
  765. return;
  766. }
  767. //var sCSVName = "C:\\TFSmartUpdater\\" + sExcelName.lastIndexOf(".") +".csv";
  768. var sCSVName = sExcelName + ".csv" ;
  769. //alert("sExcelName = ["+ sExcelName +"]\nsCSVName = ["+ sCSVName + "]");
  770. eval(sDGridName).saveText(sCSVName, "\n", ",", '\:', true); //DataGrid? ??? CSV??? ??
  771. ObjTFExcel.launchNewInstance(0); //Execute EXCEL
  772. ObjTFExcel.createWorkbook(); //Create new Workbook(for example:Sheet1,Sheet2,Sheet3) -- createWorkBook(Excel-TemplateFile)
  773. ObjTFExcel.loadCSV(sCSVName); //Loading Contents, from CSV to Excel
  774. //Setting up EXCEL Layout.
  775. var nRows = sDGridName.rows - sDGridName.fixedRows; //Keep Careful !!!
  776. var nCols = sDGridName.cols;
  777. //Header
  778. //Line 1 : Sheet Title
  779. //行高的设置
  780. ObjTFExcel.rowheight( 01 ) = 50 ;
  781. ObjTFExcel.bold ( 01, 01, 01, nCols ) = true ;
  782. //改变字体大小
  783. ObjTFExcel.fontsize ( 01, 01, 01, nCols ) = 18;
  784. ObjTFExcel.underline( 01, 01, 01, nCols ) = 3 ;
  785. ObjTFExcel.halign ( 01, 01, 01, nCols ) ="center" ;
  786. ObjTFExcel.valign ( 01, 01, 01, nCols ) ="top" ;
  787. ObjTFExcel.mergeCell( 01, 01, 01, nCols ) ;
  788. ObjTFExcel.colwidth ( 01 ) = 200 ;
  789. //All of the range
  790. ObjTFExcel.fontcolor ( 01, 01, nRows, nCols ) = "#000000" ;
  791. ObjTFExcel.font ( 01, 01, nRows, nCols ) = "SimSun" ;
  792. //取消边框
  793. ObjTFExcel.setBorderColor( 04, 01, nRows, nCols, "#000000") ;
  794. ObjTFExcel.bold ( 01, 01, nRows, nCols ) = true ;
  795. //改变字体大小
  796. ObjTFExcel.fontsize ( 02, 01, nRows, nCols ) = 12 ;
  797. ObjTFExcel.underline ( 01, 01, nRows, nCols ) = 0 ;
  798. ObjTFExcel.valign ( 01, 01, nRows, nCols ) ="middle" ;
  799. //字体居中
  800. ObjTFExcel.halign ( 01, 01, nRows, nCols ) ="center" ;
  801. //字体左对齐的特殊定义
  802. ObjTFExcel.halign ( 01, 01, 02, nCols ) ="left" ;
  803. ObjTFExcel.halign ( 01, 01, 03, nCols ) ="left" ;
  804. //ObjTFExcel.halign ( 01, 01, 04, nCols ) ="left" ;
  805. //ObjTFExcel.halign ( 01, 01, 05, nCols ) ="left" ;
  806. //ObjTFExcel.halign ( 01, 01, 06, nCols ) ="left" ;
  807. ObjTFExcel.halign ( 01, 01, 01, nCols ) ="center" ;
  808. //合并单元格
  809. ObjTFExcel.mergeCell(02,02,02,03);
  810. ObjTFExcel.mergeCell(02,05,02,13);
  811. ObjTFExcel.mergeCell(03,02,03,03);
  812. ObjTFExcel.mergeCell(03,05,03,13);
  813. //设置列的宽度
  814. ObjTFExcel.colwidth ( 01 ) = 10 ;
  815. ObjTFExcel.colwidth ( 02 ) = 15 ;
  816. ObjTFExcel.colwidth ( 03 ) = 12 ;
  817. ObjTFExcel.colwidth ( 04 ) = 15 ;
  818. ObjTFExcel.colwidth ( 05 ) = 10 ;
  819. ObjTFExcel.colwidth ( 06 ) = 10 ;
  820. ObjTFExcel.colwidth ( 07 ) = 10 ;
  821. ObjTFExcel.colwidth ( 08 ) = 10 ;
  822. ObjTFExcel.colwidth ( 09 ) = 10 ;
  823. ObjTFExcel.colwidth ( 10 ) = 10 ;
  824. ObjTFExcel.colwidth ( 11 ) = 10 ;
  825. ObjTFExcel.colwidth ( 12 ) = 15 ;
  826. ObjTFExcel.colwidth ( 13 ) = 10 ;
  827. // ObjTFExcel.setFormat(iRow, 14, nRows, 14, "yyyy\"-\"mm\"-\"dd\"\" hh\":\"mm\":\"ss\"\";@");
  828. ObjTFExcel.sheetName(1) = sExcelSheetName;
  829. ObjTFExcel.save(sExcelName); //Saving EXCEL
  830. ObjTFExcel.close(); //Closing EXCEL. (You must be closed EXCEL !!!)
  831. window.exec("EXCEL.EXE", sExcelName); //Openning EXCEL
  832. }
  833. /*
  834. *查询称送实绩
  835. */
  836. function findTrans(){
  837. model.removenode("/root/reqData");
  838. model.makeNode("/root/reqData");
  839. model.refresh();
  840. model.duplicate("/root/reqData","/root/TR/TRANSFER_TIME");
  841. model.duplicate("/root/reqData","/root/TR/TRANSFER_NO");
  842. commSubmit("UIH052400-service", "findTrans", "glueAction.do");
  843. commAppendData("/root/datagrid2/CoilTransResult_VO","/root/resData/CoilTransResult_VO");
  844. model.refresh();
  845. //计算总数目和总重量
  846. }
  847. //移送退回
  848. function returnTrans(){
  849. model.removenode("/root/reqData");
  850. model.makeNode("/root/reqData");
  851. model.refresh();
  852. //这里判断不为空
  853. if(model.getValue("/root/WK/TRNF_SHIFT") == ""){
  854. alert(" 入库班次信息不能为空,请选择相应的入库班次! ");
  855. return;
  856. }
  857. if(model.getValue("/root/WK/TRNF_GROUP") == ""){
  858. alert(" 入库班组信息不能为空,请选择相应的入库班组信息!! ");
  859. return;
  860. }
  861. if(model.getValue("/root/WK/TRNF_REG") == ""){
  862. alert(" 入库人信息不能为空,请选择相应的入库人信息!! ");
  863. return;
  864. }
  865. if(model.getValue("/root/WK/TRNF_DTIME") == ""){
  866. alert(" 入库时间信息不能为空,请输入相应的入库时间信息!! ");
  867. return;
  868. }
  869. var nodeSet = datagrid2.nodeset;
  870. for(var i=1;i<datagrid2.rows;i++){
  871. var CHK = model.getValue(nodeSet+"["+i+"]/CHK");
  872. var CURLOADLOC = model.getValue(nodeSet+"["+i+"]/CUR_LOAD_LOC");
  873. if(CHK =="Y" && CURLOADLOC == ""){
  874. alert(" 第"+i+"行的堆放位置为空,请输入相应的堆放位置! ");
  875. return;
  876. }
  877. }
  878. //这里加入班次、班组、入库人、时间
  879. model.duplicate("/root/reqData","/root/WK/TRNF_SHIFT");
  880. model.duplicate("/root/reqData","/root/WK/TRNF_GROUP");
  881. model.duplicate("/root/reqData","/root/WK/TRNF_REG");
  882. model.duplicate("/root/reqData","/root/WK/TRNF_DTIME");
  883. //这里加入登录用户名,会不会与已有的initData冲突
  884. model.makeValue("/root/reqData/LOGIN_ID",model.getValue("/root/initData/rcvInfo/REG_ID"));
  885. commMultiUpdate(datagrid2,"/root/reqData","A",true,"rowStuts");
  886. commSubmit("UIH052400-service", "returnTrans", "glueAction.do");
  887. if(model.getValue("/root/resData/rs_VO/rs_Row") == "COILIN"){
  888. alert(" 冷轧原料已接收入库,无法直接退回!");
  889. return;
  890. }
  891. findTrans();
  892. }
  893. ]]>
  894. </script>
  895. </xhtml:head>
  896. <xhtml:body>
  897. <caption id="caption4" class="cell" style="left:910px; top:45px; width:70px; height:20px; font-weight:bold; border-color:#000000; "/>
  898. <!--<caption id="caption3" class="cell" style="left:750px; top:0px; width:70px; height:20px; font-weight:bold; border-color:#000000; "/>
  899. <button id="button3" style="left:750px; top:0px; width:70px; height:20px; border-color:#000000; ">
  900. <caption>步进梁锁定</caption>
  901. <script type="javascript" ev:event="DOMActivate">
  902. <![CDATA[
  903. ]]>
  904. </script>
  905. </button>-->
  906. <caption id="caption9" class="cell" style="left:900px; top:320px; width:80px; height:20px; font-weight:bold; border-color:#000000; "/>
  907. <object id="ObjTFExcel" clsid="{fe8d1001-6a9d-424d-ae2a-301493bb12da}" style="left:710px; top:40px; width:1px; height:1px; "/>
  908. <button id="button6" style="left:900px; top:320px; width:80px; height:20px; border-color:#000000; ">
  909. <caption>冷轧移送退回</caption>
  910. <script type="javascript" ev:event="DOMActivate">
  911. <![CDATA[
  912. returnTrans();
  913. ]]>
  914. </script>
  915. </button>
  916. <datagrid id="datagrid1" nodeset="/root/datagrid1/ColdCoilResult_VO/ColdCoilResult_Row" caption="选择^钢卷号^进程状态^牌号^合同号^订单号^实际规格^实际规格^实际规格^实际规格^堆放位置^进程状态^移送顺序^移送区分^步进梁号/车辆号^热轧后去向^移送日期|选择^钢卷号^进程状态^牌号^合同号^订单号^宽度^厚度^长度^重量^堆放位置^进程状态^移送顺序^移送区分^步进梁号/车辆号^热轧后去向^移送日期" colsep="^" colwidth="30, 100, 100, 66, 100, 50, 40, 40, 40, 40, 100, 100, 60, 76, 107, 100, 118, 119, 100, 100, 100, 100, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:65px; width:980px; height:230px; ">
  917. <col checkvalue="Y,N" ref="CHK" type="checkbox"/>
  918. <col ref="OLD_SAMPL_NO"/>
  919. <col ref="CUR_PROG_CD_NM"/>
  920. <col ref="STL_GRD"/>
  921. <col ref="ORD_NO"/>
  922. <col ref="ORD_SEQ"/>
  923. <col ref="COIL_WTH"/>
  924. <col ref="COIL_THK"/>
  925. <col ref="COIL_LEN"/>
  926. <col ref="ACT_WGT"/>
  927. <col ref="CUR_LOAD_LOC"/>
  928. <col ref="CUR_PROG_CD" visibility="hidden"/>
  929. <col ref="CR_PLANT_TRS_SEQ" type="input" style="background-color:#ffff99; "/>
  930. <col ref="TRANSFER_TYPE" type="combo">
  931. <choices>
  932. <item>
  933. <label>冷轧厂</label>
  934. <value>B</value>
  935. </item>
  936. <item>
  937. <label>其它转运</label>
  938. <value>C</value>
  939. </item>
  940. </choices>
  941. </col>
  942. <col ref="TRANSFER_NO" type="input"/>
  943. <col ref="RZHQX" type="input"/>
  944. <col ref="TRANSFER_DATE" type="date"/>
  945. <col ref="COIL_NO" visibility="hidden"/>
  946. <col ref="CHARGE_NO" visibility="hidden"/>
  947. <col ref="INSTR_COIL_THK" visibility="hidden"/>
  948. <col ref="INSTR_COIL_WTH" visibility="hidden"/>
  949. <col ref="COIL_INDIA" visibility="hidden"/>
  950. <col ref="COIL_OUTDIA" visibility="hidden"/>
  951. <col ref="EXTSHAPE_DEC_GRD" visibility="hidden"/>
  952. </datagrid>
  953. <!--<output id="output1" style="left:820px; top:0px; width:90px; height:20px; background-color:#00ccff; "/>-->
  954. <datagrid id="datagrid2" nodeset="/root/datagrid2/CoilTransResult_VO/CoilTransResult_Row" caption="选择^钢卷号^牌号^合同号^订单号^实际规格^实际规格^实际规格^实际规格^移送区分^步进梁号/车辆号^移送顺序^钢卷退回放置位置^移送日期^接收人^接收时间^退回人^退回时间|选择^钢卷号^牌号^合同号^订单号^宽度^厚度^长度^重量^移送区分^步进梁号/车辆号^移送顺序^钢卷退回放置位置^移送日期^接收人^接收时间^退回人^退回时间" colsep="^" colwidth="30, 90, 55, 90, 45, 40, 40, 40, 40, 83, 80, 63, 90, 90, 100, 100, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:340px; width:980px; height:265px; ">
  955. <col checkvalue="Y,N" ref="CHK" type="checkbox"/>
  956. <col ref="OLD_SAMPL_NO"/>
  957. <col ref="STL_GRD"/>
  958. <col ref="ORD_NO"/>
  959. <col ref="ORD_SEQ"/>
  960. <col ref="COIL_WTH"/>
  961. <col ref="COIL_THK"/>
  962. <col ref="COIL_LEN"/>
  963. <col ref="ACT_WGT"/>
  964. <col ref="CR_PLANT_TRS_CLF"/>
  965. <col ref="CR_PLANT_TRS_NO"/>
  966. <col ref="CR_PLANT_TRS_CD"/>
  967. <col ref="CUR_LOAD_LOC" type="input" style="background-color:#ffff99; "/>
  968. <col ref="CR_PLANT_TRS_DTIME"/>
  969. <col ref="RECEIVE_REG"/>
  970. <col ref="RECEIBE_TIME"/>
  971. <col ref="TRNF_REG"/>
  972. <col ref="TRNF_DTIME"/>
  973. </datagrid>
  974. <caption id="caption5" class="cell" style="left:115px; top:320px; width:85px; height:20px; font-weight:bold; border-color:#000000; ">移送日期</caption>
  975. <input id="input1" ref="/root/TR/TRANSFER_NO" style="left:415px; top:320px; width:105px; height:20px; background-color:#ffff99; "/>
  976. <caption id="caption6" class="cell" style="left:300px; top:320px; width:115px; height:20px; font-weight:bold; border-color:#000000; ">步进梁号/车辆号</caption>
  977. <input id="input2" ref="/root/TR/TRANSFER_TIME" inputtype="date" format="yyyy-mm-dd" style="left:180px; top:320px; width:110px; height:20px; background-color:#ffff99; "/>
  978. <caption id="caption1" class="cell" style="left:0px; top:320px; width:95px; height:20px; font-weight:bold; border-color:#000000; ">冷轧移送实绩</caption>
  979. <caption id="caption2" class="cell" style="left:0px; top:45px; width:90px; height:20px; font-weight:bold; border-color:#000000; ">冷轧移送对象</caption>
  980. <button id="button1" style="left:910px; top:45px; width:70px; height:20px; border-color:#000000; ">
  981. <caption>移送</caption>
  982. <script type="javascript" ev:event="DOMActivate">
  983. <![CDATA[
  984. save();
  985. ]]>
  986. </script>
  987. </button>
  988. <caption id="caption3" class="cell" style="left:835px; top:45px; width:70px; height:20px; font-weight:bold; border-color:#000000; "/>
  989. <button id="button2" style="left:835px; top:45px; width:70px; height:20px; border-color:#000000; ">
  990. <caption>查询</caption>
  991. <script type="javascript" ev:event="DOMActivate">
  992. <![CDATA[
  993. find();
  994. ]]>
  995. </script>
  996. </button>
  997. <caption id="caption21" class="cell" style="left:0px; top:10px; width:60px; height:20px; vertical-align:middle; border-color:#000000; ">班次</caption>
  998. <caption id="caption23" class="cell" style="left:130px; top:10px; width:60px; height:20px; vertical-align:middle; border-color:#000000; ">班组</caption>
  999. <caption id="caption10" class="cell" style="left:405px; top:10px; width:60px; height:20px; border-color:#000000; ">操作时间</caption>
  1000. <caption id="caption14" class="cell" style="left:260px; top:10px; width:60px; height:20px; vertical-align:middle; border-color:#000000; ">操作人</caption>
  1001. <select1 id="combo7" ref="/root/WK/TRNF_REG" appearance="minimal" editmode="input" style="left:320px; top:10px; width:80px; height:20px; background-color:#ffff99; ">
  1002. <choices>
  1003. <itemset nodeset="/root/RegResultc/InitRegResultc_Row">
  1004. <label ref="LABEL"/>
  1005. <value ref="VALUE"/>
  1006. </itemset>
  1007. </choices>
  1008. </select1>
  1009. <select1 id="combo8" ref="/root/WK/TRNF_SHIFT" appearance="minimal" style="left:60px; top:10px; width:65px; height:20px; background-color:#ffff99; ">
  1010. <choices>
  1011. <item>
  1012. <label>早</label>
  1013. <value>1</value>
  1014. </item>
  1015. <item>
  1016. <label>中</label>
  1017. <value>2</value>
  1018. </item>
  1019. <item>
  1020. <label>晚</label>
  1021. <value>3</value>
  1022. </item>
  1023. </choices>
  1024. </select1>
  1025. <select1 id="combo9" ref="/root/WK/TRNF_GROUP" appearance="minimal" style="left:190px; top:10px; width:65px; height:20px; background-color:#ffff99; ">
  1026. <choices>
  1027. <item>
  1028. <label>甲</label>
  1029. <value>A</value>
  1030. </item>
  1031. <item>
  1032. <label>乙</label>
  1033. <value>B</value>
  1034. </item>
  1035. <item>
  1036. <label>丙</label>
  1037. <value>C</value>
  1038. </item>
  1039. <item>
  1040. <label>丁</label>
  1041. <value>D</value>
  1042. </item>
  1043. </choices>
  1044. </select1>
  1045. <input id="input6" ref="/root/WK/TRNF_DTIME" inputtype="date" format="yyyy-mm-dd" style="left:465px; top:10px; width:100px; height:20px; background-color:#ffff99; "/>
  1046. <caption id="caption11" class="cell" style="left:570px; top:10px; width:60px; height:20px; vertical-align:middle; border-color:#000000; ">移送区分</caption>
  1047. <select1 id="combo1" ref="/root/WK/TRANSFER_TYPE" appearance="minimal" style="left:630px; top:10px; width:90px; height:20px; background-color:#ffff99; ">
  1048. <choices>
  1049. <item>
  1050. <label>冷轧厂</label>
  1051. <value>B</value>
  1052. </item>
  1053. <item>
  1054. <label>其它转运</label>
  1055. <value>C</value>
  1056. </item>
  1057. </choices>
  1058. </select1>
  1059. <caption id="caption12" class="cell" style="left:725px; top:10px; width:100px; height:20px; vertical-align:middle; border-color:#000000; ">步进梁号/车辆号</caption>
  1060. <input id="input4" ref="/root/WK/TRANSFER_NO" style="left:825px; top:10px; width:100px; height:20px; background-color:#ffff99; "/>
  1061. <button id="button3" style="left:815px; top:320px; width:80px; height:20px; border-color:#000000; ">
  1062. <caption>移送选择退回</caption>
  1063. <script type="javascript" ev:event="DOMActivate">
  1064. <![CDATA[
  1065. ]]>
  1066. </script>
  1067. </button>
  1068. <caption id="caption13" class="cell" style="left:815px; top:320px; width:80px; height:20px; font-weight:bold; border-color:#000000; "/>
  1069. <button id="button4" style="left:815px; top:320px; width:80px; height:20px; border-color:#000000; ">
  1070. <caption>查询移送实绩</caption>
  1071. <script type="javascript" ev:event="DOMActivate">
  1072. <![CDATA[
  1073. findTrans();
  1074. ]]>
  1075. </script>
  1076. </button>
  1077. <caption id="caption15" class="cell" style="left:255px; top:45px; width:85px; height:20px; vertical-align:middle; border-color:#000000; ">合同-订单号</caption>
  1078. <input id="input5" ref="/root/QDATA/ORD_NO" style="left:340px; top:45px; width:100px; height:20px; background-color:#ffff99; "/>
  1079. <input id="input7" ref="/root/QDATA/ORD_SEQ" style="left:445px; top:45px; width:50px; height:20px; background-color:#ffff99; "/>
  1080. <select id="checkbox1" ref="/root/QDATA/ORD_YN" overflow="visible" appearance="full" style="left:125px; top:45px; width:100px; height:20px; border-style:none; ">
  1081. <choices>
  1082. <item>
  1083. <label>是否余材</label>
  1084. <value>1</value>
  1085. </item>
  1086. </choices>
  1087. </select>
  1088. <caption id="caption16" class="cell" style="left:515px; top:45px; width:50px; height:20px; vertical-align:middle; border-color:#000000; ">钢卷号</caption>
  1089. <input id="input8" ref="/root/QDATA/COIL_NO" style="left:565px; top:45px; width:120px; height:20px; background-color:#ffff99; ">
  1090. <script type="javascript" ev:event="onkeypress">
  1091. <![CDATA[
  1092. if(event.keyCode==13){
  1093. model.setFocus("datagrid1" , true);//设置焦点
  1094. find();
  1095. }
  1096. ]]>
  1097. </script>
  1098. </input>
  1099. <!--visibility="hidden" -->
  1100. <datagrid id="dg1" nodeset="/root/dg1/ListResult_1_VO/ListResult_1_Row" visibility="hidden" caption="caption1^caption2^caption3^caption4^caption5^caption6^caption7^caption8^caption9^caption10^caption11^caption12^caption13" colsep="^" colwidth="70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:605px; width:0px; height:0px; ">
  1101. <col ref="col1"/>
  1102. <col ref="col2"/>
  1103. <col ref="col3"/>
  1104. <col ref="col4"/>
  1105. <col ref="col5"/>
  1106. <col ref="col6"/>
  1107. <col ref="col7"/>
  1108. <col ref="col8"/>
  1109. <col ref="col9"/>
  1110. <col ref="col10"/>
  1111. <col ref="col11"/>
  1112. <col ref="col12"/>
  1113. <col ref="col13"/>
  1114. </datagrid>
  1115. <!--visibility="hidden" -->
  1116. <datagrid id="dg2" nodeset="/root/dg2/ListResult_2_VO/ListResult_2_Row" visibility="hidden" caption="caption1^caption2^caption3^caption4^caption5^caption6^caption7^caption8^caption9^caption10^caption11^caption12^caption13^caption14^caption15^caption16^caption17^caption18" colsep="^" colwidth="70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:605px; width:0px; height:0px; ">
  1117. <col ref="col1"/>
  1118. <col ref="col2"/>
  1119. <col ref="col3"/>
  1120. <col ref="col4"/>
  1121. <col ref="col5"/>
  1122. <col ref="col6"/>
  1123. <col ref="col7"/>
  1124. <col ref="col8"/>
  1125. <col ref="col9"/>
  1126. <col ref="col10"/>
  1127. <col ref="col11"/>
  1128. <col ref="col12"/>
  1129. <col ref="col13"/>
  1130. <col ref="col14"/>
  1131. <col ref="col15"/>
  1132. <col ref="col16"/>
  1133. <col ref="col17"/>
  1134. <col ref="col18"/>
  1135. </datagrid>
  1136. <button id="button5" style="left:730px; top:320px; width:80px; height:20px; border-color:#000000; ">
  1137. <caption>移送选择退回</caption>
  1138. <script type="javascript" ev:event="DOMActivate">
  1139. <![CDATA[
  1140. ]]>
  1141. </script>
  1142. </button>
  1143. <button id="button7" style="left:730px; top:320px; width:80px; height:20px; border-color:#000000; ">
  1144. <caption>查询移送实绩</caption>
  1145. <script type="javascript" ev:event="DOMActivate">
  1146. <![CDATA[
  1147. findTrans();
  1148. ]]>
  1149. </script>
  1150. </button>
  1151. <caption id="caption8" class="cell" style="left:730px; top:320px; width:80px; height:20px; font-weight:bold; border-color:#000000; "/>
  1152. <button id="button8" style="left:730px; top:320px; width:80px; height:20px; border-color:#000000; ">
  1153. <caption>移送确认</caption>
  1154. <script type="javascript" ev:event="DOMActivate">
  1155. <![CDATA[
  1156. window.load("UIH052401.xrw","modal","", "left:0; top:0; width:980; height:650; sysmenu:visible; min:visible; max:true; resize:true; caption:visible;");
  1157. ]]>
  1158. </script>
  1159. </button>
  1160. <button id="button11" style="left:645px; top:320px; width:80px; height:20px; border-color:#000000; ">
  1161. <caption>导出</caption>
  1162. <script type="javascript" ev:event="DOMActivate">
  1163. <![CDATA[
  1164. setExcelData();
  1165. ]]>
  1166. </script>
  1167. </button>
  1168. <select1 id="combo2" ref="/root/WK/TRNF_REG" visibility="hidden" appearance="minimal" editmode="input" style="left:720px; top:40px; width:80px; height:20px; background-color:#ffff99; ">
  1169. <choices>
  1170. <item>
  1171. <label>章厚兵</label>
  1172. <value>章厚兵</value>
  1173. </item>
  1174. <item>
  1175. <label>孙卫兵</label>
  1176. <value>孙卫兵</value>
  1177. </item>
  1178. <item>
  1179. <label>敖正刚</label>
  1180. <value>敖正刚</value>
  1181. </item>
  1182. <item>
  1183. <label>徐哲峰</label>
  1184. <value>徐哲峰</value>
  1185. </item>
  1186. <item>
  1187. <label>王晓华</label>
  1188. <value>王晓华</value>
  1189. </item>
  1190. <item>
  1191. <label>黄勇</label>
  1192. <value>黄勇</value>
  1193. </item>
  1194. <item>
  1195. <label>冯志军</label>
  1196. <value>冯志军</value>
  1197. </item>
  1198. <item>
  1199. <label>魏一琦</label>
  1200. <value>魏一琦</value>
  1201. </item>
  1202. <item>
  1203. <label>蔡伟平</label>
  1204. <value>蔡伟平</value>
  1205. </item>
  1206. <item>
  1207. <label>王二松</label>
  1208. <value>王二松</value>
  1209. </item>
  1210. <item>
  1211. <label>邹秋兰</label>
  1212. <value>邹秋兰</value>
  1213. </item>
  1214. </choices>
  1215. </select1>
  1216. <object id="object1" clsid="{fe8d1001-6a9d-424d-ae2a-301493bb12da}" visibility="hidden" style="left:930px; top:15px; width:45px; height:25px; "/>
  1217. </xhtml:body>
  1218. </xhtml:html>