|
@@ -709,7 +709,7 @@ import download from '../../components/WsDownload/download'
|
|
|
}
|
|
|
},
|
|
|
getWarehouse() {
|
|
|
- let _wareHouse = localStorage.getItem('houseSelfCollect_house')
|
|
|
+ let _wareHouse = localStorage.getItem('houseSelfCollect_house1')
|
|
|
_wareHouse = JSON.parse(_wareHouse)
|
|
|
selectWarehouseSelf({
|
|
|
compId: localStorage.getItem('ws-pf_compId')
|
|
@@ -719,7 +719,7 @@ import download from '../../components/WsDownload/download'
|
|
|
this.warehouseList = response
|
|
|
if (_wareHouse) {
|
|
|
this.warehouseNameKey = _wareHouse.id
|
|
|
- this.warehouseName = _wareHouse.warehouseName
|
|
|
+ this.warehouseName = _wareHouse.value
|
|
|
} else {
|
|
|
this.warehouseNameKey = this.warehouseList[0].id
|
|
|
if (this.warehouseName) {
|
|
@@ -1070,8 +1070,13 @@ import download from '../../components/WsDownload/download'
|
|
|
if (this.warehouseList[i].id == this.warehouseNameKey) {
|
|
|
this.warehouseName = this.warehouseList[i].warehouseName
|
|
|
localStorage.setItem(
|
|
|
- 'houseSelfCollect_house',
|
|
|
- JSON.stringify(this.warehouseList[i])
|
|
|
+ 'houseSelfCollect_house1',
|
|
|
+ JSON.stringify({value:this.warehouseList[i].warehouseName,
|
|
|
+ warehouseId: this.warehouseList[i].id,
|
|
|
+ allowEdit: this.warehouseList[i].allowEdit,
|
|
|
+ monitorUrl1: this.warehouseList[i].monitorUrl1,
|
|
|
+ monitorUrl2: this.warehouseList[i].monitorUrl2,
|
|
|
+ warehouseNo:this.warehouseList[i].commonWarehouseNo})
|
|
|
)
|
|
|
this.WAREHOUSE[3].payname = this.warehouseList[i].id
|
|
|
}
|