yuhaitao14 6 years ago
parent
commit
5e08ad793f
1 changed files with 3 additions and 0 deletions
  1. 3 0
      shop/src/main/resource/templates/appointment.html

+ 3 - 0
shop/src/main/resource/templates/appointment.html

@@ -225,6 +225,9 @@
 			var birth 	= $("#birth").val();
 			var birth 	= $("#birth").val();
 			
 			
 			var validate = check();
 			var validate = check();
+			if (!validate){
+				return;
+			}
 			
 			
 			$.post("/appointment/save", {
 			$.post("/appointment/save", {
 				"bid":bid, 
 				"bid":bid,