#7897 - masterTest_24_36 #669

Merged
jsegarra merged 115 commits from 7897_masterTest_24_36 into master 2024-09-03 06:37:49 +00:00
1 changed files with 3 additions and 8 deletions
Showing only changes of commit d0ccce2656 - Show all commits

View File

@ -26,14 +26,9 @@ const clientsOptions = ref([]);
const serialTypesOptions = ref([]);
const handleInvoiceOutSerialsFetch = (data) => {
const uniqueTypes = new Set();
serialTypesOptions.value = data.filter((item) => {
if (item.type === null || uniqueTypes.has(item.type)) {
return false;
}
uniqueTypes.add(item.type);
return true;
});
serialTypesOptions.value = Array.from(
new Set(data.map((item) => item.type).filter((type) => type))
);
};
const formData = ref({});