This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user