소스 검색

修改刷新页面检斤车辆信息 错误

mxx 3 년 전
부모
커밋
90f48b1fb1
2개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 0
      src/views/houseSelfCollect/weighingManagement.vue
  2. 1 1
      src/views/houseSelfCollect/weightCheck.vue

+ 2 - 0
src/views/houseSelfCollect/weighingManagement.vue

@@ -200,6 +200,7 @@ export default {
           this.allowEdit = this.warehouseList[i].allowEdit
             this.WAREHOUSE[2].payname = this.warehouseList[i].value
              this.common.name  =  this.warehouseList[0].value
+            sessionStorage.setItem('ck',this.common.name)
         }
       }
       this.getList()
@@ -264,6 +265,7 @@ export default {
           this.warehouseId = this.warehouseList[0].warehouseId
           this.purchasePriceList = this.warehouseList[0].warehouseList
            this.common.name  =  this.warehouseList[0].value
+           sessionStorage.setItem('ck',this.common.name)
          this.getList()
         })
     },

+ 1 - 1
src/views/houseSelfCollect/weightCheck.vue

@@ -251,7 +251,7 @@
             currentPage: this.currentPage,
             pageSize: this.pageSize,
             searchKeyWord: '',
-            warehouseName: this.common.name,
+            warehouseName: sessionStorage.getItem('ck'),
             managementType: 1
           })
           .toPromise()