แก้ไขรอออกคำสั่ง

This commit is contained in:
Warunee Tamkoo 2025-04-03 16:57:32 +07:00
parent 0b9d3718af
commit 3031727c51
9 changed files with 43 additions and 13 deletions

View file

@ -137,6 +137,8 @@ function convertText(val: string) {
return "รอดำเนินการ";
case "REPORT":
return "ส่งไปออกคำสั่ง";
case "WAITING":
return "รอออกคำสั่ง";
case "DONE":
return "ออกคำสั่งเสร็จสิ้น";
default:

View file

@ -147,7 +147,7 @@ const probation_statusOP = ref<any>([
},
{
id: 9,
label: "ออกคำสั่งเสร็จแล้ว",
label: "ออกคำสั่งเสร็จสิ้น",
disable: true,
},
]);

View file

@ -355,7 +355,7 @@ export const useTransferDataStore = defineStore("transferDataStore", () => {
},
{
id: "9",
value: "ออกคำสั่งเสร็จแล้ว",
value: "ออกคำสั่งเสร็จสิ้น",
},
]);
const statusMainOp = ref<DataOptions[]>([
@ -364,7 +364,8 @@ export const useTransferDataStore = defineStore("transferDataStore", () => {
{ id: "APPROVE", name: "อนุมัติ" },
{ id: "REJECT", name: "ไม่อนุมัติ" },
{ id: "REPORT", name: "ส่งรายชื่อไปออกคำสั่ง" },
{ id: "DONE", name: "ออกคำสั่งเสร็จแล้ว" },
{ id: "WAITING", name: "รอออกคำสั่ง" },
{ id: "DONE", name: "ออกคำสั่งเสร็จสิ้น" },
]);
const statusOp = ref<DataOptions[]>(statusMainOp.value);
@ -380,8 +381,10 @@ export const useTransferDataStore = defineStore("transferDataStore", () => {
return "ไม่อนุมัติ";
case "REPORT":
return "ส่งรายชื่อไปออกคำสั่ง";
case "WAITING":
return "รอออกคำสั่ง";
case "DONE":
return "ออกคำสั่งเสร็จแล้ว";
return "ออกคำสั่งเสร็จสิ้น";
default:
return "-";
@ -422,7 +425,7 @@ export const useTransferDataStore = defineStore("transferDataStore", () => {
case 8:
return "ส่งรายชื่อไปออกคำสั่ง";
case 9:
return "ออกคำสั่งเสร็จแล้ว";
return "ออกคำสั่งเสร็จสิ้น";
default:
return "-";
}