06940ebe1b7d22dcce6258909add2ca9b874f50f.svn-base 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  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 : '265',
  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_265);
  32. typein(data.TYPEIN_PEOPLE_265);
  33. },
  34. error : function(e){
  35. top.Dialog.alert('系统提示信息', '访问服务失败!', 'error');
  36. }
  37. });
  38. }
  39. });
  40. //返回
  41. function goBack() {
  42. window.location.href="generator-car.jsp";
  43. // var url = "/nwyj/page/business/am/resource/ledger/generator-car.jsp";
  44. // window.parent.document.getElementById("frmright").setAttribute("src", ""+encodeURI(url));
  45. }
  46. //录入人信息
  47. function typein(id){
  48. var url = $.pathname() + '/ws/crud/CRUDService/getDataById/';
  49. var params1 = {
  50. classid : '880',
  51. objectID : id
  52. };
  53. $.ajax({
  54. url : url,
  55. type : 'post',
  56. timeout : 60000,
  57. data : params1,
  58. async:false, //异步
  59. dataType : 'json',
  60. success : function(data){
  61. $("#TYPEIN_PEOPLE").html(data.REAL_NAME_880); //录入人
  62. $("#TYPEIN_PEOPLE_PHONE_NUM").html(data.MOBILE_880); //手机
  63. $("#UNITE").html(data.COMPANY_ID_880_SHOW);//所属单位
  64. $("#DEPT").html(data.ORG_ID_880_SHOW);//所属部门
  65. },
  66. error : function(e){
  67. $.messager.alert('系统提示信息', '访问服务失败!', 'error');
  68. }
  69. });
  70. }
  71. </script>
  72. <style type="text/css">
  73. .title_class {
  74. font-size: 22px;
  75. color: blue;
  76. }
  77. .tool_class {
  78. display: inline-block;
  79. float: right;
  80. }
  81. .class_color{
  82. background-color: rgb(237, 239, 253);
  83. }
  84. </style>
  85. </head>
  86. <body style="width: 1000px; margin:0 auto; margin-top:15px" align="center">
  87. <div class="box1" id="formContent" style="border: 1px solid #E4E4E4;background: #F8F8F8;width:1000px;overflow:auto" align="center">
  88. <div style="height: 50px;background: #F8F8F8;" align="center">
  89. <font style="font-weight: bold;font-size: 20px;line-height: 45px;">发电车详细信息</font>
  90. </div>
  91. <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" >
  92. <legend>个人信息</legend>
  93. <table width="960px" class="tableStyle" align="center">
  94. <tr>
  95. <td width="120px" align="right" class="class_color">所属单位名称:</td>
  96. <td width="280px"><div type="text" id="COMP_ID_265_SHOW" name="COMP_ID_265_SHOW" /></td>
  97. <td width="120px" align="right" class="class_color">装备名称:</td>
  98. <td width="280px"><div type="text" id="CAR_NAME_265" name="CAR_NAME_265" /></td>
  99. </tr>
  100. <tr>
  101. <td align="right" class="class_color">装备编号:</td>
  102. <td><div type="text" id="EQUIPMENT_NUMBER_265" name="EQUIPMENT_NUMBER_265" /></td>
  103. <td align="right" class="class_color">规格型号:</td>
  104. <td><div type="text" id="CAR_TYPE_265" name="CAR_TYPE_265" /></td>
  105. </tr>
  106. <tr>
  107. <td align="right" class="class_color">电压等级(V):</td>
  108. <td><div type="text" id="CAR_LEVEL_265_SHOW" name="CAR_LEVEL_265_SHOW" /></td>
  109. <td align="right" class="class_color">容量(kW):</td>
  110. <td><div type="text" id="CAR_CONTENT_265" name="CAR_CONTENT_265" /></td>
  111. </tr>
  112. <tr>
  113. <td align="right" class="class_color">数量(辆):</td>
  114. <td><div type="text" id="CAR_NUM_265" name="CAR_NUM_265" /><span class="star"></span></td>
  115. <td align="right" class="class_color">单价(万元):</td>
  116. <td><div type="text" id="CAR_PRICE_265" name="CAR_PRICE_265" /></td>
  117. </tr>
  118. <tr>
  119. <td align="right" class="class_color">燃料:</td>
  120. <td><div type="text" id="CAR_GAS_265_SHOW" name="CAR_GAS_265" /></td>
  121. <td align="right" class="class_color">供应商:</td>
  122. <td><div type="text" id="CAR_PROVIDER_265" name="CAR_PROVIDER_265" /></td>
  123. </tr>
  124. <tr>
  125. <td align="right" class="class_color">购买日期(年月):</td>
  126. <td><div type="text" id="BUY_DATE_265" name="BUY_DATE_265" /></td>
  127. <td align="right" class="class_color">装备存放场所:</td>
  128. <td><div type="text" id="STORE_PLACE_265" name="STORE_PLACE_265" /></td>
  129. </tr>
  130. <tr>
  131. <td align="right" class="class_color">负责人:</td>
  132. <td><div type="text" id="CAR_INPIRE_265" name="CAR_INPIRE_265" /></td>
  133. <td align="right" class="class_color">办公电话:</td>
  134. <td><div type="text" id="OFFICE_TEL_265" name="OFFICE_TEL_265" /></td>
  135. </tr>
  136. <tr>
  137. <td align="right" class="class_color">手机:</td>
  138. <td><div type="text" id="MOBILE_PHONE_265" name="MOBILE_PHONE_265" /></td>
  139. <td align="right" class="class_color">经度:</td>
  140. <td><div type="text" id="JINGDU_265" name="JINGDU_265" /></td>
  141. </tr>
  142. <tr>
  143. <td align="right" class="class_color">纬度:</td>
  144. <td><div type="text" id="WEIDU_265" name="WEIDU_265" /></td>
  145. <td align="right" class="class_color">储能方式:</td>
  146. <td><div type="text" id="STORED_ENERGY_TYPE_265_SHOW" name="STORED_ENERGY_TYPE_265_SHOW" /></td>
  147. </tr>
  148. <tr>
  149. <td align="right" class="class_color">是否可调用:</td>
  150. <td><div type="text" id="IS_USED_265_SHOW" name="IS_USED_265_SHOW" /></td>
  151. <td align="right" class="class_color">调拨状态:</td>
  152. <td><div type="text" id="USED_STAT_265_SHOW" name="USED_STAT_265_SHOW" /></td>
  153. </tr>
  154. </table>
  155. </fieldset>
  156. <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">
  157. <legend>录入人信息</legend>
  158. <table width="960px" class="tableStyle" align="center" id="fillForm">
  159. <tr>
  160. <td width="114px" align="right" class="class_color">单位:</td>
  161. <td width="280px"><div style="width:97%" name="UNITE" id="UNITE" /></td>
  162. <td width="114px" align="right" class="class_color">部门:</td>
  163. <td width="280px"><div name="DEPT" id="DEPT" /></td>
  164. </tr>
  165. <tr>
  166. <td width="114px" align="right" class="class_color">录入人:</td>
  167. <td width="280px"><div name="TYPEIN_PEOPLE" id="TYPEIN_PEOPLE" /></td><!-- style="text-decoration:underline;color:#0000FF" -->
  168. <td width="114px" align="right" class="class_color">录入人联系方式:</td>
  169. <td width="280px"><div name="TYPEIN_PEOPLE_PHONE_NUM" id="TYPEIN_PEOPLE_PHONE_NUM" /></td>
  170. </tr>
  171. <tr>
  172. <td width="114px" align="right" class="class_color">录入时间:</td>
  173. <td colspan="1"><div name="" id="TYPEIN_TIME"></div></td>
  174. </tr>
  175. </table>
  176. </fieldset>
  177. </div>
  178. </body>
  179. </html>