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 @@ + + + + + - - - + + + + + + + + - - - + + + + + + +