This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user