zhaowenrui hai 1 ano
pai
achega
f48d79d7e4

+ 2 - 0
data-ui/src/views/data/digitalforest/afforestationarea/index.vue

@@ -590,6 +590,7 @@ export default {
     /** 新增按钮操作 */
     handleAdd() {
       this.reset();
+      this.getWarehouseIds();
       this.open = true;
       this.title = "添加植树造林区域管理";
       this.disabled = false;
@@ -597,6 +598,7 @@ export default {
     /** 修改按钮操作 */
     handleUpdate(row) {
       this.reset();
+      this.getWarehouseIds();
       const id = row.id || this.ids
       getAfforestationarea(id).then(response => {
         this.form = response.data;