标签:item col pre delete stc span sele tle erro
function deletePRE() { var rows = $(‘#dg‘).datagrid(‘getSelections‘); var ids = []; var other_ids = []; $.each(rows, function(index, item){ var id=item.id; var upload=item.upload; var checks=item.checks; if(upload==0||upload==1&&checks==3){ ids.push(id); }else{ other_ids.push(id); } } ); if(ids == "" ||ids == null ){ url=""; $.messager.alert(‘系统提示‘, ‘请选择可以删除的记录!‘, ‘error‘); }else { url="${path}/manifest/premanifestCheckDelete.do?ids="+ids; $("#dlg_delete").dialog("open").dialog("setTitle", "删除这条信息!"); } }
标签:item col pre delete stc span sele tle erro
原文地址:https://www.cnblogs.com/ynhk/p/9414126.html