This commit is contained in:
@@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user