This commit is contained in:
@@ -380,6 +380,7 @@ TODO: V7 features on wo I haven't coded yet
|
|||||||
|
|
||||||
bugbug: empty collection, save, add new item but don't save then click on delete and save and it all goes weird
|
bugbug: empty collection, save, add new item but don't save then click on delete and save and it all goes weird
|
||||||
on save, it seems to be trying to save the newly added but deleted record when it should just remove it and get on with it
|
on save, it seems to be trying to save the newly added but deleted record when it should just remove it and get on with it
|
||||||
|
bugbug: deleting task error at server, steps were to add a task but not fill it out, then add a task group, then click on delete the empty task then save
|
||||||
|
|
||||||
todo: Outside services list section header only one with word "List" in it instead of plural form outside services
|
todo: Outside services list section header only one with word "List" in it instead of plural form outside services
|
||||||
todo: workorderitemlabor new record stop date sb +1 hour
|
todo: workorderitemlabor new record stop date sb +1 hour
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
</v-menu>
|
</v-menu>
|
||||||
</v-col>
|
</v-col>
|
||||||
|
|
||||||
<template>
|
<template v-if="hasData">
|
||||||
<!-- ################################ WORK ORDER ITEMS TABLE ############################### -->
|
<!-- ################################ WORK ORDER ITEMS TABLE ############################### -->
|
||||||
<v-col cols="12" class="mb-10">
|
<v-col cols="12" class="mb-10">
|
||||||
<v-data-table
|
<v-data-table
|
||||||
@@ -84,7 +84,7 @@
|
|||||||
</v-data-table>
|
</v-data-table>
|
||||||
</v-col>
|
</v-col>
|
||||||
</template>
|
</template>
|
||||||
<template v-if="hasData">
|
<template v-if="hasData && hasSelection">
|
||||||
<v-btn
|
<v-btn
|
||||||
v-if="canDelete && isDeleted"
|
v-if="canDelete && isDeleted"
|
||||||
large
|
large
|
||||||
@@ -819,9 +819,11 @@ and it's probably not a big list to fill anyway
|
|||||||
return this.pvm.formCustomTemplateKey;
|
return this.pvm.formCustomTemplateKey;
|
||||||
},
|
},
|
||||||
hasData: function() {
|
hasData: function() {
|
||||||
|
return this.value.items.length > 0;
|
||||||
|
},
|
||||||
|
hasSelection: function() {
|
||||||
return this.activeItemIndex != null;
|
return this.activeItemIndex != null;
|
||||||
},
|
},
|
||||||
|
|
||||||
canAdd: function() {
|
canAdd: function() {
|
||||||
return (
|
return (
|
||||||
!this.pvm.formState.readOnly &&
|
!this.pvm.formState.readOnly &&
|
||||||
|
|||||||
Reference in New Issue
Block a user