From dcde4b33fa739b09486c39faade9ed19b29a6d7a Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期一, 03 八月 2026 14:58:35 +0800
Subject: [PATCH] feat(srm): 优化供应商选择组件功能

---
 src/views/crm/business/detail/data.ts |   28 ++--------------------------
 1 files changed, 2 insertions(+), 26 deletions(-)

diff --git a/src/views/crm/business/detail/data.ts b/src/views/crm/business/detail/data.ts
index 1cb1c49..78272d2 100644
--- a/src/views/crm/business/detail/data.ts
+++ b/src/views/crm/business/detail/data.ts
@@ -7,7 +7,6 @@
 import { erpPriceInputFormatter, formatDateTime } from '@vben/utils';
 
 import {
-  DEFAULT_STATUSES,
   getBusinessStatusSimpleList,
 } from '#/api/crm/business/status';
 
@@ -95,24 +94,6 @@
     },
     {
       fieldName: 'statusId',
-      label: '鍟嗘満鐘舵��',
-      component: 'Input',
-      dependencies: {
-        triggerFields: [''],
-        show: () => false,
-      },
-    },
-    {
-      fieldName: 'endStatus',
-      label: '鍟嗘満鐘舵��',
-      component: 'Input',
-      dependencies: {
-        triggerFields: [''],
-        show: () => false,
-      },
-    },
-    {
-      fieldName: 'status',
       label: '鍟嗘満闃舵',
       component: 'Select',
       dependencies: {
@@ -121,17 +102,12 @@
           const statusList = await getBusinessStatusSimpleList(
             formData.value?.statusTypeId ?? 0,
           );
-          const statusOptions = statusList.map((item) => ({
+          const options = statusList.map((item) => ({
             label: `${item.name}(璧㈠崟鐜囷細${item.percent}%)`,
             value: item.id,
           }));
-          const options = DEFAULT_STATUSES.map((item) => ({
-            label: `${item.name}(璧㈠崟鐜囷細${item.percent}%)`,
-            value: item.endStatus,
-          }));
-          statusOptions.push(...options);
           return {
-            options: statusOptions,
+            options,
           };
         },
       },

--
Gitblit v1.9.3