Преглед изворни кода

修复修改后无班级情况

wolyshaw пре 4 година
родитељ
комит
1ef7ea1862
1 измењених фајлова са 4 додато и 0 уклоњено
  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);