This commit is contained in:
2021-05-07 23:10:21 +00:00
parent dd631f830e
commit d59f467f7e
3 changed files with 44 additions and 8 deletions

View File

@@ -302,12 +302,7 @@ todo: many biz objects are not using new PUT methodology
CURRENTLY DOING:
TODO: BUGBUG: somehow woitemscheduled users are disappearing!!!!
I'm guessing the woitem is being saved without it's child collection set so it erases it
This may be a side effect of the partial save code not anticipated
Need to reliably make this happen to fix it
sched user
@@ -337,7 +332,12 @@ TODO: Sequence field sb hidden by default, most won't want it I'm guessing
it's got an overwhelming number of fields in it,
really will need that simple or complex mode trial data seeding feature talked about
TODO: Seeder has non service users set on scheduled user records (like head office etc)
it doesn't crash but makes no sense logically
TODO: if keep seeing slowdown typing in large text fields maybe check if it's running rules endlessly and slowing things down that way
profile?
a timer that delays processing until typing stops??

View File

@@ -177,6 +177,42 @@
"
></gz-decimal>
</v-col>
<v-col
v-if="form().showMe(this, 'WorkOrderItemScheduledUserUserID')"
cols="12"
sm="6"
lg="4"
xl="3"
>
<gz-pick-list
:aya-type="$ay.ayt().User"
variant="tech"
:show-edit-icon="true"
v-model="
value.items[activeWoItemIndex].scheduledUsers[activeItemIndex]
.userId
"
:readonly="formState.readOnly || isDeleted"
:disabled="isDeleted"
:label="$ay.t('WorkOrderItemScheduledUserUserID')"
:ref="
`Items[${activeWoItemIndex}].scheduledUsers[${activeItemIndex}].userId`
"
data-cy="scheduledUsers.userid"
:error-messages="
form().serverErrors(
this,
`Items[${activeWoItemIndex}].scheduledUsers[${activeItemIndex}].userId`
)
"
@input="
fieldValueChanged(
`Items[${activeWoItemIndex}].scheduledUsers[${activeItemIndex}].userId`
)
"
></gz-pick-list>
</v-col>
</template>
</div>
</template>

View File

@@ -331,7 +331,7 @@
<v-col v-if="form().showMe(this, 'Items.WorkOrderItemWiki')" cols="12">
<gz-wiki
:aya-type="$ay.ayt.WorkOrderItem"
:aya-type="$ay.ayt().WorkOrderItem"
:aya-id="value.id"
:ref="`items[${activeItemIndex}].wiki`"
v-model="value.items[activeItemIndex].wiki"
@@ -348,7 +348,7 @@
>
<gz-attachments
:readonly="formState.readOnly"
:aya-type="$ay.ayt.WorkOrderItem"
:aya-type="$ay.ayt().WorkOrderItem"
:aya-id="value.items[activeItemIndex].id"
></gz-attachments
></v-col>