1
@@ -9,7 +9,7 @@
label="缴费类型"
prop="leixing"
:rules="[{required: true, message: '请选择缴费类型', trigger: 'change'}]"
- v-if="typeof paymentType === 'undefined'"
+ v-if="typeof paymentType === 'undefined'&&(isUserType&&courseViewType == 2||courseViewType != 2)"
>
<!-- &&courseViewType != 2 -->
<el-radio-group style="width: 100%" v-model="form.leixing">
@@ -51,7 +51,6 @@
export default {
props: ['form', 'isCommon', 'isUserType', 'typeList', 'charges', 'paymentType', 'chargeTypeName', 'rowDetail','courseViewType'],
mounted() {
-
},
watch: {
paymentType() {
@@ -70,9 +70,9 @@
@moneyChange="syncAllMoney"
/>
</template>
+ <!-- 续费或临时加课 -->
<template v-else-if="(!isCommon && eclass.length) || isCommon">
<div>
- 这是啥 {{ form.leixing }} paymentType:{{ paymentType }}
<extraClass
v-if="courseViewType != 2"
:form="eclass"
@@ -479,7 +479,7 @@ export default {
this.courseViewType = this.baseInfo?.musicGroup?.courseViewType;
// 如果为学员缴费且是乐团缴费则显示云教练的价格
// 进行中添加
- if (this.courseViewType == 2 && !this.rowDetail) {
+ if (this.courseViewType == 2 && !this.rowDetail&&!this.isUserType) {
this.$set(this.form, "leixing", "2");
this.addExtraClass();
}