UIH040060.xrw 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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[热轧作业>>轧辊/热轧标准>>轧辊保有现况(UIH040060)]]>
  7. </xhtml:title>
  8. <model id="model1">
  9. <instance id="instance1">
  10. <root xmlns="">
  11. <resData/>
  12. <reqData/>
  13. <searchData>
  14. <ROLL_TYPE/>
  15. <ROLL_STAT/>
  16. </searchData>
  17. <datagrid1/>
  18. </root>
  19. </instance>
  20. </model>
  21. <script type="javascript">
  22. <![CDATA[
  23. //查询方法
  24. function find(){
  25. //清空发送接点
  26. model.removenode("/root/reqData");
  27. model.makeNode("/root/reqData");
  28. model.removenode("/root/datagrid1");
  29. model.makeNode("/root/datagrid1");
  30. //分类别、状态全存在,类别存在状态不存在,类别状态都不存在进行查询
  31. var roll_type = model.getValue("/root/searchData/ROLL_TYPE");
  32. var roll_stat = model.getValue("/root/searchData/ROLL_STAT");
  33. if(roll_type != "" && roll_stat !=""){
  34. //把发送的轧辊类别和状态信息放入reqData
  35. model.duplicate("/root/reqData","/root/searchData/ROLL_TYPE");
  36. model.duplicate("/root/reqData","/root/searchData/ROLL_STAT");
  37. commSubmit("UIH040060-service","findAll","glueAction.do");
  38. }else if(roll_type !="" && roll_stat == ""){
  39. model.duplicate("/root/reqData","/root/searchData/ROLL_TYPE");
  40. commSubmit("UIH040060-service","findType","glueAction.do");
  41. }else if(roll_type == "" && roll_stat ==""){
  42. commSubmit("UIH040060-service","findNull","glueAction.do");
  43. }else{
  44. alert(" 不能存在轧辊类别为空,轧辊状态不为空的情况! ");
  45. }
  46. // //把发送的轧辊类别和状态信息放入reqData
  47. // model.duplicate("/root/reqData","/root/searchData/ROLL_TYPE");
  48. // model.duplicate("/root/reqData","/root/searchData/ROLL_STAT");
  49. //
  50. // commSubmit("UIH040060-service","find","glueAction.do");
  51. //把查询的结果放入datagrid1中
  52. model.duplicate("/root/datagrid1","/root/resData/RollList_VO");
  53. model.refresh();
  54. }
  55. ]]>
  56. </script>
  57. <script type="javascript" src="../../js/boaMsg.js"/>
  58. <script type="javascript" src="../../js/boaCommon.js"/>
  59. </xhtml:head>
  60. <xhtml:body guideline="2,0;">
  61. <caption id="caption6" class="cell" style="left:0px; top:5px; width:90px; height:20px; font-weight:bold; border-color:#000000; ">轧辊现状</caption>
  62. <caption id="caption1" class="cell" style="left:0px; top:35px; width:90px; height:20px; font-weight:bold; border-color:#000000; ">轧辊类别</caption>
  63. <select1 id="combo1" ref="/root/searchData/ROLL_TYPE" appearance="minimal" style="left:92px; top:35px; width:110px; height:20px; background-color:#ffff99; border-color:#000000; ">
  64. <choices>
  65. <item>
  66. <label>--全部--</label>
  67. <value/>
  68. </item>
  69. <item>
  70. <label>其它辊</label>
  71. <value>BUR</value>
  72. </item>
  73. <item>
  74. <label>支撑辊</label>
  75. <value>EWR</value>
  76. </item>
  77. <item>
  78. <label>工作辊</label>
  79. <value>WKR</value>
  80. </item>
  81. </choices>
  82. </select1>
  83. <caption id="caption2" class="cell" style="left:207px; top:35px; width:93px; height:20px; font-weight:bold; border-color:#000000; ">轧辊状态</caption>
  84. <select1 id="combo2" ref="/root/searchData/ROLL_STAT" appearance="minimal" style="left:302px; top:35px; width:110px; height:20px; background-color:#ffff99; border-color:#000000; ">
  85. <choices>
  86. <item>
  87. <label>--全部--</label>
  88. <value/>
  89. </item>
  90. <item>
  91. <label>使用中</label>
  92. <value>U</value>
  93. </item>
  94. <item>
  95. <label>装配完成</label>
  96. <value>W</value>
  97. </item>
  98. <item>
  99. <label>磨削待机</label>
  100. <value>S</value>
  101. </item>
  102. <item>
  103. <label>磨削完成</label>
  104. <value>G</value>
  105. </item>
  106. <item>
  107. <label>轧辊废弃</label>
  108. <value>D</value>
  109. </item>
  110. <item>
  111. <label>新辊入库</label>
  112. <value>I</value>
  113. </item>
  114. </choices>
  115. </select1>
  116. <datagrid id="datagrid1" nodeset="/root/datagrid1/RollList_VO/RollList_Row" scroll="both" allowuserresize="false" caption="轧辊号^轧辊状态^机架号^上下辊区分^轧辊类别^轧辊材质^轧辊单价^入库直径^辊型(mm)^废弃直径^现在直径^厂家标志^入库时间^磨削时间^磨削完成时间^磨削次数" colsep="^" colwidth="75, 62, 60, 76, 69, 72, 75, 75, 64, 69, 69, 59, 83, 74, 100, 75" defaultrows="26" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:75px; width:980px; height:520px; ">
  117. <col ref="ROLL_NO"/>
  118. <col ref="ROLL_STAT"/>
  119. <col ref="STAND_NO"/>
  120. <col ref="TOP_BOT_CLF"/>
  121. <col ref="ROLL_TYPE"/>
  122. <col ref="ROLL_MAT_QLTY"/>
  123. <col ref="ROLL_UCOST"/>
  124. <col ref="ENT_DIA" style="text-align:right; "/>
  125. <col ref="ROLL_SHAPE_CD"/>
  126. <col ref="DISUSE_DIA" style="text-align:right; "/>
  127. <col ref="CUR_DIA" style="text-align:right; "/>
  128. <col ref="ROLL_MAKER"/>
  129. <col ref="ENT_DTIME" format="yyyy-mm-dd hh:mm:ss"/>
  130. <col ref="GRIND_DTIME" style="text-align:right; "/>
  131. <col ref="GRIND_USE_DTIME"/>
  132. <col ref="GRIND_STEPNO"/>
  133. </datagrid>
  134. <line id="line1" style="x1:0px; y1:30px; x2:980px; y2:30px; "/>
  135. <line id="line2" style="x1:0px; y1:65px; x2:980px; y2:65px; "/>
  136. </xhtml:body>
  137. </xhtml:html>