|
@@ -218,6 +218,7 @@
|
|
|
} else {
|
|
|
this.checked = false
|
|
|
}
|
|
|
+ localStorage.setItem('houseSelfCollect_house', JSON.stringify(this.warehouseList[0]))
|
|
|
}
|
|
|
|
|
|
// this.tableData = response.records
|
|
@@ -248,14 +249,13 @@
|
|
|
})
|
|
|
.toPromise()
|
|
|
.then(response => {
|
|
|
- let _data = localStorage.getItem('houseSelfCollect_house1')
|
|
|
- _data = JSON.parse(localStorage.getItem('houseSelfCollect_house1'))
|
|
|
+ let _data = JSON.parse(localStorage.getItem('houseSelfCollect_house'))
|
|
|
if (_data.allowEdit == 0) {
|
|
|
_data.allowEdit = 1
|
|
|
} else {
|
|
|
_data.allowEdit = 0
|
|
|
}
|
|
|
- localStorage.setItem('houseSelfCollect_house1', JSON.stringify(_data))
|
|
|
+ localStorage.setItem('houseSelfCollect_house', JSON.stringify(_data))
|
|
|
this.getWarehouseSelf()
|
|
|
// this.tableData = response.records
|
|
|
})
|