hxgledit.jsp 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  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/ggfwxxgl/hxgl/hxgldetail.js"></script>
  11. <script type="text/javascript">
  12. $(document).ready(function () {
  13. hxgl.detail.init();
  14. initHxlxSelect('hxlxsel','${record.hxlx}','80%');
  15. initCqSelect('cqsel','${record.cq}','80%','showcqtb');
  16. initszdSelect('szdsel', '${record.szd}', 'showgk', '80%');
  17. initgkSelect('gksel','${record.szgk}','${record.szd}','showgq','80%');
  18. initgqSelect('gqsel','${record.szgq}','${record.szd}','${record.szgk}',null,'80%');
  19. hxgl.detail.flag="1";
  20. });
  21. function showgk(){
  22. initgkSelect('gksel','${record.szgk}',$('.szdselectpicker').val(),"showgq",'80%');
  23. showgq();
  24. }
  25. function showgq(){
  26. initgqSelect('gqsel','${record.szgq}',$('.szdselectpicker').val(),$('.gkselectpicker').val(),null,'80%');
  27. }
  28. </script>
  29. <style type="text/css">
  30. .apply2 th {
  31. width: 18%;
  32. height: 35px;
  33. font-weight: normal;
  34. border-bottom: 1px solid #dadbda;
  35. color: #185f8a;
  36. background: #e6eff9;
  37. font-size: 14px;
  38. text-align: center;
  39. }
  40. </style>
  41. </head>
  42. <body>
  43. <jsp:include page="../../jyrselect.jsp"></jsp:include>
  44. <div class="box" >
  45. <div class="box-content" >
  46. <div class="apply_fill">
  47. <form id="addform" method="post" enctype="multipart/form-data">
  48. <input type="hidden" name="rq" id="rq" value="${month }">
  49. <input type="hidden" name="id" id="recordid" value="${record.id }">
  50. <h2 align="center" style="margin-top:0px;"><font style="font-size:16px;color:#196794;font-family:微软雅黑;font-weight: bold;"><span>编辑${month }</span>月航线信息</font></h2>
  51. <table class="apply" cellpadding="0" cellspacing="0">
  52. <tr>
  53. <th><span class="needwrite">*</span>航线名称:&nbsp;</th>
  54. <td>
  55. <input type="text" class="form-control" name="hxmc" value="${record.hxmc }" id="hxmc">
  56. </td>
  57. <th><span class="needwrite">*</span>航线类型:&nbsp;</th>
  58. <td>
  59. <div id="hxlxsel"></div>
  60. </td>
  61. </tr>
  62. <tr>
  63. <th><span class="needwrite">*</span>所在地:&nbsp;</th>
  64. <td>
  65. <div id="szdsel"></div>
  66. </td>
  67. <th><span class="needwrite">*</span>所在港口:&nbsp;</th>
  68. <td >
  69. <div id="gksel"></div>
  70. </td>
  71. </tr>
  72. <tr>
  73. <th><span class="needwrite">*</span>所在港区:&nbsp;</th>
  74. <td >
  75. <div id="gqsel"></div>
  76. </td>
  77. <th><span class="needwrite">*</span>航程(海里):&nbsp;</th>
  78. <td >
  79. <input type="text" class="form-control" name="hc" value="${record.hc }" id="hc">
  80. </td>
  81. </tr>
  82. <tr>
  83. <th><span class="needwrite">*</span>船公司:&nbsp;</th>
  84. <td colspan="3">
  85. <input type="text" class="form-control" name="cgs" value="${record.cgs }" id="cgs" style="width:92.5%">
  86. </td>
  87. </tr>
  88. <tr>
  89. <th>起点港:&nbsp;</th>
  90. <td >
  91. <input type="text" class="form-control" name="qdg" value="${record.qdg }">
  92. </td>
  93. <th>终点港:&nbsp;</th>
  94. <td >
  95. <input type="text" class="form-control" name="zdg" value="${record.zdg }">
  96. </td>
  97. </tr>
  98. <tr>
  99. <th>船期:&nbsp;</th>
  100. <td >
  101. <div id="cqsel"></div>
  102. </td>
  103. <td colspan="2">
  104. <table class="apply2" style="width:89%" cellpadding="0" cellspacing="0">
  105. <thead>
  106. <tr>
  107. <th text-align: center>船期</th>
  108. <th text-align: center>开船日期</th>
  109. <th text-align: center>班次数</th>
  110. <th text-align: center>操作</th>
  111. </tr>
  112. </thead>
  113. <c:forEach items="${hxcqlist}" var="list" varStatus="status">
  114. <tr id="deltr${status.index}">
  115. <td>${record.cqzw }</td>
  116. <td>${list.kcrq }<input type="hidden" id="kcrq${status.index}" name="kcrq${status.index}" value="${list.kcrq }"></td>
  117. <td><input type="text" class="form-control" id="bcs${status.index}" name="bcs${status.index}" value="${list.bcs }"></td>
  118. <td>
  119. <a class="btn btn-default btn-xs" href="#" onclick="hxgl.detail.dele('${list.id}','${status.index}')">
  120. <i class="glyphicon glyphicon-trash"></i>
  121. 删除</a>
  122. </td>
  123. </tr>
  124. </c:forEach>
  125. <tbody id="cqtb">
  126. </tbody>
  127. </table>
  128. </td>
  129. </tr>
  130. <tr>
  131. <th>停靠港:&nbsp;</th>
  132. <td colspan="3">
  133. <textarea rows="" cols="" style="width: 92.5%;" name="tkg" class="form-control">${record.tkg }</textarea>
  134. </td>
  135. </tr>
  136. <tr>
  137. <th>备注:&nbsp;</th>
  138. <td colspan="3">
  139. <textarea rows="" cols="3" style="width: 92.5%;" name="bz" class="form-control">${record.bz }</textarea>
  140. </td>
  141. </tr>
  142. <tr>
  143. <th>本月内贸完成量(TEU):&nbsp;</th>
  144. <td >
  145. <input type="text" class="form-control" name="bynmwcl" value="${record.bynmwcl }">
  146. </td>
  147. <th>本月外贸完成量(TEU):&nbsp;</th>
  148. <td colspan="3">
  149. <input type="text" class="form-control" name="bywmwcl" value="${record.bywmwcl }">
  150. </td>
  151. </tr>
  152. <tr>
  153. <th>填写人:&nbsp;</th>
  154. <td >
  155. <input type="text" class="form-control" name="yhmc" value="${record.yhmc }" readonly>
  156. </td>
  157. <th>填写时间:&nbsp;</th>
  158. <td colspan="3">
  159. <input type="text" class="form-control" name="tbsj" value="${record.tbsj }" readonly>
  160. </td>
  161. </tr>
  162. </table>
  163. <div id="buttons">
  164. <a class="btn btn-default btn-sm" href="#" onclick="hxgl.detail.save()">
  165. <i class="glyphicon glyphicon-floppy-disk"></i>
  166. 保存</a>
  167. <a class="btn btn-default btn-sm" href="#" onclick="hxgl.detail.back()">
  168. <i class="glyphicon glyphicon-arrow-left"></i>
  169. 返回</a>
  170. </div>
  171. </form>
  172. </div>
  173. </div>
  174. </div>
  175. </body>
  176. </html>