|
@@ -1934,6 +1934,7 @@
|
|
|
})
|
|
|
.toPromise()
|
|
|
.then((response) => {
|
|
|
+ // console.log(response)
|
|
|
this.warehouseList1 = response
|
|
|
this.warehouseList = []
|
|
|
let _wareHouse = localStorage.getItem('houseSelfCollect_house1')
|
|
@@ -1968,7 +1969,7 @@
|
|
|
if (this.warehouseList.length > 0 && !this.cangid) {
|
|
|
this.warehouseName = this.warehouseList[0].value
|
|
|
this.warehouseCount = this.warehouseList[0].count
|
|
|
- this.warehouseTradeCount = this.warehouseList[0][0].tradeCount
|
|
|
+ this.warehouseTradeCount = this.warehouseList[0].tradeCount
|
|
|
this.warehouseNo = this.warehouseList[0].No
|
|
|
this.cangid = this.warehouseList[0].warehouseId
|
|
|
this.allowEdit = this.warehouseList[0].allowEdit
|