油站小程序

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="top-icon">
<uni-icons type="checkmarkempty" color="#ffffff" size="18"></uni-icons>
</view>
<view class="">
<view class="title-lan">兑换成功</view>

View File

@ -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)
}
})
},