From 9ca397a7c5aac33b201a150ef40ca8eefe67feb8 Mon Sep 17 00:00:00 2001 From: z9130 Date: Wed, 23 Oct 2024 09:09:45 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B3=E6=8A=A5=E5=AE=A1=E6=89=B9=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../business/result/fill-result-card.vue | 1 + .../views/contract/declaration/edit/curd.tsx | 4 +- .../views/contract/declaration/edit/index.vue | 246 ++++++++++++++---- 3 files changed, 199 insertions(+), 52 deletions(-) diff --git a/apps/web-contract/src/views/contract/business/result/fill-result-card.vue b/apps/web-contract/src/views/contract/business/result/fill-result-card.vue index 2f301a9c..a67709ec 100644 --- a/apps/web-contract/src/views/contract/business/result/fill-result-card.vue +++ b/apps/web-contract/src/views/contract/business/result/fill-result-card.vue @@ -51,6 +51,7 @@ function isRequired(field: string): string { } const biddingExpertRef = ref(); + const bidList = ref([]); const biddingExpertList = ref([]); diff --git a/apps/web-contract/src/views/contract/declaration/edit/curd.tsx b/apps/web-contract/src/views/contract/declaration/edit/curd.tsx index 1a98fba5..ce19b8d3 100644 --- a/apps/web-contract/src/views/contract/declaration/edit/curd.tsx +++ b/apps/web-contract/src/views/contract/declaration/edit/curd.tsx @@ -116,7 +116,9 @@ export function getFormSchema(params: any = {}) { console.log(formRef.value.form); chooseCompanyModalApi.setData({ title: '选择合同相对人', - guids: [formRef.value.form.providerId], + guids: formRef.value.form.providerId + ? [formRef.value.form.providerId] + : [], }); chooseCompanyModalApi.open(); }, diff --git a/apps/web-contract/src/views/contract/declaration/edit/index.vue b/apps/web-contract/src/views/contract/declaration/edit/index.vue index 627642ca..4931ee06 100644 --- a/apps/web-contract/src/views/contract/declaration/edit/index.vue +++ b/apps/web-contract/src/views/contract/declaration/edit/index.vue @@ -1,5 +1,5 @@