This commit is contained in:
2021-04-16 20:08:39 +00:00
parent 948f79e4df
commit ea4fc8edae
3 changed files with 165 additions and 142 deletions

View File

@@ -165,6 +165,7 @@ export default {
methods: {
newItem() {
let newIndex = this.value.items.length;
this.value.items.push({
id: 0,
concurrency: 0,
@@ -189,7 +190,8 @@ export default {
tasks: [],
travels: [],
units: [],
outsideServices: []
outsideServices: [],
uid: Date.now() //guaranteed unique and higher than any prior
});
this.$emit("change");
this.selectedRow = [{ index: newIndex }];