bwedit.jsp 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481
  1. <%@ page language="java" contentType="text/html; charset=UTF-8"
  2. pageEncoding="UTF-8"%>
  3. <!DOCTYPE html>
  4. <html lang="en">
  5. <head>
  6. <meta charset="utf-8">
  7. <title>江苏省港口建设与经营管理信息系统</title>
  8. <meta name="viewport" content="width=device-width, initial-scale=1">
  9. <%@ include file="../../../common.jsp"%>
  10. <script type="text/javascript" src="${app }/static/biz/js/gkjygl/gkjyr/jyrbw/bwdetail.js"></script>
  11. <script type="text/javascript">
  12. $(document).ready(function () {
  13. initszdSelect('szdsel', '${record.szd }', 'showgk', '80%','${jyr}');
  14. initgkSelect('szgksel', '${record.szgk }', '${record.szd }', 'showgq', '80%','${jyr}');
  15. initgqSelect('szgqsel', '${record.szgq }', '${record.szd }', '${record.szgk }', 'showssjyr', '80%','${jyr}');
  16. initzyqSelect('zyqsel','${record.sszyq}','${record.szd }', '${record.szgk }','${record.szgq}',null,'80%','${jyr}');
  17. bw.detail.initssmtSelect('ssmtsel', '${record.ssmt }', '${record.szd }', '${record.szgk }','${record.szgq }','${record.ssjyr }', null, '80%','${jyr}');
  18. jyrSel('${record.ssjyr}','${jyr}');
  19. bw.detail.path = '${path}';
  20. if(!isEmpty(bw.detail.path)){
  21. bw.detail.recordStatus=10;
  22. }
  23. bw.detail.bwytdata='${record.zyhbwfl }';
  24. bw.detail.initkbcblxSelect('kbcblxsel', '${record.kbcblx }', '80%');
  25. bw.detail.initSfwxpbw('sfwxpbwsel', '${record.wxpbw }');
  26. bw.detail.initSffz('sffzsel', '${record.sffz }');
  27. bw.detail.initBwyt('bwytsel', '${record.bwyt }');
  28. bw.detail.initBwszhd('bwszhdsel', '${record.bwszhd }');
  29. bw.detail.initBwsx('bwsxsel', '${record.bwsx }');
  30. bw.detail.initFwlx('fwlxsel', '${record.fwlx }');
  31. bw.detail.initZyhbwfl('zyhbwflsel', '${record.zyhbwfl }','${record.bwyt }');
  32. bw.detail.initSfdwkf('sfdwkfsel','${record.sfdwkf }');
  33. bw.detail.initBwszsxSelect('bwszsxsel','${record.bwszsx}');
  34. bw.detail.initSclxSelect('sclxsel','${record.sclx}');
  35. //bw.detail.initJgxsSelect('jgxssel','${record.jgxs}','showjgxszlb');
  36. bw.detail.initBwxs('bwxssel','${record.jgxs}','showbwxs');
  37. bw.detail.initZlsSelect('zlssel','${record.zls}','${record.jgxs}');
  38. bw.detail.initXpSelect('xpsel','${record.xp}','${record.jgxs}');
  39. bw.detail.needCondtion();
  40. });
  41. function showgk(){
  42. initgkSelect('szgksel','',$('.szdselectpicker').val(),'showgq','80%');
  43. initgqSelect('szgqsel','',$('.szdselectpicker').val(),$('.gkselectpicker').val(),'showssjyr','80%');
  44. showssjyr();
  45. //bw.detail.initssmtSelect('ssmtsel', '', $('.szdselectpicker').val(), $('.gkselectpicker').val(),$('.gqselectpicker').val(),$('#xzjyrid').val(), null, '80%');
  46. }
  47. function showgq(){
  48. initgqSelect('szgqsel','',$('.szdselectpicker').val(),$('.gkselectpicker').val(),'showssjyr','80%');
  49. showssjyr();
  50. //bw.detail.initssmtSelect('ssmtsel', '', $('.szdselectpicker').val(), $('.gkselectpicker').val(),$('.gqselectpicker').val(),$('#xzjyrid').val(), null, '80%');
  51. }
  52. function showssjyr(){
  53. $('#xzjyr').val('');
  54. $('#xzjyrid').val('');
  55. //bw.detail.initssmtSelect('ssmtsel', '${record.ssmt }', '${record.szd }', '${record.szgk }','${record.szgq }','${record.ssjyr }', null, '80%');
  56. initzyqSelect('zyqsel','',$('.szdselectpicker').val(),$('.gkselectpicker').val(),$('.gqselectpicker').val(),null,'80%');
  57. jyrhide();
  58. }
  59. /* function showzyq(){
  60. $('#xzjyr').val('');
  61. $('#xzjyrid').val('');
  62. initzyqSelect('zyqsel','',$('.szdselectpicker').val(),$('.gkselectpicker').val(),$('.gqselectpicker').val(),null,'80%');
  63. } */
  64. function showbwxs(){
  65. bw.detail.initZlsSelect('zlssel','',$('.bwxsselectpicker').val());
  66. bw.detail.initXpSelect('xpsel','',$('.bwxsselectpicker').val());
  67. }
  68. function jyrSel(jyrid,jyr){
  69. if(jyr!=null&&jyr!=''){
  70. var jsonJyr = $.parseJSON(jyr);
  71. $('#xzjyr').val(jsonJyr.gkjyr);
  72. $('#xzjyrid').val(jsonJyr.id);
  73. $('#jyrzyid').val(jsonJyr.zyid);
  74. $('#ajyrselect').css('display','none');
  75. }else if(jyrid!=null&&jyrid!=''){
  76. guanbipop();
  77. $.post($.app + "/gkjyr/findById", {
  78. id:jyrid
  79. }, function(data) {
  80. //返回的是经营人实体,你可以在回掉中,进行任何其他字段的默认填写
  81. $('#xzjyr').val(data.gkjyr);
  82. $('#xzjyrid').val(data.id);
  83. //bw.detail.initssmtSelect('ssmtsel', '', $('.szdselectpicker').val(), $('.gkselectpicker').val(),$('.gqselectpicker').val(),$('#xzjyrid').val(), null, '80%','${jyr}');
  84. }, "json");
  85. }
  86. }
  87. function ytsel(){
  88. bw.detail.initZyhbwfl('zyhbwflsel', '',$('.bwytselectpicker').val()+"");
  89. }
  90. </script>
  91. </head>
  92. <body>
  93. <div class="box" >
  94. <div class="box-content" >
  95. <div class="apply_fill">
  96. <form id="addform" method="post">
  97. <input type="hidden" name="id" value="${record.id }">
  98. <input type="hidden" name="zyid" id="zyid" value="${record.zyid }"/>
  99. <input type="hidden" id="jyrzyid" value="${jyrzyid }">
  100. <table class="apply" cellpadding="0" cellspacing="0" style="table-layout: fixed;">
  101. <tr>
  102. <th><span class="needwrite">*</span>所在地:&nbsp;</th>
  103. <td >
  104. <span id="szdsel">
  105. </span>
  106. </td>
  107. <th><span class="needwrite">*</span>所在港口:&nbsp;</th>
  108. <td >
  109. <span id="szgksel">
  110. </span>
  111. </td>
  112. </tr>
  113. <tr>
  114. <th><span class="needwrite">*</span>所在港区:&nbsp;</th>
  115. <td >
  116. <span id="szgqsel">
  117. </span>
  118. </td>
  119. <th><span class="needwrite">*</span>港口经营人:&nbsp;</th>
  120. <td style="position:relative;">
  121. <input type="text" class="form-control" id="xzjyr" readOnly = "true" value="${record.ssjyrzw }" onclick="">
  122. <input type="hidden" class="form-control" id="xzjyrid" value="${record.ssjyr }" name="ssjyrid" readOnly = "true">
  123. <a class="btn btn-primary btn-sm" href="#" id="ajyrselect"
  124. onclick="jyrselpop('jyrSel')" style="position:absolute;right:4px;top:4px;"> <i class="glyphicon"></i>选择
  125. </a>
  126. </td>
  127. </tr>
  128. <tr>
  129. <th><span class="needwrite">*</span>所在作业区:&nbsp;</th>
  130. <td>
  131. <span id="zyqsel">
  132. </span>
  133. </td>
  134. <th><span class="needwrite">*</span>所在码头:&nbsp;</th>
  135. <td>
  136. <span id="ssmtsel">
  137. </span>
  138. </td>
  139. </tr>
  140. <tr>
  141. <th><span class="needwrite">*</span>泊位名称:&nbsp;</th>
  142. <td>
  143. <input type="text" class="form-control" name="bwmc" value="${record.bwmc }">
  144. </td>
  145. <th>泊位属性:&nbsp;</th>
  146. <td>
  147. <span id="bwsxsel">
  148. </span>
  149. </td>
  150. </tr>
  151. <tr>
  152. <th><span class="needwrite">*</span>泊位用途:&nbsp;</th>
  153. <td>
  154. <span id="bwytsel">
  155. </span>
  156. </td>
  157. <th>泊位所在航道:&nbsp;</th>
  158. <td>
  159. <span id="bwszhdsel">
  160. </span>
  161. </td>
  162. </tr>
  163. <tr>
  164. <th>泊位所在水系:&nbsp;</th>
  165. <td>
  166. <%-- <input type="text" class="form-control" name="bwszsx" value="${record.bwszsx }"> --%>
  167. <span id="bwszsxsel">
  168. </span>
  169. </td>
  170. <th><span class="needwrite">*</span>服务类型:&nbsp;</th>
  171. <td>
  172. <span id="fwlxsel">
  173. </span>
  174. </td>
  175. </tr>
  176. <tr>
  177. <th>投产年份:&nbsp;</th>
  178. <td>
  179. <input type="text" class="form-control" name="tcnf"
  180. onkeyup="value=value.replace(/[^\d]/g,'') "
  181. onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"
  182. value="${record.tcnf }">
  183. </td>
  184. <th>竣工验收年份:&nbsp;</th>
  185. <td>
  186. <input type="text" class="form-control" name="jgysnf"
  187. onkeyup="value=value.replace(/[^\d]/g,'') "
  188. onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"
  189. value="${record.jgysnf }">
  190. </td>
  191. </tr>
  192. <tr>
  193. <th><span class="needwrite">*</span>前沿设计水深(米):&nbsp;</th>
  194. <td>
  195. <%-- <input type="text" class="form-control" name="qysjsh"
  196. onkeyup="value=value.replace(/[^\d]/g,'') "
  197. onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"
  198. value="${record.qysjsh }"> --%>
  199. <input type="text" class="form-control" name="qysjsh" value="${record.qysjsh }">
  200. </td>
  201. <th><span class="needwrite">*</span>前沿实际水深(米):&nbsp;</th>
  202. <td>
  203. <%-- <input type="text" class="form-control" name="qysjss"
  204. onkeyup="value=value.replace(/[^\d]/g,'') "
  205. onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"
  206. value="${record.qysjss }"> --%>
  207. <input type="text" class="form-control" name="qysjss" value="${record.qysjss}">
  208. </td>
  209. </tr>
  210. <tr>
  211. <th><span class="needwrite">*</span>泊位长度(米):&nbsp;</th>
  212. <td>
  213. <input type="text" class="form-control" name="bwcd" value="${record.bwcd }">
  214. <%-- <input type="text" class="form-control" name="bwcd"
  215. onkeyup="value=value.replace(/[^\d]/g,'') "
  216. onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"
  217. value="${record.bwcd }"> --%>
  218. </td>
  219. <th><span class="needwrite">*</span>是否危险品泊位:&nbsp;</th>
  220. <td>
  221. <span id="sfwxpbwsel">
  222. </span>
  223. </td>
  224. <%-- <th>设计通过能力(吨):&nbsp;</th>
  225. <td>
  226. <input type="text" class="form-control" name="sjtgnl" value="${record.sjtgnl }">
  227. <input type="text" class="form-control" name="sjtgnl " value="${record.sjtgnl}" id="sjtgnl">
  228. <input type="text" class="form-control" name="sjtgnl"
  229. onkeyup="value=value.replace(/[^\d]/g,'') "
  230. onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"
  231. value="${record.sjtgnl }">
  232. </td> --%>
  233. </tr>
  234. <tr>
  235. <th><span class="needwrite">*</span>设计靠泊能力(吨):&nbsp;</th>
  236. <td>
  237. <%-- <input type="text" class="form-control" name="sjkpnl"
  238. onkeyup="value=value.replace(/[^\d]/g,'') "
  239. onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"
  240. value="${record.sjkpnl }"> --%>
  241. <input type="text" class="form-control" name="sjkpnl" value="${record.sjkpnl}">
  242. </td>
  243. <th><span class="needwrite">*</span>核查靠泊能力(吨):&nbsp;</th>
  244. <td>
  245. <%-- <input type="text" class="form-control" name="hckpnl"
  246. onkeyup="value=value.replace(/[^\d]/g,'') "
  247. onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"
  248. value="${record.hckpnl }"> --%>
  249. <input type="text" class="form-control" name="hckpnl" value="${record.hckpnl}">
  250. </td>
  251. <%-- <th>年货物通过能力(万吨):&nbsp;</th>
  252. <td>
  253. <input type="text" class="form-control" name="nhwtgnl"
  254. onkeyup="value=value.replace(/[^\d]/g,'') "
  255. onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"
  256. value="${record.nhwtgnl }">
  257. <input type="text" class="form-control" name="nhwtgnl" value="${record.nhwtgnl}">
  258. </td> --%>
  259. </tr>
  260. <%-- <tr>
  261. <th>年危险货物吞吐量(万吨):&nbsp;</th>
  262. <td>
  263. <input type="text" class="form-control" name="nwxhwttl"
  264. onkeyup="value=value.replace(/[^\d]/g,'') "
  265. onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"
  266. value="${record.nwxhwttl }">
  267. <input type="text" class="form-control" name="nwxhwttl" value="${record.nwxhwttl}">
  268. </td>
  269. <th>核查能力限制条件:&nbsp;</th>
  270. <td>
  271. <input type="text" class="form-control" name="hcnlxztj" value="${record.hcnlxztj }">
  272. </td>
  273. <th>泊位代码:&nbsp;</th>
  274. <td>
  275. <input type="text" class="form-control" name="bwdm" value="${record.bwdm }">
  276. </td>
  277. </tr> --%>
  278. <tr>
  279. <th><span class="needwrite">*</span>是否取得港口设施保安证书:&nbsp;</th>
  280. <td>
  281. <span id="sffzsel">
  282. </span>
  283. </td>
  284. <%-- <th>交通GIS对应ID号:&nbsp;</th>
  285. <td>
  286. <input type="text" class="form-control" name="jtjgisdyidh"
  287. onkeyup="value=value.replace(/[^\d]/g,'') "
  288. onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"
  289. value="${record.jtjgisdyidh }">
  290. </td> --%>
  291. <th>泊位型式:&nbsp;</th>
  292. <td>
  293. <span id="bwxssel">
  294. </span>
  295. </td>
  296. </tr>
  297. <%-- <tr>
  298. <th>经度:&nbsp;</th>
  299. <td>
  300. <input type="text" class="form-control" name="jd"
  301. onkeyup="value=value.replace(/[^\d]/g,'') "
  302. onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"
  303. value="${record.jd }">
  304. </td>
  305. <th>纬度:&nbsp;</th>
  306. <td>
  307. <input type="text" class="form-control" name="wd"
  308. onkeyup="value=value.replace(/[^\d]/g,'') "
  309. onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"
  310. value="${record.wd }">
  311. </td>
  312. </tr> --%>
  313. <tr>
  314. <th>泊位型式_直立式:&nbsp;</th>
  315. <td>
  316. <span id="zlssel">
  317. </span>
  318. </td>
  319. <th>泊位型式_斜坡:&nbsp;</th>
  320. <td>
  321. <span id="xpsel">
  322. </span>
  323. </td>
  324. </tr>
  325. <%-- <tr>
  326. <th>地图GIS信息</th>
  327. <td >
  328. <i onclick="map('bw','${record.zyid}')" class="glyphicon glyphicon-map-marker" style="font-size: 16px;color: red;cursor: pointer;"></i>
  329. </td>
  330. </tr> --%>
  331. <%-- <tr>
  332. <th>作业认可范围:</th>
  333. <td>
  334. <input type="text" class="form-control" name="zyrkfw" value="${record.zyrkfw }">
  335. </td>
  336. </tr> --%>
  337. <tr>
  338. <th>是否对外开放泊位:&nbsp;</th>
  339. <td>
  340. <%-- <input type="text" class="form-control" name="sfdwkf" value="${record.sfdwkf}"> --%>
  341. <span id="sfdwkfsel">
  342. </span>
  343. </td>
  344. <%-- <th>年集装箱通过能力(万TEU):</th>
  345. <td>
  346. <input type="text" class="form-control" name="njzxtgnl" value="${record.njzxtgnl }">
  347. </td> --%>
  348. <th>泊位生产类型:&nbsp;</th>
  349. <td>
  350. <span id="sclxsel">
  351. </span>
  352. </td>
  353. </tr>
  354. <tr>
  355. <th>货物设计年综合通过能力(万吨):&nbsp;</th>
  356. <td>
  357. <input type="text" class="form-control" name="nhwtgnl" value="${record.nhwtgnl }">
  358. </td>
  359. <%-- <th>货物核查年综合通过能力(万吨):&nbsp;</th>
  360. <td>
  361. <input type="text" class="form-control" name="hwhc" value="${record.hwhc }">
  362. </td> --%>
  363. <th>集装箱设计年综合通过能力(万TEU):&nbsp;</th>
  364. <td>
  365. <input type="text" class="form-control" name="njzxtgnl" value="${record.njzxtgnl }">
  366. </td>
  367. </tr>
  368. <%-- <tr>
  369. <th>货物估算年综合通过能力(万吨):&nbsp;</th>
  370. <td>
  371. <input type="text" class="form-control" name="hwgs" value="${record.hwgs }">
  372. </td>
  373. </tr> --%>
  374. <%-- <tr>
  375. <th>集装箱核查年综合通过能力(万TEU):&nbsp;</th>
  376. <td>
  377. <input type="text" class="form-control" name="jzxhc" value="${record.jzxhc }">
  378. </td>
  379. <th>集装箱估算年综合通过能力(万TEU):&nbsp;</th>
  380. <td>
  381. <input type="text" class="form-control" name="jzxgs" value="${record.jzxgs }">
  382. </td>
  383. </tr> --%>
  384. <tr>
  385. <th>滚装汽车设计年综合通过能力(万辆):&nbsp;</th>
  386. <td>
  387. <input type="text" class="form-control" name="gzsj" value="${record.gzsj }">
  388. </td>
  389. <%-- <th>滚装汽车核查年综合通过能力(万辆):&nbsp;</th>
  390. <td>
  391. <input type="text" class="form-control" name="gzhc" value="${record.gzhc }">
  392. </td> --%>
  393. <th>旅客设计年综合通过能力(万人):&nbsp;</th>
  394. <td>
  395. <input type="text" class="form-control" name="lksj" value="${record.lksj }">
  396. </td>
  397. </tr>
  398. <%-- <tr>
  399. <th>滚装汽车估算年综合通过能力(万辆):&nbsp;</th>
  400. <td>
  401. <input type="text" class="form-control" name="gzgs" value="${record.gzgs }">
  402. </td>
  403. </tr> --%>
  404. <%-- <tr>
  405. <th>旅客核查年综合通过能力(万人):&nbsp;</th>
  406. <td>
  407. <input type="text" class="form-control" name="lkhc" value="${record.lkhc }">
  408. </td>
  409. <th>旅客估算年综合通过能力(万人):&nbsp;</th>
  410. <td>
  411. <input type="text" class="form-control" name="lkgs" value="${record.lkgs }">
  412. </td>
  413. </tr> --%>
  414. <tr>
  415. <th><span class="needwrite">*</span>靠泊船舶类型(按用途分):&nbsp;</th>
  416. <td>
  417. <div id="kbcblxsel"></div>
  418. </td>
  419. <%-- <th>泊位个数:&nbsp;</th>
  420. <td>
  421. <input type="text" class="form-control" name="bwgs"
  422. onkeyup="value=value.replace(/[^\d]/g,'') "
  423. onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"
  424. value="${record.bwgs }">
  425. </td> --%>
  426. </tr>
  427. <tr>
  428. <th>备注:&nbsp;</th>
  429. <td colspan="4">
  430. <textarea class="form-control" id="bz" name="bz" style="width:92.5%;height:80px;" onkeyup="limitTextArea(this,1000)">${record.bz }</textarea>
  431. </td>
  432. </tr>
  433. </table>
  434. </form>
  435. <div id="buttons">
  436. <a class="btn btn-default btn-sm" href="#" onclick="bw.detail.save()">
  437. <i class="glyphicon glyphicon-floppy-disk"></i>保存
  438. </a>
  439. <a class="btn btn-default btn-sm" href="#" onclick="bw.detail.back()">
  440. <i class="glyphicon glyphicon-arrow-left"></i>返回
  441. </a>
  442. <a class="btn btn-default btn-sm" href="#" onclick="map('bw','${record.zyid}')">
  443. <i class="glyphicon glyphicon-plus"></i>
  444. 地图</a>
  445. </div>
  446. </div>
  447. </div>
  448. </div>
  449. <jsp:include page="../../../map.jsp"></jsp:include>
  450. <jsp:include page="../../../jyrselect.jsp"></jsp:include>
  451. </body>
  452. </html>