This commit is contained in:
cun-nan 2024-04-09 09:58:52 +08:00
parent 396c15cc93
commit 708b48c886

View File

@ -258,14 +258,14 @@
this.staffId = uni.getStorageSync("inviteStaffId")
if (uni.getStorageSync("storeId")){
this.getStore(uni.getStorageSync("storeId"));
this.getStaffList(uni.getStorageSync("storeId"));
// this.getStaffList(uni.getStorageSync("storeId"));
}
}
} else {
if (uni.getStorageSync("storeId")) {
this.getStore(uni.getStorageSync("storeId"));
this.getStaffList(uni.getStorageSync("storeId"));
// this.getStaffList(uni.getStorageSync("storeId"));
}else{
this.getStoreIdBySn(uni.getStorageSync("sn"));
}
@ -277,7 +277,7 @@
onShow() {
// this.isExistStoreId();
this.getStore(uni.getStorageSync("storeId"));
this.getStaffList(uni.getStorageSync("storeId"));
// this.getStaffList(uni.getStorageSync("storeId"));
// this.getStoreIdBySn("byx19509291");
// this.getStore(0);
this.getTheJudgmentIsTheSame()
@ -392,7 +392,7 @@
isExistStoreId() {
if (uni.getStorageSync("storeId") != "") {
this.getStore(uni.getStorageSync("storeId"));
this.getStaffList(uni.getStorageSync("storeId"));
// this.getStaffList(uni.getStorageSync("storeId"));
} else {
this.getAddress();
}