This commit is contained in:
cun-nan 2024-03-11 18:05:45 +08:00
parent 80f87ca256
commit 094804d122
3 changed files with 18 additions and 1 deletions

View File

@ -279,7 +279,7 @@ public class OilOrderServiceImpl extends ServiceImpl<OilOrderMapper, OilOrder> i
}
// 付款用户
String payUser = null;
if (map.get("payUser") != null && !map.get("payUser").equals("")){
if (ObjectUtil.isNotEmpty(map.get("payUser")) && !map.get("payUser").equals("[]")){
payUser = map.get("payUser");
}else {
payUser = "散客";

View File

@ -2459,6 +2459,19 @@
// this.autofocus = false
this.dialogVisiblej = false
this.seekZero = 0
let mobile = this.member.mobile
getUserInfoMobile({mobile:mobile}).then( response => {
if (response.data){
this.member = response.data
if (response.data.refuelMoney){
this.refuelMoney = JSON.parse(response.data.refuelMoney)
}else {
this.refuelMoney = null
}
this.storeId = response.data.storeId
this.isSure = true
}
})
},
getOilNames(list,id){
let name = ""
@ -3905,6 +3918,7 @@
this.map.cardFavorableId = this.cardFavorableId
this.map.recordId = this.recordId
this.map.userId = this.member.id
this.map.payUser = this.member.mobile
let _this = this;
if (this.payType=="APPLET_CODE"){

View File

@ -215,6 +215,9 @@
if (query.userId) {
uni.setStorageSync("y_userId", query.userId)
}
uni.showToast({
title:"storeId"+uni.getStorageSync("storeId")
})
if (uni.getStorageSync("appltType") == "WECHAT") {
const q = decodeURIComponent(query.q) //
if (query.q) {