From 70bf234133c1b5750d8f93f212c6802313b19c25 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 25 Feb 2024 16:52:07 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20CRM=EF=BC=9A=E5=AE=8C=E5=96=84?= =?UTF-8?q?=E5=9B=9E=E6=AC=BE=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/crm/contract/index.vue | 7 ++ src/views/crm/receivable/index.vue | 99 ++++++++++++++++++++++--- src/views/crm/receivable/plan/index.vue | 13 ++++ 3 files changed, 110 insertions(+), 9 deletions(-) diff --git a/src/views/crm/contract/index.vue b/src/views/crm/contract/index.vue index ed266057..80529d57 100644 --- a/src/views/crm/contract/index.vue +++ b/src/views/crm/contract/index.vue @@ -248,6 +248,7 @@ import ContractForm from './ContractForm.vue' import { DICT_TYPE } from '@/utils/dict' import { erpPriceTableColumnFormatter } from '@/utils' import * as CustomerApi from '@/api/crm/customer' +import { TabsPaneContext } from 'element-plus' defineOptions({ name: 'CrmContract' }) @@ -271,6 +272,12 @@ const exportLoading = ref(false) // 导出的加载中 const activeName = ref('1') // 列表 tab const customerList = ref([]) // 客户列表 +/** tab 切换 */ +const handleTabClick = (tab: TabsPaneContext) => { + queryParams.sceneType = tab.paneName + handleQuery() +} + /** 查询列表 */ const getList = async () => { loading.value = true diff --git a/src/views/crm/receivable/index.vue b/src/views/crm/receivable/index.vue index afacc34e..a02847ba 100644 --- a/src/views/crm/receivable/index.vue +++ b/src/views/crm/receivable/index.vue @@ -66,10 +66,35 @@ + + + + + - - - + + + + + + + + - - - + + + + + + +