Преглед на файлове

修复会员团学校缴费

1
mo преди 4 години
родител
ревизия
a9c3702289
променени са 2 файла, в които са добавени 3 реда и са изтрити 4 реда
  1. 1 2
      src/views/resetTeaming/modals/user-baseinfo.vue
  2. 2 2
      src/views/resetTeaming/modals/user-pay-form.vue

+ 1 - 2
src/views/resetTeaming/modals/user-baseinfo.vue

@@ -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() {

+ 2 - 2
src/views/resetTeaming/modals/user-pay-form.vue

@@ -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();
       }