Apply Entry descriptor to extra community table
This commit is contained in:
parent
3671a7b449
commit
7753c365e4
|
@ -9,6 +9,7 @@ import TravelDescriptorProxy from 'src/pages/Travel/Card/TravelDescriptorProxy.v
|
||||||
import VnSearchbar from 'src/components/ui/VnSearchbar.vue';
|
import VnSearchbar from 'src/components/ui/VnSearchbar.vue';
|
||||||
import ExtraCommunityFilter from './ExtraCommunityFilter.vue';
|
import ExtraCommunityFilter from './ExtraCommunityFilter.vue';
|
||||||
import VnInput from 'src/components/common/VnInput.vue';
|
import VnInput from 'src/components/common/VnInput.vue';
|
||||||
|
import EntryDescriptorProxy from '../Entry/Card/EntryDescriptorProxy.vue';
|
||||||
|
|
||||||
import { useStateStore } from 'stores/useStateStore';
|
import { useStateStore } from 'stores/useStateStore';
|
||||||
import { toCurrency } from 'src/filters';
|
import { toCurrency } from 'src/filters';
|
||||||
|
@ -231,7 +232,7 @@ const navigateToTravelId = (id) => {
|
||||||
};
|
};
|
||||||
|
|
||||||
const stopEventPropagation = (event, col) => {
|
const stopEventPropagation = (event, col) => {
|
||||||
if (!['ref', 'id', 'supplier'].includes(col.name)) return;
|
if (!['ref', 'id', 'cargoSupplierNickname'].includes(col.name)) return;
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
};
|
};
|
||||||
|
@ -359,10 +360,9 @@ onMounted(async () => {
|
||||||
:props="props"
|
:props="props"
|
||||||
class="secondary-row"
|
class="secondary-row"
|
||||||
>
|
>
|
||||||
<QTd
|
<QTd>
|
||||||
><QBtn flat color="blue" class="col-content">{{ entry.id }}</QBtn>
|
<QBtn flat color="blue" class="col-content">{{ entry.id }} </QBtn>
|
||||||
<!-- Cuando se cree el modulo relacionado a entries, crear su descriptor y colocarlo acá -->
|
<EntryDescriptorProxy :id="entry.id" />
|
||||||
<!-- <EntryDescriptorProxy :id="entry.id"/> -->
|
|
||||||
</QTd>
|
</QTd>
|
||||||
<QTd
|
<QTd
|
||||||
><QBtn flat color="blue" class="col-content">{{
|
><QBtn flat color="blue" class="col-content">{{
|
||||||
|
|
Loading…
Reference in New Issue