diff --git a/src/modules/05_command/components/ListOrder.vue b/src/modules/05_command/components/ListOrder.vue new file mode 100644 index 00000000..56158286 --- /dev/null +++ b/src/modules/05_command/components/ListOrder.vue @@ -0,0 +1,205 @@ + + + + + + + + + + อัปโหลดไฟล์ + + ดาวน์โหลด Template คำสั่ง + + + + + + + + + + + + + + + หน้าที่ {{ page }} จาก {{ numOfPages }} + + + + + + + + + + + + + + + + + + + + + + หน้าที่ {{ page }} จาก {{ numOfPages }} + + + + + + + + + + + + diff --git a/src/modules/05_command/interface/index/Main.ts b/src/modules/05_command/interface/index/Main.ts index 1aeb5a4b..7743b509 100644 --- a/src/modules/05_command/interface/index/Main.ts +++ b/src/modules/05_command/interface/index/Main.ts @@ -2,4 +2,20 @@ interface Pagination { rowsPerPage: number; } -export type { Pagination }; +interface ActiveOptions { + value: string; + label: string; +} + +interface ListOrder { + id: string; + code: string; + name: string; + status: boolean; +} + +interface Tabs { + value: string; + label: string; +} +export type { Pagination, ActiveOptions, ListOrder, Tabs }; diff --git a/src/modules/05_command/stores/main.ts b/src/modules/05_command/stores/main.ts index 4d14ff9e..6cfa100a 100644 --- a/src/modules/05_command/stores/main.ts +++ b/src/modules/05_command/stores/main.ts @@ -1,5 +1,9 @@ import { defineStore } from "pinia"; +import { ref } from "vue"; export const useDataStore = defineStore("commandStore", () => { - return {}; + const currentTab = ref("order"); + return { + currentTab + }; }); diff --git a/src/modules/05_command/views/lists.vue b/src/modules/05_command/views/lists.vue index 91af707c..cca9461c 100644 --- a/src/modules/05_command/views/lists.vue +++ b/src/modules/05_command/views/lists.vue @@ -1,5 +1,459 @@ - + + + + + รายการคำสั่งและ Template + + + + + + + + เพิ่มข้อมูล + + + + + + + + + + + + + + + {{ `- ${item.name}` }} + + + + + + + + + + + แก้ไข + + + + + + + ลบ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + กรุณาเลือกรายการคำสั่ง + + + + + + + + + + + + + + + + + + + + + สถานะการใช้งาน + + + + + + + + + + + + บันทึกข้อมูล + + + + + + +
สถานะการใช้งาน