This commit is contained in:
2021-04-15 21:05:29 +00:00
parent cb3ea49a32
commit bfeaed4635
4 changed files with 24 additions and 11 deletions

View File

@@ -52,11 +52,6 @@
</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="
@@ -187,7 +182,9 @@ export default {
}
},
itemRowClasses: function(item) {
if (this.form().childRowHasError(this, "ScheduledUsers", item.index)) {
//"Items[3].scheduledUsers[1].
const path = `Items[${this.activeWoItemIndex}].ScheduledUsers[${item.index}].`;
if (this.form().childRowHasError(this, path)) {
return "font-weight-black font-italic error--text";
}
}

View File

@@ -216,7 +216,8 @@ export default {
}
},
itemRowClasses: function(item) {
if (this.form().childRowHasError(this, "Items", item.index)) {
const path = `Items[${item.index}].`;
if (this.form().childRowHasError(this, path)) {
return "font-weight-black font-italic error--text";
}
}