Pārlūkot izejas kodu

Merge branch '01/06_classMerge' into online

wolyshaw 4 gadi atpakaļ
vecāks
revīzija
84d20829e9
1 mainītis faili ar 5 papildinājumiem un 1 dzēšanām
  1. 5 1
      src/views/resetTeaming/modals/user-pay-form.vue

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

@@ -391,6 +391,11 @@ export default {
       this.syncAllMoney()
     },
     syncAllMoney () {
+      if (this.paymentTypeString === 'SPAN_GROUP_CLASS_ADJUST') {
+        const money = this.viewDetail?.musicGroupPaymentCalenders[0].paymentAmount
+        this.$set(this.cycle, "paymentAmount", money);
+        return money
+      }
       let money = 0;
       let first = 0
       let other = 0
@@ -403,7 +408,6 @@ export default {
           } else {
             const floorMoney = Math.floor(item.courseCurrentPrice / this.cycles.length)
             const remainder = item.courseCurrentPrice % this.cycles.length
-            console.log(remainder)
             first += floorMoney + remainder
             other += floorMoney
           }