36fee5e267402de3042d7cde592380bfb84713c6.svn-base 11 KB

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