//校验id唯一性
var isUnique='';
$.ajax({
type: "post",
url: adminPath+"/Manage/querySysById",
data: {"payerId": payerId},
async:false, //这个地方要加上,不然无法改isUnique的值
success: function (data) {
if(data!=null){
isUnique='1';
}
}
});
if($.trim(isUnique) == '1'){
alert("识别号重复 !");
return;
}