|
@@ -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
|
|
|
}
|