sn
This commit is contained in:
parent
fa268dc54a
commit
2e0049712d
@ -28,7 +28,7 @@
|
||||
</view> -->
|
||||
|
||||
</view>
|
||||
|
||||
|
||||
<view v-if="appltType == 'ALIPAY'" style="height: 400px;overflow-y: scroll;">
|
||||
<view class="fa-box">
|
||||
<view class="fa-title">选择油号 <text class="top-hui"> 请务必与员工确认类型</text> </view>
|
||||
@ -74,7 +74,7 @@
|
||||
<text>立即加油</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
<view v-if="appltType == 'WECHAT'" style="height: 500px;overflow-y: scroll;">
|
||||
<view class="fa-box">
|
||||
<view class="fa-title">选择油号 <text class="top-hui"> 请务必与员工确认类型</text> </view>
|
||||
@ -231,13 +231,16 @@
|
||||
let storeId = "19";
|
||||
|
||||
let staffId = "";
|
||||
let sn = "";
|
||||
if (str.includes("&")) {
|
||||
let arr = str.split("&");
|
||||
arr.forEach(item => {
|
||||
if (item.includes("storeId")) {
|
||||
storeId = item.split("=")[1]
|
||||
} else {
|
||||
} else if (item.includes("staffId")) {
|
||||
staffId = item.split("=")[1]
|
||||
} else {
|
||||
sn = item.split("=")[1]
|
||||
}
|
||||
})
|
||||
} else {
|
||||
@ -360,7 +363,7 @@
|
||||
method: 'get',
|
||||
}).then((res) => {
|
||||
_this.oilNumberList = res.data;
|
||||
if (res.data.length>0) {
|
||||
if (res.data.length > 0) {
|
||||
// _this.getOilGun(res.data[0].numberId);
|
||||
_this.oilPrice = res.data[0].oilPrice
|
||||
_this.oilUnit = res.data[0].unit
|
||||
@ -388,7 +391,7 @@
|
||||
getStaffList(storeId) {
|
||||
let _this = this;
|
||||
request({
|
||||
url: "business/member/staff/queryList1/"+storeId,
|
||||
url: "business/member/staff/queryList1/" + storeId,
|
||||
method: 'get',
|
||||
}).then((res) => {
|
||||
_this.staffList = res.data
|
||||
@ -484,7 +487,7 @@
|
||||
} else {
|
||||
if (this.value != "" && this.qindex != null) {
|
||||
this.show = false
|
||||
if (uni.getStorageSync("inviteStaffId") || this.staffList.length==0) {
|
||||
if (uni.getStorageSync("inviteStaffId") || this.staffList.length == 0) {
|
||||
this.toPayment(uni.getStorageSync("inviteStaffId"))
|
||||
} else {
|
||||
// this.$refs.popup.open('bottom')
|
||||
@ -562,7 +565,7 @@
|
||||
})
|
||||
}
|
||||
|
||||
if (uni.getStorageSync("appltType")== "WECHAT") {
|
||||
if (uni.getStorageSync("appltType") == "WECHAT") {
|
||||
// 判断当前登录的code是否相同
|
||||
wx.login({
|
||||
success(res) {
|
||||
@ -587,8 +590,8 @@
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
if (uni.getStorageSync("appltType")== "ALIPAY") {
|
||||
|
||||
if (uni.getStorageSync("appltType") == "ALIPAY") {
|
||||
my.getAuthCode({
|
||||
scopes: 'auth_base',
|
||||
success: res => {
|
||||
|
Loading…
Reference in New Issue
Block a user