c0e56b3eade4571b2c660bc750e9cf9c17a22ada.svn-base 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405
  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[非计划卷管理>>转运管理>>非计划卷转运及重新入库(UIK010010)]]>
  7. </xhtml:title>
  8. <model id="model1">
  9. <instance id="instance1">
  10. <root xmlns="">
  11. <formData>
  12. <COIL_NO/>
  13. <CUR_LOAD_LOC/>
  14. <STL_GRD/>
  15. <COIL_WTH_MIN/>
  16. <COIL_THK_MIN/>
  17. <CUR_PROG_CD/>
  18. <COIL_THK_MAX/>
  19. <COIL_WTH_MAX/>
  20. <ZHIDING>N</ZHIDING>
  21. <ORD_NO/>
  22. <ORD_SEQ/>
  23. <CDTIME/>
  24. </formData>
  25. <sumData>
  26. <SUM_COILRST_CNT/>
  27. <SUM_COILRST_WGT/>
  28. </sumData>
  29. <reqData/>
  30. <resData/>
  31. <boolData>
  32. <qk_yn/>
  33. <ord_fl/>
  34. </boolData>
  35. <datagrid1/>
  36. <StlResult>
  37. <StlResult_Row>
  38. <LABEL/>
  39. <VALUE/>
  40. </StlResult_Row>
  41. </StlResult>
  42. </root>
  43. </instance>
  44. <script type="javascript" ev:event="xforms-ready">
  45. <![CDATA[
  46. if(window.parent==null) Init();
  47. ]]>
  48. </script>
  49. </model>
  50. <script type="javascript">
  51. <![CDATA[
  52. function Init(node)
  53. {
  54. model.removenode("/root/reqData");
  55. model.makeNode("/root/reqData");
  56. commSubmit("UIK010010-service", "success", "glueAction.do");
  57. model.copyNode("/root/StlResult" , "/root/resData/StlResult_VO");
  58. model.refresh();
  59. }
  60. function excelExport() {
  61. return datagrid1;
  62. }
  63. function find()
  64. {
  65. model.removenode("/root/reqData");
  66. model.makeValue("/root/reqData/OLD_SAMPL_NO" , input1.value);
  67. model.makeValue("/root/reqData/STL_GRD" , combo1.value);
  68. model.makeValue("/root/reqData/COIL_THK_MIN" , input7.value);
  69. model.makeValue("/root/reqData/COIL_THK_MAX" , input8.value);
  70. model.makeValue("/root/reqData/COIL_WTH_MIN" , input4.value);
  71. model.makeValue("/root/reqData/COIL_WTH_MAX" , input9.value);
  72. model.makeValue("/root/reqData/CUR_PROG_CD" , combo2.value);
  73. model.makeValue("/root/reqData/ZHIDING" , combo3.value);
  74. model.makeValue("/root/reqData/CUR_LOAD_LOC" , input2.value);
  75. if(combo3.value == 'N')
  76. {
  77. model.makeValue("/root/reqData/COIL_STAT" , '2');
  78. }
  79. else
  80. {
  81. model.makeValue("/root/reqData/COIL_STAT" , '3');
  82. }
  83. model.makeValue("/root/reqData/ORD_NO" , input3.value);
  84. model.makeValue("/root/reqData/CDTIME" , input11.value);
  85. commSubmit("UIK010010-service" , "find" , "glueAction.do");
  86. model.copyNode("/root/datagrid1" , "/root/resData/AppointResult_VO");
  87. model.refresh();
  88. model.setValue("/root/sumData/SUM_COILRST_CNT",model.getValue("/root/resData/SumCoil_VO/SumCoil_Row/COIL_CNT"));
  89. model.setValue("/root/sumData/SUM_COILRST_WGT",model.getValue("/root/resData/SumCoil_VO/SumCoil_Row/COIL_WGT"));
  90. model.refresh();
  91. getSumWGT();
  92. }
  93. function getSumWGT()
  94. {
  95. var totalWGT = 0;
  96. var totalCnt = 0;
  97. for(var i = datagrid1.fixedRows; i < datagrid1.rows; i++)
  98. {
  99. totalCnt = totalCnt + 1;
  100. if(datagrid1.valueMatrix(i ,datagrid1.colRef("ACT_WGT")) == "")
  101. {
  102. }else{
  103. totalWGT = totalWGT + parseFloat(datagrid1.valueMatrix(i ,datagrid1.colRef("ACT_WGT")));
  104. }
  105. }
  106. model.setValue("/root/sumData/SUM_COILRST_CNT",totalCnt);
  107. model.setValue("/root/sumData/SUM_COILRST_WGT",totalWGT/1000);
  108. output1.refresh();
  109. output2.refresh();
  110. }
  111. function appoint()
  112. {
  113. model.removenode("/root/reqData");
  114. model.makeNode("/root/reqData");
  115. for(var i=0;i<datagrid1.rows;i++){
  116. datagrid1.rowStatus(i) = 2;
  117. }
  118. model.refresh();
  119. commMultiUpdate(datagrid1,"/root/reqData","A",true,"rowStatus");
  120. model.makeValue("/root/reqData/REG_ID",model.getValue("/root/initData/rcvInfo/REG_ID"));
  121. commSubmit("UIK010010-service","appoint","glueAction.do");
  122. datagrid1.clearStatus();
  123. }
  124. function UpdateHotCoil()
  125. {
  126. model.removenode("/root/reqData");
  127. model.makeNode("/root/reqData");
  128. for(var i=0;i<datagrid1.rows;i++){
  129. datagrid1.rowStatus(i) = 2;
  130. }
  131. model.refresh();
  132. commMultiUpdate(datagrid1,"/root/reqData","A",true,"rowStatus");
  133. model.makeValue("/root/reqData/REG_ID",model.getValue("/root/initData/rcvInfo/REG_ID"));
  134. commSubmit("UIK010010-service","update","glueAction.do");
  135. datagrid1.clearStatus();
  136. }
  137. function Cancelappoint()
  138. {
  139. model.removenode("/root/reqData");
  140. model.makeNode("/root/reqData");
  141. for(var i=0;i<datagrid1.rows;i++){
  142. datagrid1.rowStatus(i) = 2;
  143. }
  144. model.refresh();
  145. commMultiUpdate(datagrid1,"/root/reqData","A",true,"rowStatus");
  146. model.makeValue("/root/reqData/REG_ID",model.getValue("/root/initData/rcvInfo/REG_ID"));
  147. commSubmit("UIK010010-service","cancelZD","glueAction.do");
  148. datagrid1.clearStatus();
  149. }
  150. function DeleteBJ()
  151. {
  152. model.removenode("/root/reqData");
  153. model.makeNode("/root/reqData");
  154. for(var i=0;i<datagrid1.rows;i++){
  155. datagrid1.rowStatus(i) = 2;
  156. }
  157. model.refresh();
  158. commMultiUpdate(datagrid1,"/root/reqData","A",true,"rowStatus");
  159. commSubmit("UIK010010-service","deleteBJ","glueAction.do");
  160. datagrid1.clearStatus();
  161. }
  162. function SaveBJBack()
  163. {
  164. model.removenode("/root/reqData");
  165. model.makeNode("/root/reqData");
  166. for(var i=0;i<datagrid1.rows;i++){
  167. datagrid1.rowStatus(i) = 2;
  168. }
  169. model.refresh();
  170. commMultiUpdate(datagrid1,"/root/reqData","A",true,"rowStatus");
  171. model.makeValue("/root/reqData/REG_ID",model.getValue("/root/initData/rcvInfo/REG_ID"));
  172. commSubmit("UIK010010-service","SaveBJBack","glueAction.do");
  173. datagrid1.clearStatus();
  174. }
  175. ]]>
  176. </script>
  177. <script type="javascript" src="../js/boaCommon.js"/>
  178. <script type="javascript" src="../../js/boaCommon.js"/>
  179. <script type="javascript" src="../../js/b01.js"/>
  180. <script type="javascript" src="../../js/boaMsg.js"/>
  181. </xhtml:head>
  182. <xhtml:body guideline="1,1000;2,601;" style="font-weight:980; font-style:620; ">
  183. <input id="input7" ref="/root/formData/COIL_THK_MIN" style="left:385px; top:0px; width:30px; height:20px; "/>
  184. <input id="input8" ref="/root/formData/COIL_THK_MAX" style="left:430px; top:0px; width:30px; height:20px; "/>
  185. <input id="input9" ref="/root/formData/COIL_WTH_MAX" style="left:575px; top:0px; width:45px; height:20px; "/>
  186. <caption id="caption1" class="cell" style="left:631px; top:0px; width:70px; height:20px; font-weight:bold; border-color:#000000; ">垛 位</caption>
  187. <caption id="caption10" class="cell" style="left:780px; top:50px; width:60px; height:20px; font-weight:bold; background-color:#ffcc00; border-color:#000000; ">重量合计</caption>
  188. <caption id="caption2" class="cell" style="left:0px; top:0px; width:70px; height:20px; font-weight:bold; border-color:#000000; ">钢 卷 号</caption>
  189. <select1 id="combo1" ref="/root/formData/STL_GRD" appearance="minimal" editmode="inputsearch" style="left:235px; top:0px; width:91px; height:20px; text-align:left; ">
  190. <choices>
  191. <itemset nodeset="/root/StlResult/StlResult_Row">
  192. <label ref="LABEL"/>
  193. <value ref="VALUE"/>
  194. </itemset>
  195. </choices>
  196. </select1>
  197. <caption id="caption11" style="left:745px; top:50px; width:20px; height:20px; font-weight:bold; ">卷</caption>
  198. <select1 id="combo2" ref="/root/formData/CUR_PROG_CD" appearance="minimal" editmode="inputsearch" style="left:405px; top:25px; width:110px; height:20px; text-align:left; ">
  199. <choices>
  200. <item>
  201. <label>发货指示待机</label>
  202. <value>SFA</value>
  203. </item>
  204. <item>
  205. <label>综合判定待机</label>
  206. <value>SED</value>
  207. </item>
  208. <item>
  209. <label>充当待机</label>
  210. <value>SRC</value>
  211. </item>
  212. <item>
  213. <label/>
  214. <value/>
  215. </item>
  216. </choices>
  217. </select1>
  218. <caption id="caption3" class="cell" style="left:167px; top:0px; width:70px; height:20px; font-weight:bold; border-color:#000000; ">钢 号</caption>
  219. <caption id="caption12" style="left:920px; top:50px; width:20px; height:20px; font-weight:bold; ">吨</caption>
  220. <caption id="caption4" class="cell" style="left:465px; top:0px; width:50px; height:20px; font-weight:bold; border-color:#000000; ">宽 度</caption>
  221. <line id="line1" style="x1:415px; y1:10px; x2:430px; y2:10px; "/>
  222. <caption id="caption5" class="cell" style="left:336px; top:0px; width:49px; height:20px; font-weight:bold; border-color:#000000; ">厚 度</caption>
  223. <caption id="caption6" class="cell" style="left:335px; top:25px; width:70px; height:20px; font-weight:bold; border-color:#000000; ">进程状态</caption>
  224. <input id="input1" ref="/root/formData/COIL_NO" style="left:71px; top:0px; width:90px; height:20px; "/>
  225. <input id="input2" ref="/root/formData/CUR_LOAD_LOC" style="left:702px; top:0px; width:83px; height:20px; "/>
  226. <line id="line5" style="x1:560px; y1:10px; x2:575px; y2:10px; "/>
  227. <input id="input4" ref="/root/formData/COIL_WTH_MIN" style="left:515px; top:0px; width:45px; height:20px; "/>
  228. <caption id="caption9" class="cell" style="left:625px; top:50px; width:60px; height:20px; font-weight:bold; background-color:#ffcc00; border-color:#000000; ">卷数合计</caption>
  229. <output id="output1" ref="/root/sumData/SUM_COILRST_CNT" style="left:685px; top:50px; width:60px; height:20px; text-align:center; "/>
  230. <output id="output2" ref="/root/sumData/SUM_COILRST_WGT" style="left:840px; top:50px; width:75px; height:20px; text-align:center; "/>
  231. <datagrid id="datagrid1" nodeset="/root/datagrid1/AppointResult_Row" caption="选择^钢卷号^移送状态^caption1^钢种^改判前钢种^热轧实际^热轧实际^热轧实际^热轧实际^热轧实际^订单厚度^订单宽度^判定厚度^判定宽度^重量^堆放位置^缺陷1^缺陷2^缺陷3^缺陷4^缺陷5^入库时间^入库操作时间^入库人^入库班次^入库组^二级库存^订单区分^合同号^订单号^综合判定^成份判定^材质判定^尺寸判定^外观判定^重量判定^判定时间^次品区分^清库前性能^清库前外观^^冶炼炉号^收货单位^发货方式^系列^产品等级^异常卷备注^钢卷说明^钢卷备注^指定备注|选择^钢卷号^移送状态^caption1^钢种^改判前钢种^厚度^宽度^长度^内径^外径^订单厚度^订单宽度^判定厚度^判定宽度^重量^堆放位置^缺陷1^缺陷2^缺陷3^缺陷4^缺陷5^入库时间^入库操作时间^入库人^入库班次^入库组^二级库存^订单区分^合同号^订单号^综合判定^成份判定^材质判定^尺寸判定^外观判定^重量判定^判定时间^次品区分^清库前性能^清库前外观^^冶炼炉号^收货单位^发货方式^系列^产品等级^异常卷备注^钢卷说明^钢卷备注^指定备注" colsep="^" colwidth="40, 100, 130, 100, 50, 50, 40, 40, 40, 40, 40, 40, 40, 40, 40, 50, 60, 50, 50, 50, 50, 50, 80, 80, 60, 60, 50, 60, 35, 70, 50, 40, 40, 40, 40, 40, 40, 60, 75, 70, 70, 100, 75, 100, 100, 60, 60, 100, 100, 60, 200" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:80px; width:950px; height:505px; ">
  232. <col checkvalue="Y,N" ref="CHK" type="checkbox"/>
  233. <col editable="false" ref="OLD_SAMPL_NO" type="input"/>
  234. <col ref="APPOINT_YN" visibility="hidden"/>
  235. <col ref="EXIST_YN" visibility="hidden"/>
  236. <col editable="false" ref="SPEC_STL_GRD" type="input"/>
  237. <col ref="BEF_SPEC_STL_GRD"/>
  238. <col editable="false" ref="COIL_THK" type="input"/>
  239. <col editable="false" ref="COIL_WTH" type="input"/>
  240. <col ref="COIL_LEN"/>
  241. <col ref="COIL_INDIA"/>
  242. <col ref="COIL_OUTDIA"/>
  243. <col editable="false" ref="INSTR_COIL_THK" type="input"/>
  244. <col editable="false" ref="INSTR_COIL_WTH" type="input"/>
  245. <col ref="DCS_THK"/>
  246. <col ref="DCS_WTH"/>
  247. <col ref="ACT_WGT" type="input"/>
  248. <col ref="CUR_LOAD_LOC" type="input"/>
  249. <col ref="CRK_CD1"/>
  250. <col ref="CRK_CD2"/>
  251. <col ref="CRK_CD3"/>
  252. <col ref="CRK_CD4"/>
  253. <col ref="CRK_CD5"/>
  254. <col editable="false" ref="YARD_ENTRY_DTIME" type="input" visibility="hidden" format="yyyy-mm-dd hh:nn"/>
  255. <col editable="false" ref="YARD_ENTRY_USE_TIME" type="input" visibility="hidden" format="yyyy-mm-dd hh:nn"/>
  256. <col explorerbar="sortshow" ref="YARD_ENTRY_REG" visibility="hidden"/>
  257. <col disabled="true" ref="YARD_ENTRY_SHIFT" type="combo" visibility="hidden">
  258. <choices>
  259. <item>
  260. <label>早班</label>
  261. <value>1</value>
  262. </item>
  263. <item>
  264. <label>中班</label>
  265. <value>2</value>
  266. </item>
  267. <item>
  268. <label>晚班</label>
  269. <value>3</value>
  270. </item>
  271. </choices>
  272. </col>
  273. <col disabled="true" ref="YARD_ENTRY_GROUP" type="combo" visibility="hidden">
  274. <choices>
  275. <item>
  276. <label>甲班</label>
  277. <value>A</value>
  278. </item>
  279. <item>
  280. <label>乙班</label>
  281. <value>B</value>
  282. </item>
  283. <item>
  284. <label>丙班</label>
  285. <value>C</value>
  286. </item>
  287. <item>
  288. <label>丁班</label>
  289. <value>D</value>
  290. </item>
  291. </choices>
  292. </col>
  293. <col ref="QK_YN" visibility="hidden"/>
  294. <col disabled="true" ref="ORD_FL"/>
  295. <col editable="false" ref="ORD_NO" type="input"/>
  296. <col editable="false" ref="ORD_SEQ" type="input"/>
  297. <col ref="TOT_DEC_GRD"/>
  298. <col ref="INGR_DEC_GRD"/>
  299. <col ref="MATRL_END_CAUSE_CD"/>
  300. <col ref="SIZE_DEC_RST"/>
  301. <col ref="EXTSHAPE_DEC_GRD"/>
  302. <col ref="WGT_DEC_RST"/>
  303. <col editable="false" ref="TOT_DEC_DTIME" type="input" format="yyyy-mm-dd hh:nn"/>
  304. <col ref="COIL_DEFECTIVE"/>
  305. <col ref="BEF_MATRL_END_CAUSE_CD"/>
  306. <col ref="BEF_EXTSHAPE_DEC_GRD"/>
  307. <col ref="COIL_DEFECTIVE_DESC" visibility="hidden"/>
  308. <col ref="CHARGE_NO"/>
  309. <col ref="ORDCUST_CD"/>
  310. <col ref="DLIV_TP"/>
  311. <col ref="COIL_SERIES"/>
  312. <col ref="COIL_PROD_GRADE"/>
  313. <col editable="true" ref="COIL_UN_REMARK"/>
  314. <col editable="true" ref="COIL_DESC"/>
  315. <col editable="true" ref="COIL_REMARK"/>
  316. <col ref="APPOINT_NOTE" type="input"/>
  317. </datagrid>
  318. <button id="button1" class="cell" visibility="hidden" style="left:520px; top:55px; width:75px; height:20px; background-color:#ffffff; background-image:F:\1\xgmes3\WebContents\images\btn_exit.gif; ">
  319. <caption>撤销</caption>
  320. <script type="javascript" ev:event="DOMActivate">
  321. <![CDATA[
  322. Cancelappoint();
  323. DeleteBJ();
  324. find();
  325. ]]>
  326. </script>
  327. </button>
  328. <caption id="caption18" class="cell" style="left:0px; top:25px; width:70px; height:20px; font-weight:bold; border-color:#000000; ">合 同 号</caption>
  329. <input id="input11" ref="/root/formData/CDTIME" class="input" inputtype="date" style="left:235px; top:25px; width:90px; height:20px; "/>
  330. <caption id="caption16" class="cell" style="left:165px; top:25px; width:70px; height:20px; font-weight:bold; border-color:#000000; ">充当时间</caption>
  331. <button id="button3" visibility="visible" style="left:190px; top:50px; width:100px; height:20px; ">
  332. <caption>查询</caption>
  333. <script type="javascript" ev:event="onclick">
  334. <![CDATA[
  335. find();
  336. ]]>
  337. </script>
  338. </button>
  339. <button id="button4" visibility="visible" style="left:275px; top:50px; width:100px; height:20px; ">
  340. <caption>板加回退入库</caption>
  341. <script type="javascript" ev:event="onclick">
  342. <![CDATA[
  343. SaveBJBack();
  344. find();
  345. ]]>
  346. </script>
  347. </button>
  348. <button id="button5" class="cell" style="left:390px; top:50px; width:75px; height:20px; background-color:#ffffff; background-image:F:\1\xgmes3\WebContents\images\save.gif; ">
  349. <caption>移送</caption>
  350. <script type="javascript" ev:event="onclick">
  351. <![CDATA[
  352. appoint();
  353. UpdateHotCoil();
  354. find();
  355. ]]>
  356. </script>
  357. </button>
  358. <caption id="caption8" class="cell" style="left:555px; top:25px; width:86px; height:20px; font-weight:bold; border-color:#000000; ">移送状态</caption>
  359. <select1 id="combo3" ref="/root/formData/ZHIDING" appearance="minimal" style="left:640px; top:25px; width:100px; height:20px; ">
  360. <choices>
  361. <item>
  362. <label>未移送</label>
  363. <value>N</value>
  364. </item>
  365. <item>
  366. <label>已移送</label>
  367. <value>Q Y</value>
  368. </item>
  369. <item>
  370. <label>板加退回重新入库</label>
  371. <value>P</value>
  372. </item>
  373. </choices>
  374. </select1>
  375. <input id="input3" ref="/root/formData/ORD_NO" style="left:70px; top:25px; width:90px; height:20px; "/>
  376. </xhtml:body>
  377. </xhtml:html>