81,106
社区成员
发帖
与我相关
我的任务
分享
gridComplete:function()
{
var ids=jQuery("#check_list_0").jqGrid('getDataIDs');
for(var i=0;i<ids.length;i++)
{
var id=ids[i];
//这里是抓取时间 listingDate
var listingDate= $("#check_list_0").getCell(ids[i],"listingDate");
focusNum="<a href='#' onclick='openDlgBaseIndex("+id+")' style='color:#f60'> 查看 </a> "+
" <a href='#' onclick='openDlgCheckInput("+id+","+listingDate+")' style='color:#f60' > 检验</a>";
jQuery("#check_list_0").jqGrid('setRowData',ids[i],{Modify:focusNum});
}
}