This commit is contained in:
2021-04-15 20:42:21 +00:00
parent 7ffedfb152
commit cb3ea49a32
4 changed files with 27 additions and 13 deletions

View File

@@ -52,6 +52,11 @@
</v-col>
</template>
<template v-if="activeItemIndex != null">
{{
`Items[${activeWoItemIndex}].scheduledUsers[
${activeItemIndex}
].estimatedQuantity`
}}
<v-col cols="12" sm="6" lg="4" xl="3">
<gz-decimal
v-model="
@@ -65,9 +70,7 @@
:error-messages="
form().serverErrors(
this,
`Items[${activeWoItemIndex}].scheduledUsers[
${activeItemIndex}
].estimatedQuantity`
`Items[${activeWoItemIndex}].scheduledUsers[${activeItemIndex}].estimatedQuantity`
)
"
:rules="[

View File

@@ -58,7 +58,9 @@
v-model="value.items[activeItemIndex].notes"
:readonly="formState.readOnly"
:label="$ay.t('WorkOrderItemSummary')"
:error-messages="form().serverErrors(this, 'notes')"
:error-messages="
form().serverErrors(this, `items[${activeItemIndex}].notes`)
"
ref="notes"
data-cy="notes"
@input="fieldValueChanged('notes')"