gjy 3 年之前
父节点
当前提交
1962e77c7d
共有 1 个文件被更改,包括 2 次插入1 次删除
  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