From 35a1f094a10765219a1d36690d390fc6eb89c331 Mon Sep 17 00:00:00 2001 From: zy Date: Fri, 2 May 2025 20:46:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B9=E6=A1=88=E6=8A=A5=E4=BB=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/crm/contract/ContractForm.vue | 1 - .../ContractAAuthorizedCompanyForm.vue | 3 +- .../components/ContractProductForm.vue | 47 +- .../crm/contract/detail/ContractDetail.vue | 646 +++++++++++------- src/views/crm/quotation/QuotationDetail.vue | 2 +- src/views/crm/quotation/QuotationForm.vue | 19 +- .../components/QuotationProductDetail.vue | 94 ++- .../components/QuotationProductForm.vue | 34 +- src/views/crm/quotation/index.vue | 4 +- 9 files changed, 543 insertions(+), 307 deletions(-) diff --git a/src/views/crm/contract/ContractForm.vue b/src/views/crm/contract/ContractForm.vue index 8a12464fb..2499f8a14 100644 --- a/src/views/crm/contract/ContractForm.vue +++ b/src/views/crm/contract/ContractForm.vue @@ -805,7 +805,6 @@ const getContactOptions = computed(() => const route = useRoute(); onMounted(async () => { - console.log('%csrc/views/crm/contract/ContractForm.vue:760 statement.value', 'color: #007acc;', statement.value); formType.value = props.id || route.query.id if (formType.value) await open(formType.value) diff --git a/src/views/crm/contract/components/ContractAAuthorizedCompanyForm.vue b/src/views/crm/contract/components/ContractAAuthorizedCompanyForm.vue index 9fa4833ab..17a462595 100644 --- a/src/views/crm/contract/components/ContractAAuthorizedCompanyForm.vue +++ b/src/views/crm/contract/components/ContractAAuthorizedCompanyForm.vue @@ -120,7 +120,8 @@ const getList = (val: []) => { } const props = defineProps<{ - data: undefined + data: undefined, + type: undefined }>() /** 监听主表的关联字段的变化,加载对应的子表数据 */ diff --git a/src/views/crm/contract/components/ContractProductForm.vue b/src/views/crm/contract/components/ContractProductForm.vue index 86b9cdb7f..0e4cfd09e 100644 --- a/src/views/crm/contract/components/ContractProductForm.vue +++ b/src/views/crm/contract/components/ContractProductForm.vue @@ -41,7 +41,14 @@ @@ -69,28 +76,56 @@ @@ -105,7 +140,7 @@