This commit is contained in:
2021-04-03 00:05:36 +00:00
parent 1c58bc5b8d
commit 63d758e75b
2 changed files with 11 additions and 3 deletions

View File

@@ -6,11 +6,13 @@
<span class="text-caption"
>[selected index: {{ pvm.selectedItemIndex }}]</span
>
<template v-if="value.items && value.items.length > 1">
<h3>table of woitems here</h3>
itemcount:{{ value.items.length }}
<template v-if="pvm.woItemCount > 1">
<!-- Workorder item table here -->
</template>
<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
v-model="value"
:pvm="pvm"

View File

@@ -226,6 +226,12 @@ export default {
return true;
}
return false;
},
woItemCount: function() {
if (!this.obj.items) {
return 0;
}
return this.obj.items.length;
}
},
methods: {