UIH060030.xrw 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347
  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[热轧作业>>钢卷库管理>>平整分卷钢卷选定]]>
  7. </xhtml:title>
  8. <model id="model1">
  9. <instance id="instance1">
  10. <root xmlns="">
  11. <formData>
  12. <ORD_NO/>
  13. <ORD_SEQ/>
  14. <ORD_Min_THK>0</ORD_Min_THK>
  15. <ORD_Max_THK>16.1</ORD_Max_THK>
  16. <ORD_Min_WTH>0</ORD_Min_WTH>
  17. <ORD_Max_WTH>1600</ORD_Max_WTH>
  18. <CUR_LOAD_LOC/>
  19. </formData>
  20. <grdCoilData/>
  21. <grdPlanData/>
  22. <grdPlanListData/>
  23. <cmbLoadData YARD_CLF=""/>
  24. <cmbOrdSEQ ORD_SEQ=""/>
  25. <gridData/>
  26. </root>
  27. </instance>
  28. <script type="javascript" ev:event="xforms-ready">
  29. <![CDATA[
  30. findLoadData();
  31. grd_CoilInfo.fixedcellcheckbox(0,grd_CoilInfo.colRef("CHK"))=true;
  32. grd_PlanList.fixedcellcheckbox(0,grd_PlanList.colRef("CHK"))=true;
  33. ]]>
  34. </script>
  35. </model>
  36. <script type="javascript" src="../../js/boaMsg.js"/>
  37. <script type="javascript" src="../../js/boaCommon.js"/>
  38. <script type="javascript" src="../../js/mesCommon.js"/>
  39. <script type="javascript">
  40. <![CDATA[
  41. function find()
  42. {
  43. model1.removenode("/root/grdCoilData");
  44. model1.makeNode("/root/grdCoilData");
  45. commSendReq("/root/formData");
  46. commSubmit("UIH060030-service","findcoil","glueAction.do");
  47. //model.copyNode("/root/grdCoilData/","/root/resData/CoilData_VO");
  48. commAppendData("/root/gridData/CoilData_VO" ,"/root/resData/CoilData_VO" );
  49. commAppendData("/root/gridData/SPMPlanData_VO" ,"/root/resData/SPMPlanData_VO" );
  50. commAppendData("/root/gridData/SPMPlanListData_VO" ,"/root/resData/SPMPlanListData_VO" );
  51. model.refresh();
  52. }
  53. function findLoadData()
  54. {
  55. commSubmit("UIH060030-service","findload","glueAction.do");
  56. commAppendData("/root/cmbLoadData/Load_Data_VO","/root/resData/Load_Data_VO" );
  57. commAppendData("/root/gridData/SPMPlanData_VO","/root/resData/SPMPlanData_VO" );
  58. commAppendData("/root/gridData/SPMPlanListData_VO","/root/resData/SPMPlanListData_VO" );
  59. model.refresh();
  60. }
  61. function findOrdSEQ()
  62. {
  63. model1.removenode("/root/grdCoilData");
  64. commSendReq("/root/formData");
  65. commSubmit("UIH060030-service","findOrdSEQ","glueAction.do");
  66. commAppendData("/root/cmbOrdSEQ/OrdSEQData_VO" ,"/root/resData/OrdSEQData_VO" );
  67. }
  68. function findSPMPlan()
  69. {
  70. model1.removenode("/root/grdPlanData");
  71. model1.removenode("/root/grdPlanListData");
  72. commSubmit("UIH060030-service","findSPMPlan","glueAction.do");
  73. commAppendData("/root/grdPlanData/SPMPlanData_VO" ,"/root/resData/SPMPlanData_VO" );
  74. commAppendData("/root/grdPlanListData/SPMPlanListData_VO" ,"/root/resData/SPMPlanListData_VO" );
  75. }
  76. function AddCoil()
  77. {
  78. model.removenode("/root/reqData");
  79. model.makeNode("/root/reqData");
  80. var nodeSet1 = grd_CoilInfo.nodeset;
  81. for(var i=0;i<grd_CoilInfo.rows;i++){
  82. var DLIV_DIRNO = model.getValue(nodeSet1+"["+i+"]/CHK");
  83. if(DLIV_DIRNO = "Y"){
  84. grd_CoilInfo.rowStatus(i) = 2;
  85. model.refresh();
  86. }
  87. }
  88. commMultiUpdate(grd_CoilInfo,"/root/reqData","A",true,"rowStatus");
  89. model.makeValue("/root/reqData/USER" , "AA");
  90. //alert(instance1.selectSingleNode("/root/reqData").xml);
  91. commSubmit("UIH060030-service","AddSPMPlan","glueAction.do");
  92. model.refresh();
  93. find();
  94. }
  95. function DelTBHSPMPlan()
  96. {
  97. model.removenode("/root/reqData");
  98. model.makeNode("/root/reqData");
  99. commMultiUpdate(grd_CoilInfo,"/root/reqData","A",true,"rowStatus");
  100. model.makeValue("/root/reqData/USER" , "AA");
  101. //model.makeValue("/root/reqData/USER["+0+"]" , model.getValue("/root/initData/rcvInfo/REG_NM"));
  102. //alert(instance1.selectSingleNode("/root/reqData").xml);
  103. commSubmit("UIH060030-service","TBHSPMPLAN","glueAction.do");
  104. find();
  105. }
  106. function DelSPMPlan()
  107. {
  108. model.removenode("/root/reqData");
  109. model.makeNode("/root/reqData");
  110. var nodeSet2 = grd_PlanList.nodeset;
  111. for(var i=0;i<grd_PlanList.rows;i++){
  112. var DLIV_DIRNO1 = model.getValue(nodeSet2+"["+i+"]/CHK");
  113. if(DLIV_DIRNO1 = "Y"){
  114. grd_PlanList.rowStatus(i) = 2;
  115. model.refresh();
  116. }
  117. }
  118. commMultiUpdate(grd_PlanList,"/root/reqData","A",true,"rowStatus");
  119. model.makeValue("/root/reqData/USER" , "AA");
  120. //model.makeValue("/root/reqData/USER["+0+"]" , model.getValue("/root/initData/rcvInfo/REG_NM"));
  121. //alert(instance1.selectSingleNode("/root/reqData").xml);
  122. commSubmit("UIH060030-service","DelSPMPlan","glueAction.do");
  123. find();
  124. }
  125. function AffrimSPMPlan()
  126. {
  127. model.removenode("/root/reqData");
  128. model.makeNode("/root/reqData");
  129. model.makeValue("/root/reqData/SPMNO" , grd_PlanInfo.valueMatrix(2,grd_PlanInfo.colRef("SPMINFO")));
  130. //model.makeValue("/root/reqData/USER["+0+"]" , model.getValue("/root/initData/rcvInfo/REG_NM"));
  131. model.makeValue("/root/reqData/USER" , "AA");
  132. commSubmit("UIH060030-service","AFMSPMPlan","glueAction.do");
  133. find();
  134. }
  135. function DeleteSPMPlan()
  136. {
  137. model.removenode("/root/reqData");
  138. model.makeNode("/root/reqData");
  139. commMultiUpdate(grd_CoilInfo,"/root/reqData","A",true,"rowStatus");
  140. model.makeValue("/root/reqData/USER" , "AA");
  141. //model.makeValue("/root/reqData/USER["+0+"]" , model.getValue("/root/initData/rcvInfo/REG_NM"));
  142. //alert(instance1.selectSingleNode("/root/reqData").xml);
  143. commSubmit("UIH060030-service","CANSPMPlan","glueAction.do");
  144. find();
  145. }
  146. function excelExport()
  147. {
  148. return grd_CoilInfo;
  149. }
  150. ]]>
  151. </script>
  152. </xhtml:head>
  153. <xhtml:body pagewidth="980" pageheight="620" guideline="1,445;" style="font-weight:bold; ">
  154. <button id="btn_Affirm" class="cell" style="left:885px; top:5px; width:65px; height:20px; text-align:right; background-image:..\..\images\btn_save.gif; border-color:#ccccff; border-style:solid; ">
  155. <caption>确认</caption>
  156. <script type="javascript" ev:event="DOMActivate">
  157. <![CDATA[
  158. AffrimSPMPlan();
  159. ]]>
  160. </script>
  161. </button>
  162. <button id="btn_Add" class="cell" style="left:745px; top:5px; width:65px; height:20px; text-align:right; background-image:..\..\images\btn_add.gif; border-color:#ccccff; border-style:solid; ">
  163. <caption>选择</caption>
  164. <script type="javascript" ev:event="DOMActivate">
  165. <![CDATA[
  166. AddCoil();
  167. ]]>
  168. </script>
  169. </button>
  170. <button id="btn_delete" class="cell" style="left:815px; top:5px; width:65px; height:20px; text-align:right; background-image:..\..\images\btn_exit.gif; border-color:#ccccff; border-style:solid; ">
  171. <caption>移除</caption>
  172. <script type="javascript" ev:event="DOMActivate">
  173. <![CDATA[
  174. DelSPMPlan();
  175. ]]>
  176. </script>
  177. </button>
  178. <datagrid id="grd_CoilInfo" nodeset="/root/gridData/CoilData_VO/CoilData_Row" caption="选择^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^指定人^指定时间^平整分卷^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^订单信息^订单信息^订单信息^订单信息^订单信息^订单信息^订单信息^订单信息^订单信息^订单信息^订单信息^订单信息|选择^钢卷号^轧制时间^交货期^SPM_PLAN_SEQ^堆放位^指定人^指定时间^平整分卷^牌号^厚度^宽度^长度^重量^缺陷1^缺陷2^缺陷3^缺陷4^缺陷5^缺陷备注^SPM需求^SPM说明^订单备注^合同号^订单号^牌号^厚度^宽度^长度^单重^单重下限^单重上限^收货单位^到站" colsep="^" colwidth="54, 80, 113, 100, 100, 50, 64, 75, 100, 80, 50, 50, 50, 50, 44, 53, 51, 50, 48, 100, 100, 100, 100, 80, 50, 80, 49, 50, 61, 60, 60, 60, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:30px; width:945px; height:265px; ">
  179. <col checkvalue="Y,N" ref="CHK" type="checkbox" style="background-color:#ffff99; "/>
  180. <col ref="OLD_SAMPL_NO" type="output" maxlength="13" style="background-color:#ffff99; "/>
  181. <col ref="MILL_DTIME" format="yyyy-mm-dd hh:nn:ss" style="background-color:#ffff99; "/>
  182. <col ref="DEL_TO_DATE" format="yyyy-mm-dd hh:nn:ss" style="background-color:#ffff99; "/>
  183. <col ref="SPM_PLAN_SEQ" visibility="hidden"/>
  184. <col ref="CUR_LOAD_LOC" type="output" style="background-color:#ffff99; "/>
  185. <col ref="REG_ID" type="output" style="background-color:#ffff99; "/>
  186. <col ref="REG_DTIME" type="output" style="background-color:#ffff99; "/>
  187. <col disabled="true" editable="false" ref="SPM_YN" type="combo" style="text-align:left; background-color:#ffff99; ">
  188. <choices>
  189. <item>
  190. <label>平整</label>
  191. <value>1</value>
  192. </item>
  193. <item>
  194. <label>分卷</label>
  195. <value>2</value>
  196. </item>
  197. <item>
  198. <label>平整分卷</label>
  199. <value>3</value>
  200. </item>
  201. <item>
  202. <label>重卷</label>
  203. <value>4</value>
  204. </item>
  205. <item>
  206. <label>开卷检查</label>
  207. <value>5</value>
  208. </item>
  209. </choices>
  210. </col>
  211. <col ref="SPEC_STL_GRD" type="output" style="background-color:#ffff99; "/>
  212. <col ref="COIL_THK" type="output" style="background-color:#ffff99; "/>
  213. <col ref="COIL_WTH" type="output" style="background-color:#ffff99; "/>
  214. <col ref="COIL_LEN" type="output" style="background-color:#ffff99; "/>
  215. <col ref="ACT_WGT" type="output" style="background-color:#ffff99; "/>
  216. <col ref="SPM_CRK_CD1" type="output" style="background-color:#ffff99; "/>
  217. <col ref="SPM_CRK_CD2" type="output" style="background-color:#ffff99; "/>
  218. <col ref="SPM_CRK_CD3" type="output" style="background-color:#ffff99; "/>
  219. <col ref="SPM_CRK_CD4" type="output" style="background-color:#ffff99; "/>
  220. <col ref="SPM_CRK_CD5" type="output" style="background-color:#ffff99; "/>
  221. <col ref="SPM_REMARK" type="output" style="background-color:#ffff99; "/>
  222. <col ref="SPM_PLAN" type="output" style="background-color:#ffff99; "/>
  223. <col ref="SPM_REMARK" type="output" style="background-color:#ffff99; "/>
  224. <col ref="MK_CONTENT" type="output" style="background-color:#ffff99; "/>
  225. <col ref="ORD_NO" type="output" style="background-color:#ffff99; "/>
  226. <col ref="ORD_SEQ" type="output" style="background-color:#ffff99; "/>
  227. <col ref="STL_GRD" type="output" style="background-color:#ffff99; "/>
  228. <col ref="ORD_THK" type="output" style="background-color:#ffff99; "/>
  229. <col ref="ORD_WTH" type="output" style="background-color:#ffff99; "/>
  230. <col ref="ORD_LEN" type="output" style="background-color:#ffff99; "/>
  231. <col ref="ORD_UNIT_WGT" type="output" style="background-color:#ffff99; "/>
  232. <col ref="ORD_UNIT_WGT_MIN" type="output" style="background-color:#ffff99; "/>
  233. <col ref="ORD_UNIT_WGT_MAX" type="output" style="background-color:#ffff99; "/>
  234. <col ref="ORDCUST_CD" type="output" style="background-color:#ffff99; "/>
  235. <col ref="DEST_CD" type="output" style="background-color:#ffff99; "/>
  236. </datagrid>
  237. <datagrid id="grd_PlanInfo" nodeset="/root/gridData/SPMPlanData_VO/SPMPlanData_Row" caption="平整分卷计划^平整分卷计划|区分^现况" colsep="^" colwidth="95, 78" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:300px; width:175px; height:285px; ">
  238. <col ref="TYPE_" type="output" style="background-color:#ffff99; "/>
  239. <col ref="SPMINFO" type="output" style="background-color:#ffff99; "/>
  240. </datagrid>
  241. <datagrid id="grd_PlanList" nodeset="/root/gridData/SPMPlanListData_VO/SPMPlanListData_Row" visibility="visible" caption="选择^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^订单信息^订单信息^订单信息^订单信息^订单信息^订单信息^订单信息^订单信息^订单信息^订单信息^订单信息|选择^顺序号^钢卷号^交货期^堆放位^牌号^厚度^宽度^长度^重量^平整分卷^缺陷1^缺陷2^缺陷3^缺陷4^缺陷5^缺陷备注^SPM需求^SPM说明^合同号^订单号^牌号^厚度^宽度^长度^单重^单重下限^单重上限^收货单位^到站" colsep="^" colwidth="47, 75, 80, 100, 50, 80, 50, 50, 50, 50, 100, 100, 100, 100, 100, 100, 100, 100, 100, 80, 50, 80, 49, 50, 61, 60, 60, 60, 100, 100, 30" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:180px; top:300px; width:770px; height:285px; ">
  242. <col checkvalue="Y,N" ref="CHK" type="checkbox" style="background-color:#ffff99; "/>
  243. <col ref="COIL_EDT_SEQ" type="output" visibility="visible" style="background-color:#ffff99; "/>
  244. <col ref="OLD_SAMPL_NO" type="output" maxlength="13" style="background-color:#ffff99; "/>
  245. <col ref="DEL_TO_DATE" type="output" style="background-color:#ffff99; "/>
  246. <col ref="CUR_LOAD_LOC" type="output" style="background-color:#ffff99; "/>
  247. <col ref="SPEC_STL_GRD" type="output" style="background-color:#ffff99; "/>
  248. <col ref="COIL_THK" type="output" style="background-color:#ffff99; "/>
  249. <col ref="COIL_WTH" type="output" style="background-color:#ffff99; "/>
  250. <col ref="COIL_LEN" type="output" style="background-color:#ffff99; "/>
  251. <col ref="ACT_WGT" type="output" style="background-color:#ffff99; "/>
  252. <col disabled="true" editable="false" ref="SPM_YN" type="combo" style="text-align:left; background-color:#ffff99; ">
  253. <choices>
  254. <item>
  255. <label>平整</label>
  256. <value>1</value>
  257. </item>
  258. <item>
  259. <label>分卷</label>
  260. <value>2</value>
  261. </item>
  262. <item>
  263. <label>平整分卷</label>
  264. <value>3</value>
  265. </item>
  266. <item>
  267. <label>重卷</label>
  268. <value>4</value>
  269. </item>
  270. <item>
  271. <label>开卷检查</label>
  272. <value>5</value>
  273. </item>
  274. </choices>
  275. </col>
  276. <col ref="SPM_CRK_CD1" type="output" style="background-color:#ffff99; "/>
  277. <col ref="SPM_CRK_CD2" type="output" style="background-color:#ffff99; "/>
  278. <col ref="SPM_CRK_CD3" type="output" style="background-color:#ffff99; "/>
  279. <col ref="SPM_CRK_CD4" type="output" style="background-color:#ffff99; "/>
  280. <col ref="SPM_CRK_CD5" type="output" style="background-color:#ffff99; "/>
  281. <col ref="SPM_REMARK" type="output" style="background-color:#ffff99; "/>
  282. <col ref="SPM_PLAN" type="output" style="background-color:#ffff99; "/>
  283. <col ref="SPM_REMARK" type="output" style="background-color:#ffff99; "/>
  284. <col ref="ORD_NO" type="output" style="background-color:#ffff99; "/>
  285. <col ref="ORD_SEQ" type="output" style="background-color:#ffff99; "/>
  286. <col ref="STL_GRD" type="output" style="background-color:#ffff99; "/>
  287. <col ref="ORD_THK" type="output" style="background-color:#ffff99; "/>
  288. <col ref="ORD_WTH" type="output" style="background-color:#ffff99; "/>
  289. <col ref="ORD_LEN" type="output" style="background-color:#ffff99; "/>
  290. <col ref="ORD_UNIT_WGT" type="output" style="background-color:#ffff99; "/>
  291. <col ref="ORD_UNIT_WGT_MIN" type="output" style="background-color:#ffff99; "/>
  292. <col ref="ORD_UNIT_WGT_MAX" type="output" style="background-color:#ffff99; "/>
  293. <col ref="ORDCUST_CD" type="output" style="background-color:#ffff99; "/>
  294. <col ref="DEST_CD" type="output" style="background-color:#ffff99; "/>
  295. <col/>
  296. </datagrid>
  297. <caption id="caption1" class="cell" style="left:7px; top:5px; width:68px; height:20px; ">合同号</caption>
  298. <input id="txt_OrdNO" ref="/root/formData/ORD_NO" class="cell" maxlength="13" style="left:77px; top:5px; width:100px; height:20px; "/>
  299. <select1 id="cmb_OrdSEQ" ref="/root/formData/ORD_SEQ" appearance="minimal" editmode="inputsearch" style="left:175px; top:5px; width:45px; height:20px; ">
  300. <choices>
  301. <itemset nodeset="/root/cmbOrdSEQ/OrdSEQData_VO/OrdSEQData_Row">
  302. <label ref="ORD_SEQ"/>
  303. <value ref="ORD_SEQ"/>
  304. </itemset>
  305. </choices>
  306. </select1>
  307. <caption id="caption101" class="cell" style="left:230px; top:5px; width:45px; height:20px; ">厚度</caption>
  308. <caption id="caption2" class="cell" style="left:354px; top:5px; width:45px; height:20px; ">宽度</caption>
  309. <caption id="caption3" class="cell" style="left:480px; top:5px; width:48px; height:20px; ">堆放位</caption>
  310. <input id="txt_Min_Thk" ref="/root/formData/ORD_Min_THK" mask="###.###" style="left:276px; top:5px; width:34px; height:20px; "/>
  311. <input id="txt_Max_Thk" ref="/root/formData/ORD_Max_THK" mask="###.###" style="left:310px; top:5px; width:35px; height:20px; "/>
  312. <input id="txt_Min_Wth" ref="/root/formData/ORD_Min_WTH" mask="###.###" style="left:399px; top:5px; width:35px; height:20px; "/>
  313. <input id="txt_Max_Wth" ref="/root/formData/ORD_Max_WTH" mask="###.###" style="left:434px; top:5px; width:35px; height:20px; "/>
  314. <select1 id="cmb_Load" ref="/root/formData/CUR_LOAD_LOC" appearance="minimal" editmode="inputsearch" style="left:528px; top:5px; width:85px; height:20px; ">
  315. <choices>
  316. <itemset nodeset="/root/cmbLoadData/Load_Data_VO/Load_Data_Row">
  317. <label ref="YARD_CLF"/>
  318. <value ref="YARD_CLF"/>
  319. </itemset>
  320. </choices>
  321. </select1>
  322. <button id="button1" class="cell" style="left:675px; top:5px; width:65px; height:20px; text-align:right; background-image:..\..\images\btn_find.gif; border-color:#ccccff; border-style:solid; ">
  323. <caption>查询</caption>
  324. <script type="javascript" ev:event="DOMActivate">
  325. <![CDATA[
  326. find();
  327. ]]>
  328. </script>
  329. </button>
  330. <button id="button2" class="cell" style="left:610px; top:5px; width:65px; height:20px; text-align:right; background-image:..\..\images\btn_add.gif; border-color:#ccccff; border-style:solid; ">
  331. <caption>取消</caption>
  332. <script type="javascript" ev:event="DOMActivate">
  333. <![CDATA[
  334. DelTBHSPMPlan();
  335. ]]>
  336. </script>
  337. </button>
  338. </xhtml:body>
  339. </xhtml:html>