if(data!='' && data != null && data != undefined){
return ...
}
if (happentime == undefined || happentime == null || happentime == ''){
swal('提示', '发生时间不能不能为空!','info');
return false;
}
if(data!='' && data != null && data != undefined){
return ...
}
if (happentime == undefined || happentime == null || happentime == ''){
swal('提示', '发生时间不能不能为空!','info');
return false;
}