validators:{
callback: {
message: 'sorry,编号无效请重新填写',
callback: function(value, validator) {
var flag = false;
...
if (result.success) {
flag = true;
}
...
return flag;
}
}
}