This commit is contained in:
2021-04-07 23:52:41 +00:00
parent 0b9e154484
commit f72b6b3c30
2 changed files with 38 additions and 2 deletions

View File

@@ -132,7 +132,18 @@ export default {
methods: {
newItem() {
console.log("STUB: NEW scheduserITEM");
this.pvm.selectedScheduledUserItemIndex =
this.value.items[this.pvm.selectedItemIndex].scheduledUsers.push({
id: 0,
concurrency: 0,
userId: null,
estimatedQuantity: 0,
startDate: null,
stopDate: null,
serviceRateId: null,
isDirty: true,
workOrderItemId: this.value.items[this.pvm.selectedItemIndex].id
}) - 1;
},
async deleteItem() {
if ((await window.$gz.dialog.confirmDelete()) != true) {