Browse Source

fix 缴费

wolyshaw 4 năm trước cách đây
mục cha
commit
95d9fcc180
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      src/views/resetTeaming/modals/user-pay-form.vue

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

@@ -499,7 +499,7 @@ export default {
           }
         });
       }
-      if (this.eclass.length < 1) {
+      if (this.eclass.length < 1 && this.eclassuser.length < 1) {
         return this.$message.error('请至少选择一条加课信息')
       }
       if (valided.length === forms.length) {
@@ -519,6 +519,7 @@ export default {
             }
           })],
           musicGroupPaymentCalenderCourseSettingsList: this.eclass,
+          musicGroupPaymentCalenders: this.eclassuser,
         };
         if (this.$refs.cycle) {
           const { paymentDate, paymentValid, ...other } = this.cycle