This commit is contained in:
2021-06-11 23:29:53 +00:00
parent c830dcd3b3
commit 9d56cbb05d
8 changed files with 59 additions and 64 deletions

View File

@@ -161,17 +161,17 @@
:disabled="isDeleted"
:label="$ay.t('WorkOrderItemOutsideServiceRMANumber')"
:ref="
`Items[${activeWoItemIndex}].outsideServices[ ${activeItemIndex} ].rmaNumber`
`Items[${activeWoItemIndex}].outsideServices[${activeItemIndex}].rmaNumber`
"
:error-messages="
form().serverErrors(
this,
`Items[${activeWoItemIndex}].outsideServices[ ${activeItemIndex} ].rmaNumber`
`Items[${activeWoItemIndex}].outsideServices[${activeItemIndex}].rmaNumber`
)
"
@input="
fieldValueChanged(
`Items[${activeWoItemIndex}].outsideServices[ ${activeItemIndex} ].rmaNumber`
`Items[${activeWoItemIndex}].outsideServices[${activeItemIndex}].rmaNumber`
)
"
></v-text-field>
@@ -210,7 +210,7 @@
]"
@input="
fieldValueChanged(
`Items[${activeWoItemIndex}].outsideServices[ ${activeItemIndex} ].repairCost`
`Items[${activeWoItemIndex}].outsideServices[${activeItemIndex}].repairCost`
)
"
></gz-currency>
@@ -250,7 +250,7 @@
]"
@input="
fieldValueChanged(
`Items[${activeWoItemIndex}].outsideServices[ ${activeItemIndex} ].repairPrice`
`Items[${activeWoItemIndex}].outsideServices[${activeItemIndex}].repairPrice`
)
"
></gz-currency>
@@ -312,17 +312,17 @@
:disabled="isDeleted"
:label="$ay.t('WorkOrderItemOutsideServiceTrackingNumber')"
:ref="
`Items[${activeWoItemIndex}].outsideServices[ ${activeItemIndex} ].trackingNumber`
`Items[${activeWoItemIndex}].outsideServices[${activeItemIndex}].trackingNumber`
"
:error-messages="
form().serverErrors(
this,
`Items[${activeWoItemIndex}].outsideServices[ ${activeItemIndex} ].trackingNumber`
`Items[${activeWoItemIndex}].outsideServices[${activeItemIndex}].trackingNumber`
)
"
@input="
fieldValueChanged(
`Items[${activeWoItemIndex}].outsideServices[ ${activeItemIndex} ].trackingNumber`
`Items[${activeWoItemIndex}].outsideServices[${activeItemIndex}].trackingNumber`
)
"
></v-text-field>
@@ -361,7 +361,7 @@
]"
@input="
fieldValueChanged(
`Items[${activeWoItemIndex}].outsideServices[ ${activeItemIndex} ].shippingCost`
`Items[${activeWoItemIndex}].outsideServices[${activeItemIndex}].shippingCost`
)
"
></gz-currency>
@@ -401,7 +401,7 @@
]"
@input="
fieldValueChanged(
`Items[${activeWoItemIndex}].outsideServices[ ${activeItemIndex} ].shippingPrice`
`Items[${activeWoItemIndex}].outsideServices[${activeItemIndex}].shippingPrice`
)
"
></gz-currency>
@@ -557,16 +557,16 @@
:error-messages="
form().serverErrors(
this,
`Items[${activeWoItemIndex}].outsideServices[ ${activeItemIndex} ].notes`
`Items[${activeWoItemIndex}].outsideServices[${activeItemIndex}].notes`
)
"
:ref="
`Items[${activeWoItemIndex}].outsideServices[ ${activeItemIndex} ].notes`
`Items[${activeWoItemIndex}].outsideServices[${activeItemIndex}].notes`
"
data-cy="outsideServiceNotes"
@input="
fieldValueChanged(
`Items[${activeWoItemIndex}].outsideServices[ ${activeItemIndex} ].notes`
`Items[${activeWoItemIndex}].outsideServices[${activeItemIndex}].notes`
)
"
auto-grow