This commit is contained in:
2021-05-07 19:55:24 +00:00
parent 53766af9e4
commit 6eda774b7f
2 changed files with 9 additions and 8 deletions

View File

@@ -301,11 +301,7 @@ todo: many biz objects are not using new PUT methodology
CURRENTLY DOING: woitem outstanding: custom fields, attachments, wiki
NEXT: custom fields control in wo item error is applying to all items not just the line in question
also not displahying error style in table of woitems
To illustrate, set a field required like woitemcustom2, then empty it and the grid should show an error in that line (or all lines if all not set)
backend code needs fixing to work with array style notation like the other validate code does looking for . separator and report back accordingly
CURRENTLY DOING:
todo: Test hiding woitem custom wiki attach
test errors in them??

View File

@@ -297,7 +297,7 @@
></v-checkbox>
</v-col>
<v-col v-if="form().showMe(this, 'WorkOrderItemTags')" cols="12">
<v-col v-if="form().showMe(this, 'Items.WorkOrderItemTags')" cols="12">
<gz-tag-picker
v-model="value.items[activeItemIndex].tags"
:readonly="formState.readOnly"
@@ -329,7 +329,7 @@
></gz-custom-fields>
</v-col>
<v-col v-if="form().showMe(this, 'WorkOrderItemWiki')" cols="12">
<v-col v-if="form().showMe(this, 'Items.WorkOrderItemWiki')" cols="12">
<gz-wiki
:aya-type="$ay.ayt.WorkOrderItem"
:aya-id="value.id"
@@ -340,7 +340,12 @@
></gz-wiki
></v-col>
<v-col v-if="form().showMe(this, 'Attachments') && value.id" cols="12">
<v-col
v-if="
form().showMe(this, 'Items.WorkOrderItemAttachments') && value.id
"
cols="12"
>
<gz-attachments
:readonly="formState.readOnly"
:aya-type="$ay.ayt.WorkOrderItem"