From c6421e15ecc9df14dbb2f29ab76a73ce7aa7f603 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期一, 25 十一月 2024 21:32:09 +0800 Subject: [PATCH] 预约小票 打印 --- src/utils/statusFormatter.ts | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/utils/statusFormatter.ts b/src/utils/statusFormatter.ts index 64ebebc..60441a8 100644 --- a/src/utils/statusFormatter.ts +++ b/src/utils/statusFormatter.ts @@ -1,10 +1,12 @@ - -const DevStateOptions = [ +/** + * 鍙彿灞忎娇鐢� + */ +export const DevStateOptions = [ {label: "绌洪棽", value: 0}, {label: "宸查鐢�", value: 5}, {label: "宸茶鏈�", value: 10}, {label: "宸查仐澶�", value: 20}, - {label: "寰呯淮淇�", value: 30}, + {label: "宸叉崯鍧�", value: 30}, {label: "缁翠慨涓�", value: 40}, {label: "宸叉姤搴�", value: 50} ] @@ -14,6 +16,9 @@ return undefined !== stateOption ? stateOption.label : '' } +/** + * 鍙彿灞忎娇鐢� + */ export const queueStatusConvert = (status: number) => { if (5 === status) return '宸茶繃鍙�'; @@ -39,5 +44,3 @@ return '鏈畾涔�'; } - - -- Gitblit v1.9.3