This commit is contained in:
@@ -6,11 +6,13 @@
|
|||||||
<span class="text-caption"
|
<span class="text-caption"
|
||||||
>[selected index: {{ pvm.selectedItemIndex }}]</span
|
>[selected index: {{ pvm.selectedItemIndex }}]</span
|
||||||
>
|
>
|
||||||
<template v-if="value.items && value.items.length > 1">
|
<template v-if="pvm.woItemCount > 1">
|
||||||
<h3>table of woitems here</h3>
|
<!-- Workorder item table here -->
|
||||||
itemcount:{{ value.items.length }}
|
|
||||||
</template>
|
</template>
|
||||||
<template v-if="pvm.hasSelectedWoItem">
|
<template v-if="pvm.hasSelectedWoItem">
|
||||||
|
<!-- Workorder item "header" form here ??table shows same info as below in form, maybe table is not everything in the columns but just enough to select?? -->
|
||||||
|
<!-- Has controls to navigate to other woitems so no need to go up and click on table if don't want to or it's huge -->
|
||||||
|
|
||||||
<GzWoItemScheduledUsers
|
<GzWoItemScheduledUsers
|
||||||
v-model="value"
|
v-model="value"
|
||||||
:pvm="pvm"
|
:pvm="pvm"
|
||||||
|
|||||||
@@ -226,6 +226,12 @@ export default {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
},
|
||||||
|
woItemCount: function() {
|
||||||
|
if (!this.obj.items) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
return this.obj.items.length;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
Reference in New Issue
Block a user