Box.defaults.rules,{
end: {
validator: function (value,param) {
var startDate = $("#StartsTime input").val();
var startTmp = new Date(startDate.replace(/-/g,"/"));
var endTmp = new Date(value.replace(/-/g,"/"));
return startTmp <= endTmp;
},message: '结束时间要大于开始时间!'
}
})