f5d43b08c23b840865c881ee7bb7ff2c68732b2e.svn-base 43 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="../../css/body.css" type="text/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[炼钢作业 >> 板坯库管理 >> 板坯尺寸修改实绩登录与查询(UIG040070)]]>
  7. </xhtml:title>
  8. <model id="model1">
  9. <instance id="instance1">
  10. <root xmlns="">
  11. <formData>
  12. <REG_ID/>
  13. <NEW_SLAB_NO/>
  14. <MOD_CD/>
  15. <ORL_SLAB_NO/>
  16. <REG_SHIP/>
  17. <REG_GROUP/>
  18. <CUT_CNT>2</CUT_CNT>
  19. <CHARGE_NO/>
  20. <MODIFY_CODE>03</MODIFY_CODE>
  21. </formData>
  22. <codeData/>
  23. <initData>
  24. <LG_CD>G03003,Z05001,Z05002</LG_CD>
  25. </initData>
  26. <gridData>
  27. <slabList/>
  28. <cutDirectGrid/>
  29. <cutResultGrid/>
  30. <CorrectedGrid/>
  31. </gridData>
  32. <reqData/>
  33. </root>
  34. </instance>
  35. <script type="javascript" ev:event="xforms-ready">
  36. <![CDATA[
  37. //pageInit();
  38. ]]>
  39. </script>
  40. </model>
  41. <script type="javascript" src="../../js/boaCommon.js"/>
  42. <script type="javascript">
  43. <![CDATA[
  44. function Init(node) {
  45. InitParams(node);
  46. initPage();
  47. //shiftSearch();
  48. }
  49. function InitParams(node) {
  50. if (typeof node == "undefined" && typeof node != "object") return;
  51. model.removenode("/root/initData/rcvInfo");
  52. model.makeNode("/root/initData/rcvInfo");
  53. var nodeList = node.childNodes;
  54. for (var i = 0; i < nodeList.length; i++)
  55. model.instances(0).selectSingleNode("/root/initData/rcvInfo").appendChild(nodeList.item(i));
  56. }
  57. function initPage()
  58. {
  59. // commSubmit("UIG040070-service","success","glueAction.do");
  60. // commAppendData("/root/gridData/grid3/INIT_RESULT_VO","/root/resData/INIT_RESULT_VO");
  61. // datagrid5.refresh();
  62. //
  63. // datagrid1.cellAttribute("editable", 1,datagrid1.colRef("SLAB_LEN")) = "false";
  64. // datagrid1.cellAttribute("editable", 1,datagrid1.colRef("SIZE_DEC_FL")) = "false";
  65. commSendReq("/root/initData");
  66. commSubmit("UIGCOMMCODE-service","find","glueAction.do");
  67. model.copyNode("/root/codeData","/root/resData");
  68. model.refresh();
  69. model.setValue("/root/formData/REG_ID",model.getValue("/root/initData/rcvInfo/REG_ID"));
  70. }
  71. function find(){
  72. model.setValue("/root/formData/REG_ID",model.getValue("/root/initData/rcvInfo/REG_ID"));
  73. commSendReq("/root/formData");
  74. commSubmit("UIG040070-service","find","glueAction.do");
  75. commAppendData("/root/gridData/slabList/SearchMILLYARD_Result_VO","/root/resData/SearchMILLYARD_Result_VO");
  76. commAppendData("/root/gridData/cutDirectGrid/CutDirectResult_VO","/root/resData/CutDirectResult_VO");
  77. commAppendData("/root/gridData/cutResultGrid/CutResult_VO","/root/resData/CutResult_VO");
  78. model.refresh();
  79. }
  80. function select()
  81. {
  82. var gridid = document.all(event.currentTarget) ;
  83. model.setValue("/root/formData/ORL_SLAB_NO",gridid.valueMatrix(gridid.row,gridid.colRef("SLAB_NO")));
  84. // 指示切割
  85. if(model.getValue("/root/formData/MODIFY_CODE") == "03"){
  86. commSendReq("/root/formData");
  87. commSubmit("UIG040070-service","select","glueAction.do");
  88. // 将分割指示信息在 分割指示对象表中显示
  89. commAppendData("/root/gridData/cutDirectGrid/CutDirectResult_VO","/root/resData/CutDirectResult_VO");
  90. // 将板坯实绩信息在分割实绩录入表的第一行显示,作为板坯的原始信息对照
  91. commAppendData("/root/gridData/cutResultGrid/CutResult_VO","/root/resData/CutResult_VO");
  92. // 喂指示切割
  93. }else if(model.getValue("/root/formData/MODIFY_CODE") == "02"){
  94. commSendReq("/root/formData");
  95. commSubmit("UIG040070-service","select02","glueAction.do");
  96. // 将分割指示信息在 分割指示对象表中显示
  97. commAppendData("/root/gridData/cutDirectGrid/CutDirectResult_VO","/root/resData/CutDirectResult_VO");
  98. // 将板坯实绩信息在分割实绩录入表的第一行显示,作为板坯的原始信息对照
  99. commAppendData("/root/gridData/cutResultGrid/CutResult_VO","/root/resData/CutResult_VO");
  100. var slabCnt = model.getValue("/root/formData/CUT_CNT");
  101. for(var i = 1 ; i <= slabCnt ; i++){
  102. model1.duplicate("/root/gridData/cutResultGrid/CutResult_VO","/root/resData/CutResult_VO/CutResult_Row");
  103. }
  104. datagrid10.refresh();
  105. var maxCnt = datagrid10.valueMatrix(1,datagrid10.colRef("MAX_SEQ"));
  106. for(var i = 1 ; i <= slabCnt ; i++){
  107. datagrid10.valueMatrix(1+i,datagrid10.colRef("CLF")) = " 子坯 ";
  108. //分割生成新的两块板坯,板坯号为原板坯的前12位 + 原板坯号预留13位0分别设置位1,2
  109. var oldSlabNo = datagrid10.valueMatrix(1,datagrid10.colRef("SLAB_NO"));
  110. datagrid10.valueMatrix(1+i,datagrid10.colRef("SLAB_NO")) = oldSlabNo.substr(0,12) + (parseInt(maxCnt) + i);
  111. datagrid10.valueMatrix(1+i,datagrid10.colRef("SLAB_SIZE_DEC_GRD")) = "2";
  112. datagrid10.valueMatrix(1+i,datagrid10.colRef("CUR_LOAD_LOC")) = "";
  113. datagrid10.valueMatrix(1+i,datagrid10.colRef("ORL_LOAD_LOC")) = datagrid10.valueMatrix(1,datagrid10.colRef("CUR_LOAD_LOC"));
  114. }
  115. //尺寸修改
  116. }else if(model.getValue("/root/formData/MODIFY_CODE") == "01"){
  117. commSendReq("/root/formData");
  118. commSubmit("UIG040070-service","select02","glueAction.do");
  119. // 将分割指示信息在 分割指示对象表中显示
  120. commAppendData("/root/gridData/cutDirectGrid/CutDirectResult_VO","/root/resData/CutDirectResult_VO");
  121. // 将板坯实绩信息在分割实绩录入表的第一行显示,作为板坯的原始信息对照
  122. commAppendData("/root/gridData/cutResultGrid/CutResult_VO","/root/resData/CutResult_VO");
  123. //全废钢
  124. }else if(model.getValue("/root/formData/MODIFY_CODE") == "04"){
  125. commSendReq("/root/formData");
  126. commSubmit("UIG040070-service","select02","glueAction.do");
  127. // 将分割指示信息在 分割指示对象表中显示
  128. commAppendData("/root/gridData/cutDirectGrid/CutDirectResult_VO","/root/resData/CutDirectResult_VO");
  129. // 将板坯实绩信息在分割实绩录入表的第一行显示,作为板坯的原始信息对照
  130. commAppendData("/root/gridData/cutResultGrid/CutResult_VO","/root/resData/CutResult_VO");
  131. //部分废钢
  132. }else if(model.getValue("/root/formData/MODIFY_CODE") == "05"){
  133. commSendReq("/root/formData");
  134. commSubmit("UIG040070-service","select02","glueAction.do");
  135. // 将分割指示信息在 分割指示对象表中显示
  136. commAppendData("/root/gridData/cutDirectGrid/CutDirectResult_VO","/root/resData/CutDirectResult_VO");
  137. // 将板坯实绩信息在分割实绩录入表的第一行显示,作为板坯的原始信息对照
  138. commAppendData("/root/gridData/cutResultGrid/CutResult_VO","/root/resData/CutResult_VO");
  139. }
  140. model.refresh();
  141. }
  142. function save()
  143. {
  144. var MODIFY_CODE = model.getValue("/root/formData/MODIFY_CODE");
  145. //alert(MODIFY_CODE);
  146. if(MODIFY_CODE == 3)//指示切割
  147. {
  148. var rowCount = datagrid7.rows;
  149. for(var i = 1 ; i <= rowCount ; i++){
  150. datagrid7.rowStatus(i) = 2;
  151. }
  152. datagrid7.rowStatus(1) = 0;
  153. //修改分割实绩录入表格2,3行的行状态为UPDATE
  154. commSendReq("/root/formData");
  155. commMultiUpdate(datagrid7,"/root/reqData","A",true,"rowStatus");
  156. commSubmit("UIG040070-service","recut","glueAction.do");
  157. //alert(instance1.selectSingleNode("/root/reqData").xml);
  158. }else if(MODIFY_CODE == 2){//非指示切割
  159. var rowCount = datagrid10.rows;
  160. for(var i = 1 ; i <= rowCount ; i++){
  161. datagrid10.rowStatus(i) = 2;
  162. }
  163. datagrid10.rowStatus(1) = 0;
  164. //修改分割实绩录入表格2,3行的行状态为UPDATE
  165. commSendReq("/root/formData");
  166. commMultiUpdate(datagrid10,"/root/reqData","A",true,"rowStatus");
  167. commSubmit("UIG040070-service","recut","glueAction.do");
  168. //alert(instance1.selectSingleNode("/root/reqData").xml);
  169. }else if(MODIFY_CODE == 1){//尺寸修改
  170. datagrid9.rowStatus(1) = 2;
  171. //修改分割实绩录入表格2,3行的行状态为UPDATE
  172. commSendReq("/root/formData");
  173. commMultiUpdate(datagrid9,"/root/reqData","A",true,"rowStatus");
  174. commSubmit("UIG040070-service","save3","glueAction.do");
  175. //alert(instance1.selectSingleNode("/root/reqData").xml);
  176. }else if(MODIFY_CODE == 4){//全废钢
  177. datagrid13.rowStatus(1) = 2;
  178. //修改分割实绩录入表格2,3行的行状态为UPDATE
  179. commSendReq("/root/formData");
  180. commMultiUpdate(datagrid15,"/root/reqData","A",true,"rowStatus");
  181. commSubmit("UIG040070-service","save3","glueAction.do");
  182. //alert(instance1.selectSingleNode("/root/reqData").xml);
  183. }else if(MODIFY_CODE == 5){//部分废钢
  184. datagrid15.rowStatus(1) = 2;
  185. //修改分割实绩录入表格2,3行的行状态为UPDATE
  186. commSendReq("/root/formData");
  187. commMultiUpdate(datagrid13,"/root/reqData","A",true,"rowStatus");
  188. commSubmit("UIG040070-service","save3","glueAction.do");
  189. //alert(instance1.selectSingleNode("/root/reqData").xml);
  190. }else if(MODIFY_CODE == 6){//分切撤销
  191. var slabNo = "";
  192. for(var i = datagrid3.fixedRows; i < datagrid3.rows; i++)
  193. {
  194. if(datagrid3.valueMatrix(i,datagrid3.colRef("CHK")) == "true" ) {
  195. slabNo = datagrid3.valueMatrix(i,datagrid3.colRef("SLAB_NO"))
  196. }
  197. }
  198. //datagrid3.rowStatus(1) = 1;
  199. model.setValue("/root/formData/NEW_SLAB_NO",slabNo);
  200. model.duplicate("root/reqData","/root/formData/NEW_SLAB_NO");
  201. commSendReq("/root/formData");
  202. //commMultiUpdate(datagrid3,"/root/reqData","A",true,"rowStatus");
  203. commSubmit("UIG040070-service","recutcancel","glueAction.do");
  204. //alert(instance1.selectSingleNode("/root/reqData").xml);
  205. }
  206. var messages = model.getValue("/root/resData/MESSAGES_VO/MESSAGES_Row");
  207. if(messages != "")
  208. {
  209. alert(messages);
  210. }
  211. find();
  212. }
  213. ]]>
  214. </script>
  215. </xhtml:head>
  216. <xhtml:body style="font-family:宋体; ">
  217. <switch id="switch1" style="left:0px; top:45px; width:965px; height:555px; ">
  218. <case id="case1" style="left:0px; top:0px; width:980px; height:605px; ">
  219. <datagrid id="datagrid5" nodeset="/root/gridData/slabList/SearchMILLYARD_Result_VO/SearchMILLYARD_Result_Row" caption="选择^板坯号^牌号^精整区分^精整作业实绩代码^厚度^宽度^长度^板坯重量" colsep="^" colwidth="41, 106, 100, 100, 128, 100, 100, 100, 100" defaultrows="9" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:960px; height:195px; ">
  220. <col ref="CHK" type="radio"/>
  221. <col editable="false" ref="SLAB_NO" type="input"/>
  222. <col editable="false" ref="STL_GRD" type="input"/>
  223. <col ref="CORRECT_YN"/>
  224. <col editable="false" ref="CORRECT_RSLT_CD" type="input"/>
  225. <col editable="false" ref="SLAB_THK" type="input"/>
  226. <col editable="false" ref="SLAB_WTH" type="input"/>
  227. <col editable="false" ref="SLAB_LEN" type="input"/>
  228. <col editable="false" ref="SLAB_WGT" type="input"/>
  229. <script type="javascript" ev:event="xforms-select">
  230. <![CDATA[
  231. select();
  232. ]]>
  233. </script>
  234. </datagrid>
  235. <datagrid id="datagrid6" nodeset="/root/gridData/cutDirectGrid/CutDirectResult_VO/CutDirectResult_Row" disabled="true" allowuserresize="false" caption="板坯号^分割^厚度^宽度^长度" colsep="^" colwidth="99, 60, 60, 54, 76" defaultrows="3" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:219px; width:355px; height:165px; border-color:#000000; ">
  236. <col ref="SLAB_NO"/>
  237. <col ref="SLAB_CUT_SEQ"/>
  238. <col editable="false" ref="SLAB_THK" type="input"/>
  239. <col editable="false" ref="SLAB_WTH" type="input"/>
  240. <col editable="false" ref="SLAB_LEN" type="input"/>
  241. </datagrid>
  242. <caption id="caption10" class="cell" style="left:0px; top:199px; width:100px; height:20px; font-weight:bold; border-color:#000000; ">分割指示对象</caption>
  243. <datagrid id="datagrid7" nodeset="/root/gridData/cutResultGrid/CutResult_VO/CutResult_Row" caption="区分^板坯号^分割^厚度^宽度^长度^重量^长度判定^垛位^^caption1^caption2" colsep="^" colwidth="69, 97, 36, 46, 50, 55, 60, 52, 90, 5, 19, 14" defaultrows="4" fixedcols="1" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:356px; top:219px; width:605px; height:165px; border-color:#000000; ">
  244. <col ref="CLF"/>
  245. <col ref="SLAB_NO"/>
  246. <col ref="SLAB_CUT_SEQ"/>
  247. <col ref="SLAB_THK" type="input" style="background-color:#ffff99; "/>
  248. <col ref="SLAB_WTH" type="input" style="background-color:#ffff99; "/>
  249. <col ref="SLAB_LEN" type="input" style="background-color:#ffff99; "/>
  250. <col ref="SLAB_WGT" type="input" style="background-color:#ffff99; "/>
  251. <col ref="SLAB_SIZE_DEC_GRD" type="combo" style="background-color:#ffff99; ">
  252. <choices>
  253. <item>
  254. <label>合格</label>
  255. <value>1</value>
  256. </item>
  257. <item>
  258. <label>不合格</label>
  259. <value>2</value>
  260. </item>
  261. </choices>
  262. </col>
  263. <col ref="CUR_LOAD_LOC" type="input" style="background-color:#ffff99; "/>
  264. <col ref="ORL_LOAD_LOC" visibility="hidden"/>
  265. <col ref="DSN_SLAB_NO" visibility="hidden"/>
  266. <col ref="SUB_DSN_SLAB_NO" visibility="hidden"/>
  267. <script type="javascript" ev:event="xforms-value-changed">
  268. <![CDATA[
  269. if(datagrid3.col == datagrid3.colRef("SLAB_LEN"))
  270. {
  271. //板坯分割生成新的板坯后,根据新板坯的长宽厚计算出板坯重量
  272. var slabThk = datagrid3.valueMatrix(datagrid3.row,datagrid3.colRef("SLAB_THK"));
  273. var slabWth = datagrid3.valueMatrix(datagrid3.row,datagrid3.colRef("SLAB_WTH"));
  274. var slabLen = datagrid3.valueMatrix(datagrid3.row,datagrid3.colRef("SLAB_LEN"));
  275. var slabWgt = Math.round(parseInt(slabThk)*parseInt(slabWth)*parseInt(slabLen)*7.85/1000000);
  276. datagrid3.valueMatrix(datagrid3.row,datagrid3.colRef("SLAB_WGT")) = slabWgt;
  277. if(datagrid1.valueMatrix(1,datagrid1.colRef("MODIFY_CD")) == "05"){
  278. var scrapWgt = datagrid3.valueMatrix(1,datagrid3.colRef("SLAB_WGT")) - slabWgt;
  279. model.makeNode("/root/searchData/SCRAP_WGT");
  280. model.setValue("/root/searchData/SCRAP_WGT",scrapWgt);
  281. input2.value = scrapWgt;
  282. input2.refresh();
  283. }
  284. }
  285. ]]>
  286. </script>
  287. </datagrid>
  288. <caption id="caption1" class="cell" style="left:356px; top:199px; width:100px; height:20px; font-weight:bold; border-color:#000000; ">分割实绩录入</caption>
  289. <caption id="caption2" class="cell" style="left:0px; top:385px; width:100px; height:20px; font-weight:bold; border-color:#000000; ">切割实绩</caption>
  290. <datagrid id="datagrid8" nodeset="/root/gridData/CorrectedGrid/CorrectedResult_VO/CorrectedResult_Row" disabled="true" caption="板坯号^修改前^修改前^修改前^修改前^修改后^修改后^修改后^修改后^修改原因^产品余材区分^牌号^登录人^班次^组|板坯号^厚度^宽度^长度^重量^厚度^宽度^长度^重量^修改原因^产品余材区分^牌号^登录人^班次^组" colsep="^" colwidth="90, 60, 60, 60, 60, 60, 60, 60, 60, 75, 60, 60, 90, 42, 50" defaultrows="12" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:405px; width:960px; height:145px; border-color:#000000; ">
  291. <col editable="false" ref="SLAB_NO" type="input"/>
  292. <col editable="false" ref="SIZE_UPDT_BEF_THK" type="input"/>
  293. <col editable="false" ref="SIZE_UPDT_BEF_WTH" type="input"/>
  294. <col editable="false" ref="SIZE_UPDT_BEF_LEN" type="input"/>
  295. <col editable="false" ref="SIZE_UPDT_BEF_WGT" type="input"/>
  296. <col editable="false" ref="SIZE_UPDT_AFT_THK" type="input"/>
  297. <col editable="false" ref="SIZE_UPDT_AFT_WTH" type="input"/>
  298. <col editable="false" ref="SIZE_UPDT_AFT_LEN" type="input"/>
  299. <col editable="false" ref="SIZE_UPDT_AFT_WGT" type="input"/>
  300. <col ref="SIZE_UPDT_CAUSE_CD"/>
  301. <col ref="ORD_FL"/>
  302. <col editable="false" ref="STL_GRD" type="input"/>
  303. <col editable="false" ref="SIZE_UPDT_EMP_NO" type="input"/>
  304. <col ref="SIZE_UPDT_WKGROUP"/>
  305. <col ref="SIZE_UPDT_WKSHIFT"/>
  306. </datagrid>
  307. </case>
  308. <case id="case2">
  309. <datagrid id="datagrid1" nodeset="/root/gridData/slabList/SearchMILLYARD_Result_VO/SearchMILLYARD_Result_Row" caption="选择^板坯号^牌号^精整区分^精整作业实绩代码^厚度^宽度^长度^板坯重量" colsep="^" colwidth="41, 106, 100, 100, 128, 100, 100, 100, 100" defaultrows="9" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:960px; height:195px; ">
  310. <col ref="CHK" type="radio"/>
  311. <col editable="false" ref="SLAB_NO" type="input"/>
  312. <col editable="false" ref="STL_GRD" type="input"/>
  313. <col ref="CORRECT_YN"/>
  314. <col editable="false" ref="CORRECT_RSLT_CD" type="input"/>
  315. <col editable="false" ref="SLAB_THK" type="input"/>
  316. <col editable="false" ref="SLAB_WTH" type="input"/>
  317. <col editable="false" ref="SLAB_LEN" type="input"/>
  318. <col editable="false" ref="SLAB_WGT" type="input"/>
  319. <script type="javascript" ev:event="xforms-select">
  320. <![CDATA[
  321. select();
  322. ]]>
  323. </script>
  324. </datagrid>
  325. <datagrid id="datagrid10" nodeset="/root/gridData/cutResultGrid/CutResult_VO/CutResult_Row" caption="区分^板坯号^分割^厚度^宽度^长度^重量^长度判定^垛位^MAX_SEQ^caption1^caption2^" colsep="^" colwidth="69, 97, 48, 46, 50, 55, 60, 52, 90, 100, 15, 8, 5" defaultrows="4" fixedcols="1" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:219px; width:960px; height:165px; border-color:#000000; ">
  326. <col ref="CLF"/>
  327. <col ref="SLAB_NO"/>
  328. <col ref="SLAB_CUT_SEQ"/>
  329. <col ref="SLAB_THK" type="input" style="background-color:#ffff99; "/>
  330. <col ref="SLAB_WTH" type="input" style="background-color:#ffff99; "/>
  331. <col ref="SLAB_LEN" type="input" style="background-color:#ffff99; "/>
  332. <col ref="SLAB_WGT" type="input" format="999999-9999999" style="background-color:#ffff99; "/>
  333. <col ref="SLAB_SIZE_DEC_GRD" type="combo" style="background-color:#ffff99; ">
  334. <choices>
  335. <item>
  336. <label>合格</label>
  337. <value>1</value>
  338. </item>
  339. <item>
  340. <label>不合格</label>
  341. <value>2</value>
  342. </item>
  343. </choices>
  344. </col>
  345. <col ref="CUR_LOAD_LOC" type="input" style="background-color:#ffff99; "/>
  346. <col ref="MAX_SEQ"/>
  347. <col ref="DSN_SLAB_NO" visibility="hidden"/>
  348. <col ref="SUB_DSN_SLAB_NO" visibility="hidden"/>
  349. <col ref="ORL_LOAD_LOC" visibility="hidden"/>
  350. <script type="javascript" ev:event="xforms-value-changed">
  351. <![CDATA[
  352. if(datagrid10.col == datagrid10.colRef("SLAB_LEN"))
  353. {
  354. //板坯分割生成新的板坯后,根据新板坯的长宽厚计算出板坯重量
  355. var slabThk = datagrid10.valueMatrix(datagrid10.row,datagrid10.colRef("SLAB_THK"));
  356. var slabWth = datagrid10.valueMatrix(datagrid10.row,datagrid10.colRef("SLAB_WTH"));
  357. var slabLen = datagrid10.valueMatrix(datagrid10.row,datagrid10.colRef("SLAB_LEN"));
  358. var slabWgt = Math.round(parseInt(slabThk)*parseInt(slabWth)*parseInt(slabLen)*7.85/1000000);
  359. datagrid10.valueMatrix(datagrid10.row,datagrid10.colRef("SLAB_WGT")) = slabWgt;
  360. }
  361. ]]>
  362. </script>
  363. </datagrid>
  364. <datagrid id="datagrid11" nodeset="/root/gridData/CorrectedGrid/CorrectedResult_VO/CorrectedResult_Row" disabled="true" caption="板坯号^修改前^修改前^修改前^修改前^修改后^修改后^修改后^修改后^修改原因^产品余材区分^牌号^登录人^班次^组|板坯号^厚度^宽度^长度^重量^厚度^宽度^长度^重量^修改原因^产品余材区分^牌号^登录人^班次^组" colsep="^" colwidth="90, 60, 60, 60, 60, 60, 60, 60, 60, 75, 60, 60, 79, 48, 60" defaultrows="12" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:405px; width:960px; height:145px; border-color:#000000; ">
  365. <col editable="false" ref="SLAB_NO" type="input"/>
  366. <col editable="false" ref="SIZE_UPDT_BEF_THK" type="input"/>
  367. <col editable="false" ref="SIZE_UPDT_BEF_WTH" type="input"/>
  368. <col editable="false" ref="SIZE_UPDT_BEF_LEN" type="input"/>
  369. <col editable="false" ref="SIZE_UPDT_BEF_WGT" type="input"/>
  370. <col editable="false" ref="SIZE_UPDT_AFT_THK" type="input"/>
  371. <col editable="false" ref="SIZE_UPDT_AFT_WTH" type="input"/>
  372. <col editable="false" ref="SIZE_UPDT_AFT_LEN" type="input"/>
  373. <col editable="false" ref="SIZE_UPDT_AFT_WGT" type="input"/>
  374. <col ref="SIZE_UPDT_CAUSE_CD"/>
  375. <col ref="ORD_FL"/>
  376. <col editable="false" ref="STL_GRD" type="input"/>
  377. <col editable="false" ref="SIZE_UPDT_EMP_NO" type="input"/>
  378. <col ref="SIZE_UPDT_WKGROUP"/>
  379. <col ref="SIZE_UPDT_WKSHIFT"/>
  380. </datagrid>
  381. <caption id="caption3" class="cell" style="left:0px; top:200px; width:100px; height:20px; font-weight:bold; border-color:#000000; ">分割实绩录入</caption>
  382. <caption id="caption9" class="cell" style="left:0px; top:385px; width:100px; height:20px; font-weight:bold; border-color:#000000; ">切割实绩</caption>
  383. <input id="input2" ref="/root/formData/CUT_CNT" format="999999-9999999" style="left:380px; top:199px; width:50px; height:20px; "/>
  384. <caption id="caption5" class="cell" style="left:280px; top:199px; width:100px; height:20px; font-weight:bold; border-color:#000000; ">切割倍尺</caption>
  385. </case>
  386. <script type="javascript" ev:event="case1">
  387. <![CDATA[
  388. model.toggle("case1");
  389. ]]>
  390. </script>
  391. <script type="javascript" ev:event="case2">
  392. <![CDATA[
  393. model.toggle("case2");
  394. ]]>
  395. </script>
  396. <script type="javascript" ev:event="case3">
  397. <![CDATA[
  398. model.toggle("case3");
  399. ]]>
  400. </script>
  401. <script type="javascript" ev:event="case4">
  402. <![CDATA[
  403. model.toggle("case4");
  404. ]]>
  405. </script>
  406. <script type="javascript" ev:event="case5">
  407. <![CDATA[
  408. model.toggle("case5");
  409. ]]>
  410. </script>
  411. <script type="javascript" ev:event="case6">
  412. <![CDATA[
  413. model.toggle("case6");
  414. ]]>
  415. </script>
  416. <case id="case3">
  417. <datagrid id="datagrid2" nodeset="/root/gridData/slabList/SearchMILLYARD_Result_VO/SearchMILLYARD_Result_Row" caption="选择^板坯号^牌号^精整区分^精整作业实绩代码^厚度^宽度^长度^板坯重量" colsep="^" colwidth="41, 106, 100, 100, 128, 100, 100, 100, 100" defaultrows="9" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:960px; height:170px; ">
  418. <col ref="CHK" type="radio"/>
  419. <col editable="false" ref="SLAB_NO" type="input"/>
  420. <col editable="false" ref="STL_GRD" type="input"/>
  421. <col ref="CORRECT_YN"/>
  422. <col editable="false" ref="CORRECT_RSLT_CD" type="input"/>
  423. <col editable="false" ref="SLAB_THK" type="input"/>
  424. <col editable="false" ref="SLAB_WTH" type="input"/>
  425. <col editable="false" ref="SLAB_LEN" type="input"/>
  426. <col editable="false" ref="SLAB_WGT" type="input"/>
  427. <script type="javascript" ev:event="xforms-select">
  428. <![CDATA[
  429. select();
  430. ]]>
  431. </script>
  432. </datagrid>
  433. <datagrid id="datagrid9" nodeset="/root/gridData/cutResultGrid/CutResult_VO/CutResult_Row" caption="区分^板坯号^厚度^宽度^长度^重量^长度判定^垛位^^caption1^caption2^caption3" colsep="^" colwidth="69, 97, 46, 50, 55, 60, 52, 90, 5, 100, 100, 100" defaultrows="4" fixedcols="1" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:194px; width:960px; height:165px; border-color:#000000; ">
  434. <col ref="CLF"/>
  435. <col ref="SLAB_NO"/>
  436. <col ref="SLAB_THK" type="input" style="background-color:#ffff99; "/>
  437. <col ref="SLAB_WTH" type="input" style="background-color:#ffff99; "/>
  438. <col ref="SLAB_LEN" type="input" style="background-color:#ffff99; "/>
  439. <col ref="SLAB_WGT" type="input" style="background-color:#ffff99; "/>
  440. <col ref="SLAB_SIZE_DEC_GRD" type="combo" style="background-color:#ffff99; ">
  441. <choices>
  442. <item>
  443. <label>合格</label>
  444. <value>1</value>
  445. </item>
  446. <item>
  447. <label>不合格</label>
  448. <value>2</value>
  449. </item>
  450. </choices>
  451. </col>
  452. <col ref="CUR_LOAD_LOC" type="input" style="background-color:#ffff99; "/>
  453. <col ref="ORL_LOAD_LOC" visibility="hidden"/>
  454. <col ref="DSN_SLAB_NO" visibility="hidden"/>
  455. <col ref="SUB_DSN_SLAB_NO" visibility="hidden"/>
  456. <col ref="SCRAP_WGT"/>
  457. <script type="javascript" ev:event="xforms-value-changed">
  458. <![CDATA[
  459. if(datagrid9.col == datagrid9.colRef("SLAB_LEN") || datagrid9.col == datagrid9.colRef("SLAB_WTH") || datagrid9.col == datagrid9.colRef("SLAB_THK"))
  460. {
  461. //板坯分割生成新的板坯后,根据新板坯的长宽厚计算出板坯重量
  462. var slabThk = datagrid9.valueMatrix(datagrid9.row,datagrid9.colRef("SLAB_THK"));
  463. var slabWth = datagrid9.valueMatrix(datagrid9.row,datagrid9.colRef("SLAB_WTH"));
  464. var slabLen = datagrid9.valueMatrix(datagrid9.row,datagrid9.colRef("SLAB_LEN"));
  465. var slabWgt = Math.round(parseInt(slabThk)*parseInt(slabWth)*parseInt(slabLen)*7.85/1000000);
  466. datagrid9.valueMatrix(datagrid9.row,datagrid9.colRef("SLAB_WGT")) = slabWgt;
  467. // if(datagrid1.valueMatrix(1,datagrid1.colRef("MODIFY_CD")) == "05"){
  468. //
  469. // var scrapWgt = datagrid3.valueMatrix(1,datagrid3.colRef("SLAB_WGT")) - slabWgt;
  470. //
  471. // model.makeNode("/root/searchData/SCRAP_WGT");
  472. // model.setValue("/root/searchData/SCRAP_WGT",scrapWgt);
  473. // input2.value = scrapWgt;
  474. // input2.refresh();
  475. // }
  476. }
  477. ]]>
  478. </script>
  479. </datagrid>
  480. <datagrid id="datagrid12" nodeset="/root/gridData/CorrectedGrid/CorrectedResult_VO/CorrectedResult_Row" disabled="true" caption="板坯号^修改前^修改前^修改前^修改前^修改后^修改后^修改后^修改后^修改原因^产品余材区分^牌号^登录人^班次^组|板坯号^厚度^宽度^长度^重量^厚度^宽度^长度^重量^修改原因^产品余材区分^牌号^登录人^班次^组" colsep="^" colwidth="90, 60, 60, 60, 60, 60, 60, 60, 60, 75, 60, 60, 90, 43, 60" defaultrows="12" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:380px; width:960px; height:170px; border-color:#000000; ">
  481. <col editable="false" ref="SLAB_NO" type="input"/>
  482. <col editable="false" ref="SIZE_UPDT_BEF_THK" type="input"/>
  483. <col editable="false" ref="SIZE_UPDT_BEF_WTH" type="input"/>
  484. <col editable="false" ref="SIZE_UPDT_BEF_LEN" type="input"/>
  485. <col editable="false" ref="SIZE_UPDT_BEF_WGT" type="input"/>
  486. <col editable="false" ref="SIZE_UPDT_AFT_THK" type="input"/>
  487. <col editable="false" ref="SIZE_UPDT_AFT_WTH" type="input"/>
  488. <col editable="false" ref="SIZE_UPDT_AFT_LEN" type="input"/>
  489. <col editable="false" ref="SIZE_UPDT_AFT_WGT" type="input"/>
  490. <col ref="SIZE_UPDT_CAUSE_CD"/>
  491. <col ref="ORD_FL"/>
  492. <col editable="false" ref="STL_GRD" type="input"/>
  493. <col editable="false" ref="SIZE_UPDT_EMP_NO" type="input"/>
  494. <col ref="SIZE_UPDT_WKGROUP"/>
  495. <col ref="SIZE_UPDT_WKSHIFT"/>
  496. </datagrid>
  497. <caption id="caption11" class="cell" style="left:0px; top:175px; width:100px; height:20px; font-weight:bold; border-color:#000000; ">分割实绩录入</caption>
  498. <caption id="caption12" class="cell" style="left:0px; top:360px; width:100px; height:20px; font-weight:bold; border-color:#000000; ">切割实绩</caption>
  499. </case>
  500. <case id="case4" selected="true">
  501. <datagrid id="datagrid3" nodeset="/root/gridData/slabList/SearchMILLYARD_Result_VO/SearchMILLYARD_Result_Row" caption="选择^板坯号^牌号^精整区分^精整作业实绩代码^厚度^宽度^长度^板坯重量" colsep="^" colwidth="41, 106, 100, 100, 128, 100, 100, 100, 100" defaultrows="9" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:960px; height:170px; ">
  502. <col ref="CHK" type="radio"/>
  503. <col editable="false" ref="SLAB_NO" type="input"/>
  504. <col editable="false" ref="STL_GRD" type="input"/>
  505. <col ref="CORRECT_YN"/>
  506. <col editable="false" ref="CORRECT_RSLT_CD" type="input"/>
  507. <col editable="false" ref="SLAB_THK" type="input"/>
  508. <col editable="false" ref="SLAB_WTH" type="input"/>
  509. <col editable="false" ref="SLAB_LEN" type="input"/>
  510. <col editable="false" ref="SLAB_WGT" type="input"/>
  511. <script type="javascript" ev:event="xforms-select">
  512. <![CDATA[
  513. select();
  514. ]]>
  515. </script>
  516. </datagrid>
  517. <datagrid id="datagrid13" nodeset="/root/gridData/cutResultGrid/CutResult_VO/CutResult_Row" caption="区分^板坯号^厚度^宽度^长度^重量^长度判定^垛位^废钢量^^caption1^caption2^caption3" colsep="^" colwidth="69, 97, 46, 50, 55, 60, 52, 90, 100, 5, 100, 100, 100" defaultrows="4" fixedcols="1" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:194px; width:960px; height:165px; border-color:#000000; ">
  518. <col ref="CLF"/>
  519. <col ref="SLAB_NO"/>
  520. <col ref="SLAB_THK" type="input" style="background-color:#ffff99; "/>
  521. <col ref="SLAB_WTH" type="input" style="background-color:#ffff99; "/>
  522. <col ref="SLAB_LEN" type="input" style="background-color:#ffff99; "/>
  523. <col ref="SLAB_WGT" type="input" style="background-color:#ffff99; "/>
  524. <col ref="SLAB_SIZE_DEC_GRD" type="combo" style="background-color:#ffff99; ">
  525. <choices>
  526. <item>
  527. <label>合格</label>
  528. <value>1</value>
  529. </item>
  530. <item>
  531. <label>不合格</label>
  532. <value>2</value>
  533. </item>
  534. </choices>
  535. </col>
  536. <col ref="CUR_LOAD_LOC" type="input" style="background-color:#ffff99; "/>
  537. <col ref="SCRAP_WGT"/>
  538. <col ref="ORL_LOAD_LOC" visibility="hidden"/>
  539. <col ref="DSN_SLAB_NO" visibility="hidden"/>
  540. <col ref="SUB_DSN_SLAB_NO" visibility="hidden"/>
  541. <col ref="ORL_SLAB_WGT"/>
  542. <script type="javascript" ev:event="xforms-value-changed">
  543. <![CDATA[
  544. if(datagrid13.col == datagrid13.colRef("SLAB_LEN"))
  545. {
  546. //板坯分割生成新的板坯后,根据新板坯的长宽厚计算出板坯重量
  547. var slabThk = datagrid13.valueMatrix(datagrid13.row,datagrid13.colRef("SLAB_THK"));
  548. var slabWth = datagrid13.valueMatrix(datagrid13.row,datagrid13.colRef("SLAB_WTH"));
  549. var slabLen = datagrid13.valueMatrix(datagrid13.row,datagrid13.colRef("SLAB_LEN"));
  550. var slabWgt = Math.round(parseInt(slabThk)*parseInt(slabWth)*parseInt(slabLen)*7.85/1000000);
  551. datagrid13.valueMatrix(datagrid13.row,datagrid13.colRef("SLAB_WGT")) = slabWgt;
  552. var scrapWgt = datagrid13.valueMatrix(1,datagrid13.colRef("ORL_SLAB_WGT")) - slabWgt;
  553. datagrid13.valueMatrix(datagrid13.row,datagrid13.colRef("SCRAP_WGT")) = scrapWgt;
  554. }
  555. ]]>
  556. </script>
  557. </datagrid>
  558. <caption id="caption13" class="cell" style="left:0px; top:175px; width:100px; height:20px; font-weight:bold; border-color:#000000; ">分割实绩录入</caption>
  559. <datagrid id="datagrid14" nodeset="/root/gridData/CorrectedGrid/CorrectedResult_VO/CorrectedResult_Row" disabled="true" caption="板坯号^修改前^修改前^修改前^修改前^修改后^修改后^修改后^修改后^修改原因^产品余材区分^牌号^登录人^班次^组|板坯号^厚度^宽度^长度^重量^厚度^宽度^长度^重量^修改原因^产品余材区分^牌号^登录人^班次^组" colsep="^" colwidth="90, 60, 60, 60, 60, 60, 60, 60, 60, 75, 60, 60, 90, 52, 51" defaultrows="12" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:380px; width:960px; height:170px; border-color:#000000; ">
  560. <col editable="false" ref="SLAB_NO" type="input"/>
  561. <col editable="false" ref="SIZE_UPDT_BEF_THK" type="input"/>
  562. <col editable="false" ref="SIZE_UPDT_BEF_WTH" type="input"/>
  563. <col editable="false" ref="SIZE_UPDT_BEF_LEN" type="input"/>
  564. <col editable="false" ref="SIZE_UPDT_BEF_WGT" type="input"/>
  565. <col editable="false" ref="SIZE_UPDT_AFT_THK" type="input"/>
  566. <col editable="false" ref="SIZE_UPDT_AFT_WTH" type="input"/>
  567. <col editable="false" ref="SIZE_UPDT_AFT_LEN" type="input"/>
  568. <col editable="false" ref="SIZE_UPDT_AFT_WGT" type="input"/>
  569. <col ref="SIZE_UPDT_CAUSE_CD"/>
  570. <col ref="ORD_FL"/>
  571. <col editable="false" ref="STL_GRD" type="input"/>
  572. <col editable="false" ref="SIZE_UPDT_EMP_NO" type="input"/>
  573. <col ref="SIZE_UPDT_WKGROUP"/>
  574. <col ref="SIZE_UPDT_WKSHIFT"/>
  575. </datagrid>
  576. <caption id="caption14" class="cell" style="left:0px; top:360px; width:100px; height:20px; font-weight:bold; border-color:#000000; ">切割实绩</caption>
  577. </case>
  578. <case id="case5">
  579. <datagrid id="datagrid4" nodeset="/root/gridData/slabList/SearchMILLYARD_Result_VO/SearchMILLYARD_Result_Row" caption="选择^板坯号^牌号^精整区分^精整作业实绩代码^厚度^宽度^长度^板坯重量" colsep="^" colwidth="41, 106, 100, 100, 128, 100, 100, 100, 100" defaultrows="9" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:960px; height:170px; ">
  580. <col ref="CHK" type="radio"/>
  581. <col editable="false" ref="SLAB_NO" type="input"/>
  582. <col editable="false" ref="STL_GRD" type="input"/>
  583. <col ref="CORRECT_YN"/>
  584. <col editable="false" ref="CORRECT_RSLT_CD" type="input"/>
  585. <col editable="false" ref="SLAB_THK" type="input"/>
  586. <col editable="false" ref="SLAB_WTH" type="input"/>
  587. <col editable="false" ref="SLAB_LEN" type="input"/>
  588. <col editable="false" ref="SLAB_WGT" type="input"/>
  589. <script type="javascript" ev:event="xforms-select">
  590. <![CDATA[
  591. select();
  592. ]]>
  593. </script>
  594. </datagrid>
  595. <caption id="caption15" class="cell" style="left:0px; top:175px; width:100px; height:20px; font-weight:bold; border-color:#000000; ">分割实绩录入</caption>
  596. <datagrid id="datagrid15" nodeset="/root/gridData/cutResultGrid/CutResult_VO/CutResult_Row" caption="区分^板坯号^厚度^宽度^长度^重量^长度判定^垛位^废钢量^^caption1^caption2" colsep="^" colwidth="69, 97, 46, 50, 55, 60, 52, 90, 100, 5, 100, 100" defaultrows="4" fixedcols="1" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:194px; width:960px; height:165px; border-color:#000000; ">
  597. <col ref="CLF"/>
  598. <col ref="SLAB_NO"/>
  599. <col ref="SLAB_THK" type="input" style="background-color:#ffff99; "/>
  600. <col ref="SLAB_WTH" type="input" style="background-color:#ffff99; "/>
  601. <col ref="SLAB_LEN" type="input" style="background-color:#ffff99; "/>
  602. <col ref="SLAB_WGT" type="input" style="background-color:#ffff99; "/>
  603. <col ref="SLAB_SIZE_DEC_GRD" type="combo" style="background-color:#ffff99; ">
  604. <choices>
  605. <item>
  606. <label>合格</label>
  607. <value>1</value>
  608. </item>
  609. <item>
  610. <label>不合格</label>
  611. <value>2</value>
  612. </item>
  613. </choices>
  614. </col>
  615. <col ref="CUR_LOAD_LOC" type="input" style="background-color:#ffff99; "/>
  616. <col/>
  617. <col ref="ORL_LOAD_LOC" visibility="hidden"/>
  618. <col ref="DSN_SLAB_NO" visibility="hidden"/>
  619. <col ref="SUB_DSN_SLAB_NO" visibility="hidden"/>
  620. <script type="javascript" ev:event="xforms-value-changed">
  621. <![CDATA[
  622. if(datagrid3.col == datagrid3.colRef("SLAB_LEN"))
  623. {
  624. //板坯分割生成新的板坯后,根据新板坯的长宽厚计算出板坯重量
  625. var slabThk = datagrid3.valueMatrix(datagrid3.row,datagrid3.colRef("SLAB_THK"));
  626. var slabWth = datagrid3.valueMatrix(datagrid3.row,datagrid3.colRef("SLAB_WTH"));
  627. var slabLen = datagrid3.valueMatrix(datagrid3.row,datagrid3.colRef("SLAB_LEN"));
  628. var slabWgt = Math.round(parseInt(slabThk)*parseInt(slabWth)*parseInt(slabLen)*7.85/1000000);
  629. datagrid3.valueMatrix(datagrid3.row,datagrid3.colRef("SLAB_WGT")) = slabWgt;
  630. if(datagrid1.valueMatrix(1,datagrid1.colRef("MODIFY_CD")) == "05"){
  631. var scrapWgt = datagrid3.valueMatrix(1,datagrid3.colRef("SLAB_WGT")) - slabWgt;
  632. model.makeNode("/root/searchData/SCRAP_WGT");
  633. model.setValue("/root/searchData/SCRAP_WGT",scrapWgt);
  634. input2.value = scrapWgt;
  635. input2.refresh();
  636. }
  637. }
  638. ]]>
  639. </script>
  640. </datagrid>
  641. <caption id="caption16" class="cell" style="left:0px; top:360px; width:100px; height:20px; font-weight:bold; border-color:#000000; ">切割实绩</caption>
  642. <datagrid id="datagrid16" nodeset="/root/gridData/CorrectedGrid/CorrectedResult_VO/CorrectedResult_Row" disabled="true" caption="板坯号^修改前^修改前^修改前^修改前^修改后^修改后^修改后^修改后^修改原因^产品余材区分^牌号^登录人^班次^组|板坯号^厚度^宽度^长度^重量^厚度^宽度^长度^重量^修改原因^产品余材区分^牌号^登录人^班次^组" colsep="^" colwidth="90, 60, 60, 60, 60, 60, 60, 60, 60, 75, 60, 60, 90, 44, 48" defaultrows="12" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:380px; width:960px; height:170px; border-color:#000000; ">
  643. <col editable="false" ref="SLAB_NO" type="input"/>
  644. <col editable="false" ref="SIZE_UPDT_BEF_THK" type="input"/>
  645. <col editable="false" ref="SIZE_UPDT_BEF_WTH" type="input"/>
  646. <col editable="false" ref="SIZE_UPDT_BEF_LEN" type="input"/>
  647. <col editable="false" ref="SIZE_UPDT_BEF_WGT" type="input"/>
  648. <col editable="false" ref="SIZE_UPDT_AFT_THK" type="input"/>
  649. <col editable="false" ref="SIZE_UPDT_AFT_WTH" type="input"/>
  650. <col editable="false" ref="SIZE_UPDT_AFT_LEN" type="input"/>
  651. <col editable="false" ref="SIZE_UPDT_AFT_WGT" type="input"/>
  652. <col ref="SIZE_UPDT_CAUSE_CD"/>
  653. <col ref="ORD_FL"/>
  654. <col editable="false" ref="STL_GRD" type="input"/>
  655. <col editable="false" ref="SIZE_UPDT_EMP_NO" type="input"/>
  656. <col ref="SIZE_UPDT_WKGROUP"/>
  657. <col ref="SIZE_UPDT_WKSHIFT"/>
  658. </datagrid>
  659. </case>
  660. </switch>
  661. <group id="group1" ref="/root/formData" style="left:0px; top:0px; width:960px; height:25px; ">
  662. <caption id="caption6" class="cell" style="left:640px; top:2px; width:45px; height:20px; font-weight:bold; border-color:#000000; ">班次</caption>
  663. <caption id="caption7" class="cell" style="left:745px; top:2px; width:45px; height:20px; font-weight:bold; border-color:#000000; ">班组</caption>
  664. <caption id="caption8" class="cell" style="left:850px; top:2px; width:50px; height:20px; font-weight:bold; border-color:#000000; ">操作人</caption>
  665. <select1 id="combo2" ref="/root/formData/REG_SHIP" appearance="minimal" style="left:685px; top:2px; width:55px; height:20px; ">
  666. <choices>
  667. <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'Z05001']">
  668. <label ref="SM_CFNM"/>
  669. <value ref="SM_CD"/>
  670. </itemset>
  671. </choices>
  672. </select1>
  673. <select1 id="combo3" ref="/root/formData/REG_GROUP" appearance="minimal" style="left:790px; top:2px; width:55px; height:20px; ">
  674. <choices>
  675. <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'Z05002']">
  676. <label ref="SM_CFNM"/>
  677. <value ref="SM_CD"/>
  678. </itemset>
  679. </choices>
  680. </select1>
  681. <input id="input1" ref="/root/formData/REG_ID" disabled="true" style="left:900px; top:2px; width:60px; height:20px; "/>
  682. <caption id="caption4" class="cell" style="left:0px; top:2px; width:55px; height:20px; font-weight:bold; border-color:#000000; ">炉 号</caption>
  683. <input id="input3" ref="CHARGE_NO" style="left:55px; top:2px; width:100px; height:20px; background-color:#ffff99; "/>
  684. <button id="button6" visibility="hidden" style="left:440px; top:5px; width:65px; height:15px; ">
  685. <caption>find</caption>
  686. <script type="javascript" ev:event="DOMActivate">
  687. <![CDATA[
  688. find();
  689. ]]>
  690. </script>
  691. </button>
  692. <button id="button7" visibility="hidden" style="left:535px; top:5px; width:65px; height:15px; ">
  693. <caption>save</caption>
  694. <script type="javascript" ev:event="DOMActivate">
  695. <![CDATA[
  696. save();
  697. ]]>
  698. </script>
  699. </button>
  700. </group>
  701. <button id="button1" class="sw" select.background-image="../../images/sw_select.gif" focus.background-image="../../images/sw_select.gif" hover.background-image="../../images/sw_normal.gif" style="left:0px; top:25px; width:100px; height:20px; background-image:../../images/sw_normal.gif; ">
  702. <caption>指示二切</caption>
  703. <script type="javascript" ev:event="DOMActivate">
  704. <![CDATA[
  705. switch1.dispatch("case1");
  706. model.setValue("/root/formData/MODIFY_CODE","03"); //指示切割
  707. find();
  708. ]]>
  709. </script>
  710. </button>
  711. <button id="button2" class="sw" select.background-image="../../images/sw_select.gif" focus.background-image="../../images/sw_select.gif" hover.background-image="../../images/sw_normal.gif" style="left:295px; top:25px; width:100px; height:20px; background-image:../../images/sw_normal.gif; ">
  712. <caption>部分废钢</caption>
  713. <script type="javascript" ev:event="DOMActivate">
  714. <![CDATA[
  715. switch1.dispatch("case4");
  716. model.setValue("/root/formData/MODIFY_CODE","05"); //部分废钢
  717. find();
  718. ]]>
  719. </script>
  720. </button>
  721. <button id="button3" class="sw" select.background-image="../../images/sw_select.gif" focus.background-image="../../images/sw_select.gif" hover.background-image="../../images/sw_normal.gif" style="left:95px; top:25px; width:100px; height:20px; background-image:../../images/sw_normal.gif; ">
  722. <caption>非指示二切</caption>
  723. <script type="javascript" ev:event="DOMActivate">
  724. <![CDATA[
  725. switch1.dispatch("case2");
  726. model.setValue("/root/formData/MODIFY_CODE","02"); //未指示切割
  727. find();
  728. ]]>
  729. </script>
  730. </button>
  731. <button id="button4" class="sw" select.background-image="../../images/sw_select.gif" focus.background-image="../../images/sw_select.gif" hover.background-image="../../images/sw_normal.gif" style="left:195px; top:25px; width:100px; height:20px; background-image:../../images/sw_normal.gif; ">
  732. <caption>尺寸修改</caption>
  733. <script type="javascript" ev:event="DOMActivate">
  734. <![CDATA[
  735. switch1.dispatch("case3");
  736. model.setValue("/root/formData/MODIFY_CODE","01"); //尺寸修改
  737. find();
  738. ]]>
  739. </script>
  740. </button>
  741. <button id="button5" class="sw" select.background-image="../../images/sw_select.gif" focus.background-image="../../images/sw_select.gif" hover.background-image="../../images/sw_normal.gif" style="left:395px; top:25px; width:100px; height:20px; background-image:../../images/sw_normal.gif; ">
  742. <caption>全废钢</caption>
  743. <script type="javascript" ev:event="DOMActivate">
  744. <![CDATA[
  745. switch1.dispatch("case5");
  746. model.setValue("/root/formData/MODIFY_CODE","04"); //全废钢
  747. find();
  748. ]]>
  749. </script>
  750. </button>
  751. <button id="button8" class="sw" select.background-image="../../images/sw_select.gif" focus.background-image="../../images/sw_select.gif" hover.background-image="../../images/sw_normal.gif" style="left:495px; top:25px; width:100px; height:20px; background-image:../../images/sw_normal.gif; ">
  752. <caption>分切撤销</caption>
  753. <script type="javascript" ev:event="DOMActivate">
  754. <![CDATA[
  755. //switch1.dispatch("case2");
  756. model.setValue("/root/formData/MODIFY_CODE","06"); //全废钢
  757. find();
  758. ]]>
  759. </script>
  760. </button>
  761. </xhtml:body>
  762. </xhtml:html>