From 8db1b0f9acd79f53c493757aae5fb6e78b4cc3e7 Mon Sep 17 00:00:00 2001 From: Kevin Martinez Date: Mon, 11 Dec 2023 13:10:28 -0400 Subject: [PATCH] Create Input date --- src/components/common/VnInputDate.vue | 76 ++++++++++++ src/pages/Claim/Card/ClaimBasicData.vue | 29 +---- src/pages/Claim/ClaimFilter.vue | 29 +---- src/pages/Customer/CustomerPaymentsFilter.vue | 71 +---------- src/pages/InvoiceOut/InvoiceOutFilter.vue | 112 ++---------------- src/pages/InvoiceOut/InvoiceOutGlobalForm.vue | 64 ++-------- .../InvoiceOut/InvoiceOutNegativeBases.vue | 98 +++++---------- src/pages/Route/Cmr/CmrFilter.vue | 33 +----- src/pages/Ticket/TicketFilter.vue | 64 +--------- src/pages/Travel/ExtraCommunityFilter.vue | 63 ++-------- 10 files changed, 150 insertions(+), 489 deletions(-) create mode 100644 src/components/common/VnInputDate.vue diff --git a/src/components/common/VnInputDate.vue b/src/components/common/VnInputDate.vue new file mode 100644 index 000000000..a8e0d4a43 --- /dev/null +++ b/src/components/common/VnInputDate.vue @@ -0,0 +1,76 @@ + + + + + diff --git a/src/pages/Claim/Card/ClaimBasicData.vue b/src/pages/Claim/Card/ClaimBasicData.vue index bd46d1ad7..0f067f281 100644 --- a/src/pages/Claim/Card/ClaimBasicData.vue +++ b/src/pages/Claim/Card/ClaimBasicData.vue @@ -7,6 +7,7 @@ import { useSession } from 'src/composables/useSession'; import FetchData from 'components/FetchData.vue'; import FormModel from 'components/FormModel.vue'; import VnRow from 'components/ui/VnRow.vue'; +import VnInputDate from "components/common/VnInputDate.vue"; const route = useRoute(); const { t } = useI18n(); @@ -108,33 +109,7 @@ const statesFilter = { />
- - - +
diff --git a/src/pages/Claim/ClaimFilter.vue b/src/pages/Claim/ClaimFilter.vue index 8d1117f15..c9716074d 100644 --- a/src/pages/Claim/ClaimFilter.vue +++ b/src/pages/Claim/ClaimFilter.vue @@ -4,6 +4,7 @@ import { useI18n } from 'vue-i18n'; import FetchData from 'components/FetchData.vue'; import VnFilterPanel from 'src/components/ui/VnFilterPanel.vue'; import VnSelectFilter from 'components/common/VnSelectFilter.vue'; +import VnInputDate from 'components/common/VnInputDate.vue'; const { t } = useI18n(); const props = defineProps({ @@ -150,33 +151,7 @@ const states = ref(); --> - - - + diff --git a/src/pages/Customer/CustomerPaymentsFilter.vue b/src/pages/Customer/CustomerPaymentsFilter.vue index 56fb52d79..7ee584d7f 100644 --- a/src/pages/Customer/CustomerPaymentsFilter.vue +++ b/src/pages/Customer/CustomerPaymentsFilter.vue @@ -1,6 +1,7 @@