唐耀东
2022-06-11 35bff42b22d092d164ef4b9db8701f839c57bd9c
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 => {