Browse Source

修复修改后无班级情况

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

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

@@ -554,6 +554,10 @@ export default {
             ],
           musicGroupId: this.musicGroupId,
         };
+        const info = this.viewDetail?.musicGroupPaymentCalenders[0]
+        if (info && this.viewDetail?.auditDto.paymentType === 'ADD_STUDENT') {
+          data.attribute1 = info.attribute1
+        }
         if (!this.rowDetail?.batchNo) {
           try {
             const res = await musicGroupPaymentCalenderAdd(data);