import * as CustomerApi from '@/api/crm/customer'
-const { customer } = defineProps<{ customer: CustomerApi.CustomerVO }>()
+const { customer } = defineProps<{
+ customer: CustomerApi.CustomerVO
+}>()
diff --git a/src/views/crm/customer/detail/CustomerDetails.vue b/src/views/crm/customer/detail/CustomerDetails.vue
index 67beae94..f7c92ca2 100644
--- a/src/views/crm/customer/detail/CustomerDetails.vue
+++ b/src/views/crm/customer/detail/CustomerDetails.vue
@@ -87,7 +87,9 @@ import * as CustomerApi from '@/api/crm/customer'
import { DICT_TYPE } from '@/utils/dict'
import { formatDate } from '@/utils/formatTime'
-const { customer } = defineProps<{ customer: CustomerApi.CustomerVO }>()
+const { customer } = defineProps<{
+ customer: CustomerApi.CustomerVO
+}>()
// 展示的折叠面板
const activeNames = ref(['basicInfo', 'systemInfo'])
diff --git a/src/views/crm/customer/detail/CustomerDetailsTop.vue b/src/views/crm/customer/detail/CustomerDetailsHeader.vue
similarity index 90%
rename from src/views/crm/customer/detail/CustomerDetailsTop.vue
rename to src/views/crm/customer/detail/CustomerDetailsHeader.vue
index 509d0a27..6e14c829 100644
--- a/src/views/crm/customer/detail/CustomerDetailsTop.vue
+++ b/src/views/crm/customer/detail/CustomerDetailsHeader.vue
@@ -7,7 +7,7 @@
-
+
编辑
更改成交状态
@@ -70,16 +70,20 @@
diff --git a/src/views/crm/customer/detail/index.vue b/src/views/crm/customer/detail/index.vue
index 59b18c5b..e6c9e9a9 100644
--- a/src/views/crm/customer/detail/index.vue
+++ b/src/views/crm/customer/detail/index.vue
@@ -1,5 +1,5 @@
-
+
@@ -66,7 +66,7 @@ const loading = ref(true) // 加载中
/**
* 获取详情
*
- * @param id
+ * @param id 客户编号
*/
const customer = ref({} as CustomerApi.CustomerVO) // 客户详情
const getCustomerData = async (id: number) => {