แก้ fetchTypeInsignia

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-09-15 10:41:33 +07:00
parent 02341546cd
commit 0b02940c88

View file

@ -24,6 +24,8 @@ export const useResultDataStore = defineStore("insigniaResult", () => {
const fetchDatainsignia = async (data: any) => {
insignia.value = ''
invoiceType.value = 'all'
insigniaOp.value = [{ name: "ทั้งหมด", id: "" }]
insigniaOp2.value = []
data.forEach((e: any) => {
insigniaOp.value.push({ name: e.name, id: e.id })
});