diff --git a/src/pages/Worker/WorkerList.vue b/src/pages/Worker/WorkerList.vue index f4ae20591..4b7d028e7 100644 --- a/src/pages/Worker/WorkerList.vue +++ b/src/pages/Worker/WorkerList.vue @@ -93,6 +93,11 @@ onBeforeMount(async () => { ).data?.payMethodFk; }); +const handleNewBankEntity = (response, formData) => { + bankEntitiesOptions.value = [...bankEntitiesOptions.value, response]; + formData.bankEntityFk = response.id; +}; + function handleLocation(data, location) { const { town, code, provinceFk, countryFk } = location ?? {}; data.postcode = code; @@ -319,7 +324,10 @@ async function autofillBic(worker) { >