rmlworkorder major upgrade

This commit is contained in:
Luca Haid
2025-09-02 08:36:33 +00:00
parent 549027a67c
commit b173a6edc1
24 changed files with 1762 additions and 2073 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
Vue.component('tt-modal', {
props: {
show: {type: Boolean, default: false},
show: {type: [Boolean, Object], default: false},
title: {type: String, default: 'Überschrift'},
delete: {type: Boolean, default: true},
deleteText: {type: String, default: 'Löschen'},
@@ -10,6 +10,12 @@ Vue.component('tt-number-range', {
};
}, watch: {
value(val) {
if (typeof val === 'undefined' || val === null || val === '') {
this.inputValueFrom = '';
this.inputValueTo = '';
return;
}
if (this.returnText !== true) {
this.inputValueFrom = val.from;
this.inputValueTo = val.to;