gjy 3 years ago
parent
commit
1962e77c7d
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/views/houseSelfCollect/inspectionManagementNew.vue

+ 2 - 1
src/views/houseSelfCollect/inspectionManagementNew.vue

@@ -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