فهرست منبع

Merge branch '08/24teamQuest' of http://git.dayaedu.com/yonge/dy-admin-manager into 08/24teamQuest

mo 2 سال پیش
والد
کامیت
d9e49113e7
2فایلهای تغییر یافته به همراه12 افزوده شده و 8 حذف شده
  1. 10 6
      src/views/resetTeaming/components/payInfoDetail.vue
  2. 2 2
      src/views/resetTeaming/modals/subject-preview.vue

+ 10 - 6
src/views/resetTeaming/components/payInfoDetail.vue

@@ -807,7 +807,11 @@ export default {
           path: "/business/resetTeaming",
           path: "/business/resetTeaming",
           query
           query
         });
         });
-      } else if (query.type == "teamDraft" || query.type == "feeAudit" || query.type == "FEE_AUDIT_FAILED") {
+      } else if (
+        query.type == "teamDraft" ||
+        query.type == "feeAudit" ||
+        query.type == "FEE_AUDIT_FAILED"
+      ) {
         this.$store.dispatch("delVisitedViews", this.$route);
         this.$store.dispatch("delVisitedViews", this.$route);
         this.$router.push({
         this.$router.push({
           path: "/business/resetTeaming",
           path: "/business/resetTeaming",
@@ -1070,6 +1074,9 @@ export default {
         payUserType: this.$route.query.payUserType,
         payUserType: this.$route.query.payUserType,
         musicGroup: this.musicGroup,
         musicGroup: this.musicGroup,
         paymentCalender: {
         paymentCalender: {
+          calender: {
+            isShowSalePrice: form.isShowSalePrice
+          },
           activity: [...activeList], // 小班课
           activity: [...activeList], // 小班课
           course: courseList, // 课程
           course: courseList, // 课程
           member: memberObj, // 云教练
           member: memberObj, // 云教练
@@ -1084,10 +1091,7 @@ export default {
         isShowMemberForPay: form.isShowMemberForPay,
         isShowMemberForPay: form.isShowMemberForPay,
         isShowMusicInsuranceForPay: form.isShowMusicInsuranceForPay,
         isShowMusicInsuranceForPay: form.isShowMusicInsuranceForPay,
         isShowVipCourseForPay: form.isShowVipCourseForPay,
         isShowVipCourseForPay: form.isShowVipCourseForPay,
-        isShowMusicCourseForPay: form.isShowMusicCourseForPay,
-        calender: {
-          isShowSalePrice: form.isShowSalePrice
-        }
+        isShowMusicCourseForPay: form.isShowMusicCourseForPay
       };
       };
     },
     },
     fommatDate() {
     fommatDate() {
@@ -1119,7 +1123,7 @@ export default {
             isShowVipCourseForPay: this.form.isShowVipCourseForPay,
             isShowVipCourseForPay: this.form.isShowVipCourseForPay,
             isShowMusicCourseForPay: this.form.isShowMusicCourseForPay
             isShowMusicCourseForPay: this.form.isShowMusicCourseForPay
           }),
           }),
-          isShowSalePrice:this.form.isShowSalePrice
+          isShowSalePrice: this.form.isShowSalePrice
         };
         };
       } else {
       } else {
         let calenderFeeJson = this.form.calenderFeeJson;
         let calenderFeeJson = this.form.calenderFeeJson;

+ 2 - 2
src/views/resetTeaming/modals/subject-preview.vue

@@ -272,7 +272,6 @@ export default {
               isShowVipCourseForPay: true,
               isShowVipCourseForPay: true,
               isShowMusicCourseForPay: true
               isShowMusicCourseForPay: true
             };
             };
-      // console.log(tempResult, "1212", this.mypreViewData);
 
 
       this.courseViewType = tempResult.musicGroup.courseViewType || 0;
       this.courseViewType = tempResult.musicGroup.courseViewType || 0;
       this.isGiveAccessories =
       this.isGiveAccessories =
@@ -352,7 +351,8 @@ export default {
         paymentCalender && paymentCalender.repair ? paymentCalender.repair : {};
         paymentCalender && paymentCalender.repair ? paymentCalender.repair : {};
       repair.name = "乐器保养";
       repair.name = "乐器保养";
       repair.isStatus = true; // 默认不选择乐器保养
       repair.isStatus = true; // 默认不选择乐器保养
-      this.instrumentRepair = repair.actualAmount + "" ? [repair] : [];
+
+      this.instrumentRepair = Number(repair.actualAmount) ? [repair] : [];
       // 小班课
       // 小班课
       const activity =
       const activity =
         paymentCalender && paymentCalender.activity
         paymentCalender && paymentCalender.activity