From 9c1528be796eb59312acbf64be2155081f609a8a Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 6 May 2021 19:28:19 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 13 ++-- ayanova/src/components/work-order-items.vue | 69 ++++++++++++++++++--- 2 files changed, 67 insertions(+), 15 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index f922d09a..9eb1a740 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -301,11 +301,8 @@ todo: many biz objects are not using new PUT methodology -CURRENTLY DOING: +CURRENTLY DOING: woitem fields - TODO: help docs for woitemstatus and woitempriority edit and list forms - - OVERALL @@ -327,10 +324,12 @@ OVERALL ##################################################################### =================== WORKORDER TODO / ON HOLD ======================== -TODO: workorderitemstatus ui links editing -TODO: workorderitempriority UI links editing TODO: Test address / units select alternate when have units working - +TODO: Sequence field sb hidden by default, most won't want it I'm guessing + really need to pin down some default form customization for wo + it's got an overwhelming number of fields in it, + really will need that simple or complex mode trial data seeding feature talked about + diff --git a/ayanova/src/components/work-order-items.vue b/ayanova/src/components/work-order-items.vue index 8b2b7a91..2dc35236 100644 --- a/ayanova/src/components/work-order-items.vue +++ b/ayanova/src/components/work-order-items.vue @@ -114,7 +114,9 @@ :label="$ay.t('Sequence')" ref="sequence" :rules="[form().integerValid(this, 'sequence')]" - :error-messages="form().serverErrors(this, 'sequence')" + :error-messages=" + form().serverErrors(this, `items[${activeItemIndex}].sequence`) + " @input="fieldValueChanged('sequence')" type="number" > @@ -126,7 +128,9 @@ :readonly="formState.readOnly" :disabled="isDeleted" :label="$ay.t('WorkOrderItemTechNotes')" - :error-messages="form().serverErrors(this, 'techNotes')" + :error-messages=" + form().serverErrors(this, `items[${activeItemIndex}].techNotes`) + " ref="techNotes" data-cy="techNotes" @input="fieldValueChanged('techNotes')" @@ -134,6 +138,27 @@ > + + + + - + + + +