|
@@ -25,6 +25,7 @@
|
|
|
:courseViewType="courseViewType"
|
|
|
ref="base"
|
|
|
/>
|
|
|
+ <!-- 合班的 -->
|
|
|
<template v-if="paymentTypeString === 'SPAN_GROUP_CLASS_ADJUST'">
|
|
|
<el-alert
|
|
|
title="加课信息设置"
|
|
@@ -45,6 +46,7 @@
|
|
|
@moneyChange="syncAllMoney"
|
|
|
/>
|
|
|
</template>
|
|
|
+ <!-- isCommon不为报名 -->
|
|
|
<template v-else-if="!isCommon">
|
|
|
<el-alert
|
|
|
title="加课信息设置"
|
|
@@ -438,12 +440,13 @@ export default {
|
|
|
async init() {
|
|
|
let organId = this.baseInfo?.musicGroup?.organId;
|
|
|
this.courseViewType = this.baseInfo?.musicGroup?.courseViewType;
|
|
|
- if (this.courseViewType == 1) {
|
|
|
- this.$set(this.form, "leixing", '2');
|
|
|
- // console.log('paymentType',this.paymentType)
|
|
|
+ // 如果为学员缴费且是乐团缴费则显示云教练的价格
|
|
|
+ // 进行中添加
|
|
|
+ if (this.courseViewType == 1 && !this.rowDetail) {
|
|
|
+ this.$set(this.form, "leixing", "2");
|
|
|
+ console.log("paymentType", this.paymentType);
|
|
|
this.addExtraClass();
|
|
|
}
|
|
|
- // 如果为学员缴费且是乐团缴费则显示云教练的价格
|
|
|
if (
|
|
|
!this.paymentType &&
|
|
|
this.type == "user" &&
|
|
@@ -467,7 +470,10 @@ export default {
|
|
|
if (paymentTypeFormat.hasOwnProperty(key)) {
|
|
|
const item = paymentTypeFormat[key];
|
|
|
if (item === this.rowDetail.paymentType) {
|
|
|
+ console.log("rowDetail", this.rowDetail.paymentType, key);
|
|
|
this.paymentType = key;
|
|
|
+
|
|
|
+ console.log("paymentType", this.paymentType);
|
|
|
}
|
|
|
}
|
|
|
}
|