见callback
fields: {
...
amount:{
validators:{
notEmpty: {message: '发票金额不能为空'},
numeric: {message: '发票金额只能输入数字'},
callback: {
message: '开票金额小于选中金额',
callback: function(value, validator) {
return false;
}
}
}
},
...
}