aba4a1f25c7d2000d12fb5c8f810c4b43dd36e61.svn-base 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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[炼钢作业 >> 板坯库管理 >> 中厚板坯料降级(UIG040120) ]]>
  7. </xhtml:title>
  8. <model id="model1">
  9. <instance id="instance1">
  10. <root xmlns="">
  11. <initData>
  12. <LG_CD>E01015</LG_CD>
  13. </initData>
  14. <searchData>
  15. <STL_GRD>
  16. </STL_GRD>
  17. <MIN_SLAB_THK>0</MIN_SLAB_THK>
  18. <MAX_SLAB_THK>420</MAX_SLAB_THK>
  19. <MIN_SLAB_WTH>0</MIN_SLAB_WTH>
  20. <MAX_SLAB_WTH>20000</MAX_SLAB_WTH>
  21. <SLAB_NO/>
  22. <CF>Y</CF>
  23. <CC>Y</CC>
  24. <DZ>Y</DZ>
  25. <PH>Y</PH>
  26. <DSN_SLAB_NO/>
  27. <SUB_DSN_SLAB_NO/>
  28. <USER/>
  29. <CHARGE_NO/>
  30. <JJ>N</JJ>
  31. </searchData>
  32. <formData/>
  33. <gridData>
  34. <gridUnorderSlab/>
  35. <gridSlabIns/>
  36. </gridData>
  37. <codeData/>
  38. </root>
  39. </instance>
  40. <script type="javascript" ev:event="xforms-ready">
  41. <![CDATA[
  42. // commSendReq("/root/initData");
  43. // commSubmit("UIGCOMMCODE-service","find","glueAction.do");
  44. // model.copyNode("/root/codeData","/root/resData");
  45. // model.refresh();
  46. ]]>
  47. </script>
  48. </model>
  49. <script type="javascript" src="../../js/boaCommon.js"/>
  50. <script type="javascript" src="../../js/boaMsg.js"/>
  51. <script type="javascript" src="../../js/Common.js"/>
  52. <script type="javascript" src="../../js/mesCommon.js"/>
  53. <script type="javascript" src="../../js/boaMsg.js"/>
  54. <script type="javascript" src="../../js/boaCommon.js"/>
  55. <script type="javascript" src="../../js/dCommon.js"/>
  56. <script type="javascript">
  57. <![CDATA[
  58. function Init(node) {
  59. // if (window.parent != null) {
  60. // var java = window.parent.javaScript;
  61. // var node = java.getInitDataNode();
  62. // if (node != null) {
  63. // copyNode(node, "/root/formData/searchInfo");
  64. // }
  65. // }
  66. if (typeof node == "undefined" && typeof node != "object") return;
  67. model.removenode("/root/initData/rcvInfo");
  68. model.makeNode("/root/initData/rcvInfo");
  69. var nodeList = node.childNodes;
  70. for (var i = 0; i < nodeList.length; i++)
  71. model.instances(0).selectSingleNode("/root/initData/rcvInfo").appendChild(nodeList.item(i));
  72. commSendReq("/root/initData");
  73. commSubmit("UIGCOMMCODE-service","find","glueAction.do");
  74. model.copyNode("/root/codeData","/root/resData");
  75. model.refresh();
  76. }
  77. function find(){
  78. input2.value = model.getValue("/root/initData/rcvInfo/REG_ID");
  79. commSendReq("/root/searchData");
  80. commSubmit("UIG040120-service","findOrderSlabs","glueAction.do");
  81. commAppendData("/root/gridData/gridUnorderSlab/UNORDER_SLABS_VO","/root/resData/UNORDER_SLABS_VO");
  82. model.setValue("/root/searchData/SLAB_NO","");
  83. gridUnorderSlab.rebuild();
  84. model.refresh();
  85. check();
  86. }
  87. function save(){
  88. model.removenode("/root/reqData");
  89. model.makeNode("/root/reqData");
  90. commMultiUpdate(gridUnorderSlab,"/root/reqData","A",true,"rowStatus");
  91. model.duplicate("/root/reqData","/root/searchData/USER");
  92. commSubmit("UIG040120-service","saveSlabRep","glueAction.do");
  93. //find();
  94. }
  95. function check(){
  96. model.setValue("/root/searchData/SLAB_NO",gridUnorderSlab.valueMatrix(gridUnorderSlab.row,gridUnorderSlab.colRef("SLAB_NO")));
  97. commSendReq("/root/searchData");
  98. commSubmit("UIG040110-service","findSlabIns","glueAction.do");
  99. commAppendData("/root/gridData/gridSlabIns/SLAB_INS_VO","/root/resData/SLAB_INS_VO");
  100. model.refresh();
  101. }
  102. ]]>
  103. </script>
  104. </xhtml:head>
  105. <xhtml:body pagewidth="980" pageheight="620" style="font-family:宋体; font-size:12pt; ">
  106. <group id="groupSearch" ref="/root/searchData" style="left:0px; top:0px; width:980px; height:25px; ">
  107. <caption id="cptStlGrd" class="cell" style="left:0px; top:0px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">牌号</caption>
  108. <caption id="cptSlabThk" class="cell" style="left:125px; top:0px; width:71px; height:20px; font-weight:bold; border-color:#000000; ">板坯宽度</caption>
  109. <caption id="cptSlabWth" class="cell" style="left:305px; top:0px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">板坯宽度</caption>
  110. <input id="inputStlGrd" ref="STL_GRD" style="left:60px; top:0px; width:60px; height:20px; "/>
  111. <input id="inputMinSlabThk" ref="MIN_SLAB_THK" style="left:365px; top:0px; width:50px; height:20px; "/>
  112. <input id="inputMaxSlabThk" ref="MAX_SLAB_THK" style="left:420px; top:0px; width:50px; height:20px; "/>
  113. <input id="inputMinSlabWth" ref="MIN_SLAB_WTH" style="left:185px; top:0px; width:50px; height:20px; "/>
  114. <input id="inputMaxSlabWth" ref="MAX_SLAB_WTH" style="left:240px; top:0px; width:50px; height:20px; "/>
  115. <caption id="caption1" class="cell" style="left:485px; top:0px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">炉次号</caption>
  116. <input id="input1" ref="CHARGE_NO" style="left:545px; top:0px; width:70px; height:20px; "/>
  117. <input id="input2" ref="/root/searchData/USER" visibility="hidden" editable="false" style="left:645px; top:0px; width:70px; height:20px; "/>
  118. </group>
  119. <datagrid id="gridUnorderSlab" nodeset="/root/gridData/gridUnorderSlab/UNORDER_SLABS_VO/UNORDER_SLABS_Row" caption="选择^板坯号^牌号^计划号^合同号^订单号^板坯^板坯^板坯^板坯^板坯|选择^板坯号^牌号^计划号^合同号^订单号^厚度^宽度^长度^重量^垛位" colsep="^" colwidth="45, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" ref="/root/gridData/gridUnorderSlab" style="left:0px; top:75px; width:980px; height:535px; ">
  120. <col checkvalue="Y,N" ref="CHK" type="checkbox"/>
  121. <col ref="SLAB_NO"/>
  122. <col ref="STL_GRD"/>
  123. <col ref="DSN_SLAB_NO"/>
  124. <col ref="ORD_NO"/>
  125. <col ref="ORD_SEQ"/>
  126. <col ref="SLAB_THK"/>
  127. <col ref="SLAB_WTH"/>
  128. <col ref="SLAB_LEN"/>
  129. <col ref="SLAB_WGT"/>
  130. <col ref="CUR_LOAD_LOC"/>
  131. </datagrid>
  132. </xhtml:body>
  133. </xhtml:html>