diff --git a/src/pages/Worker/WorkerList.vue b/src/pages/Worker/WorkerList.vue index 3eca02c8f..27b4982ee 100644 --- a/src/pages/Worker/WorkerList.vue +++ b/src/pages/Worker/WorkerList.vue @@ -85,6 +85,15 @@ function handleLocation(data, location) { data.provinceFk = provinceFk; data.countryFk = countryFk; } + +function uppercaseStreetModel(data) { + return { + get: () => (data.street ? data.street.toUpperCase() : ''), + set: (value) => { + data.street = value.toUpperCase(); + }, + }; +}