|
@@ -370,6 +370,10 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
init () {
|
|
|
+ this.getList()
|
|
|
+
|
|
|
+ },
|
|
|
+ getList () {
|
|
|
this.id = this.$route.query.paymentId
|
|
|
// 获取缴费状态
|
|
|
getMusicGroupPaymentCalenderDetail({ id: this.id }).then(res => {
|
|
@@ -382,30 +386,27 @@ export default {
|
|
|
actualNum: res.data.calender.actualNum,
|
|
|
sumActualAmount: res.data.sumActualAmount
|
|
|
}
|
|
|
- this.getList()
|
|
|
+ this.searchForm.id = this.id;
|
|
|
+ this.searchForm.page = this.rules.page;
|
|
|
+ this.searchForm.rows = this.rules.limit
|
|
|
+ getmusicGroupPaymentCalenderDetail(this.searchForm).then(res => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.rules.total = res.data.total;
|
|
|
+ this.tableList = res.data.rows;
|
|
|
+ if (this.info.paymentStatus == 1) {
|
|
|
+ this.tableList = this.tableList.map(item => {
|
|
|
+ item.startPaymentDate = this.info.startPaymentDate
|
|
|
+ item.deadlinePaymentDate = this.info.deadlinePaymentDate
|
|
|
+ item.open = 1;
|
|
|
+ return item;
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
}
|
|
|
})
|
|
|
|
|
|
},
|
|
|
- getList () {
|
|
|
- this.searchForm.id = this.id;
|
|
|
- this.searchForm.page = this.rules.page;
|
|
|
- this.searchForm.rows = this.rules.limit
|
|
|
- getmusicGroupPaymentCalenderDetail(this.searchForm).then(res => {
|
|
|
- if (res.code == 200) {
|
|
|
- this.rules.total = res.data.total;
|
|
|
- this.tableList = res.data.rows;
|
|
|
- if (this.info.paymentStatus == 1) {
|
|
|
- this.tableList = this.tableList.map(item => {
|
|
|
- item.startPaymentDate = this.info.startPaymentDate
|
|
|
- item.deadlinePaymentDate = this.info.deadlinePaymentDate
|
|
|
- item.open = 1;
|
|
|
- return item;
|
|
|
- })
|
|
|
- }
|
|
|
- }
|
|
|
- })
|
|
|
- },
|
|
|
search () {
|
|
|
this.rules.page = 1;
|
|
|
this.getList()
|