|
@@ -226,7 +226,6 @@ export default {
|
|
editMulticycle = (musicGroupPaymentCalenders > 1 ||
|
|
editMulticycle = (musicGroupPaymentCalenders > 1 ||
|
|
musicGroupPaymentCalenders[0]?.paymentType != 'ADD_COURSE')
|
|
musicGroupPaymentCalenders[0]?.paymentType != 'ADD_COURSE')
|
|
if (editMulticycle) {
|
|
if (editMulticycle) {
|
|
- this.$set(this.payment, 'paymentPattern', String(auditDto?.paymentPattern))
|
|
|
|
this.cycles = musicGroupPaymentCalenders.map(item => ({
|
|
this.cycles = musicGroupPaymentCalenders.map(item => ({
|
|
paymentAmount: item.paymentAmount,
|
|
paymentAmount: item.paymentAmount,
|
|
paymentDate: [item?.startPaymentDate, item?.deadlinePaymentDate],
|
|
paymentDate: [item?.startPaymentDate, item?.deadlinePaymentDate],
|
|
@@ -234,7 +233,7 @@ export default {
|
|
}))
|
|
}))
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- return (this.payment.paymentPattern == 0 && this.form.leixing !== '2') || editMulticycle
|
|
|
|
|
|
+ return (this.payment.paymentPattern == 0 && this.form.leixing !== '2') || (this.payment.paymentPattern == 0 && editMulticycle)
|
|
}
|
|
}
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|
|
@@ -321,6 +320,7 @@ export default {
|
|
return !item.isStudentOptional || this.paymentType !== undefined
|
|
return !item.isStudentOptional || this.paymentType !== undefined
|
|
})
|
|
})
|
|
const firstPayment = res.data.musicGroupPaymentCalenders[0] || {}
|
|
const firstPayment = res.data.musicGroupPaymentCalenders[0] || {}
|
|
|
|
+ this.$set(this.payment, 'paymentPattern', String(this.viewDetail.auditDto?.paymentPattern))
|
|
if (this.$refs.cycle) {
|
|
if (this.$refs.cycle) {
|
|
this.$set(
|
|
this.$set(
|
|
this.cycle,
|
|
this.cycle,
|