|
@@ -352,19 +352,19 @@ export default {
|
|
|
},
|
|
|
// 全部缴费确认
|
|
|
confirmPrice() {
|
|
|
- let orderNum = 0,
|
|
|
- price = 0;
|
|
|
- this.currentItem = [];
|
|
|
- this.payList[this.current].forEach((item) => {
|
|
|
- if (item.orderStatus !== 4 && item.payStatus !== 1) {
|
|
|
- price += Number(item.payAmount);
|
|
|
- orderNum++;
|
|
|
- this.currentItem.push(item.orderId);
|
|
|
- }
|
|
|
- });
|
|
|
- this.payTipsItem.num = orderNum;
|
|
|
- this.payTipsItem.price = price.toFixed(2);
|
|
|
- if (orderNum !== 0 && price !== 0) {
|
|
|
+ // let orderNum = 0,
|
|
|
+ // price = 0;
|
|
|
+ // this.currentItem = [];
|
|
|
+ // this.payList[this.current].forEach((item) => {
|
|
|
+ // if (item.orderStatus !== 4 && item.payStatus !== 1) {
|
|
|
+ // price += Number(item.payAmount);
|
|
|
+ // orderNum++;
|
|
|
+ // this.currentItem.push(item.orderId);
|
|
|
+ // }
|
|
|
+ // });
|
|
|
+ this.payTipsItem.num = this.totalCount;
|
|
|
+ this.payTipsItem.price = this.totalPayAmount.toFixed(2);
|
|
|
+ if (this.payTipsItem.num !== 0 && this.payTipsItem.price !== 0) {
|
|
|
this.payTipsPop = true;
|
|
|
} else {
|
|
|
this.$refs.uToast.show({
|