|
@@ -48,6 +48,7 @@
|
|
() => {
|
|
() => {
|
|
if (teamCourseDisabled) return;
|
|
if (teamCourseDisabled) return;
|
|
teamCourse = !teamCourse;
|
|
teamCourse = !teamCourse;
|
|
|
|
+
|
|
if (teamCourse && form.eclass.length < 0) {
|
|
if (teamCourse && form.eclass.length < 0) {
|
|
form.eclass = [];
|
|
form.eclass = [];
|
|
form.eclass.push({});
|
|
form.eclass.push({});
|
|
@@ -55,6 +56,22 @@
|
|
if (!teamCourse) {
|
|
if (!teamCourse) {
|
|
form.calenderFeeType = 'STUDENT';
|
|
form.calenderFeeType = 'STUDENT';
|
|
}
|
|
}
|
|
|
|
+ // 会员收费 创建续费 默认选中,不可取消选中
|
|
|
|
+ if (
|
|
|
|
+ courseViewType == 2 &&
|
|
|
|
+ $route.query.team_status == 'PROGRESS'
|
|
|
|
+ ) {
|
|
|
|
+ member = false;
|
|
|
|
+ memberDisabled = false;
|
|
|
|
+ if (teamCourse) {
|
|
|
|
+ member = true;
|
|
|
|
+ memberDisabled = true;
|
|
|
|
+ if (member && form.memberList.length < 0) {
|
|
|
|
+ form.memberList = [];
|
|
|
|
+ form.memberList.push({});
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
"
|
|
"
|
|
>
|
|
>
|
|
@@ -563,6 +580,7 @@ export default {
|
|
this.leBao = false;
|
|
this.leBao = false;
|
|
this.leBaoDisabled = true;
|
|
this.leBaoDisabled = true;
|
|
}
|
|
}
|
|
|
|
+
|
|
if (this.$route.query.payUserType == "SCHOOL") {
|
|
if (this.$route.query.payUserType == "SCHOOL") {
|
|
// this.member = false;
|
|
// this.member = false;
|
|
// this.memberDisabled = true;
|
|
// this.memberDisabled = true;
|