Fix für #71
This commit is contained in:
@@ -230,19 +230,7 @@ export const useDataStore = defineStore('data', () => {
|
||||
label: "Anrede",
|
||||
inputType: "text",
|
||||
inputChangeFunction: function (row) {
|
||||
row.name = ""
|
||||
if(row.salutation) {
|
||||
row.name += `${row.salutation}`
|
||||
}
|
||||
if(row.title) {
|
||||
row.name += ` ${row.title}`
|
||||
}
|
||||
if(row.firstname) {
|
||||
row.name += ` ${row.firstname}`
|
||||
}
|
||||
if(row.lastname) {
|
||||
row.name += ` ${row.lastname}`
|
||||
}
|
||||
row.name = `${row.salutation + " "}${row.title+ " "}${row.firstname+ " "}${row.lastname}`;
|
||||
},
|
||||
disabledFunction: function (item) {
|
||||
return item.isCompany
|
||||
@@ -258,19 +246,7 @@ export const useDataStore = defineStore('data', () => {
|
||||
label: "Titel",
|
||||
inputType: "text",
|
||||
inputChangeFunction: function (row) {
|
||||
row.name = ""
|
||||
if(row.salutation) {
|
||||
row.name += `${row.salutation}`
|
||||
}
|
||||
if(row.title) {
|
||||
row.name += ` ${row.title}`
|
||||
}
|
||||
if(row.firstname) {
|
||||
row.name += ` ${row.firstname}`
|
||||
}
|
||||
if(row.lastname) {
|
||||
row.name += ` ${row.lastname}`
|
||||
}
|
||||
row.name = `${row.salutation + " "}${row.title+ " "}${row.firstname+ " "}${row.lastname}`;
|
||||
},
|
||||
disabledFunction: function (item) {
|
||||
return item.isCompany
|
||||
@@ -285,19 +261,7 @@ export const useDataStore = defineStore('data', () => {
|
||||
title: true,
|
||||
inputType: "text",
|
||||
inputChangeFunction: function (row) {
|
||||
row.name = ""
|
||||
if(row.salutation) {
|
||||
row.name += `${row.salutation}`
|
||||
}
|
||||
if(row.title) {
|
||||
row.name += ` ${row.title}`
|
||||
}
|
||||
if(row.firstname) {
|
||||
row.name += ` ${row.firstname}`
|
||||
}
|
||||
if(row.lastname) {
|
||||
row.name += ` ${row.lastname}`
|
||||
}
|
||||
row.name = `${row.salutation + " "}${row.title+ " "}${row.firstname+ " "}${row.lastname}`;
|
||||
},
|
||||
disabledFunction: function (item) {
|
||||
return item.isCompany
|
||||
@@ -312,19 +276,7 @@ export const useDataStore = defineStore('data', () => {
|
||||
title: true,
|
||||
inputType: "text",
|
||||
inputChangeFunction: function (row) {
|
||||
row.name = ""
|
||||
if(row.salutation) {
|
||||
row.name += `${row.salutation}`
|
||||
}
|
||||
if(row.title) {
|
||||
row.name += ` ${row.title}`
|
||||
}
|
||||
if(row.firstname) {
|
||||
row.name += ` ${row.firstname}`
|
||||
}
|
||||
if(row.lastname) {
|
||||
row.name += ` ${row.lastname}`
|
||||
}
|
||||
row.name = `${row.salutation + " "}${row.title+ " "}${row.firstname+ " "}${row.lastname}`;
|
||||
},
|
||||
disabledFunction: function (item) {
|
||||
return item.isCompany
|
||||
|
||||
Reference in New Issue
Block a user