油站小程序

This commit is contained in:
@QQNZX 2023-12-18 15:43:32 +08:00
parent 4d5b7529e4
commit 5891934b1b
2 changed files with 7 additions and 11 deletions

View File

@ -11,7 +11,6 @@
<view class="t-top"> <view class="t-top">
<view class="top-icon"> <view class="top-icon">
<uni-icons type="checkmarkempty" color="#ffffff" size="18"></uni-icons> <uni-icons type="checkmarkempty" color="#ffffff" size="18"></uni-icons>
</view> </view>
<view class=""> <view class="">
<view class="title-lan">兑换成功</view> <view class="title-lan">兑换成功</view>

View File

@ -200,6 +200,7 @@
this.getValueCars(); this.getValueCars();
} }
if (option.id == 1) { if (option.id == 1) {
console.log("囤油");
this.getFuelCars(); this.getFuelCars();
} }
@ -207,7 +208,7 @@
onShow() { onShow() {
this.getValueCars(); this.getValueCars();
this.getStaffList() this.getStaffList()
//this.getFuelCars();
}, },
methods: { methods: {
confirms() { confirms() {
@ -275,9 +276,9 @@
this.cardValueList = [] this.cardValueList = []
if (res.code == 200) { if (res.code == 200) {
this.cardValueList = res.data.records this.cardValueList = res.data.records
this.xzindex(0, this.cardValueList[0].rechargeBalance, this.cardValueList[0].fringeBenefit, this.xzindex(0, res.data.records[0].rechargeBalance, res.data.records[0].fringeBenefit,
this.cardValueList[0].giftBalance, this.cardValueList[0].points, this res.data.records[0].giftBalance, res.data.records[0].points, res.data.records[0]
.cardValueList[0].growthValue) .growthValue)
} }
}) })
@ -294,12 +295,8 @@
this.cardValueList = [] this.cardValueList = []
if (res.code == 200) { if (res.code == 200) {
this.cardFuleList = res.data.records this.cardFuleList = res.data.records
console.log('213');
this.fuleindex(0, this.cardValueList[0].rechargeBalance, this.cardValueList[0] this.fuleindex(0, res.data.records[0].rechargeBalance, res.data.records[0].points)
.fringeBenefit,
this.cardFuleList[0].rechargeBalance, this.cardFuleList[0].points, this
.cardFuleList[0].lockupPrice, this
.cardFuleList[0].incomeLitres)
} }
}) })
}, },