|
@@ -215,6 +215,7 @@
|
|
|
:studentNum="form.studentNum"
|
|
:studentNum="form.studentNum"
|
|
|
:courseTypeIsVip="courseTypeIsVip"
|
|
:courseTypeIsVip="courseTypeIsVip"
|
|
|
:typeStatus="typeStatus"
|
|
:typeStatus="typeStatus"
|
|
|
|
|
+ :isMusicTheory="isMusicTheory"
|
|
|
@submit="onSelectStudent" />
|
|
@submit="onSelectStudent" />
|
|
|
</van-popup>
|
|
</van-popup>
|
|
|
|
|
|
|
@@ -340,6 +341,7 @@ export default {
|
|
|
maxDate: new Date(2035, 10, 1),
|
|
maxDate: new Date(2035, 10, 1),
|
|
|
currentDate: new Date(),
|
|
currentDate: new Date(),
|
|
|
},
|
|
},
|
|
|
|
|
+ isMusicTheory: false,
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
@@ -372,6 +374,8 @@ export default {
|
|
|
// 单课时长
|
|
// 单课时长
|
|
|
form.singleClassMinutes = this.typeStatus ? vipGroup.singleCourseTime : vipGroup.giveSingleCourseTime
|
|
form.singleClassMinutes = this.typeStatus ? vipGroup.singleCourseTime : vipGroup.giveSingleCourseTime
|
|
|
|
|
|
|
|
|
|
+ this.isMusicTheory = vipGroup.giveCategoryName === '乐理课'
|
|
|
|
|
+
|
|
|
if(this.courseTypeIsVip) {
|
|
if(this.courseTypeIsVip) {
|
|
|
// 每班人数
|
|
// 每班人数
|
|
|
form.studentNum = this.typeStatus ? vipGroup.vipGroupCategoryNum : vipGroup.giveCategoryNum
|
|
form.studentNum = this.typeStatus ? vipGroup.vipGroupCategoryNum : vipGroup.giveCategoryNum
|
|
@@ -940,4 +944,4 @@ export default {
|
|
|
font-size: .14rem;
|
|
font-size: .14rem;
|
|
|
border-radius: .05rem;
|
|
border-radius: .05rem;
|
|
|
}
|
|
}
|
|
|
-</style>
|
|
|
|
|
|
|
+</style>
|