From 5c124cdf26e4d749eae1e7fc9df366e9a5f4d259 Mon Sep 17 00:00:00 2001
From: liu <2021943741@qq.com>
Date: 星期二, 18 八月 2026 15:04:09 +0800
Subject: [PATCH] 选择采购订单修改列表宽度设置

---
 src/views/crm/business/detail/data.ts |   30 +++---------------------------
 1 files changed, 3 insertions(+), 27 deletions(-)

diff --git a/src/views/crm/business/detail/data.ts b/src/views/crm/business/detail/data.ts
index 1e29fed..78272d2 100644
--- a/src/views/crm/business/detail/data.ts
+++ b/src/views/crm/business/detail/data.ts
@@ -4,10 +4,9 @@
 import type { CrmBusinessApi } from '#/api/crm/business';
 import type { DescriptionItemSchema } from '#/components/description';
 
-import { erpPriceInputFormatter, formatDateTime } from '..\..\..\..\packages\utils\src';
+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