edcdeea8c411b22e928500e99181aec26d149f51.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="../../../../include1.jsp" %>
  9. <!--框架必需end-->
  10. <script type="text/javascript" >
  11. $(function(){
  12. //修改表单信息,获取记录
  13. if((window.location.href).indexOf('?')>-1){
  14. var fd_id = (window.location.href).split('?')[1];
  15. var url = $.pathname() + '/ws/crud/CRUDService/getDataById/';
  16. var params = {
  17. classid : '269',
  18. objectID : fd_id
  19. };
  20. $.ajax({
  21. url : url,
  22. type : 'post',
  23. timeout : 60000,
  24. data : params,
  25. dataType : 'json',
  26. success : function(data){
  27. for(var i in data){
  28. $('#'+i).html(data[i]);
  29. }
  30. $("#TYPEIN_TIME").html(data.UPDATEDATE_269);
  31. typein(data.TYPEIN_PEOPLE_269);
  32. },
  33. error : function(e){
  34. top.Dialog.alert('系统提示信息', '访问服务失败!', 'error');
  35. }
  36. });
  37. }
  38. });
  39. //返回
  40. function goBack() {
  41. window.location.href="command-car.jsp";
  42. // var url = "/nwyj/page/business/am/resource/ledger/generator-car.jsp";
  43. // window.parent.document.getElementById("frmright").setAttribute("src", ""+encodeURI(url));
  44. }
  45. //录入人信息
  46. function typein(id){
  47. var url = $.pathname() + '/ws/crud/CRUDService/getDataById/';
  48. var params1 = {
  49. classid : '880',
  50. objectID : id
  51. };
  52. $.ajax({
  53. url : url,
  54. type : 'post',
  55. timeout : 60000,
  56. data : params1,
  57. async:false, //异步
  58. dataType : 'json',
  59. success : function(data){
  60. $("#TYPEIN_PEOPLE").html(data.REAL_NAME_880); //录入人
  61. $("#TYPEIN_PEOPLE_PHONE_NUM").html(data.MOBILE_880); //手机
  62. $("#UNITE").html(data.COMPANY_ID_880_SHOW);//所属单位
  63. $("#DEPT").html(data.ORG_ID_880_SHOW);//所属部门
  64. },
  65. error : function(e){
  66. $.messager.alert('系统提示信息', '访问服务失败!', 'error');
  67. }
  68. });
  69. }
  70. </script>
  71. <style type="text/css">
  72. .title_class {
  73. font-size: 22px;
  74. color: blue;
  75. }
  76. .tool_class {
  77. display: inline-block;
  78. float: right;
  79. }
  80. .class_color{
  81. background-color: rgb(237, 239, 253);
  82. }
  83. </style>
  84. </head>
  85. <body style="width: 1000px; margin:0 auto; margin-top:15px" align="center">
  86. <div class="box1" id="formContent" style="border: 1px solid #E4E4E4;background: #F8F8F8; " width="1000px" align="center">
  87. <div style="height: 50px;background: #F8F8F8;" align="center">
  88. <a href="javascript:;">
  89. <img id="back" align="left" alt="返回" src="/nwyj/images/temp/back.png" title="返回" onclick="goBack()"></img>
  90. </a>
  91. <font style="font-weight: bold;font-size: 20px;line-height: 45px;">通信车详细信息</font>
  92. </div>
  93. <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" >
  94. <legend width="960px">基本信息</legend>
  95. <table width="960px" class="tableStyle" align="center">
  96. <tr>
  97. <td width="120px" align="right" class="class_color">所属单位名称:</td>
  98. <td width="280px"><div type="text" id="COMP_ID_269_SHOW" name="COMP_ID_269_SHOW" /></td>
  99. <td width="120px" align="right" class="class_color">装备名称:</td>
  100. <td width="280px"><div type="text" id="CAR_NAME_269" name="CAR_NAME_269" /></td>
  101. </tr>
  102. <tr>
  103. <td align="right" class="class_color">装备编号:</td>
  104. <td><div type="text" id="EQUIPMENT_NUMBER_269" name="EQUIPMENT_NUMBER_269" /></td>
  105. <td align="right" class="class_color">规格型号:</td>
  106. <td><div type="text" id="CAR_TYPE_269" name="CAR_TYPE_269" /></td>
  107. </tr>
  108. <tr>
  109. <td align="right" class="class_color">通信功能:</td>
  110. <td><div type="text" id="CAR_FUNCTION_269_SHOW" name="CAR_FUNCTION_269_SHOW" /></td>
  111. <td align="right" class="class_color">通信方式:</td>
  112. <td><div type="text" id="CAR_MODE_269_SHOW" name="CAR_MODE_269_SHOW" /></td>
  113. </tr>
  114. <tr>
  115. <td align="right" class="class_color">乘员人数:</td>
  116. <td><div type="text" id="CAR_CONTENT_269" name="CAR_CONTENT_269" /></td>
  117. <td align="right" class="class_color">数量(辆):</td>
  118. <td><div type="text" id="CAR_NUM_269" name="CAR_NUM_269" /><span class="star"></span></td>
  119. </tr>
  120. <tr>
  121. <td align="right" class="class_color">单价(万元):</td>
  122. <td><div type="text" id="CAR_PRICE_269" name="CAR_PRICE_269" /></td>
  123. <td align="right" class="class_color">供应商:</td>
  124. <td><div type="text" id="CAR_PROVIDER_269" name="CAR_PROVIDER_269" /></td>
  125. </tr>
  126. <tr>
  127. <td align="right" class="class_color">购买日期(年月):</td>
  128. <td><div type="text" id="BUY_DATE_269" name="BUY_DATE_269" /></td>
  129. <td align="right" class="class_color">装备存放场所:</td>
  130. <td><div type="text" id="STORE_PLACE_269" name="STORE_PLACE_269" /></td>
  131. </tr>
  132. <tr>
  133. <td align="right" class="class_color">负责人:</td>
  134. <td><div type="text" id="CAR_INPIRE_269" name="CAR_INPIRE_269" /></td>
  135. <td align="right" class="class_color" >办公电话:</td>
  136. <td><div type="text" id="OFFICE_TEL_269" name="OFFICE_TEL_269" /></td>
  137. </tr>
  138. <tr>
  139. <td align="right" class="class_color">手机:</td>
  140. <td><div type="text" id="MOBILE_PHONE_269" name="MOBILE_PHONE_269" /></td>
  141. <td align="right" class="class_color">是否可调用:</td>
  142. <td><div type="text" id="IS_USED_269_SHOW" name="IS_USED_269_SHOW" /></td>
  143. </tr>
  144. <tr>
  145. <td align="right" class="class_color">调拨状态:</td>
  146. <td><div type="text" id="USED_STAT_269_SHOW" name="USED_STAT_269_SHOW" /></td>
  147. <td></td>
  148. <td></td>
  149. </tr>
  150. </table>
  151. </fieldset>
  152. <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">
  153. <legend>录入人信息</legend>
  154. <table width="960px" class="tableStyle" align="center" id="fillForm">
  155. <tr>
  156. <td width="114px" align="right" class="class_color">单位:</td>
  157. <td width="280px"><div style="width:97%" name="UNITE" id="UNITE" /></td>
  158. <td width="114px" align="right" class="class_color">部门:</td>
  159. <td width="280px"><div name="DEPT" id="DEPT" /></td>
  160. </tr>
  161. <tr>
  162. <td width="114px" align="right" class="class_color">录入人:</td>
  163. <td width="280px"><div name="TYPEIN_PEOPLE" id="TYPEIN_PEOPLE" /></td><!-- style="text-decoration:underline;color:#0000FF" -->
  164. <td width="114px" align="right" class="class_color">录入人联系方式:</td>
  165. <td width="280px"><div name="TYPEIN_PEOPLE_PHONE_NUM" id="TYPEIN_PEOPLE_PHONE_NUM" /></td>
  166. </tr>
  167. <tr>
  168. <td width="114px" align="right" class="class_color">录入时间:</td>
  169. <td colspan="3"><div name="" id="TYPEIN_TIME"></div></td>
  170. </tr>
  171. </table>
  172. </fieldset>
  173. </div>
  174. <script type="text/javascript">
  175. $(function(){
  176. $(parent.document.body).find("iframe").height($(window.document.body).height()+30);
  177. $(top.document.body).find("iframe").height($(window.document.body).height()+30);
  178. })
  179. </script>
  180. </body>
  181. </html>