From 08b86cccfc8227ab065ee913f809609ef708486d Mon Sep 17 00:00:00 2001
From: liu <2021943741@qq.com>
Date: 星期五, 21 八月 2026 09:59:21 +0800
Subject: [PATCH] 物料管理/物料分类/计量单位增加 Excel 导入功能

---
 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