Update with feedback
This commit is contained in:
parent
af5f87a6a1
commit
6e76e6e1a7
|
@ -21,12 +21,3 @@ const stateStore = useStateStore();
|
||||||
</QPage>
|
</QPage>
|
||||||
</QPageContainer>
|
</QPageContainer>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<i18n>
|
|
||||||
es:
|
|
||||||
Search claim: Buscar reclamación
|
|
||||||
You can search by claim id or customer name: Puedes buscar por id de la reclamación o nombre del cliente
|
|
||||||
Details: Detalles
|
|
||||||
Notes: Notas
|
|
||||||
Action: Acción
|
|
||||||
</i18n>
|
|
||||||
|
|
|
@ -126,7 +126,7 @@ function exprBuilder(param, value) {
|
||||||
</QIcon>
|
</QIcon>
|
||||||
</div>
|
</div>
|
||||||
</QItem>
|
</QItem>
|
||||||
<QItem>
|
<QItem class="q-mt-md">
|
||||||
<QItemSection>
|
<QItemSection>
|
||||||
<VnSelectFilter
|
<VnSelectFilter
|
||||||
:label="t('params.type')"
|
:label="t('params.type')"
|
||||||
|
@ -134,6 +134,9 @@ function exprBuilder(param, value) {
|
||||||
:options="typeList"
|
:options="typeList"
|
||||||
option-value="id"
|
option-value="id"
|
||||||
option-label="name"
|
option-label="name"
|
||||||
|
dense
|
||||||
|
outlined
|
||||||
|
rounded
|
||||||
emit-value
|
emit-value
|
||||||
use-input
|
use-input
|
||||||
:disable="!selectedCategoryFk"
|
:disable="!selectedCategoryFk"
|
||||||
|
|
|
@ -58,7 +58,7 @@ const dialog = ref(null);
|
||||||
/>
|
/>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<div class="price">
|
<div class="price">
|
||||||
<p>{{ item.available }} to {{ item.price }}</p>
|
<p>{{ item.available }} {{ t('to') }} {{ item.price }}</p>
|
||||||
<QIcon name="add_circle" class="icon">
|
<QIcon name="add_circle" class="icon">
|
||||||
<QTooltip>{{ t('globals.add') }}</QTooltip>
|
<QTooltip>{{ t('globals.add') }}</QTooltip>
|
||||||
<QPopupProxy ref="dialog">
|
<QPopupProxy ref="dialog">
|
||||||
|
@ -176,7 +176,9 @@ const dialog = ref(null);
|
||||||
</style>
|
</style>
|
||||||
<i18n>
|
<i18n>
|
||||||
es:
|
es:
|
||||||
|
to: to
|
||||||
price-kg: Precio por Kg
|
price-kg: Precio por Kg
|
||||||
en:
|
en:
|
||||||
|
to: hasta
|
||||||
price-kg: Price per Kg
|
price-kg: Price per Kg
|
||||||
</i18n>
|
</i18n>
|
||||||
|
|
|
@ -50,16 +50,14 @@ async function remove() {
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<i18n>
|
<i18n>
|
||||||
{
|
en:
|
||||||
"en": {
|
deleteOrder: Delete order,
|
||||||
"deleteOrder": "Delete order",
|
confirmDeletion: Confirm deletion,
|
||||||
"confirmDeletion": "Confirm deletion",
|
confirmDeletionMessage: Are you sure you want to delete this order?
|
||||||
"confirmDeletionMessage": "Are you sure you want to delete this order?"
|
|
||||||
},
|
es:
|
||||||
"es": {
|
deleteOrder: Eliminar pedido,
|
||||||
"deleteOrder": "Eliminar pedido",
|
confirmDeletion: Confirmar eliminación,
|
||||||
"confirmDeletion": "Confirmar eliminación",
|
confirmDeletionMessage: Seguro que quieres eliminar este pedido?
|
||||||
"confirmDeletionMessage": "Seguro que quieres eliminar este pedido?"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</i18n>
|
</i18n>
|
||||||
|
|
|
@ -5,6 +5,7 @@ import FetchData from 'components/FetchData.vue';
|
||||||
import VnFilterPanel from 'src/components/ui/VnFilterPanel.vue';
|
import VnFilterPanel from 'src/components/ui/VnFilterPanel.vue';
|
||||||
import VnSelectFilter from 'components/common/VnSelectFilter.vue';
|
import VnSelectFilter from 'components/common/VnSelectFilter.vue';
|
||||||
import VnInputDate from "components/common/VnInputDate.vue";
|
import VnInputDate from "components/common/VnInputDate.vue";
|
||||||
|
import VnInput from "components/common/VnInput.vue";
|
||||||
|
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
|
@ -58,10 +59,13 @@ const sourceList = ref(null);
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template #body="{ params }">
|
<template #body="{ params }">
|
||||||
<QList dense>
|
<QList id="orderFilter" dense>
|
||||||
<QItem>
|
<QItem>
|
||||||
<QItemSection>
|
<QItemSection>
|
||||||
<QInput
|
<VnInput
|
||||||
|
dense
|
||||||
|
outlined
|
||||||
|
rounded
|
||||||
:label="t('customerId')"
|
:label="t('customerId')"
|
||||||
v-model="params.clientFk"
|
v-model="params.clientFk"
|
||||||
lazy-rules
|
lazy-rules
|
||||||
|
@ -69,7 +73,7 @@ const sourceList = ref(null);
|
||||||
<template #prepend>
|
<template #prepend>
|
||||||
<QIcon name="badge" size="sm"></QIcon>
|
<QIcon name="badge" size="sm"></QIcon>
|
||||||
</template>
|
</template>
|
||||||
</QInput>
|
</VnInput>
|
||||||
</QItemSection>
|
</QItemSection>
|
||||||
</QItem>
|
</QItem>
|
||||||
<QItem>
|
<QItem>
|
||||||
|
@ -80,6 +84,9 @@ const sourceList = ref(null);
|
||||||
:options="agencyList"
|
:options="agencyList"
|
||||||
option-value="id"
|
option-value="id"
|
||||||
option-label="name"
|
option-label="name"
|
||||||
|
dense
|
||||||
|
outlined
|
||||||
|
rounded
|
||||||
emit-value
|
emit-value
|
||||||
map-options
|
map-options
|
||||||
use-input
|
use-input
|
||||||
|
@ -98,6 +105,9 @@ const sourceList = ref(null);
|
||||||
:options="salesPersonList"
|
:options="salesPersonList"
|
||||||
option-value="id"
|
option-value="id"
|
||||||
option-label="name"
|
option-label="name"
|
||||||
|
dense
|
||||||
|
outlined
|
||||||
|
rounded
|
||||||
emit-value
|
emit-value
|
||||||
map-options
|
map-options
|
||||||
use-input
|
use-input
|
||||||
|
@ -123,22 +133,31 @@ const sourceList = ref(null);
|
||||||
<QItemSection>
|
<QItemSection>
|
||||||
<VnInputDate
|
<VnInputDate
|
||||||
v-model="params.from"
|
v-model="params.from"
|
||||||
:label="t('fromLanded')" />
|
:label="t('fromLanded')"
|
||||||
|
dense
|
||||||
|
outlined
|
||||||
|
rounded />
|
||||||
</QItemSection>
|
</QItemSection>
|
||||||
</QItem>
|
</QItem>
|
||||||
<QItem>
|
<QItem>
|
||||||
<QItemSection>
|
<QItemSection>
|
||||||
<VnInputDate
|
<VnInputDate
|
||||||
v-model="params.to"
|
v-model="params.to"
|
||||||
:label="t('toLanded')" />
|
:label="t('toLanded')"
|
||||||
|
dense
|
||||||
|
outlined
|
||||||
|
rounded />
|
||||||
</QItemSection>
|
</QItemSection>
|
||||||
</QItem>
|
</QItem>
|
||||||
<QItem>
|
<QItem>
|
||||||
<QItemSection>
|
<QItemSection>
|
||||||
<QInput
|
<VnInput
|
||||||
:label="t('orderId')"
|
:label="t('orderId')"
|
||||||
v-model="params.orderFk"
|
v-model="params.orderFk"
|
||||||
lazy-rules
|
lazy-rules
|
||||||
|
dense
|
||||||
|
outlined
|
||||||
|
rounded
|
||||||
/>
|
/>
|
||||||
</QItemSection>
|
</QItemSection>
|
||||||
</QItem>
|
</QItem>
|
||||||
|
@ -152,6 +171,9 @@ const sourceList = ref(null);
|
||||||
emit-value
|
emit-value
|
||||||
map-options
|
map-options
|
||||||
use-input
|
use-input
|
||||||
|
dense
|
||||||
|
outlined
|
||||||
|
rounded
|
||||||
:input-debounce="0"
|
:input-debounce="0"
|
||||||
/>
|
/>
|
||||||
</QItemSection>
|
</QItemSection>
|
||||||
|
@ -190,6 +212,14 @@ const sourceList = ref(null);
|
||||||
</VnFilterPanel>
|
</VnFilterPanel>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<style lang="scss">
|
||||||
|
#orderFilter {
|
||||||
|
.q-item {
|
||||||
|
padding-top: 8px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
<i18n>
|
<i18n>
|
||||||
en:
|
en:
|
||||||
params:
|
params:
|
||||||
|
|
Loading…
Reference in New Issue