From ae6e7e997d2d2502931dd40ae3d50d8e0bffa721 Mon Sep 17 00:00:00 2001 From: liuqimichale <123456lq> Date: Tue, 19 Jan 2021 10:56:20 +0800 Subject: [PATCH] 支付方式 --- src/components/orderPay.vue | 26 +++++++++++++++++++------- src/components/parkRecord.vue | 102 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------- src/utils/utils.js | 24 ++++++++++++++++++++++++ 3 files changed, 98 insertions(+), 54 deletions(-) diff --git a/src/components/orderPay.vue b/src/components/orderPay.vue index dad49c1..f7cdf9a 100644 --- a/src/components/orderPay.vue +++ b/src/components/orderPay.vue @@ -3,26 +3,26 @@
{{carNumber}}
-{{payFee/100}}.00元
+{{(arrearageActFee/100).toFixed(2)}}元
@@ -44,11 +44,23 @@ export default { return { carWrapBG: 0, carNumber: '京A12312', - payFee: 0 + arrearageActFee: 0, + arrearageDiscFee:0, + arrearageActFee:0, + clientBrowser:'', // 客户端 } }, created() { - this.carWrapBG = this.$route.query.carColor + this.carWrapBG = this.$route.query.carColor //车牌颜色 + this.carNumber = this.$route.query.carNumber + this.arrearageTotalFee = this.$route.query.arrearageTotalFee + this.arrearageDiscFee = this.$route.query.arrearageDiscFee + this.arrearageActFee = this.$route.query.arrearageActFee + this.clientBrowser = this.$utils.clientBrowser() //支付方式 + // arrearageTotalFee: res.arrearageTotalFee,//车牌颜色 + // arrearageDiscFee: res.arrearageDiscFee,//车牌颜色 + // arrearageActFee: res.arrearageActFee,//车牌颜色 + // carNumber: this.carNumber // 车牌 }, filters:{ formateColor(val){ diff --git a/src/components/parkRecord.vue b/src/components/parkRecord.vue index c21f3ca..89a5912 100644 --- a/src/components/parkRecord.vue +++ b/src/components/parkRecord.vue @@ -56,9 +56,9 @@