refactor: handle can edit employee

This commit is contained in:
Thanaphon Frappet 2024-11-22 13:33:02 +07:00
parent fcb122a47e
commit f54ca1bd68
3 changed files with 78 additions and 50 deletions

View file

@ -53,6 +53,7 @@ export const useCustomerForm = defineStore('form-customer', () => {
treeFile: { label: string; file: { label: string }[] }[];
formDataOcr: Record<string, any>;
isImageEdit: boolean;
currentCustomerId?: string;
}>({
dialogType: 'info',
dialogOpen: false,