This commit is contained in:
2021-06-29 21:54:59 +00:00
parent cb82e87e33
commit 8c87382827
2 changed files with 9 additions and 7 deletions

View File

@@ -98,6 +98,9 @@ export default {
z.concurrency = undefined;
z.workOrderId = 0;
z.isDirty = true;
if (z.partRequests) {
z.partRequests.splice(0);
}
z.expenses.forEach(x => {
x.id = 0;
x.concurrency = undefined;
@@ -118,11 +121,11 @@ export default {
x.concurrency = undefined;
x.isDirty = true;
});
z.partRequests.forEach(x => {
x.id = 0;
x.concurrency = undefined;
x.isDirty = true;
});
// z.partRequests.forEach(x => {
// x.id = 0;
// x.concurrency = undefined;
// x.isDirty = true;
// });
z.scheduledUsers.forEach(x => {
x.id = 0;
x.concurrency = undefined;