From 21a2d6f813f3d58b494fde010f66bd84ce2f1d41 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 12 八月 2026 13:06:04 +0800
Subject: [PATCH] fix: MOM 1.修改物料弹框的SIP与SOP改为中文

---
 src/views/crm/contract/components/detail-list.vue |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/views/crm/contract/components/detail-list.vue b/src/views/crm/contract/components/detail-list.vue
index 69770c8..146efbf 100644
--- a/src/views/crm/contract/components/detail-list.vue
+++ b/src/views/crm/contract/components/detail-list.vue
@@ -24,6 +24,9 @@
 const props = defineProps<{
   bizId: number; // 涓氬姟缂栧彿
   bizType: number; // 涓氬姟绫诲瀷
+  customerId?: number; // 瀹㈡埛缂栧彿锛堝晢鏈�/鑱旂郴浜鸿鎯呬紶鍏ワ級
+  customerName?: string; // 瀹㈡埛鍚嶇О锛堝晢鏈�/鑱旂郴浜鸿鎯呬紶鍏ワ級
+  businessName?: string; // 鍟嗘満鍚嶇О锛堝晢鏈鸿鎯呬紶鍏ワ級
 }>();
 
 const { push } = useRouter();
@@ -52,7 +55,12 @@
         ? {
             customerId: props.bizId,
           }
-        : { businessId: props.bizId },
+        : {
+            businessId: props.bizId,
+            customerId: props.customerId,
+            customerName: props.customerName,
+            businessName: props.businessName,
+          },
     )
     .open();
 }
@@ -77,7 +85,7 @@
               customerId: props.bizId,
               ...formValues,
             });
-          } else if (props.bizType === BizTypeEnum.CRM_CONTACT) {
+          } else if (props.bizType === BizTypeEnum.CRM_BUSINESS) {
             return await getContractPageByBusiness({
               pageNo: page.currentPage,
               pageSize: page.pageSize,

--
Gitblit v1.9.3