แก้ไขคำผิด

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-09-12 16:50:52 +07:00
parent a082bb12fb
commit 9ac9fa6322

View file

@ -59,13 +59,13 @@ const tabs = ref<Tabs[]>([
}, },
]); ]);
const dataCategory = ref<DateOption[]>([]); // const dataCategory = ref<DateOption[]>([]); //
const categoryOP = ref<DateOption[]>([]); // options const categoryOP = ref<DateOption[]>([]); // options
const idOrder = ref<string>(""); // Id const idOrder = ref<string>(""); // Id
const activeOrderId = ref<string>(""); // Id const activeOrderId = ref<string>(""); // Id
const name = ref<string>(""); // const name = ref<string>(""); //
const category = ref<string>(""); // const category = ref<string>(""); //
const listOrder = ref<ListOrder[]>([]); // list const listOrder = ref<ListOrder[]>([]); // list
const status = ref<boolean>(false); // const status = ref<boolean>(false); //
const isEdit = ref<boolean>(false); // true/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) { function filterSelector(val: string, update: Function) {
update(() => { update(() => {
category.value = val ? "" : category.value; category.value = val ? "" : category.value;