Dateimodal überarbeiten und Dateitypen pflegen

This commit is contained in:
2026-05-19 12:47:51 +02:00
parent 941f1d819b
commit 5fc7cc9604
13 changed files with 360 additions and 319 deletions

View File

@@ -2337,6 +2337,66 @@ export const useDataStore = defineStore('data', () => {
labelSingle: "Datei",
selectWithInformation: "*",
},
filetags: {
isArchivable: true,
label: "Dateitypen",
labelSingle: "Dateityp",
isStandardEntity: true,
redirect: true,
inputColumns: [
"Allgemeines",
"Automatik",
],
filters: [{
name: "Archivierte ausblenden",
default: true,
"filterFunction": function (row) {
return !row.archived
}
}],
canArchiveFunction: function (row) {
return !row.isSystemUsed
},
templateColumns: [
{
key: "name",
label: "Name",
title: true,
required: true,
inputType: "text",
inputColumn: "Allgemeines",
sortable: true,
},
{
key: "color",
label: "Farbe",
inputType: "text",
inputColumn: "Allgemeines",
},
{
key: "createdDocumentType",
label: "Ausgangsbeleg-Typ",
inputType: "text",
inputColumn: "Automatik",
},
{
key: "incomingDocumentType",
label: "Eingangsbeleg-Typ",
inputType: "text",
inputColumn: "Automatik",
},
{
key: "isSystemUsed",
label: "Systemtyp",
inputType: "bool",
inputColumn: "Automatik",
disabledFunction: function () {
return true
}
},
],
showTabs: [{label: "Informationen"}]
},
folders: {
isArchivable: true,
label: "Ordner",