| 
 | 
 
 
 楼主 |
发表于 2018-6-7 09:57:46
|
显示全部楼层
 
 
 
admin 发表于 2018-6-6 14:58   
会  
}, { 
            field: 'opt', title: 'Operation', width: 80, align: 'center', formatter: function (value, rec, index) { 
                if (!rec.id) { 
                    return ''; 
                } 
                var href = ''; 
                if ($.inArray(rec.reconStatus, ['01', '02', '04']) >= 0) { 
                    href += "<a href='#'   class='ace_button'  onclick=view('" + rec.id + "','" + index + "')>  <i class=' fa fa-check'></i>"; 
                    href += "Change</a> "; 
                } 
                return href; 
            } 
        }]], 
确实是这个原因, 返回的结果是创建的vo类, 没有设置id 才导致的 设置id后就好了 |   
 
 
 
 |