tzjhgledit.jsp 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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/gkjsgl/tzjhgl/tzjhgldetail.js"></script>
  11. <script type="text/javascript">
  12. $(document).ready(function () {
  13. tzjhgl.detail.init();
  14. initXmlbsel('xmlbsel','${record.xmlb }','80%');
  15. initSfyzjbzsel('sfyzjbz','${record.sfyzjbz }','change','80%');
  16. sfyzjbz();
  17. });
  18. function change(){
  19. if($("#sfyzjbzid").val()==201){
  20. $("#bzzj").show();
  21. }else{
  22. $("#bzzj").hide();
  23. $("#zybzzj").val("");
  24. $("#sbzzj").val("");
  25. }
  26. }
  27. function sfyzjbz(){
  28. $("#bzzj").hide();
  29. sfyzjbz='${record.sfyzjbz}';
  30. if(sfyzjbz==201){
  31. $("#bzzj").show();
  32. }
  33. };
  34. </script>
  35. </head>
  36. <body>
  37. <div class="box" >
  38. <div class="box-content" >
  39. <div class="apply_fill">
  40. <form id="addform" method="post">
  41. <input type="hidden" class="form-control" name="id" id="id" value="${record.id }">
  42. <input type="hidden" class="form-control" name="xmxxglid" id="xmid" value="${record.xmid }">
  43. <table class="apply" cellpadding="0" cellspacing="0">
  44. <tr>
  45. <th><span class="needwrite">*</span>项目名称:&nbsp;</th>
  46. <td colspan="4" >
  47. <input type="text" style="width: 92.5%;" class="form-control" name="xmmc" value="${record.xmmczw }" readonly>
  48. </td>
  49. <td>
  50. </td>
  51. </tr>
  52. <tr>
  53. <th>港口:&nbsp;</th>
  54. <td >
  55. <input type="text" class="form-control" name="szgk" value="${record.szgkzw }" readonly>
  56. </td>
  57. <th>港区:&nbsp;</th>
  58. <td >
  59. <input type="text" class="form-control" name="szgq" value="${record.szgqzw }" readonly>
  60. </td>
  61. </tr>
  62. <tr>
  63. <th>计划年度:&nbsp;</th>
  64. <td >
  65. <input type="text" class="form-control" name="jhnd" id="jhnd" value="${record.jhnd }" readonly>
  66. </td>
  67. <th><span class="needwrite">*</span>年度计划投资(万元):&nbsp;</th>
  68. <td >
  69. <input type="text" class="form-control" name="ndjhtz" id="ndjhtz" value="${record.ndjhtz }" onkeyup="num(this)">
  70. </td>
  71. </tr>
  72. <tr>
  73. <th><span class="needwrite">*</span>所属计划:&nbsp;</th>
  74. <td>
  75. <div id="xmlbsel"></div>
  76. </td>
  77. <th>是否有资金补助:&nbsp;</th>
  78. <td>
  79. <div id="sfyzjbz"></div>
  80. </td>
  81. </tr>
  82. <tr id="bzzj">
  83. <th>中央补助资金(万元):&nbsp;</th>
  84. <td>
  85. <input type="text" class="form-control" name="zybzzj" id="zybzzj" value="${record.zybzzj }" onkeyup="num(this)">
  86. </td>
  87. <th>省补助资金(万元):&nbsp;</th>
  88. <td>
  89. <input type="text" class="form-control" name="sbzzj" id="sbzzj" value="${record.sbzzj }" onkeyup="num(this)">
  90. </td>
  91. </tr>
  92. </table>
  93. </form>
  94. <div id="buttons">
  95. <a class="btn btn-default btn-sm" href="#" onclick="tzjhgl.detail.saveedit()">
  96. <i class="glyphicon glyphicon-floppy-disk"></i>
  97. 保存</a>
  98. <a class="btn btn-default btn-sm" href="#" onclick="tzjhgl.detail.back()">
  99. <i class="glyphicon glyphicon-arrow-left"></i>
  100. 返回</a>
  101. </div>
  102. </div>
  103. </div>
  104. </div>
  105. </body>
  106. </html>