Kostenstellenhierarchie und Auswertung mit Unterkostenstellen ergänzt
This commit is contained in:
@@ -22,6 +22,7 @@ import description from "~/components/columnRenderings/description.vue"
|
||||
import purchasePrice from "~/components/columnRenderings/purchasePrice.vue";
|
||||
import project from "~/components/columnRenderings/project.vue";
|
||||
import branch from "~/components/columnRenderings/branch.vue";
|
||||
import costcentre from "~/components/columnRenderings/costcentre.vue";
|
||||
import created_at from "~/components/columnRenderings/created_at.vue";
|
||||
import profile from "~/components/columnRenderings/profile.vue";
|
||||
import profiles from "~/components/columnRenderings/profiles.vue";
|
||||
@@ -3312,7 +3313,7 @@ export const useDataStore = defineStore('data', () => {
|
||||
numberRangeHolder: "number",
|
||||
historyItemHolder: "costcentre",
|
||||
sortColumn: "number",
|
||||
selectWithInformation: "*, project(*), vehicle(*), inventoryitem(*), branch(*)",
|
||||
selectWithInformation: "*, parentCostcentre(*), project(*), vehicle(*), inventoryitem(*), branch(*)",
|
||||
filters: [{
|
||||
name: "Archivierte ausblenden",
|
||||
default: true,
|
||||
@@ -3344,6 +3345,18 @@ export const useDataStore = defineStore('data', () => {
|
||||
label: "Beschreibung",
|
||||
inputType: "textarea"
|
||||
},
|
||||
{
|
||||
key: "parentCostcentre",
|
||||
label: "Übergeordnete Kostenstelle",
|
||||
component: costcentre,
|
||||
inputType: "select",
|
||||
selectDataType: "costcentres",
|
||||
selectOptionAttribute: "name",
|
||||
selectSearchAttributes: ["name", "number"],
|
||||
selectDataTypeFilter: function (option, item) {
|
||||
return option.id !== item.value?.id
|
||||
}
|
||||
},
|
||||
{
|
||||
key: "vehicle",
|
||||
label: "Fahrzeug",
|
||||
|
||||
Reference in New Issue
Block a user