Commit eed46dfb authored by zhengke's avatar zhengke

修改

parent 5ab79951
......@@ -613,7 +613,6 @@
saveCourse() {
this.$refs.ClassName.validate();
this.$refs.ClassPersion.validate();
if (!this.$refs.ClassName.hasError && !this.$refs.ClassPersion.hasError) {
if (this.objOption.IsOpenCommission == 1) {
if (this.objOption.CommissionValue == '') {
......@@ -642,6 +641,7 @@
PlanList: res.Data.ClassPlanList,
}
var NewClassId = res.Data.ClassId;
if(this.objOption.ClassDateList.length<2){
batchSaveClassPlan(newMsg).then(res => {
this.saveCourseLoading = false
if (res.Code == 1) {
......@@ -667,6 +667,7 @@
this.closeCourseForm()
}
})
}
} else {
this.saveCourseLoading = false
this.$q.notify({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment