From 5891934b1b9bd84102e4e70db2f5933af60c3cbb Mon Sep 17 00:00:00 2001 From: "@QQNZX" Date: Mon, 18 Dec 2023 15:43:32 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=B2=B9=E7=AB=99=E5=B0=8F=E7=A8=8B?= =?UTF-8?q?=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PointsGoodsDetails/PointsGoodsDetails.vue | 1 - .../pagesHome/oilRecharge/oilRecharge.vue | 17 +++++++---------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/gasStation-uni/pagesHome/PointsGoodsDetails/PointsGoodsDetails.vue b/gasStation-uni/pagesHome/PointsGoodsDetails/PointsGoodsDetails.vue index bc5e92c1b..87be4fbfd 100644 --- a/gasStation-uni/pagesHome/PointsGoodsDetails/PointsGoodsDetails.vue +++ b/gasStation-uni/pagesHome/PointsGoodsDetails/PointsGoodsDetails.vue @@ -11,7 +11,6 @@ - 兑换成功 diff --git a/gasStation-uni/pagesHome/oilRecharge/oilRecharge.vue b/gasStation-uni/pagesHome/oilRecharge/oilRecharge.vue index 209453e62..2be6991cb 100644 --- a/gasStation-uni/pagesHome/oilRecharge/oilRecharge.vue +++ b/gasStation-uni/pagesHome/oilRecharge/oilRecharge.vue @@ -200,6 +200,7 @@ this.getValueCars(); } if (option.id == 1) { + console.log("囤油"); this.getFuelCars(); } @@ -207,7 +208,7 @@ onShow() { this.getValueCars(); this.getStaffList() - //this.getFuelCars(); + }, methods: { confirms() { @@ -275,9 +276,9 @@ this.cardValueList = [] if (res.code == 200) { this.cardValueList = res.data.records - this.xzindex(0, this.cardValueList[0].rechargeBalance, this.cardValueList[0].fringeBenefit, - this.cardValueList[0].giftBalance, this.cardValueList[0].points, this - .cardValueList[0].growthValue) + this.xzindex(0, res.data.records[0].rechargeBalance, res.data.records[0].fringeBenefit, + res.data.records[0].giftBalance, res.data.records[0].points, res.data.records[0] + .growthValue) } }) @@ -294,12 +295,8 @@ this.cardValueList = [] if (res.code == 200) { this.cardFuleList = res.data.records - console.log('213'); - this.fuleindex(0, this.cardValueList[0].rechargeBalance, this.cardValueList[0] - .fringeBenefit, - this.cardFuleList[0].rechargeBalance, this.cardFuleList[0].points, this - .cardFuleList[0].lockupPrice, this - .cardFuleList[0].incomeLitres) + + this.fuleindex(0, res.data.records[0].rechargeBalance, res.data.records[0].points) } }) }, From 447bf6c7440eea12b0e3970c96be2aa05fdbed85 Mon Sep 17 00:00:00 2001 From: "@QQNZX" Date: Mon, 18 Dec 2023 16:31:53 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=B2=B9=E7=AB=99=E5=B0=8F=E7=A8=8B?= =?UTF-8?q?=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gasStation-uni/pages.json | 7 ++++++ .../pagesMy/CardManagement/CardManagement.vue | 23 ++++++++++++++++++- 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/gasStation-uni/pages.json b/gasStation-uni/pages.json index 8a238a80c..7ef309ffb 100644 --- a/gasStation-uni/pages.json +++ b/gasStation-uni/pages.json @@ -193,6 +193,13 @@ "navigationStyle": "custom" } }, + { + "path": "CardManagement/Detail", + "style": { + "navigationBarTitleText": "添加子卡管理", + "navigationStyle": "custom" + } + }, { "path": "writeOff/writeOff", "style": { diff --git a/gasStation-uni/pagesMy/CardManagement/CardManagement.vue b/gasStation-uni/pagesMy/CardManagement/CardManagement.vue index 716f97d30..657a1cc65 100644 --- a/gasStation-uni/pagesMy/CardManagement/CardManagement.vue +++ b/gasStation-uni/pagesMy/CardManagement/CardManagement.vue @@ -30,6 +30,9 @@ + + + + + 请输入手机号: + + + + + + 提交 + + + + + + + + + + \ No newline at end of file