This commit is contained in:
2021-03-16 22:12:44 +00:00
parent 6fadcabe81
commit 9ffa94c6a7
2 changed files with 9 additions and 4 deletions

View File

@@ -19,7 +19,7 @@
</v-col>
<!-- ################################ PARTS ############################### -->
<v-col cols="12" sm="6" class="mb-10">
<v-col cols="12" class="mb-10">
<span class="text-subtitle-2"> {{ $ay.t("PartList") }}</span
><v-btn large icon @click="addItem()">
<v-icon small color="primary">$ayiPlus</v-icon>
@@ -39,7 +39,11 @@
</tr>
</thead>
<tbody>
<tr v-for="(item, index) in obj.items" :key="item.Id">
<tr
v-for="(item, index) in obj.items"
:key="item.Id"
:class="form().childRowErrorClass(thisVm(), 'Items', index)"
>
<td class="text-left">
{{ item.partViz }}
</td>
@@ -481,6 +485,9 @@ export default {
form() {
return window.$gz.form;
},
thisVm() {
return this;
},
fieldValueChanged(ref) {
if (
this.formState.ready &&