qytzxxedit.jsp 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <%@ page language="java" contentType="text/html; charset=UTF-8"
  2. pageEncoding="UTF-8"%>
  3. <script type="text/javascript">
  4. function qytzxxview(qytzid){
  5. var path="/xkzzx/editmain?path=10:id="+$('#id').val()+"";
  6. location.href=$.app+'/qytz/view?id='+qytzid+'&path='+path;
  7. }
  8. function initqytzxx(){
  9. $.post($.app + "/gkjyr/qytzxx", {
  10. id : $('#jyrid').val(),
  11. czid:$('#id').val(),
  12. recordStatus:11
  13. }, function(data) {
  14. if (data) {
  15. var str =""
  16. for(var i=0;i<data.length;i++){
  17. var qytz = data[i];
  18. str+="<tr class='tr_bg'>";
  19. if(qytz.isTrue){
  20. str+="<td><input type='checkbox' checked name='qytzid' onclick='clickqytz()' value='"+qytz.id+"'/></td>";
  21. }else{
  22. str+="<td><input type='checkbox' name='qytzid' onclick='clickqytz()' value='"+qytz.id+"'/></td>";
  23. }
  24. str+="<td>"+qytz.tzrmc+"</td>";
  25. str+="<td>"+(qytz.je==null?"":qytz.je)+"</td>";
  26. str+="<td>"+(qytz.jedw==null?"":qytz.jedw)+"</td>";
  27. str+="<td>"+qytz.ssjyrzw+"</td>";
  28. str+="<td>"+(qytz.tzzje==null?'':qytz.tzzje)+"</td>";
  29. str+="<td>"+(qytz.tzje==null?'':qytz.tzje)+"</td>";
  30. str+="<td>"+qytz.sfwszw+"</td>";
  31. str+="<td>";
  32. str+="<a class='btn btn-default btn-xs' href='#' onclick=\"qytzxxview('"+qytz.id+"')\" title='查看'> <i class='glyphicon glyphicon-search'></i> </a>";
  33. str+="</td>";
  34. str+="</tr>";
  35. }
  36. $('#qytzxxdiv').empty();
  37. $('#qytzxxdiv').append(str);
  38. } else {
  39. }
  40. }, "json");
  41. }
  42. </script>
  43. <table class="main_table" cellpadding="0" cellspacing="0">
  44. <tr>
  45. <th width="5%"></th>
  46. <th width="10%">投资人名称</th>
  47. <th width="10%">投资金额</th>
  48. <th width="10%">投资金额单位</th>
  49. <th width="10%">港口经营人</th>
  50. <th width="10%">投资总金额</th>
  51. <th width="10%">投资总金额单位</th>
  52. <th width="10%">是否外商</th>
  53. <th width="25%">操作</th>
  54. </tr>
  55. <tbody id="qytzxxdiv"></tbody>
  56. </table>