From 557c2b3c50027c2eb6fb9f7e562fc2c7b2b38203 Mon Sep 17 00:00:00 2001
From: quxin <592870522@qq.com>
Date: 星期五, 04 九月 2026 11:37:17 +0800
Subject: [PATCH] 修复: 生产领料后的退料应该是选择领料的记录,不是选择库存的记录(同时库存数据需要根据领料退料变动,比如库存100,领用80,然后领用80中退料30,库存应由原来的20变成50)

---
 src/api/crm/business/status/index.ts |   25 +------------------------
 1 files changed, 1 insertions(+), 24 deletions(-)

diff --git a/src/api/crm/business/status/index.ts b/src/api/crm/business/status/index.ts
index 0f6a812..b650079 100644
--- a/src/api/crm/business/status/index.ts
+++ b/src/api/crm/business/status/index.ts
@@ -19,32 +19,9 @@
     id?: number;
     name: string;
     percent?: number;
-    endStatus?: number;
-    key?: string;
+    sort?: number;
   }
 }
-
-/** 榛樿鍟嗘満鐘舵�� */
-export const DEFAULT_STATUSES = [
-  {
-    endStatus: 1,
-    key: '缁撴潫',
-    name: '璧㈠崟',
-    percent: 100,
-  },
-  {
-    endStatus: 2,
-    key: '缁撴潫',
-    name: '杈撳崟',
-    percent: 0,
-  },
-  {
-    endStatus: 3,
-    key: '缁撴潫',
-    name: '鏃犳晥',
-    percent: 0,
-  },
-] satisfies CrmBusinessStatusApi.BusinessStatusType[];
 
 /** 鏌ヨ鍟嗘満鐘舵�佺粍鍒楄〃 */
 export function getBusinessStatusPage(params: PageParam) {

--
Gitblit v1.9.3