更新
This commit is contained in:
@@ -271,8 +271,8 @@
|
||||
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 = '集卡加油'
|
||||
if(res.data.secondChannelCode === 'SQ'){
|
||||
res.data.listTag = res.data.sqSiteBelong === 'JKJY' ? '集卡加油' :'上汽联名卡'
|
||||
}
|
||||
uni.setStorageSync('orderMade', res.data)
|
||||
uni.setStorageSync('oilItem', res.data)
|
||||
|
||||
@@ -233,8 +233,9 @@
|
||||
// var oilItem = JSON.parse(option.item)
|
||||
// }
|
||||
let oilItem = option.channerCode == 'TY' ? uni.getStorageSync('OtherSiteInfo') : JSON.parse(option.item)
|
||||
if(oilItem.secondChannelCode === 'SQ' && oilItem.sqSiteBelong === 'JKJY') {
|
||||
oilItem.listTag = '集卡加油'
|
||||
|
||||
if(oilItem.secondChannelCode === 'SQ'){
|
||||
oilItem.listTag = oilItem.sqSiteBelong === 'JKJY' ? '集卡加油' :'上汽联名卡'
|
||||
}
|
||||
uni.setStorageSync('oilItem',oilItem)
|
||||
this.getSiteInfo(oilItem.siteId)
|
||||
|
||||
Reference in New Issue
Block a user