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