123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191 |
- <%@page language="java" pageEncoding="UTF-8"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>装备台账明细——发电车详情</title>
- <!--框架必需start-->
- <%@include file="../../../../include.jsp" %>
- <!--框架必需end-->
- <script type="text/javascript" >
- $(function(){
- //修改表单信息,获取记录
- if((window.location.href).indexOf('?')>-1){
- var fd_id = (window.location.href).split('?')[1];
- var url = $.pathname() + '/ws/crud/CRUDService/getDataById/';
- var params = {
- classid : '270',
- objectID : fd_id
- };
- $.ajax({
- url : url,
- type : 'post',
- timeout : 60000,
- data : params,
- dataType : 'json',
- success : function(data){
- for(var i in data){
- $('#'+i).html(data[i]);
- }
- $("#TYPEIN_TIME").html(data.UPDATEDATE_270);
- typein(data.TYPEIN_PEOPLE_270);
- },
- error : function(e){
- top.Dialog.alert('系统提示信息', '访问服务失败!', 'error');
- }
- });
- }
- });
- //返回
- function goBack() {
- window.location.href="dining-car.jsp";
- // var url = "/nwyj/page/business/am/resource/ledger/generator-car.jsp";
- // window.parent.document.getElementById("frmright").setAttribute("src", ""+encodeURI(url));
- }
- //录入人信息
- function typein(id){
- var url = $.pathname() + '/ws/crud/CRUDService/getDataById/';
- var params1 = {
- classid : '880',
- objectID : id
- };
- $.ajax({
- url : url,
- type : 'post',
- timeout : 60000,
- data : params1,
- async:false, //异步
- dataType : 'json',
- success : function(data){
- $("#TYPEIN_PEOPLE").html(data.REAL_NAME_880); //录入人
- $("#TYPEIN_PEOPLE_PHONE_NUM").html(data.MOBILE_880); //手机
- $("#UNITE").html(data.COMPANY_ID_880_SHOW);//所属单位
- $("#DEPT").html(data.ORG_ID_880_SHOW);//所属部门
- },
- error : function(e){
- $.messager.alert('系统提示信息', '访问服务失败!', 'error');
- }
- });
- }
- </script>
- <style type="text/css">
- .title_class {
- font-size: 22px;
- color: blue;
- }
- .tool_class {
- display: inline-block;
- float: right;
- }
- .class_color{
- background-color: rgb(237, 239, 253);
- }
- </style>
- </head>
-
- <body style="width: 1000px; margin:0 auto; margin-top:15px" align="center">
- <div class="box1" id="formContent" style="border: 1px solid #E4E4E4;background: #F8F8F8;" width="1000px" align="center">
- <div style="height: 50px;background: #F8F8F8;" align="center">
- <a href="javascript:;">
- <img id="back" align="left" alt="返回" src="/nwyj/images/temp/back.png" title="返回" onclick="goBack()"></img>
- </a>
- <font style="font-weight: bold;font-size: 20px;line-height: 45px;">发电车详细信息</font>
- </div>
- <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" >
- <legend>个人信息</legend>
- <table width="960px" class="tableStyle" align="center">
- <tr>
- <td width="120px" align="right" class="class_color">所属单位名称:</td>
- <td width="280px"><div type="text" id="COMP_ID_270_SHOW" name="COMP_ID_270_SHOW" /></td>
- <td width="120px" align="right" class="class_color">装备名称:</td>
- <td width="280px"><div type="text" id="CAR_NAME_270" name="CAR_NAME_270" /></td>
- </tr>
- <tr>
- <td align="right" class="class_color">装备编号:</td>
- <td><div type="text" id="EQUIPMENT_NUMBER_270" name="EQUIPMENT_NUMBER_270" /></td>
- <td align="right" class="class_color">规格型号:</td>
- <td><div type="text" id="CAR_TYPE_270" name="CAR_TYPE_270" /></td>
- </tr>
- <tr>
- <td align="right" class="class_color">乘员人数(人):</td>
- <td><div type="text" id="CAR_CONTENT_270" name="CAR_CONTENT_270" /></td>
- <td align="right" class="class_color">可供吃饭人数:</td>
- <td><div type="text" id="COLUMN_2_270" name="COLUMN_2_270" /></td>
- </tr>
- <tr>
- <td align="right" class="class_color">数量(辆):</td>
- <td><div type="text" id="CAR_NUM_270" name="CAR_NUM_270" /><span class="star"></span></td>
- <td align="right" class="class_color">单价(万元):</td>
- <td><div type="text" id="CAR_PRICE_270" name="CAR_PRICE_270" /></td>
- </tr>
- <tr>
- <td align="right" class="class_color">燃料:</td>
- <td><div type="text" id="CAR_GAS_270_SHOW" name="CAR_GAS_270" /></td>
- <td align="right" class="class_color">供应商:</td>
- <td><div type="text" id="CAR_PROVIDER_270" name="CAR_PROVIDER_270" /></td>
- </tr>
- <tr>
- <td align="right" class="class_color">购买日期(年月):</td>
- <td><div type="text" id="BUY_DATE_270" name="BUY_DATE_270" /></td>
- <td align="right" class="class_color">装备存放场所:</td>
- <td><div type="text" id="STORE_PLACE_270" name="STORE_PLACE_270" /></td>
- </tr>
- <tr>
- <td align="right" class="class_color">负责人:</td>
- <td><div type="text" id="CAR_INPIRE_270" name="CAR_INPIRE_270" /></td>
- <td align="right" class="class_color">办公电话:</td>
- <td><div type="text" id="OFFICE_TEL_270" name="OFFICE_TEL_270" /></td>
- </tr>
- <tr>
- <td align="right" class="class_color">手机:</td>
- <td><div type="text" id="MOBILE_PHONE_270" name="MOBILE_PHONE_270" /></td>
- <td align="right" class="class_color">是否可调用:</td>
- <td><div type="text" id="IS_USED_270_SHOW" name="IS_USED_270_SHOW" /></td>
- </tr>
- <tr>
- <td align="right" class="class_color">调拨状态:</td>
- <td><div type="text" id="USED_STAT_270_SHOW" name="USED_STAT_270_SHOW" /></td>
- <td></td>
- <td></td>
- </tr>
- </table>
- </fieldset>
-
- <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">
- <legend>录入人信息</legend>
- <table width="960px" class="tableStyle" align="center" id="fillForm">
- <tr>
- <td width="114px" align="right" class="class_color">单位:</td>
- <td width="280px"><div style="width:97%" name="UNITE" id="UNITE" /></td>
- <td width="114px" align="right" class="class_color">部门:</td>
- <td width="280px"><div name="DEPT" id="DEPT" /></td>
- </tr>
- <tr>
- <td width="114px" align="right" class="class_color">录入人:</td>
- <td width="280px"><div name="TYPEIN_PEOPLE" id="TYPEIN_PEOPLE" /></td><!-- style="text-decoration:underline;color:#0000FF" -->
- <td width="114px" align="right" class="class_color">录入人联系方式:</td>
- <td width="280px"><div name="TYPEIN_PEOPLE_PHONE_NUM" id="TYPEIN_PEOPLE_PHONE_NUM" /></td>
- </tr>
- <tr>
- <td width="114px" align="right" class="class_color">录入时间:</td>
- <td colspan="3"><div name="" id="TYPEIN_TIME"></div></td>
- </tr>
- </table>
- </fieldset>
- </div>
- <script type="text/javascript">
- $(function(){
- $(parent.document.body).find("iframe").height($(window.document.body).height()+30);
- $(top.document.body).find("iframe").height($(window.document.body).height()+30);
- })
- </script>
- </body>
- </html>
|