From 901be26b0491501afe8eb145392a8d8c307f0138 Mon Sep 17 00:00:00 2001
From: 唐耀东 <18861537@qq.com>
Date: 星期三, 12 十月 2022 16:37:09 +0800
Subject: [PATCH] 新增施工交付其他交付功能
---
src/views/components/constructionBatch/index.vue | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/src/views/components/constructionBatch/index.vue b/src/views/components/constructionBatch/index.vue
index 722b685..4ab18ba 100644
--- a/src/views/components/constructionBatch/index.vue
+++ b/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 => {
--
Gitblit v1.9.1