123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <%@ page language="java" contentType="text/html; charset=UTF-8"
- pageEncoding="UTF-8"%>
- <script type="text/javascript">
- function ckxxview(ckid){
- var path="/xkzzx/editmain?path=6:id="+$('#id').val()+"";
- location.href=$.app+'/ck/view?id='+ckid+'&path='+path;
- }
- function initckxx(){
- $.post($.app + "/gkjyr/ckxx", {
- id : $('#jyrid').val(),
- czid:$('#id').val(),
- recordStatus:11
- }, function(data) {
- if (data) {
- var str =""
- for(var i=0;i<data.length;i++){
- var ck = data[i];
- str+="<tr class='tr_bg'>";
- if(ck.isTrue){
- str+="<td><input type='checkbox' checked name='ckid' value='"+ck.id+"'/></td>";
- }else{
- str+="<td><input type='checkbox' name='ckid' value='"+ck.id+"'/></td>";
- }
- str+="<td>"+ck.ckmc+"</td>";
- str+="<td>"+ck.ssjyrzw+"</td>";
- str+="<td>"+ck.ssmtzw+"</td>";
- str+="<td>"+ck.szgkzw+"</td>";
- str+="<td>"+ck.szgqzw+"</td>";
- str+="<td>"+ck.wxpckzw+"</td>";
- str+="<td>";
- str+="<a class='btn btn-default btn-xs' href='#' onclick=\"ckxxview('"+ck.id+"')\" title='查看'> <i class='glyphicon glyphicon-search'></i> </a>";
- str+="</td>";
- str+="</tr>";
- }
- $('#ckxxdiv').empty();
- $('#ckxxdiv').append(str);
- }
- }, "json");
- }
- </script>
- <table class="main_table" cellpadding="0" cellspacing="0">
- <tr>
- <th width="5%"></th>
- <th width="10%">仓库名称</th>
- <th width="15%">港口经营人</th>
- <th width="15%">前沿码头名称</th>
- <th width="15%">所在港口</th>
- <th width="10%">所在港区</th>
- <th width="10%">是否危险品仓库</th>
- <th width="20%">操作</th>
- </tr>
- <tbody id="ckxxdiv"></tbody>
- </table>
|