แก้ไขคำผิด
This commit is contained in:
parent
a082bb12fb
commit
9ac9fa6322
1 changed files with 8 additions and 3 deletions
|
|
@ -59,13 +59,13 @@ const tabs = ref<Tabs[]>([
|
|||
},
|
||||
]);
|
||||
|
||||
const dataCategory = ref<DateOption[]>([]); //ข้อมูล หมดหมู่
|
||||
const categoryOP = ref<DateOption[]>([]); // options หมดหมู่
|
||||
const dataCategory = ref<DateOption[]>([]); //ข้อมูล หมวดหมู่
|
||||
const categoryOP = ref<DateOption[]>([]); // options หมวดหมู่
|
||||
|
||||
const idOrder = ref<string>(""); // Id คำสั่ง
|
||||
const activeOrderId = ref<string>(""); // Id คำสั่งที่เลือก
|
||||
const name = ref<string>(""); // ชื่อคำสั่ง
|
||||
const category = ref<string>(""); // หมดหมู่
|
||||
const category = ref<string>(""); // หมวดหมู่
|
||||
const listOrder = ref<ListOrder[]>([]); // list คำสั่ง
|
||||
const status = ref<boolean>(false); // สถานะ
|
||||
const isEdit = ref<boolean>(false); //เก็บ true/false เช็คแก้ไข
|
||||
|
|
@ -158,6 +158,11 @@ async function fetchOrderType() {
|
|||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* ฟังก์ชั่นค้นหาข้อมูลใน Select หมวดหมู่
|
||||
* @param val คำค้นหา
|
||||
* @param update ฟังก์ชั่นค้นหา
|
||||
*/
|
||||
function filterSelector(val: string, update: Function) {
|
||||
update(() => {
|
||||
category.value = val ? "" : category.value;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue