This commit is contained in:
@@ -317,7 +317,7 @@
|
||||
:error-messages="
|
||||
form().serverErrors(
|
||||
this,
|
||||
`Items[${activeWoItemIndex}].expenses[${activeItemIndex}].chargeTaxCodeId`
|
||||
`Items[${activeWoItemIndex}].expenses[${activeItemIndex}].ChargeTaxCodeId`
|
||||
)
|
||||
"
|
||||
@input="
|
||||
|
||||
@@ -267,7 +267,7 @@
|
||||
:error-messages="
|
||||
form().serverErrors(
|
||||
this,
|
||||
`Items[${activeWoItemIndex}].labors[${activeItemIndex}].laboruserId`
|
||||
`Items[${activeWoItemIndex}].labors[${activeItemIndex}].userId`
|
||||
)
|
||||
"
|
||||
@input="
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user