This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -226,6 +226,12 @@ export default {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
},
|
||||
woItemCount: function() {
|
||||
if (!this.obj.items) {
|
||||
return 0;
|
||||
}
|
||||
return this.obj.items.length;
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
Reference in New Issue
Block a user