เพิ่มแสดงสถานะรอออกคำสั่ง

This commit is contained in:
Warunee Tamkoo 2025-04-09 15:57:11 +07:00
parent e1a75a392b
commit 4cf9595a6d
3 changed files with 6 additions and 1 deletions

View file

@ -13,9 +13,10 @@ export const useTransferDataStore = defineStore("transfer", () => {
return "ไม่อนุมัติ";
case "REPORT":
return "ส่งรายชื่อไปออกคำสั่ง";
case "WAITING":
return "รอออกคำสั่ง";
case "DONE":
return "ออกคำสั่งเสร็จแล้ว";
default:
return "-";
}

View file

@ -13,6 +13,8 @@ export const useRestDataStore = defineStore("Rest", () => {
return "ไม่อนุมัติ";
case "REPORT":
return "ส่งรายชื่อไปออกคำสั่ง";
case "WAITING":
return "รอออกคำสั่ง";
case "DONE":
return "ออกคำสั่งเสร็จแล้ว";
case "DONECANCEL":

View file

@ -188,6 +188,8 @@ function statusText(val: string) {
return "ไม่อนุมัติ";
case "REPORT":
return "ส่งรายชื่อไปออกคำสั่ง";
case "WAITING":
return "รอออกคำสั่ง";
case "DONE":
return "ออกคำสั่งเสร็จแล้ว";