|  | @@ -263,7 +263,6 @@ export default {
 | 
											
												
													
														|  |        });
 |  |        });
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |      __dataFormat(tempResult) {
 |  |      __dataFormat(tempResult) {
 | 
											
												
													
														|  | -      // console.log(tempResult, "1212");
 |  | 
 | 
											
												
													
														|  |        this.mypreViewData =
 |  |        this.mypreViewData =
 | 
											
												
													
														|  |          this.preViewData && this.preViewData.paymentCalender
 |  |          this.preViewData && this.preViewData.paymentCalender
 | 
											
												
													
														|  |            ? JSON.parse(JSON.stringify(this.preViewData))
 |  |            ? JSON.parse(JSON.stringify(this.preViewData))
 | 
											
										
											
												
													
														|  | @@ -273,8 +272,8 @@ export default {
 | 
											
												
													
														|  |                isShowVipCourseForPay: true,
 |  |                isShowVipCourseForPay: true,
 | 
											
												
													
														|  |                isShowMusicCourseForPay: true
 |  |                isShowMusicCourseForPay: true
 | 
											
												
													
														|  |              };
 |  |              };
 | 
											
												
													
														|  | -      this.isShowSalePrice =
 |  | 
 | 
											
												
													
														|  | -        tempResult.paymentCalender.calender.isShowSalePrice || false;
 |  | 
 | 
											
												
													
														|  | 
 |  | +      // console.log(tempResult, "1212", this.mypreViewData);
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |        this.courseViewType = tempResult.musicGroup.courseViewType || 0;
 |  |        this.courseViewType = tempResult.musicGroup.courseViewType || 0;
 | 
											
												
													
														|  |        this.isGiveAccessories =
 |  |        this.isGiveAccessories =
 | 
											
												
													
														|  |          (tempResult.musicGroup && tempResult.musicGroup.isGiveAccessories) ||
 |  |          (tempResult.musicGroup && tempResult.musicGroup.isGiveAccessories) ||
 | 
											
										
											
												
													
														|  | @@ -311,16 +310,16 @@ export default {
 | 
											
												
													
														|  |          this.mypreViewData && this.mypreViewData.paymentCalender
 |  |          this.mypreViewData && this.mypreViewData.paymentCalender
 | 
											
												
													
														|  |            ? this.mypreViewData.paymentCalender
 |  |            ? this.mypreViewData.paymentCalender
 | 
											
												
													
														|  |            : tempResult.paymentCalender || null;
 |  |            : tempResult.paymentCalender || null;
 | 
											
												
													
														|  | -      console.log(paymentCalender, "paymentCalender");
 |  | 
 | 
											
												
													
														|  | -      if (
 |  | 
 | 
											
												
													
														|  | -        paymentCalender &&
 |  | 
 | 
											
												
													
														|  | -        paymentCalender.calender &&
 |  | 
 | 
											
												
													
														|  | -        paymentCalender.calender.paymentItemShowState
 |  | 
 | 
											
												
													
														|  | -      ) {
 |  | 
 | 
											
												
													
														|  | -        let obj = JSON.parse(paymentCalender.calender.paymentItemShowState);
 |  | 
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -        for (let key in obj) {
 |  | 
 | 
											
												
													
														|  | -          this.mypreViewData[key] = obj[key];
 |  | 
 | 
											
												
													
														|  | 
 |  | +      if (paymentCalender && paymentCalender.calender) {
 | 
											
												
													
														|  | 
 |  | +        this.isShowSalePrice =
 | 
											
												
													
														|  | 
 |  | +          paymentCalender.calender.isShowSalePrice || false;
 | 
											
												
													
														|  | 
 |  | +        if (paymentCalender.calender.paymentItemShowState) {
 | 
											
												
													
														|  | 
 |  | +          let obj = JSON.parse(paymentCalender.calender.paymentItemShowState);
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +          for (let key in obj) {
 | 
											
												
													
														|  | 
 |  | +            this.mypreViewData[key] = obj[key];
 | 
											
												
													
														|  | 
 |  | +          }
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
												
													
														|  |        }
 |  |        }
 | 
											
												
													
														|  |  
 |  |  
 |