forked from verdnatura/salix-front
refs #6321 fix: comments
This commit is contained in:
parent
cf0454669a
commit
a5350f686d
|
@ -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',
|
||||
},
|
||||
},
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue