This commit is contained in:
2021-05-27 17:22:15 +00:00
parent 1db8925484
commit 609a2a99f2
3 changed files with 59 additions and 12 deletions

View File

@@ -321,7 +321,7 @@
:form-key="formCustomTemplateKey"
:readonly="formState.readOnly"
:parent-v-m="this"
key-start-with="Items.WorkOrderItemCustom"
key-start-with="WorkOrderItemCustom"
:ref="`items[${activeItemIndex}].customFields`"
data-cy="customFields"
:error-messages="
@@ -360,7 +360,21 @@
GRANDCHILDREN
############################################################################ -->
<!-- //todo WorkOrderItemUnitList here -->
<v-col
cols="12"
v-if="
pvm.subRights.scheduledUsers.visible &&
form().showMe(this, 'WorkOrderItemUnitList')
"
>
<GzWoItemUnits
v-model="value"
:pvm="pvm"
:active-wo-item-index="activeItemIndex"
data-cy="woItemUnits"
@change="$emit('change')"
/>
</v-col>
<v-col
cols="12"
@@ -497,6 +511,8 @@
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
/* XXXeslint-disable */
////////////////////////////////////////////////////////////////////////////////////////////////////////////
import GzWoItemUnits from "../components/work-order-item-units.vue";
import GzWoItemScheduledUsers from "../components/work-order-item-scheduled-users.vue";
import GzWoItemLabors from "../components/work-order-item-labors.vue";
import GzWoItemTravels from "../components/work-order-item-travels.vue";
@@ -508,6 +524,7 @@ import GzWoItemLoans from "../components/work-order-item-loans.vue";
export default {
components: {
GzWoItemUnits,
GzWoItemScheduledUsers,
GzWoItemExpenses,
GzWoItemLabors,