refs #6321 fix: comments
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
cf0454669a
commit
a5350f686d
|
@ -511,7 +511,7 @@ export default {
|
||||||
supplier: 'Supplier',
|
supplier: 'Supplier',
|
||||||
colour: 'Colour',
|
colour: 'Colour',
|
||||||
size: 'Size',
|
size: 'Size',
|
||||||
origen: 'Origen',
|
origen: 'Origin',
|
||||||
value: 'Negative',
|
value: 'Negative',
|
||||||
itemFk: 'Article',
|
itemFk: 'Article',
|
||||||
warehouseFk: 'Warehouse',
|
warehouseFk: 'Warehouse',
|
||||||
|
@ -542,8 +542,8 @@ export default {
|
||||||
quantity: 'Quantity',
|
quantity: 'Quantity',
|
||||||
alertLevelCode: 'Group state',
|
alertLevelCode: 'Group state',
|
||||||
state: 'State',
|
state: 'State',
|
||||||
peticionCompra: 'Buy request',
|
peticionCompra: 'Ticket request',
|
||||||
isRookie: 'New client',
|
isRookie: 'Is rookie',
|
||||||
turno: 'Turn line',
|
turno: 'Turn line',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -6,9 +6,6 @@ import FetchData from 'components/FetchData.vue';
|
||||||
import VnFilterPanel from 'src/components/ui/VnFilterPanel.vue';
|
import VnFilterPanel from 'src/components/ui/VnFilterPanel.vue';
|
||||||
import VnInput from 'src/components/common/VnInput.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 { t } = useI18n();
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
dataKey: {
|
dataKey: {
|
||||||
|
@ -17,25 +14,15 @@ const props = defineProps({
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
// const from = Date.vnNew();
|
|
||||||
const to = Date.vnNew();
|
const to = Date.vnNew();
|
||||||
to.setDate(to.getDate() + 1);
|
to.setDate(to.getDate() + 1);
|
||||||
|
|
||||||
const defaultParams = {
|
|
||||||
// from: toDateString(from),
|
|
||||||
// to: toDateString(to),
|
|
||||||
};
|
|
||||||
|
|
||||||
const warehouses = ref();
|
const warehouses = ref();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<FetchData url="Warehouses" @on-fetch="(data) => (warehouses = data)" auto-load />
|
<FetchData url="Warehouses" @on-fetch="(data) => (warehouses = data)" auto-load />
|
||||||
<VnFilterPanel
|
<VnFilterPanel :data-key="props.dataKey" :search-button="true">
|
||||||
:data-key="props.dataKey"
|
|
||||||
:params="defaultParams"
|
|
||||||
:search-button="true"
|
|
||||||
>
|
|
||||||
<template #tags="{ tag, formatFn }">
|
<template #tags="{ tag, formatFn }">
|
||||||
<div class="q-gutter-x-xs">
|
<div class="q-gutter-x-xs">
|
||||||
<strong>{{ t(`ticket.negative.${tag.label}`) }}: </strong>
|
<strong>{{ t(`ticket.negative.${tag.label}`) }}: </strong>
|
||||||
|
|
Loading…
Reference in New Issue