This commit is contained in:
2022-01-26 00:56:59 +00:00
parent beaf16d01f
commit 033c01f5d9
6 changed files with 13 additions and 5 deletions

View File

@@ -317,7 +317,7 @@
:error-messages="
form().serverErrors(
this,
`Items[${activeWoItemIndex}].expenses[${activeItemIndex}].chargeTaxCodeId`
`Items[${activeWoItemIndex}].expenses[${activeItemIndex}].ChargeTaxCodeId`
)
"
@input="

View File

@@ -267,7 +267,7 @@
:error-messages="
form().serverErrors(
this,
`Items[${activeWoItemIndex}].labors[${activeItemIndex}].laboruserId`
`Items[${activeWoItemIndex}].labors[${activeItemIndex}].userId`
)
"
@input="

View File

@@ -1408,7 +1408,7 @@ async function saveExpenses(vm, woItemIndex) {
error: res.error,
itemUid: vm.obj.items[woItemIndex].uid,
childKey: "expenses",
childUid: vm.obj.items[woItemIndex].scheduledUsers[i].uid
childUid: vm.obj.items[woItemIndex].expenses[i].uid
});
} else {
//Server will update fields on put or post for most pm graph objecs so need to update entire object here

View File

@@ -1470,7 +1470,7 @@ async function saveExpenses(vm, woItemIndex) {
error: res.error,
itemUid: vm.obj.items[woItemIndex].uid,
childKey: "expenses",
childUid: vm.obj.items[woItemIndex].scheduledUsers[i].uid
childUid: vm.obj.items[woItemIndex].expenses[i].uid
});
} else {
//Server will update fields on put or post for most quote graph objecs so need to update entire object here

View File

@@ -1633,7 +1633,7 @@ async function saveExpenses(vm, woItemIndex) {
error: res.error,
itemUid: vm.obj.items[woItemIndex].uid,
childKey: "expenses",
childUid: vm.obj.items[woItemIndex].scheduledUsers[i].uid
childUid: vm.obj.items[woItemIndex].expenses[i].uid
});
} else {
//Server will update fields on put or post for most workorder graph objecs so need to update entire object here