123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237 |
- <%@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="../../../../include1.jsp" %>
- <!--框架必需end-->
- <script type="text/javascript" src="../../../../../scripts/business/am/resource/ledger/generator-update.js"></script>
- <link href="/nwyj/css/cockpit/dialog/alertIframeDrag.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="/nwyj/page/cockpit/alert/alert_iframe.js"></script>
- <style type="text/css">
- .bd{
- width: 1000px;
- margin:0 auto;
- margin-top:10px
- }
- .d_ground{
- border: 1px solid #cdcaca;
- background: white;
- width:1000px;
- }
- .title{
- height: 50px;
- /* background: #F8F8F8; */
- border-style:solid;
- border-width:1px;
- border-right:1px;
- border-left:1px;
- border-top:1px;
- border-color:#cdcaca;
- }
- .title_font{
- font-weight: bold;
- font-size: 24px;
- line-height: 45px;
- color:#3e62a0;
- }
- .button_jl{
- margin:15px 20px 0px 0px;
- float:right;
- }
- .fieldset{
- border-style:solid;
- border-width:1px;
- border-color:#cdcaca;
- margin:0px 20px 20px 20px;
- /* 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: 935px
- }
- .legend{
- font-family:宋体;
- font-weight: bold;
- font-size:14px;
- color:#3e62a0;
- }
- .table-style{
- border-style:solid;
- border-width:1px;
- border-color:#cdcaca;
- margin:0px 20px 0px 20px;
- border-collapse:collapse;
- width: 895px;
- }
- .table-style2{
- border:1px solid #cdcaca;
- margin:0px 20px 0px 20px;
- border-collapse:collapse;
- width: 895px;
- }
- .td-font{
- font-family:宋体;
- font-size:14px;
- color:#161616;
- }
- .td-move{
- padding: 10px 5px 0px 0px;
- }
- .td-style{
- border:1px solid #cdcaca;
- border-collapse:collapse;
- padding-left: 10px
- }
- .back{
- margin:10px 0px 10px 15px;
- }
- /* .class_color{
- background-color: rgb(237, 239, 253);
- } */
- </style>
- <script type="text/javascript">
- $(function(){
- $("html").css("overflow-x","auto");
- });
- </script>
- </head>
-
- <body class="bd" align="center">
- <div id="bdmap" class="drag_win" width="65%" height="55%"></div>
- <div id="formContent" class="d_ground">
- <div class="title" align="center">
- <a href="javascript:;">
- <img id="back" class="back" align="left" alt="返回" src="/nwyj/images/temp/back.png" title="返回" onclick="javascript:goBack()"></img>
- </a>
- <font class="title_font">新增发电机信息</font>
- </div>
- <form id="fillForm" name="fillForm" method="post" >
- <input type="hidden" id="fd_id266" name="FD_OBJECTID266" required="true"/>
- <input type="hidden" name="classid" value="266" required="true"/>
- <input type="hidden" id="COLUMN_1_266" name="COLUMN_1_266" value="0" required="true"/>
- <input type="hidden" id="COMP_ID_266" name="COMP_ID_266" required="true"/>
- <input type="hidden" id="USED_STAT_266" name="USED_STAT_266" value="1" required="true"/>
- <input type="hidden" id="TYPEIN_PEOPLE_266" name="TYPEIN_PEOPLE_266" required="true"/>
- <input type="hidden" id="IS_USED_266" name="IS_USED_266" value="1" required="true"/>
- <div class="button_jl">
- <input type="button" value="保存" id="btn_addinlink_org" onclick="validateForm('#fillForm')"/>
- <input type="button" value="重置" onclick="resetSearch()" />
- </div>
- <fieldset class="fieldset">
- <legend class="legend">基本信息:</legend>
- <table class="table-style" >
- <tr>
- <!-- <td width="20%" align="right"><span class="star">*</span>所属单位名称:</td>
- <td width="30%"><div class="selectTree validate[required]" id="AcceptUserTree" name="COMP_ID_266" selWidth="200" asyncMode="true" prompt="请选择"></div></td> -->
- <td width="100px" align="right" class="td-move"><span class="star">*</span><span class="td-font">装备名称:</span></td>
- <td width="280px" class="td-move"><input type="text" id="NAME_266" name="NAME_266" class="validate[required,custom[illegalLetter]]]" maxlength="20" style="width: 265px;height:30px" value="发电机"/></td>
- <td width="125px" align="right" class="td-move"><span class="td-font">装备编号:</span></td>
- <td width="280px" class="td-move"><input type="text" id="EQUIPMENT_NUMBER_266" name="EQUIPMENT_NUMBER_266" maxlength="20" style="width: 265px;height:30px"/></td>
- </tr>
- <tr>
- <td align="right" class="td-move"><span class="td-font">规格型号:</span></td>
- <td class="td-move"><input type="text" id="MODEL_TYPE_266" name="MODEL_TYPE_266" class="validate[custom[illegalLetter]]" maxlength="20" style="width: 265px;height:30px"/></td>
- <td align="right" class="td-move"><span class="td-font">燃料:</span></td>
- <td class="td-move"><select class="selectSuggestion" id="GAS_266" name="GAS_266" keepDefaultStyle="true" showList="true" prompt="请选择" selWidth="270"></select></td>
- </tr>
- <tr>
- <td align="right" class="td-move"><span class="star">*</span><span class="td-font">电压等级(V):</span></td>
- <td class="td-move"><select class="selectSuggestion validate[required]" id="VOLTAGE_LEVEL_266" name="VOLTAGE_LEVEL_266" keepDefaultStyle="true" showList="true" prompt="请选择" selWidth="270"></select>
- </td>
- <td align="right" class="td-move"><span class="star">*</span><span class="td-font">容量(kW):</span></td>
- <td class="td-move"><input type="text" id="CONTENT_266" name="CONTENT_266" class="validate[required]" onkeyup="clearNoNum(this)" maxlength="10" style="width: 265px;height:30px"/></td>
- </tr>
- <tr>
- <td align="right" class="td-move"><span class="star">*</span><span class="td-font">数量(台):</span></td>
- <td class="td-move"><input type="text" id="NUM_266" name="NUM_266" class="validate[required,custom[onlyNumber]]" maxlength="10" style="width: 265px;height:30px"/></td>
- <td align="right" class="td-move"><span class="td-font">单价(万元):</span></td>
- <td class="td-move"><input type="text" id="PRICE_266" name="PRICE_266" class="validate[custom[onlyNumberWide]]" maxlength="10" style="width: 265px;height:30px"/></td>
- </tr>
- <tr>
- <td align="right" class="td-move"><span class="td-font">供应商:</span></td>
- <td class="td-move"><input type="text" id="PROVIDER_266" name="PROVIDER_266" class="validate[custom[illegalLetter]]" maxlength="20" style="width: 265px;height:30px"/></td>
- <td align="right" class="td-move"><span class="td-font">购买日期(年月):</span></td>
- <td class="td-move"><input type="text" id="BUY_DATE_266" name="BUY_DATE_266" class="date" readonly="readonly" style="width: 265px;height:30px"/></td>
- </tr>
- <tr>
- <td align="right" class="td-move"><span class="td-font">装备存放场所:</span></td>
- <td class="td-move"><input type="text" id="STORE_PLACE_266" name="STORE_PLACE_266" maxlength="20" style="width: 265px;height:30px" readonly="readonly"/>
- <img align="bottom" id="bdMapIcon" src="/nwyj/images/cockpit/gis/teamMap.png"/></td>
- <td align="right" class="td-move"><span class="star">*</span><span class="td-font">负责人:</span></td>
- <td class="td-move"><input type="text" id="INPIRE_266" name="INPIRE_266" class="validate[required,custom[chinese]]" maxlength="20" style="width: 265px;height:30px"/></td>
- </tr>
- <tr>
- <td align="right" class="td-move"><span class="td-font">办公电话:</span></td>
- <td class="td-move"><input type="text" id="OFFICE_TEL_266" name="OFFICE_TEL_266" class=" validate[custom[telephone]]" maxlength="20" style="width: 265px;height:30px"/></td>
- <td align="right" class="td-move"><span class="star">*</span><span class="td-font">手机:</span></td>
- <td class="td-move"><input type="text" id="MOBILE_PHONE_266" name="MOBILE_PHONE_266" class=" validate[required,custom[mobilephone]]" maxlength="20" style="width: 265px;height:30px"/></td>
- </tr>
- <tr>
- <td align="right" class="td-move"><span class="td-font">经度:</span></td>
- <td class="td-move"><input type="text" id="LONGITUDE_266" name="LONGITUDE_266" maxlength="20" style="width: 265px;height:30px" /></td>
- <td align="right" class="td-move"><span class="td-font">纬度:</span></td>
- <td class="td-move"><input type="text" id="LATITUDE_266" name="LATITUDE_266" maxlength="20" style="width: 265px;height:30px" /></td>
- </tr>
- <tr>
- <td align="right" style="padding: 10px 5px 10px 0px;"><span class="td-font">备注:</span></td>
- <td style="padding: 10px 5px 10px 0px;" colspan="3"><textarea maxNum="300" name="REMARK_266" id="REMARK_266" style="resize:none;width: 94%;" ></textarea></td>
- </tr>
- <!-- <tr>
- <td align="right" style="padding: 10px 5px 10px 0px;"><span class="td-font">可否调用:</span></td>
- <td style="padding: 10px 5px 10px 0px;" colspan="3"><select class="validate[required]" id="IS_USED_266" name="IS_USED_266" keepDefaultStyle="true" showList="true" selWidth="270"></select></td>
- </tr> -->
- <!-- <tr>
- <td align="right">调拨状态:</td>
- <td><select id="USED_STAT_266" name="USED_STAT_266" keepDefaultStyle="true" showList="true" prompt="请选择" selWidth="200"></select></td>
- </tr>-->
- </table>
- </fieldset>
- <fieldset class="fieldset" >
- <legend class="legend">填写人员信息:</legend>
- <table class="table-style2" id="fillForm">
- <tr>
- <td width="120px" align="right" class="td-style"><span class="td-font">单位:</span></td>
- <td width="280px" class="td-style"><div style="width:97%" name="UNITE" id="UNITE" /></td>
- <td width="120px" align="right" class="td-style"><span class="td-font">部门:</span></td>
- <td width="280px" class="td-style"><div name="DEPT" id="DEPT" /></td>
- </tr>
- <tr>
- <td align="right" class="td-style"><span class="td-font">填写人员:</span></td>
- <td class="td-style"><div name="TYPEIN_PEOPLE" id="TYPEIN_PEOPLE" /></td><!-- style="text-decoration:underline;color:#0000FF" -->
- <td align="right" class="td-style"><span class="td-font">填写人员联系方式:</span></td>
- <td class="td-style"><div name="TYPEIN_PEOPLE_PHONE_NUM" id="TYPEIN_PEOPLE_PHONE_NUM" /></td>
- </tr>
- </table>
- </fieldset>
- </form>
- </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);
- });
- $(function(){
- $("#bdMapIcon").on('click',function(){
- //var url = "/nwyj/page/cockpit/bdMap/bdMap.html?corpName=" + corpName + "&adr=" + $("#TEAM_AEAR_261").val() + "&lng=" + $("#LONGITUDE_261").val() + "$lat=" + $("#LATITUDE_261").val();
- var url = "/nwyj/page/cockpit/bdMap/bdMap.html?corpName=" + corpName + "&adr=" + $("#STORE_PLACE_266").val();
- var str = "南方电网-地图";
- initAlertDrag(url,str)
- });
- });
- function callbackAdr(adr,lng,lat){
- $("#STORE_PLACE_266").val(adr);
- $("#LONGITUDE_266").val(lng);
- $("#LATITUDE_266").val(lat);
- };
- </script>
- </body>
- </html>
|