|
@@ -146,21 +146,16 @@
|
|
|
console.log('res', res.data.data)
|
|
|
this.warehouseName = res.data.data[0].warehouseName
|
|
|
let _showData = uni.getStorageSync("depotMonitoring")
|
|
|
- // let _showCWData = uni.getStorageSync("erpSelectWarehousCW")
|
|
|
- // this.allWarehouse = res.data.data
|
|
|
this.warehouseList = res.data.data;
|
|
|
if (_showData) {
|
|
|
this.warehouseName = _showData.warehouseName
|
|
|
} else {
|
|
|
this.warehouseName = res.data.data[0].warehouseName
|
|
|
- this.warehouseList = res.data.data;
|
|
|
}
|
|
|
|
|
|
} else {
|
|
|
this.warehouseList = []
|
|
|
- this.warehouseCWList = []
|
|
|
this.warehouseName = '暂无仓库'
|
|
|
- this.binNumber = '暂无'
|
|
|
}
|
|
|
})
|
|
|
|