This commit is contained in:
@@ -667,6 +667,9 @@ async function saveItems(vm) {
|
||||
if (isPost) {
|
||||
o.id = res.data.id;
|
||||
o.workorderId = res.data.workorderId;
|
||||
//walk all unsaved children and set the workorder id so they can save
|
||||
o.scheduledUsers.forEach(z => (z.workorderItemId = o.id));
|
||||
//todo: children
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user