唐耀东
2022-05-18 c01dff9a24f98f10f247d2f2e449383f567ec338
src/views/components/constructionBatch/index.vue
@@ -42,6 +42,17 @@
      name: ''
    }
  },
  watch: {
    'value': function (v) {
      if (v) {
        getConstructionBatch(v).then(response => {
          this.name = response.data.batch;
        });
      }else {
        this.name = '';
      }
    }
  },
  created() {
    if (this.value) {
      getConstructionBatch(this.value).then(response => {