From b10d61337f207fbdbea2c44f4f270d83c845cbf9 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期五, 29 十一月 2024 13:28:06 +0800 Subject: [PATCH] 检查类型 条码显示控制 --- src/utils/statusFormatter.ts | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/utils/statusFormatter.ts b/src/utils/statusFormatter.ts index f1cb570..7b3ac10 100644 --- a/src/utils/statusFormatter.ts +++ b/src/utils/statusFormatter.ts @@ -6,7 +6,7 @@ {label: "宸查鐢�", value: 5}, {label: "宸茶鏈�", value: 10}, {label: "宸查仐澶�", value: 20}, - {label: "寰呯淮淇�", value: 30}, + {label: "宸叉崯鍧�", value: 30}, {label: "缁翠慨涓�", value: 40}, {label: "宸叉姤搴�", value: 50} ] @@ -20,7 +20,9 @@ * 鍙彿灞忎娇鐢� */ export const queueStatusConvert = (status: number) => { - if (5 === status) + if (3 === status) + return '宸茶繃鍙�-鎺掗槦'; + else if (5 === status) return '宸茶繃鍙�'; else if (7 === status) return '宸茶繃鍙�-瀹夎'; -- Gitblit v1.9.3