diff --git a/gasStation-uni/pages/refuel/refuel.vue b/gasStation-uni/pages/refuel/refuel.vue
index ed0ab800d..c22599ed8 100644
--- a/gasStation-uni/pages/refuel/refuel.vue
+++ b/gasStation-uni/pages/refuel/refuel.vue
@@ -28,7 +28,7 @@
-->
-
+
选择油号 请务必与员工确认类型
@@ -74,7 +74,7 @@
立即加油
-
+
选择油号 请务必与员工确认类型
@@ -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 => {