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

@@ -58,8 +58,6 @@ todo: v8 migrate additions
## CLIENT MISC ITEMS
todo: partassembly form should use an edit dialog rather than edit in place in the grid as it's ugly and clunky and outside of the standard that will be used in PO and wo etc
copy from Contract form and use it's technique for immediate viz value sync event
todo: Parts, fractional values?? should anywhere a quantity of part show be a decimal control and if so then should show no trailing zeros like v7?
The correct thing to do is ensure decimal numbers if entered display localized anywhere so bearing that in mind....

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 &&