diff --git a/gasStation-uni/pagesMy/moneyBalance/moneyBalance.vue b/gasStation-uni/pagesMy/moneyBalance/moneyBalance.vue
index da8412cb3..6bef9feea 100644
--- a/gasStation-uni/pagesMy/moneyBalance/moneyBalance.vue
+++ b/gasStation-uni/pagesMy/moneyBalance/moneyBalance.vue
@@ -11,10 +11,10 @@
使用规则
储值余额
{{cardBalance}}元
-
+
明细
@@ -22,22 +22,22 @@
-
+
加油站名称
充值成功
订单金额
- ¥0.01
+ ¥{{item.rechargeBalance}}
优惠合计
- ¥0.01
+ ¥{{item.obtain}}
订单时间
- 2023.01.23
+ {{item.createTime}}
评价有礼
@@ -56,6 +56,16 @@
export default {
data() {
return {
+ list: [],
+ totalDetail: '',
+ show: false,
+ query: {
+ mtUserId: '',
+ storeId: '',
+ recordName: '储值卡',
+ pageNo: 1,
+ pageSize: 10
+ },
cardBalance: 0.00,
title: '',
@@ -67,9 +77,31 @@
},
onShow() {
- this.getUserBalance()
+ this.list = []
+ this.getUserBalance();
+ this.getAllOrderList();
},
methods: {
+ // 查询全部充值订单
+ getAllOrderList() {
+ request({
+ url: 'business/marketingActivity/cardValueRecord/selectAllRecord',
+ method: 'get',
+ params: this.query
+
+ }).then((res) => {
+ if (res.code == 200) {
+ if (this.pageNo != 1) {
+ this.list = this.list.concat(res.data.records)
+ } else {
+ this.list = res.data.records
+ }
+ this.totalDetail = res.data.total
+ this.show = false
+ uni.hideLoading();
+ }
+ })
+ },
godetails() {
uni.navigateTo({
url: '/pagesMy/details/details'
diff --git a/gasStation-uni/pagesMy/oilBalance/oilBalance.vue b/gasStation-uni/pagesMy/oilBalance/oilBalance.vue
index 67d8d793f..5406e5763 100644
--- a/gasStation-uni/pagesMy/oilBalance/oilBalance.vue
+++ b/gasStation-uni/pagesMy/oilBalance/oilBalance.vue
@@ -21,7 +21,7 @@
明细
-
+
@@ -30,15 +30,15 @@
订单金额
- ¥0.01
+ ¥{{item.rechargeBalance}}
优惠合计
- ¥0.01
+ ¥{{item.obtain}}
订单时间
- 2023.01.23
+ {{item.createTime}}
评价有礼
@@ -57,6 +57,16 @@
export default {
data() {
return {
+ list: [],
+ totalDetail: '',
+ show: false,
+ query: {
+ mtUserId: '',
+ storeId: '',
+ recordName: '升数卡',
+ pageNo: 1,
+ pageSize: 10
+ },
refuelMoney: [],
title: '',
@@ -68,9 +78,31 @@
},
onShow() {
+ this.list = []
+ this.getAllOrderList();
this.getUserBalance()
},
methods: {
+ // 查询全部充值订单
+ getAllOrderList() {
+ request({
+ url: 'business/marketingActivity/cardValueRecord/selectAllRecord',
+ method: 'get',
+ params: this.query
+
+ }).then((res) => {
+ if (res.code == 200) {
+ if (this.pageNo != 1) {
+ this.list = this.list.concat(res.data.records)
+ } else {
+ this.list = res.data.records
+ }
+ this.totalDetail = res.data.total
+ this.show = false
+ uni.hideLoading();
+ }
+ })
+ },
goback() {
uni.navigateBack()
},