f6d3c3210fca10975260a7c073cbf1da00d3539f.svn-base 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. <%@page language="java" pageEncoding="UTF-8"%>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title>装备台账明细——发电机详情</title>
  7. <!--框架必需start-->
  8. <%@include file="../../../../include.jsp" %>
  9. <!--框架必需end-->
  10. <script type="text/javascript">
  11. $(function(){
  12. $("html").css("overflow-y","auto");
  13. //修改表单信息,获取记录
  14. if((window.location.href).indexOf('?')>-1){
  15. var fd_id = (window.location.href).split('?')[1];
  16. var url = $.pathname() + '/ws/crud/CRUDService/getDataById/';
  17. var params = {
  18. classid : '266',
  19. objectID : fd_id
  20. };
  21. $.ajax({
  22. url : url,
  23. type : 'post',
  24. timeout : 60000,
  25. data : params,
  26. dataType : 'json',
  27. success : function(data){
  28. for(var i in data){
  29. $('#'+i).html(data[i]);
  30. }
  31. $("#TYPEIN_TIME").html(data.UPDATEDATE_266);
  32. typein(data.TYPEIN_PEOPLE_266);
  33. },
  34. error : function(e){
  35. top.Dialog.alert('系统提示信息', '访问服务失败!', 'error');
  36. }
  37. });
  38. }
  39. });
  40. //录入人信息
  41. function typein(id){
  42. var url = $.pathname() + '/ws/crud/CRUDService/getDataById/';
  43. var params1 = {
  44. classid : '880',
  45. objectID : id
  46. };
  47. $.ajax({
  48. url : url,
  49. type : 'post',
  50. timeout : 60000,
  51. data : params1,
  52. async:false, //异步
  53. dataType : 'json',
  54. success : function(data){
  55. $("#TYPEIN_PEOPLE").html(data.REAL_NAME_880); //录入人
  56. $("#TYPEIN_PEOPLE_PHONE_NUM").html(data.MOBILE_880); //手机
  57. $("#UNITE").html(data.COMPANY_ID_880_SHOW);//所属单位
  58. $("#DEPT").html(data.ORG_ID_880_SHOW);//所属部门
  59. },
  60. error : function(e){
  61. $.messager.alert('系统提示信息', '访问服务失败!', 'error');
  62. }
  63. });
  64. }
  65. </script>
  66. <style type="text/css">
  67. .title_class {
  68. font-size: 22px;
  69. color: blue;
  70. }
  71. .tool_class {
  72. display: inline-block;
  73. float: right;
  74. }
  75. .class_color{
  76. background-color: rgb(237, 239, 253);
  77. }
  78. </style>
  79. </head>
  80. <body style="width: 1000px; margin:0 auto; margin-top:15px" align="center">
  81. <div class="box1" id="formContent" style="border: 1px solid #E4E4E4;background: #F8F8F8;width:1000px;overflow:auto" align="center">
  82. <div style="height: 50px;background: #F8F8F8;" align="center">
  83. <font style="font-weight: bold;font-size: 20px;line-height: 45px;">发电机详细信息</font>
  84. </div>
  85. <fieldset style="border-color:#999999; border-top-color: rgb(200,200,200); border-right-color: rgb(200,200,200); border-bottom-color: rgb(200,200,200); border-left-color: rgb(200,200,200); width: 960px " align="center" >
  86. <legend>个人信息</legend>
  87. <table width="960px" class="tableStyle" align="center">
  88. <tr>
  89. <td width="120px" align="right" class="class_color">所属单位名称:</td>
  90. <td width="280px"><div type="text" id="COMP_ID_266_SHOW" name="COMP_ID_266_SHOW" /></td>
  91. <td width="120px" align="right" class="class_color">装备名称:</td>
  92. <td width="280px"><div type="text" id="NAME_266" name="NAME_266" /></td>
  93. </tr>
  94. <tr>
  95. <td align="right" class="class_color">装备编号:</td>
  96. <td><div type="text" id="EQUIPMENT_NUMBER_266" name="EQUIPMENT_NUMBER_266" /></td>
  97. <td align="right" class="class_color">规格型号:</td>
  98. <td><div type="text" id="MODEL_TYPE_266" name="MODEL_TYPE_266" /></td>
  99. </tr>
  100. <tr>
  101. <td align="right" class="class_color">电压等级(V):</td>
  102. <td><div type="text" id="VOLTAGE_LEVEL_266_SHOW" name="VOLTAGE_LEVEL_266_SHOW" /></td>
  103. <td align="right" class="class_color">容量(kW):</td>
  104. <td><div type="text" id="CONTENT_266" name="CONTENT_266" /></td>
  105. </tr>
  106. <tr>
  107. <td align="right" class="class_color">数量(台):</td>
  108. <td><div type="text" id="NUM_266" name="NUM_266" /></td>
  109. <td align="right" class="class_color">单价(万元):</td>
  110. <td><div type="text" id="PRICE_266" name="PRICE_266" /></td>
  111. </tr>
  112. <tr>
  113. <td align="right" class="class_color">燃料:</td>
  114. <td><div type="text" id="GAS_266_SHOW" name="GAS_266" /></td>
  115. <td align="right" class="class_color">供应商:</td>
  116. <td><div type="text" id="PROVIDER_266" name="PROVIDER_266" /></td>
  117. </tr>
  118. <tr>
  119. <td align="right" class="class_color">购买日期(年月):</td>
  120. <td><div type="text" id="BUY_DATE_266" name="BUY_DATE_266" /></td>
  121. <td align="right" class="class_color">装备存放场所:</td>
  122. <td><div type="text" id="STORE_PLACE_266" name="STORE_PLACE_266" /></td>
  123. </tr>
  124. <tr>
  125. <td align="right" class="class_color">负责人:</td>
  126. <td><div type="text" id="INPIRE_266" name="INPIRE_266" /></td>
  127. <td align="right" class="class_color">办公电话:</td>
  128. <td><div type="text" id="OFFICE_TEL_266" name="OFFICE_TEL_266" /></td>
  129. </tr>
  130. <tr>
  131. <td align="right" class="class_color">手机:</td>
  132. <td><div type="text" id="MOBILE_PHONE_266" name="MOBILE_PHONE_266" ></span></td>
  133. <td align="right" class="class_color">经度:</td>
  134. <td><div id="LONGITUDE_266" name="LONGITUDE_266" /></td>
  135. </tr>
  136. <tr>
  137. <td align="right" class="class_color">纬度:</td>
  138. <td><div id="LATITUDE_266" name="LATITUDE_266" /></td>
  139. <td align="right" class="class_color">是否可调用:</td>
  140. <td><div type="text" id="IS_USED_266_SHOW" name="IS_USED_266_SHOW" /></td>
  141. </tr>
  142. <tr>
  143. <td align="right" class="class_color">调拨状态:</td>
  144. <td><div type="text" id="USED_STAT_266_SHOW" name="USED_STAT_266_SHOW" /></td>
  145. <td></td>
  146. <td></td>
  147. </tr>
  148. </table>
  149. </fieldset>
  150. <fieldset style="border-top-color: rgb(200,200,200); border-right-color: rgb(200,200,200); border-bottom-color: rgb(200,200,200); border-left-color: rgb(200,200,200); width: 960px" align="center">
  151. <legend>录入人信息</legend>
  152. <table width="960px" class="tableStyle" align="center" id="fillForm">
  153. <tr>
  154. <td width="114px" align="right" class="class_color">单位:</td>
  155. <td width="280px"><div style="width:97%" name="UNITE" id="UNITE" /></td>
  156. <td width="114px" align="right" class="class_color">部门:</td>
  157. <td width="280px"><div name="DEPT" id="DEPT" /></td>
  158. </tr>
  159. <tr>
  160. <td width="114px" align="right" class="class_color">录入人:</td>
  161. <td width="280px"><div name="TYPEIN_PEOPLE" id="TYPEIN_PEOPLE" /></td><!-- style="text-decoration:underline;color:#0000FF" -->
  162. <td width="114px" align="right" class="class_color">录入人联系方式:</td>
  163. <td width="280px"><div name="TYPEIN_PEOPLE_PHONE_NUM" id="TYPEIN_PEOPLE_PHONE_NUM" /></td>
  164. </tr>
  165. <tr>
  166. <td width="114px" align="right" class="class_color">录入时间:</td>
  167. <td colspan="3"><div name="" id="TYPEIN_TIME"></div></td>
  168. </tr>
  169. </table>
  170. </fieldset>
  171. </div>
  172. </body>
  173. </html>