Add ItemDescriptor to EntryBuys table
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
William Buezas 2024-02-05 12:13:21 -03:00
parent 28790705ea
commit 0525f5fdd8
1 changed files with 11 additions and 2 deletions

View File

@ -2,6 +2,7 @@
import { ref, computed } from 'vue';
import { useRoute, useRouter } from 'vue-router';
import { useI18n } from 'vue-i18n';
import { QBtn } from 'quasar';
import VnPaginate from 'src/components/ui/VnPaginate.vue';
import FetchData from 'src/components/FetchData.vue';
@ -9,6 +10,7 @@ import VnSelectFilter from 'components/common/VnSelectFilter.vue';
import VnInput from 'src/components/common/VnInput.vue';
import FetchedTags from 'components/ui/FetchedTags.vue';
import VnConfirm from 'components/ui/VnConfirm.vue';
import ItemDescriptorProxy from 'src/pages/Item/Card/ItemDescriptorProxy.vue';
import { useQuasar } from 'quasar';
import { useStateStore } from 'stores/useStateStore';
@ -29,8 +31,11 @@ const packagingsOptions = ref(null);
const originalRowDataCopy = ref(null);
const tableColumnComponents = {
item: {
component: 'span',
props: () => {},
component: QBtn,
props: () => ({
color: 'blue',
flat: true,
}),
event: () => ({}),
},
quantity: {
@ -368,6 +373,10 @@ const showLockIcon = (groupingMode, mode) => {
>
{{ col.value }}
</template>
<ItemDescriptorProxy
v-if="col.name === 'item'"
:id="props.row.id"
/>
</component>
</QTd>
</QTr>