This commit is contained in:
2021-04-19 14:51:11 +00:00
parent 5ad8ea7fee
commit ac9c21adf1
3 changed files with 17 additions and 7 deletions

View File

@@ -71,7 +71,11 @@ todo: gzdecimal triggering dirty just by clicking into and out of a field witha
also, it sometimes shows without the decimal then with the decimal for editing then without, it's crazy
the decimal thing is probbly what's triggering the dirty change.
saw this when developing the wo form and testing scheduled users estimated qty field
todo: apierror showing in errorbox on validation error
this is too technical looking, needs to be cleaner for end users
maybe even a summary of errors for big forms showing property names and errors?
or at least say something like fields have errors or somesuch to guide them down into the form
small forms it's obvious but wo it's a bit ...actually still obvious, maybe just a cleaner line of text without the code looking stuff like "apiError" or whatever it shows
todo: generateMenu called on forms redundantly?
called for getdata, but also called in created in wrong place i.e. always rather than just when it's not a getdata situation due to already existing
todo: select list templates under global is offering types that don't6 have select lists like memo etc
@@ -243,9 +247,7 @@ CURRENTLY DOING:
OVERALL
- double check mobile format view is still ok with errors and all
- Error messages should display correctly both in alert box and in each item's controls
- Decide on and implement "MARKED FOR DELETE" text that shows in sub items, it's just scaffolded in right now
perhaps a big red trashcan is adequate?? Although it doesn't really convey marked so much as being a control people will try to click on
- Test out role rights, login as various roles and ensure it works as expected

View File

@@ -36,7 +36,7 @@
<template v-if="showTable">
<!-- ################################ SCHEDULED USERS TABLE ############################### -->
<v-col cols="12">
<v-col cols="12" class="mb-10">
<v-data-table
:headers="headerList"
:items="itemList"

View File

@@ -37,7 +37,7 @@
<template v-if="showTable">
<!-- ################################ WORK ORDER ITEMS TABLE ############################### -->
<v-col cols="12">
<v-col cols="12" class="mb-10">
<v-data-table
:headers="headerList"
:items="itemList"
@@ -59,7 +59,15 @@
</v-col>
</template>
<template v-if="activeItemIndex != null">
<h1 v-if="isDeleted">MARKED FOR DELETE</h1>
<v-btn
v-if="canDelete && isDeleted"
large
@click="unDeleteItem"
color="primary"
>{{ $ay.t("Undelete")
}}<v-icon right large>$ayiTrashRestoreAlt</v-icon></v-btn
>
<v-col v-if="form().showMe(this, 'WorkOrderItemSummary')" cols="12">
<v-textarea
v-model="value.items[activeItemIndex].notes"