Browse Source

记录仓库选择问题

高敬炎 2 years ago
parent
commit
eb487dbcf8
1 changed files with 6 additions and 1 deletions
  1. 6 1
      src/views/warehousenew/warehouseManagementRecord.vue

+ 6 - 1
src/views/warehousenew/warehouseManagementRecord.vue

@@ -512,7 +512,12 @@
       })
       })
     },
     },
     methods: {
     methods: {
-      warehousechange(){
+      warehousechange(e){
+        for (let i = 0; i < this.warehouseAllXiaLa.length; i++) {
+          if(this.warehouseAllXiaLa[i].id==e){
+            this.deptBudgetList.warehouseName=this.warehouseAllXiaLa[i].warehouseName
+          }
+        }
         this.getList()
         this.getList()
       },
       },
       onSubmit(){
       onSubmit(){