Browse Source

记录仓库选择问题

高敬炎 2 năm trước cách đây
mục cha
commit
eb487dbcf8
1 tập tin đã thay đổi với 6 bổ sung1 xóa
  1. 6 1
      src/views/warehousenew/warehouseManagementRecord.vue

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

@@ -512,7 +512,12 @@
       })
     },
     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()
       },
       onSubmit(){