From 31f8c28b502a3f963a2651194112584371448e37 Mon Sep 17 00:00:00 2001
From: liu <2021943741@qq.com>
Date: 星期四, 27 八月 2026 16:39:47 +0800
Subject: [PATCH] feat(srm): 供应商准入审核接入协同办公(BPM)
---
src/views/srm/enums.ts | 19 +++++++++----------
1 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/src/views/srm/enums.ts b/src/views/srm/enums.ts
index 6077634..3c2cb0a 100644
--- a/src/views/srm/enums.ts
+++ b/src/views/srm/enums.ts
@@ -62,36 +62,35 @@
labels: { '1': '鐢熶骇鍨�', '2': '璐告槗鍨�', '3': '鏈嶅姟鍨�', '4': '鍏朵粬' },
};
-// ========== 鍑嗗叆鐢宠 鈥� 瀵归綈 SupplierApplyStatusEnum (0/10/20/30/40/50) ==========
+// ========== 鍑嗗叆鐢宠 鈥� 瀵归綈 SupplierApplyStatusEnum (0/10/30/40/50)
+// 鎺ュ叆鍗忓悓鍔炲叕鍚庣畝鍖栦负 5 鎬侊細寰呮彁浜� / 瀹℃壒涓� / 宸插彇娑� / 宸查�氳繃 / 宸查┏鍥�
+// 鍘熷緟閲囪喘瀹℃牳(10)/寰呰川閲忓鏍�(20)/寰呰储鍔″鏍�(30)宸插簾寮� ==========
export const APPLY_STATUS = {
DRAFT: 0,
- PENDING_PURCHASE: 10,
- PENDING_QUALITY: 20,
- PENDING_FINANCE: 30,
+ PROCESS: 10,
+ CANCEL: 30,
APPROVED: 40,
REJECTED: 50,
} as const;
export const APPLY_STATUS_OPTIONS: EnumOption[] = [
{ label: '寰呮彁浜�', value: 0 },
- { label: '寰呴噰璐鏍�', value: 10 },
- { label: '寰呰川閲忓鏍�', value: 20 },
- { label: '寰呰储鍔″鏍�', value: 30 },
+ { label: '瀹℃壒涓�', value: 10 },
+ { label: '宸插彇娑�', value: 30 },
{ label: '宸查�氳繃', value: 40 },
- { label: '宸叉嫆缁�', value: 50 },
+ { label: '宸查┏鍥�', value: 50 },
];
export const APPLY_STATUS_CELLTAG: { data: CellTagItem[]; labels: Record<number, string> } = {
data: [
{ value: 0, color: 'gray' },
{ value: 10, color: 'blue' },
- { value: 20, color: 'orange' },
{ value: 30, color: 'purple' },
{ value: 40, color: 'green' },
{ value: 50, color: 'red' },
],
- labels: { 0: '寰呮彁浜�', 10: '寰呴噰璐鏍�', 20: '寰呰川閲忓鏍�', 30: '寰呰储鍔″鏍�', 40: '宸查�氳繃', 50: '宸叉嫆缁�' },
+ labels: { 0: '寰呮彁浜�', 10: '瀹℃壒涓�', 30: '宸插彇娑�', 40: '宸查�氳繃', 50: '宸查┏鍥�' },
};
// ========== 璧勮川璇佷功 鈥� 瀵归綈 CertificateTypeEnum (1=钀ヤ笟鎵х収 2=璁よ瘉璇佷功 3=妫�娴嬫姤鍛� 4=鍏朵粬) ==========
--
Gitblit v1.9.3