|
|
|
@ -316,7 +316,6 @@ |
|
|
|
//多店铺的时候点击选择需要登录的店铺 |
|
|
|
checkShop(item) { |
|
|
|
let that = this; |
|
|
|
console.log('看看--------------',item) |
|
|
|
uni.getSystemInfo({ |
|
|
|
success: function (res1) { |
|
|
|
that.NB.sendRequest('/auth/chooseShop', { |
|
|
|
@ -324,7 +323,6 @@ |
|
|
|
deviceId:res1.deviceId |
|
|
|
}, true, 'POST', 'application/x-www-form-urlencoded').then(res => { |
|
|
|
if (res.code == 200) { |
|
|
|
console.log('看看--------------',res.result) |
|
|
|
uni.setStorageSync('type',item.type) |
|
|
|
uni.setStorageSync('warehouseKeeperFlag',item.warehouseKeeperFlag) |
|
|
|
uni.setStorageSync('shopId',item.shop.id) |
|
|
|
|