fix: 【crm】客户详情页,添加 customer-id 属性到联系人和商机组件,以确保正确传递客户 ID

This commit is contained in:
YunaiV
2025-11-22 11:30:25 +08:00
parent 33af5dd764
commit a10fcb389c

View File

@@ -46,7 +46,11 @@
<CustomerDetailsInfo :customer="customer" />
</el-tab-pane>
<el-tab-pane label="联系人" lazy>
<ContactList :biz-id="customer.id!" :biz-type="BizTypeEnum.CRM_CUSTOMER" />
<ContactList
:biz-id="customer.id!"
:customer-id="customer.id!"
:biz-type="BizTypeEnum.CRM_CUSTOMER"
/>
</el-tab-pane>
<el-tab-pane label="团队成员">
<PermissionList
@@ -58,7 +62,11 @@
/>
</el-tab-pane>
<el-tab-pane label="商机" lazy>
<BusinessList :biz-id="customer.id!" :biz-type="BizTypeEnum.CRM_CUSTOMER" />
<BusinessList
:biz-id="customer.id!"
:customer-id="customer.id!"
:biz-type="BizTypeEnum.CRM_CUSTOMER"
/>
</el-tab-pane>
<el-tab-pane label="合同" lazy>
<ContractList :biz-id="customer.id!" :biz-type="BizTypeEnum.CRM_CUSTOMER" />