|
@@ -295,7 +295,7 @@
|
|
|
if (this.payList[this.current].length >= this.list[this.current].total) {
|
|
|
this.loadStatus.splice(this.list[orderType.index].index, 1, 'nomore')
|
|
|
};
|
|
|
- this.totalCount = res.data.costInfo.totalCount;
|
|
|
+ this.totalCount = res.data.costInfo.totalCount;
|
|
|
this.totalPayAmount = res.data.costInfo.totalPayAmount;
|
|
|
|
|
|
}).catch(err => {
|
|
@@ -431,7 +431,7 @@
|
|
|
let orderNum = 0,
|
|
|
price = 0
|
|
|
this.currentItem = []
|
|
|
- this.payList.forEach(item => {
|
|
|
+ this.payList[this.current].forEach(item => {
|
|
|
if (item.orderStatus !== 4 && item.payStatus !== 1) {
|
|
|
price += Number(item.payAmount)
|
|
|
orderNum++
|