7ed1572aecfa498f42447b94af6ecc8111df7736.svn-base 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  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" src="../../../../../scripts/business/am/resource/ledger/generator-update.js"></script>
  11. <link href="/nwyj/css/cockpit/dialog/alertIframeDrag.css" rel="stylesheet" type="text/css"/>
  12. <script type="text/javascript" src="/nwyj/page/cockpit/alert/alert_iframe.js"></script>
  13. <style type="text/css">
  14. .bd{
  15. width: 1000px;
  16. margin:0 auto;
  17. margin-top:10px
  18. }
  19. .d_ground{
  20. border: 1px solid #cdcaca;
  21. background: white;
  22. width:1000px;
  23. }
  24. .title{
  25. height: 50px;
  26. /* background: #F8F8F8; */
  27. border-style:solid;
  28. border-width:1px;
  29. border-right:1px;
  30. border-left:1px;
  31. border-top:1px;
  32. border-color:#cdcaca;
  33. }
  34. .title_font{
  35. font-weight: bold;
  36. font-size: 24px;
  37. line-height: 45px;
  38. color:#3e62a0;
  39. }
  40. .button_jl{
  41. margin:15px 20px 0px 0px;
  42. float:right;
  43. }
  44. .fieldset{
  45. border-style:solid;
  46. border-width:1px;
  47. border-color:#cdcaca;
  48. margin:0px 20px 20px 20px;
  49. /* border-top-color: rgb(200,200,200);
  50. border-right-color: rgb(200,200,200);
  51. border-bottom-color: rgb(200,200,200);
  52. border-left-color: rgb(200,200,200); */
  53. width: 935px
  54. }
  55. .legend{
  56. font-family:宋体;
  57. font-weight: bold;
  58. font-size:14px;
  59. color:#3e62a0;
  60. }
  61. .table-style{
  62. border-style:solid;
  63. border-width:1px;
  64. border-color:#cdcaca;
  65. margin:0px 20px 0px 20px;
  66. border-collapse:collapse;
  67. width: 895px;
  68. }
  69. .table-style2{
  70. border:1px solid #cdcaca;
  71. margin:0px 20px 0px 20px;
  72. border-collapse:collapse;
  73. width: 895px;
  74. }
  75. .td-font{
  76. font-family:宋体;
  77. font-size:14px;
  78. color:#161616;
  79. }
  80. .td-move{
  81. padding: 10px 5px 0px 0px;
  82. }
  83. .td-style{
  84. border:1px solid #cdcaca;
  85. border-collapse:collapse;
  86. padding-left: 10px
  87. }
  88. .back{
  89. margin:10px 0px 10px 15px;
  90. }
  91. /* .class_color{
  92. background-color: rgb(237, 239, 253);
  93. } */
  94. </style>
  95. <script type="text/javascript">
  96. $(function(){
  97. $("html").css("overflow-x","auto");
  98. });
  99. </script>
  100. </head>
  101. <body class="bd" align="center">
  102. <div id="bdmap" class="drag_win" width="65%" height="55%"></div>
  103. <div id="formContent" class="d_ground">
  104. <div class="title" align="center">
  105. <a href="javascript:;">
  106. <img id="back" class="back" align="left" alt="返回" src="/nwyj/images/temp/back.png" title="返回" onclick="javascript:goBack()"></img>
  107. </a>
  108. <font class="title_font">新增发电机信息</font>
  109. </div>
  110. <form id="fillForm" name="fillForm" method="post" >
  111. <input type="hidden" id="fd_id266" name="FD_OBJECTID266" required="true"/>
  112. <input type="hidden" name="classid" value="266" required="true"/>
  113. <input type="hidden" id="COLUMN_1_266" name="COLUMN_1_266" value="0" required="true"/>
  114. <input type="hidden" id="COMP_ID_266" name="COMP_ID_266" required="true"/>
  115. <input type="hidden" id="USED_STAT_266" name="USED_STAT_266" value="1" required="true"/>
  116. <input type="hidden" id="TYPEIN_PEOPLE_266" name="TYPEIN_PEOPLE_266" required="true"/>
  117. <input type="hidden" id="IS_USED_266" name="IS_USED_266" value="1" required="true"/>
  118. <div class="button_jl">
  119. <input type="button" value="保存" id="btn_addinlink_org" onclick="validateForm('#fillForm')"/>&nbsp;&nbsp;
  120. <input type="button" value="重置" onclick="resetSearch()" />
  121. </div>
  122. <fieldset class="fieldset">
  123. <legend class="legend">基本信息:</legend>
  124. <table class="table-style" >
  125. <tr>
  126. <!-- <td width="20%" align="right"><span class="star">*</span>所属单位名称:</td>
  127. <td width="30%"><div class="selectTree validate[required]" id="AcceptUserTree" name="COMP_ID_266" selWidth="200" asyncMode="true" prompt="请选择"></div></td> -->
  128. <td width="100px" align="right" class="td-move"><span class="star">*</span><span class="td-font">装备名称:</span></td>
  129. <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>
  130. <td width="125px" align="right" class="td-move"><span class="td-font">装备编号:</span></td>
  131. <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>
  132. </tr>
  133. <tr>
  134. <td align="right" class="td-move"><span class="td-font">规格型号:</span></td>
  135. <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>
  136. <td align="right" class="td-move"><span class="td-font">燃料:</span></td>
  137. <td class="td-move"><select class="selectSuggestion" id="GAS_266" name="GAS_266" keepDefaultStyle="true" showList="true" prompt="请选择" selWidth="270"></select></td>
  138. </tr>
  139. <tr>
  140. <td align="right" class="td-move"><span class="star">*</span><span class="td-font">电压等级(V):</span></td>
  141. <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>
  142. </td>
  143. <td align="right" class="td-move"><span class="star">*</span><span class="td-font">容量(kW):</span></td>
  144. <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>
  145. </tr>
  146. <tr>
  147. <td align="right" class="td-move"><span class="star">*</span><span class="td-font">数量(台):</span></td>
  148. <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>
  149. <td align="right" class="td-move"><span class="td-font">单价(万元):</span></td>
  150. <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>
  151. </tr>
  152. <tr>
  153. <td align="right" class="td-move"><span class="td-font">供应商:</span></td>
  154. <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>
  155. <td align="right" class="td-move"><span class="td-font">购买日期(年月):</span></td>
  156. <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>
  157. </tr>
  158. <tr>
  159. <td align="right" class="td-move"><span class="td-font">装备存放场所:</span></td>
  160. <td class="td-move"><input type="text" id="STORE_PLACE_266" name="STORE_PLACE_266" maxlength="20" style="width: 265px;height:30px" readonly="readonly"/>
  161. &nbsp;&nbsp;<img align="bottom" id="bdMapIcon" src="/nwyj/images/cockpit/gis/teamMap.png"/></td>
  162. <td align="right" class="td-move"><span class="star">*</span><span class="td-font">负责人:</span></td>
  163. <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>
  164. </tr>
  165. <tr>
  166. <td align="right" class="td-move"><span class="td-font">办公电话:</span></td>
  167. <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>
  168. <td align="right" class="td-move"><span class="star">*</span><span class="td-font">手机:</span></td>
  169. <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>
  170. </tr>
  171. <tr>
  172. <td align="right" class="td-move"><span class="td-font">经度:</span></td>
  173. <td class="td-move"><input type="text" id="LONGITUDE_266" name="LONGITUDE_266" maxlength="20" style="width: 265px;height:30px" /></td>
  174. <td align="right" class="td-move"><span class="td-font">纬度:</span></td>
  175. <td class="td-move"><input type="text" id="LATITUDE_266" name="LATITUDE_266" maxlength="20" style="width: 265px;height:30px" /></td>
  176. </tr>
  177. <tr>
  178. <td align="right" style="padding: 10px 5px 10px 0px;"><span class="td-font">备注:</span></td>
  179. <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>
  180. </tr>
  181. <!-- <tr>
  182. <td align="right" style="padding: 10px 5px 10px 0px;"><span class="td-font">可否调用:</span></td>
  183. <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>
  184. </tr> -->
  185. <!-- <tr>
  186. <td align="right">调拨状态:</td>
  187. <td><select id="USED_STAT_266" name="USED_STAT_266" keepDefaultStyle="true" showList="true" prompt="请选择" selWidth="200"></select></td>
  188. </tr>-->
  189. </table>
  190. </fieldset>
  191. <fieldset class="fieldset" >
  192. <legend class="legend">填写人员信息:</legend>
  193. <table class="table-style2" id="fillForm">
  194. <tr>
  195. <td width="120px" align="right" class="td-style"><span class="td-font">单位:</span></td>
  196. <td width="280px" class="td-style"><div style="width:97%" name="UNITE" id="UNITE" /></td>
  197. <td width="120px" align="right" class="td-style"><span class="td-font">部门:</span></td>
  198. <td width="280px" class="td-style"><div name="DEPT" id="DEPT" /></td>
  199. </tr>
  200. <tr>
  201. <td align="right" class="td-style"><span class="td-font">填写人员:</span></td>
  202. <td class="td-style"><div name="TYPEIN_PEOPLE" id="TYPEIN_PEOPLE" /></td><!-- style="text-decoration:underline;color:#0000FF" -->
  203. <td align="right" class="td-style"><span class="td-font">填写人员联系方式:</span></td>
  204. <td class="td-style"><div name="TYPEIN_PEOPLE_PHONE_NUM" id="TYPEIN_PEOPLE_PHONE_NUM" /></td>
  205. </tr>
  206. </table>
  207. </fieldset>
  208. </form>
  209. </div>
  210. <script type="text/javascript">
  211. $(function(){
  212. $(parent.document.body).find("iframe").height($(window.document.body).height()+30);
  213. $(top.document.body).find("iframe").height($(window.document.body).height()+30);
  214. });
  215. $(function(){
  216. $("#bdMapIcon").on('click',function(){
  217. //var url = "/nwyj/page/cockpit/bdMap/bdMap.html?corpName=" + corpName + "&adr=" + $("#TEAM_AEAR_261").val() + "&lng=" + $("#LONGITUDE_261").val() + "$lat=" + $("#LATITUDE_261").val();
  218. var url = "/nwyj/page/cockpit/bdMap/bdMap.html?corpName=" + corpName + "&adr=" + $("#STORE_PLACE_266").val();
  219. var str = "南方电网-地图";
  220. initAlertDrag(url,str)
  221. });
  222. });
  223. function callbackAdr(adr,lng,lat){
  224. $("#STORE_PLACE_266").val(adr);
  225. $("#LONGITUDE_266").val(lng);
  226. $("#LATITUDE_266").val(lat);
  227. };
  228. </script>
  229. </body>
  230. </html>