浏览代码

修改仓库设置勾选复选框问题

mxx 3 年之前
父节点
当前提交
66d1393510
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/views/houseSelfCollect/acquisitionManagement.vue

+ 3 - 3
src/views/houseSelfCollect/acquisitionManagement.vue

@@ -165,7 +165,7 @@ export default {
       console.log(`当前页: ${val}`)
       console.log(`当前页: ${val}`)
       this.getList()
       this.getList()
     },
     },
-    warehouseChange(e) {debugger
+    warehouseChange(e) {
       for (let i = 0; i < this.warehouseList.length; i++) {
       for (let i = 0; i < this.warehouseList.length; i++) {
         if (this.warehouseList[i].id == this.selectVal) {
         if (this.warehouseList[i].id == this.selectVal) {
           sessionStorage.setItem(
           sessionStorage.setItem(
@@ -223,7 +223,7 @@ export default {
         compId: this.compId
         compId: this.compId
       })
       })
         .toPromise()
         .toPromise()
-        .then(response => {debugger
+        .then(response => {
           this.warehouseList = response
           this.warehouseList = response
           // if(this.userJurisdiction){
           // if(this.userJurisdiction){
           //   this.warehouseList.unshift({warehouseName:response[0].flag})
           //   this.warehouseList.unshift({warehouseName:response[0].flag})
@@ -290,7 +290,7 @@ export default {
              _data.allowEdit = 0
              _data.allowEdit = 0
            } 
            } 
             sessionStorage.setItem('houseSelfCollect_house',JSON.stringify(_data))
             sessionStorage.setItem('houseSelfCollect_house',JSON.stringify(_data))
-           
+            this.getWarehouseSelf()
           // this.tableData = response.records
           // this.tableData = response.records
         })
         })
     },
     },