|
@@ -216,7 +216,7 @@
|
|
|
<el-form-item label="每课时长" prop="classTime">
|
|
|
<el-select
|
|
|
v-model.trim="leftForm.classTime"
|
|
|
- :disabled="timeTable.length > 0|| classTimeDis"
|
|
|
+ :disabled="timeTable.length > 0 || classTimeDis"
|
|
|
>
|
|
|
<el-option
|
|
|
v-for="(item, index) in this.classTimeList"
|
|
@@ -850,7 +850,7 @@ export default {
|
|
|
courseTimeList: [],
|
|
|
isMusicTheory: false,
|
|
|
chioseStudent: [],
|
|
|
- classTimeDis:false
|
|
|
+ classTimeDis: false,
|
|
|
};
|
|
|
},
|
|
|
computed: {
|
|
@@ -1243,6 +1243,8 @@ export default {
|
|
|
this.rightForm.onlineCourse = "";
|
|
|
// this.rightForm.onlinePrice = '';
|
|
|
// this.rightForm.offlinePrice = '';
|
|
|
+ this.centerForm.onlineCourseNum = 0;
|
|
|
+ this.centerForm.offlineCourseNum = 0;
|
|
|
this.lookList = [];
|
|
|
this.timeTable = [];
|
|
|
this.attribute1 = "";
|
|
@@ -1260,7 +1262,7 @@ export default {
|
|
|
this.rightForm.discount = 100;
|
|
|
|
|
|
if (val) {
|
|
|
- this.classTimeDis = true
|
|
|
+ this.classTimeDis = true;
|
|
|
for (let i in this.courseTypeList) {
|
|
|
if (this.courseTypeList[i].id == this.leftForm.courseType) {
|
|
|
// 学生人数
|
|
@@ -1344,7 +1346,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
} else {
|
|
|
- this.classTimeDis = false
|
|
|
+ this.classTimeDis = false;
|
|
|
for (let i in this.courseTypeList) {
|
|
|
if (this.courseTypeList[i].id == this.leftForm.courseType) {
|
|
|
// 学生人数
|
|
@@ -1363,6 +1365,7 @@ export default {
|
|
|
this.rightForm.discount = this.courseTypeList[i].discount;
|
|
|
}
|
|
|
}
|
|
|
+ this.leftForm.classTime = null;
|
|
|
if (this.courseType == "PRACTICE") {
|
|
|
this.hasOffline = false;
|
|
|
this.hasOnline = true;
|