收银台

This commit is contained in:
cun-nan 2023-11-28 16:40:05 +08:00
parent 996d2ea94c
commit 37fa476a0f
2 changed files with 29 additions and 2 deletions

View File

@ -115,4 +115,10 @@ public class LJStaff extends BaseEntity implements Serializable {
@ApiModelProperty("退款密码") @ApiModelProperty("退款密码")
private String refundPassword; private String refundPassword;
@ApiModelProperty("核销码")
private String writeOffCode;
@ApiModelProperty("员工码")
private String staffCode;
} }

View File

@ -136,10 +136,27 @@
// //
welfare: [], welfare: [],
distance: "", distance: "",
storeId: "",
staffId: "",
} }
}, },
onLoad() { onLoad(query) {
const q = decodeURIComponent(query.q) //
let str = q.split("?")[1];
let arr = str.split("&");
let storeId = "";
let staffId = "";
arr.forEach(item => {
if (item.includes("storeId")){
storeId = item.split("=")[1]
}else{
staffId = item.split("=")[1]
}
})
uni.setStorageSync("inviteStoreId",storeId)
uni.setStorageSync("inviteStaffId",staffId)
this.storeId = uni.getStorageInfoSync("inviteStoreId")
this.staffId = uni.getStorageInfoSync("inviteStaffId")
}, },
onShow() { onShow() {
// this.getAddress(); // this.getAddress();
@ -148,6 +165,10 @@
tabbar tabbar
}, },
methods: { methods: {
//
getStore(){
},
// //
getAddress() { getAddress() {
let _this = this; let _this = this;