|
@@ -184,12 +184,6 @@ export default {
|
|
subjectId: this.subjectId,
|
|
subjectId: this.subjectId,
|
|
calenderId: this.calenderId,
|
|
calenderId: this.calenderId,
|
|
};
|
|
};
|
|
- // await getType().then((res) => {
|
|
|
|
- // let result = res.data;
|
|
|
|
- // if (res.code == 200) {
|
|
|
|
- // this.chargeTypeList = result.rows || [];
|
|
|
|
- // }
|
|
|
|
- // });
|
|
|
|
await getSubjectGoodsAndInfoPreview(params).then((res) => {
|
|
await getSubjectGoodsAndInfoPreview(params).then((res) => {
|
|
let result = res;
|
|
let result = res;
|
|
if (result.code == 200) {
|
|
if (result.code == 200) {
|
|
@@ -203,6 +197,7 @@ export default {
|
|
__dataFormat(tempResult) {
|
|
__dataFormat(tempResult) {
|
|
// console.log(this.preViewData, 'sffwef')
|
|
// console.log(this.preViewData, 'sffwef')
|
|
// console.log(tempResult, 'tempResult')
|
|
// console.log(tempResult, 'tempResult')
|
|
|
|
+ const preViewData = this.preViewData ? JSON.parse(JSON.stringify(this.preViewData)) : null
|
|
this.courseViewType = tempResult.musicGroup.courseViewType || 0;
|
|
this.courseViewType = tempResult.musicGroup.courseViewType || 0;
|
|
this.organId = tempResult.musicGroup.organId;
|
|
this.organId = tempResult.musicGroup.organId;
|
|
this.cloudTeacherFee = tempResult.cloudTeacherFee || 0;
|
|
this.cloudTeacherFee = tempResult.cloudTeacherFee || 0;
|
|
@@ -231,7 +226,7 @@ export default {
|
|
tempResult.musicGroupPaymentCalender.paymentValidEndDate
|
|
tempResult.musicGroupPaymentCalender.paymentValidEndDate
|
|
).format("YYYY/MM/DD");
|
|
).format("YYYY/MM/DD");
|
|
}
|
|
}
|
|
- const paymentCalender = this.preViewData ? this.preViewData.paymentCalender : (tempResult.paymentCalender || null)
|
|
|
|
|
|
+ const paymentCalender = preViewData ? preViewData.paymentCalender : (tempResult.paymentCalender || null)
|
|
console.log(paymentCalender, 'paymentCalender')
|
|
console.log(paymentCalender, 'paymentCalender')
|
|
let tempInfo = paymentCalender && paymentCalender.course ? paymentCalender.course : [];
|
|
let tempInfo = paymentCalender && paymentCalender.course ? paymentCalender.course : [];
|
|
|
|
|
|
@@ -431,6 +426,7 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
onCheckItem(item,type) {
|
|
onCheckItem(item,type) {
|
|
|
|
+ console.log(item)
|
|
// 默认选中不可改
|
|
// 默认选中不可改
|
|
if(item.optionalFlag) return
|
|
if(item.optionalFlag) return
|
|
// 判断乐保是否可选
|
|
// 判断乐保是否可选
|