This commit is contained in:
xiaozhiyong
2023-04-11 15:46:38 +08:00
parent d70a106008
commit 664bc8c5a3
4 changed files with 20 additions and 9 deletions

View File

@@ -233,7 +233,7 @@
getOrderInfo() {
orderApi.selOrder(this.id).then(res => {
if (res.code == 20000) {
uni.setStorageSync('oilItem', res.data)
// uni.setStorageSync('oilItem', res.data)
this.order = res.data
this.getOrderQrCode()
}
@@ -270,7 +270,12 @@
makePay() {
orderApi.getOrderPayInfo(this.id).then(res => {
if (res.code == 20000) {
// console.log('oilItem',uni.getStorageSync('oilItem'))
if(res.data.secondChannelCode === 'SQ' && res.data.sqSiteBelong === 'JKJY') {
res.data.listTag = '集卡加油'
}
uni.setStorageSync('orderMade', res.data)
uni.setStorageSync('oilItem', res.data)
uni.navigateTo({
url: '/BagStation/pages/makeOrder/orderPaying'
})