This commit is contained in:
@@ -135,7 +135,7 @@ export default {
|
|||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
newItem() {
|
newItem() {
|
||||||
this.pvm.selectItem(
|
let newIndex = this.value.items.length;
|
||||||
this.value.items.push({
|
this.value.items.push({
|
||||||
id: 0,
|
id: 0,
|
||||||
concurrency: 0,
|
concurrency: 0,
|
||||||
@@ -160,8 +160,8 @@ export default {
|
|||||||
travels: [],
|
travels: [],
|
||||||
units: [],
|
units: [],
|
||||||
outsideServices: []
|
outsideServices: []
|
||||||
}) - 1
|
});
|
||||||
);
|
this.pvm.selectItem(newIndex);
|
||||||
},
|
},
|
||||||
async deleteItem() {
|
async deleteItem() {
|
||||||
if ((await window.$gz.dialog.confirmDelete()) != true) {
|
if ((await window.$gz.dialog.confirmDelete()) != true) {
|
||||||
|
|||||||
Reference in New Issue
Block a user