fix bug รายการให้ออก

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-02-24 17:37:02 +07:00
parent 6dbe828045
commit 841b023827
3 changed files with 9 additions and 11 deletions

View file

@ -358,7 +358,6 @@ export const useTransferDataStore = defineStore("transferDataStore", () => {
value: "ออกคำสั่งเสร็จแล้ว",
},
]);
const statusOp = ref<DataOptions[]>([]);
const statusMainOp = ref<DataOptions[]>([
{ id: "WAITTING", name: "รอดำเนินการ" },
{ id: "PENDING", name: "เลือกตำแหน่งแล้ว" },
@ -367,6 +366,7 @@ export const useTransferDataStore = defineStore("transferDataStore", () => {
{ id: "REPORT", name: "ส่งรายชื่อไปออกคำสั่ง" },
{ id: "DONE", name: "ออกคำสั่งเสร็จแล้ว" },
]);
const statusOp = ref<DataOptions[]>(statusMainOp.value);
const statusText = (val: string) => {
switch (val) {