|
@@ -215,6 +215,9 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item label="每课时长" prop="classTime">
|
|
|
<el-select
|
|
|
+ @change="()=>{
|
|
|
+ computationalBtn = false
|
|
|
+ }"
|
|
|
v-model.trim="leftForm.classTime"
|
|
|
:disabled="timeTable.length > 0 || classTimeDis"
|
|
|
>
|
|
@@ -1136,7 +1139,9 @@ export default {
|
|
|
this.courseOption = this.coursesDate();
|
|
|
},
|
|
|
onCourseNumChange(type) {
|
|
|
+
|
|
|
// 折扣类型,并且设置的排课数有值
|
|
|
+ this.computationalBtn = false;
|
|
|
let centerForm = this.centerForm;
|
|
|
if (this.maxCourseNum > 0 && this.minCourseNum > 0) {
|
|
|
// 判断线上或线下总和大于排课次数
|
|
@@ -1199,6 +1204,7 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
changeSubject(val) {
|
|
|
+ this.computationalBtn = false
|
|
|
this.leftForm.teacher = "";
|
|
|
this.leftForm.section = "";
|
|
|
// 根据科目id获取相应的老师
|
|
@@ -1222,6 +1228,7 @@ export default {
|
|
|
this.rightForm.offlineCourse = "";
|
|
|
this.rightForm.onlineCourse = "";
|
|
|
this.leftForm.activeType = "";
|
|
|
+ this.computationalBtn = false;
|
|
|
this.leftForm.students = []; // 重置所选学生
|
|
|
this.changePrice(val);
|
|
|
},
|
|
@@ -1267,6 +1274,7 @@ export default {
|
|
|
},
|
|
|
// 选择活动方案
|
|
|
chioseActive(val) {
|
|
|
+ this.computationalBtn = false;
|
|
|
this.rightForm.offlineCourse = "";
|
|
|
this.rightForm.onlineCourse = "";
|
|
|
// this.rightForm.onlinePrice = '';
|
|
@@ -2022,6 +2030,7 @@ export default {
|
|
|
this.leftForm.section = "";
|
|
|
this.rightForm.offlineCourse = "";
|
|
|
this.rightForm.onlineCourse = "";
|
|
|
+ this.computationalBtn = false
|
|
|
// this.leftForm.courseType = "";
|
|
|
if (val) {
|
|
|
getTeachSchool({
|
|
@@ -2075,6 +2084,7 @@ export default {
|
|
|
onClassChange(val) {
|
|
|
// 课程分部改变时
|
|
|
// 老师 乐团主管 都要重置
|
|
|
+ this.computationalBtn = false
|
|
|
this.studentList = [];
|
|
|
this.activeStudentList = [];
|
|
|
this.$set(this.leftForm, "students", []);
|
|
@@ -2259,6 +2269,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
changeStudent(val) {
|
|
|
+ this.computationalBtn = false
|
|
|
this.chioseActive()
|
|
|
this.leftForm.activeType = "";
|
|
|
this.activeStudentList = [];
|