|
|
|
@ -191,7 +191,8 @@ |
|
|
|
}, true, true).then((res) => { |
|
|
|
if (res.code == 200) { |
|
|
|
this.toggle("center"); |
|
|
|
this.shopList = res.result |
|
|
|
this.shopList = res.result |
|
|
|
|
|
|
|
}else{ |
|
|
|
this.getCaptchaImg() |
|
|
|
this.tui.toast(res.message) |
|
|
|
@ -245,6 +246,17 @@ |
|
|
|
username:item.username |
|
|
|
}, false, true).then((res) => { |
|
|
|
if (res.code == 200) { |
|
|
|
let printMethod = JSON.parse(res.result.logiticsCompany.printMethod) |
|
|
|
if(printMethod == null){ |
|
|
|
uni.setStorageSync('wlNum',1) |
|
|
|
}else{ |
|
|
|
if(printMethod.xbqNum != undefined){ |
|
|
|
uni.setStorageSync('wlNum',printMethod.wlNum) |
|
|
|
uni.setStorageSync('xbqNum',1) |
|
|
|
}else{ |
|
|
|
uni.setStorageSync('wlNum',printMethod.wlNum) |
|
|
|
} |
|
|
|
} |
|
|
|
uni.setStorageSync('username',res.result.logiticsCompany.username) |
|
|
|
uni.setStorageSync('mobile',res.result.logiticsCompany.mobile) |
|
|
|
uni.setStorageSync("hiver_token", res.result.lcomToken) |
|
|
|
|