|
@@ -342,11 +342,19 @@ export default {
|
|
|
batchNo: this.rowDetail.batchNo,
|
|
|
})
|
|
|
this.viewDetail = res.data
|
|
|
+ const firstPayment = res.data.musicGroupPaymentCalenders[0] || {}
|
|
|
this.eclass = (res.data.musicGroupPaymentCalenderCourseSettings || []).filter(item => {
|
|
|
return !item.isStudentOptional || this.paymentType !== undefined
|
|
|
})
|
|
|
- this.eclassuser = res.data.musicGroupPaymentCalenderStudentDetails
|
|
|
- const firstPayment = res.data.musicGroupPaymentCalenders[0] || {}
|
|
|
+ this.eclassuser = res.data.musicGroupPaymentCalenderStudentDetails.map(item => {
|
|
|
+ if (this.paymentTypeString === 'SPAN_GROUP_CLASS_ADJUST') {
|
|
|
+ return {
|
|
|
+ ...item,
|
|
|
+ courseCurrentPrice: item.masterSubCoursePrice
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return item
|
|
|
+ })
|
|
|
this.$set(this.payment, 'paymentPattern', String(this.viewDetail.auditDto?.paymentPattern))
|
|
|
if (this.$refs.cycle) {
|
|
|
this.$set(
|