|
@@ -1363,6 +1363,7 @@ export default {
|
|
|
}
|
|
|
if (this.arrangeForm.courseNum > this.maxMun || this.arrangeForm.courseNum < 1) {
|
|
|
this.$message.error(`排课数量必须大于1或小于${this.maxMun}`)
|
|
|
+ return
|
|
|
}
|
|
|
// 组拼课程信息
|
|
|
this.$refs["arrangeForm"].validate(res => {
|
|
@@ -1373,7 +1374,6 @@ export default {
|
|
|
let courseType = this.arrangeForm.courseType;
|
|
|
let teachMode = this.arrangeForm.teachMode;
|
|
|
this.classCardList = [];
|
|
|
- return
|
|
|
this.workOut(date, classCount, weekArr, courseType, teachMode);
|
|
|
}
|
|
|
});
|