|
@@ -174,6 +174,7 @@ export default {
|
|
|
methods: {
|
|
|
init() {
|
|
|
console.log(this.rowDetail);
|
|
|
+ this.getCharges();
|
|
|
if (this.rowDetail) {
|
|
|
this.form.musicGroupOrganizationCourseSettingId = this.rowDetail.musicGroupOrganizationCourseSettingId;
|
|
|
this.$set(
|
|
@@ -190,7 +191,8 @@ export default {
|
|
|
money += item.courseCurrentPrice;
|
|
|
}
|
|
|
this.$set(this.cycle, "paymentAmount", money);
|
|
|
- this.$set(
|
|
|
+ if(this.rowDetail){
|
|
|
+ this.$set(
|
|
|
this.cycle,
|
|
|
"paymentPattern",
|
|
|
this.rowDetail?.paymentPattern + ""
|
|
@@ -198,8 +200,12 @@ export default {
|
|
|
let arr = [
|
|
|
this.rowDetail?.paymentValidStartDate,
|
|
|
this.rowDetail?.paymentValidEndDate,
|
|
|
- ];
|
|
|
+ ];
|
|
|
+ // paymentDate startPaymentDate deadlinePaymentDate
|
|
|
+ this.$set(this.cycle, "paymentDate", [ this.rowDetail?.startPaymentDate, this.rowDetail?.deadlinePaymentDate]);
|
|
|
this.$set(this.cycle, "paymentValid", arr);
|
|
|
+ }
|
|
|
+
|
|
|
return money;
|
|
|
},
|
|
|
async getChargeTypeList() {
|