refs #6321 fix: comments
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Javier Segarra 2024-04-15 12:28:01 +02:00
parent cf0454669a
commit a5350f686d
2 changed files with 4 additions and 17 deletions

View File

@ -511,7 +511,7 @@ export default {
supplier: 'Supplier',
colour: 'Colour',
size: 'Size',
origen: 'Origen',
origen: 'Origin',
value: 'Negative',
itemFk: 'Article',
warehouseFk: 'Warehouse',
@ -542,8 +542,8 @@ export default {
quantity: 'Quantity',
alertLevelCode: 'Group state',
state: 'State',
peticionCompra: 'Buy request',
isRookie: 'New client',
peticionCompra: 'Ticket request',
isRookie: 'Is rookie',
turno: 'Turn line',
},
},

View File

@ -6,9 +6,6 @@ import FetchData from 'components/FetchData.vue';
import VnFilterPanel from 'src/components/ui/VnFilterPanel.vue';
import VnInput from 'src/components/common/VnInput.vue';
// import toDateString from 'filters/toDateString';
// import VnInputDate from 'components/common/VnInputDate.vue';
const { t } = useI18n();
const props = defineProps({
dataKey: {
@ -17,25 +14,15 @@ const props = defineProps({
},
});
// const from = Date.vnNew();
const to = Date.vnNew();
to.setDate(to.getDate() + 1);
const defaultParams = {
// from: toDateString(from),
// to: toDateString(to),
};
const warehouses = ref();
</script>
<template>
<FetchData url="Warehouses" @on-fetch="(data) => (warehouses = data)" auto-load />
<VnFilterPanel
:data-key="props.dataKey"
:params="defaultParams"
:search-button="true"
>
<VnFilterPanel :data-key="props.dataKey" :search-button="true">
<template #tags="{ tag, formatFn }">
<div class="q-gutter-x-xs">
<strong>{{ t(`ticket.negative.${tag.label}`) }}: </strong>