This commit is contained in:
2021-05-26 21:37:24 +00:00
parent 31451efde0
commit 1eca2968de
2 changed files with 67 additions and 55 deletions

View File

@@ -396,7 +396,7 @@
<v-col
cols="12"
v-if="
pvm.subRights.tasks.visible &&
pvm.subRights.parts.visible &&
form().showMe(this, 'WorkOrderItemPartList')
"
>
@@ -409,7 +409,21 @@
/>
</v-col>
<!-- //todo WorkOrderItemPartRequestList here -->
<v-col
cols="12"
v-if="
pvm.subRights.partRequests.visible &&
form().showMe(this, 'WorkOrderItemPartRequestList')
"
>
<GzWoItemPartRequests
v-model="value"
:pvm="pvm"
:active-wo-item-index="activeItemIndex"
data-cy="woItemPartRequests"
@change="$emit('change')"
/>
</v-col>
<v-col
cols="12"
@@ -473,6 +487,7 @@ import GzWoItemTravels from "../components/work-order-item-travels.vue";
import GzWoItemExpenses from "../components/work-order-item-expenses.vue";
import GzWoItemTasks from "../components/work-order-item-tasks.vue";
import GzWoItemParts from "../components/work-order-item-parts.vue";
import GzWoItemPartRequests from "../components/work-order-item-part-requests.vue";
export default {
components: {
@@ -481,7 +496,8 @@ export default {
GzWoItemLabors,
GzWoItemTravels,
GzWoItemTasks,
GzWoItemParts
GzWoItemParts,
GzWoItemPartRequests
},
created() {
this.setDefaultView();