diff --git a/src/pages/03_customer-management/components/employer/EmployerFormBranch.vue b/src/pages/03_customer-management/components/employer/EmployerFormBranch.vue index fbeda26c..add73ca4 100644 --- a/src/pages/03_customer-management/components/employer/EmployerFormBranch.vue +++ b/src/pages/03_customer-management/components/employer/EmployerFormBranch.vue @@ -206,7 +206,16 @@ defineProps<{ statusOcr = false; } " - @save="(group: any, file: any) => {}" + @delete-file=" + (filename) => { + if (!item.id) return; + + customerFormStore.deleteAttachment( + { branchId: item.id, customerId: item.customerId }, + filename, + ); + } + " >