From c5927f14c396e7ffd2f45f6b5acbc863725a87d6 Mon Sep 17 00:00:00 2001 From: alexm <alexm@verdnatura.es> Date: Fri, 26 Jul 2024 09:27:38 +0200 Subject: [PATCH] warmFix: rollback VnRow --- src/components/CreateBankEntityForm.vue | 4 ++-- src/components/CreateManualInvoiceForm.vue | 6 ++--- src/components/CreateNewCityForm.vue | 2 +- src/components/CreateNewPostcodeForm.vue | 2 +- src/components/CreateNewProvinceForm.vue | 2 +- src/components/CreateThermographForm.vue | 2 +- src/components/EditPictureForm.vue | 6 ++--- src/components/EditTableCellValueForm.vue | 2 +- src/components/FilterItemForm.vue | 2 +- src/components/FilterTravelForm.vue | 2 +- src/components/RegularizeStockForm.vue | 4 ++-- src/components/TransferInvoiceForm.vue | 21 +++++++++------- src/components/ui/VnRow.vue | 17 ++++--------- src/pages/Account/Alias/AliasCreateForm.vue | 4 ++-- .../Card/AccountMailAliasCreateForm.vue | 2 +- src/pages/Account/Role/Card/RoleBasicData.vue | 6 ++--- src/pages/Account/Role/Card/RoleForm.vue | 4 ++-- .../Account/Role/Card/SubRoleCreateForm.vue | 2 +- src/pages/Claim/Card/ClaimBasicData.vue | 6 ++--- src/pages/Customer/Card/CustomerBasicData.vue | 10 ++++---- .../Customer/Card/CustomerBillingData.vue | 6 ++--- .../Customer/Card/CustomerCreditOpinion.vue | 2 +- .../Customer/Card/CustomerFiscalData.vue | 8 +++---- src/pages/Customer/Card/CustomerUnpaid.vue | 2 +- src/pages/Customer/CustomerCreate.vue | 12 +++++----- .../CustomerDefaulterAddObservation.vue | 2 +- ...stomerNotificationsCampaignConsumption.vue | 4 ++-- .../components/CustomerAddressCreate.vue | 4 ++-- .../components/CustomerAddressEdit.vue | 10 ++++---- .../CustomerCreditContractsCreate.vue | 2 +- .../CustomerFileManagementCreate.vue | 8 +++---- .../components/CustomerFileManagementEdit.vue | 8 +++---- .../components/CustomerGreugeCreate.vue | 4 ++-- .../components/CustomerNewCustomsAgent.vue | 4 ++-- .../components/CustomerNewPayment.vue | 10 ++++---- .../components/CustomerNoteCreate.vue | 2 +- .../components/CustomerRecoverieCreate.vue | 4 ++-- .../components/CustomerSamplesCreate.vue | 2 +- .../Department/Card/DepartmentBasicData.vue | 12 +++++----- src/pages/Entry/Card/EntryBasicData.vue | 12 +++++----- src/pages/Entry/Card/EntryBuysImport.vue | 6 ++--- src/pages/Entry/EntryCreate.vue | 6 ++--- src/pages/Item/Card/CreateGenusForm.vue | 2 +- src/pages/Item/Card/CreateIntrastatForm.vue | 2 +- src/pages/Item/Card/CreateSpecieForm.vue | 2 +- src/pages/Item/Card/ItemBasicData.vue | 10 ++++---- src/pages/Item/Card/ItemBotanical.vue | 2 +- src/pages/Item/ItemCreate.vue | 6 ++--- src/pages/Item/ItemRequestDenyForm.vue | 2 +- src/pages/Item/ItemTypeCreate.vue | 6 ++--- src/pages/ItemType/Card/ItemTypeBasicData.vue | 6 ++--- src/pages/Order/Card/OrderForm.vue | 6 ++--- .../Route/Agency/Card/AgencyWorkcenter.vue | 2 +- src/pages/Route/Card/RouteForm.vue | 24 +++++++++---------- src/pages/Route/Roadmap/RoadmapBasicData.vue | 10 ++++---- src/pages/Shelving/Card/ShelvingForm.vue | 4 ++-- .../Supplier/Card/SupplierAddressesCreate.vue | 6 ++--- .../Card/SupplierAgencyTermCreate.vue | 6 ++--- src/pages/Supplier/Card/SupplierBasicData.vue | 6 ++--- .../Supplier/Card/SupplierBillingData.vue | 4 ++-- .../Supplier/Card/SupplierFiscalData.vue | 14 +++++------ src/pages/Supplier/SupplierCreate.vue | 6 ++--- .../Card/BasicData/TicketBasicDataForm.vue | 6 ++--- src/pages/Ticket/Card/ExpeditionNewTicket.vue | 4 ++-- src/pages/Ticket/Card/TicketCreateRequest.vue | 4 ++-- .../Ticket/Card/TicketCreateServiceType.vue | 2 +- .../Ticket/Card/TicketCreateTracking.vue | 2 +- src/pages/Ticket/Card/TicketDmsImportForm.vue | 2 +- src/pages/Ticket/TicketCreate.vue | 10 ++++---- src/pages/Ticket/TicketList.vue | 6 ++--- src/pages/Travel/Card/TravelBasicData.vue | 8 +++---- .../Travel/Card/TravelThermographsForm.vue | 8 +++---- src/pages/Travel/TravelCreate.vue | 6 ++--- .../Worker/Card/WorkerChangePasswordForm.vue | 4 ++-- src/pages/Worker/Card/WorkerPBX.vue | 2 +- src/pages/Worker/Card/WorkerPda.vue | 2 +- src/pages/Zone/Card/ZoneBasicData.vue | 10 ++++---- src/pages/Zone/Card/ZoneCreateWarehouse.vue | 2 +- .../Zone/Card/ZoneEventInclusionForm.vue | 8 +++---- src/pages/Zone/ZoneCreate.vue | 10 ++++---- 80 files changed, 225 insertions(+), 233 deletions(-) diff --git a/src/components/CreateBankEntityForm.vue b/src/components/CreateBankEntityForm.vue index b2c5226e6..c46ac7752 100644 --- a/src/components/CreateBankEntityForm.vue +++ b/src/components/CreateBankEntityForm.vue @@ -52,7 +52,7 @@ onMounted(async () => { @on-data-saved="onDataSaved" > <template #form-inputs="{ data, validate }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput :label="t('name')" v-model="data.name" @@ -67,7 +67,7 @@ onMounted(async () => { :rules="validate('bankEntity.bic')" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <VnSelect :label="t('country')" diff --git a/src/components/CreateManualInvoiceForm.vue b/src/components/CreateManualInvoiceForm.vue index 1aa95011f..da006e024 100644 --- a/src/components/CreateManualInvoiceForm.vue +++ b/src/components/CreateManualInvoiceForm.vue @@ -59,7 +59,7 @@ const onDataSaved = async (formData, requestResponse) => { <QIcon name="warning" class="fill-icon q-mr-sm" size="md" /> {{ t('Invoicing in progress...') }} </span> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('Ticket')" :options="ticketsOptions" @@ -99,7 +99,7 @@ const onDataSaved = async (formData, requestResponse) => { /> <VnInputDate :label="t('Max date')" v-model="data.maxShipped" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('Serial')" :options="invoiceOutSerialsOptions" @@ -117,7 +117,7 @@ const onDataSaved = async (formData, requestResponse) => { v-model="data.taxArea" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput :label="t('Reference')" type="textarea" diff --git a/src/components/CreateNewCityForm.vue b/src/components/CreateNewCityForm.vue index 45fa61dff..48e76d885 100644 --- a/src/components/CreateNewCityForm.vue +++ b/src/components/CreateNewCityForm.vue @@ -39,7 +39,7 @@ const onDataSaved = (dataSaved) => { @on-data-saved="onDataSaved($event)" > <template #form-inputs="{ data, validate }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput :label="t('Name')" v-model="data.name" diff --git a/src/components/CreateNewPostcodeForm.vue b/src/components/CreateNewPostcodeForm.vue index 25a61a0ca..7ea171e53 100644 --- a/src/components/CreateNewPostcodeForm.vue +++ b/src/components/CreateNewPostcodeForm.vue @@ -91,7 +91,7 @@ const onProvinceCreated = async ({ name }, formData) => { @on-data-saved="onDataSaved" > <template #form-inputs="{ data, validate }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput :label="t('Postcode')" v-model="data.code" diff --git a/src/components/CreateNewProvinceForm.vue b/src/components/CreateNewProvinceForm.vue index 2d626ed99..32a0675eb 100644 --- a/src/components/CreateNewProvinceForm.vue +++ b/src/components/CreateNewProvinceForm.vue @@ -39,7 +39,7 @@ const onDataSaved = (dataSaved) => { @on-data-saved="onDataSaved($event)" > <template #form-inputs="{ data, validate }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput :label="t('Name')" v-model="data.name" diff --git a/src/components/CreateThermographForm.vue b/src/components/CreateThermographForm.vue index 061c47712..65a1c2679 100644 --- a/src/components/CreateThermographForm.vue +++ b/src/components/CreateThermographForm.vue @@ -53,7 +53,7 @@ const onDataSaved = (dataSaved) => { @on-data-saved="onDataSaved($event)" > <template #form-inputs="{ data, validate }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput :label="t('Identifier')" v-model="data.thermographId" diff --git a/src/components/EditPictureForm.vue b/src/components/EditPictureForm.vue index 8a22debda..cd6107aca 100644 --- a/src/components/EditPictureForm.vue +++ b/src/components/EditPictureForm.vue @@ -245,14 +245,14 @@ const makeRequest = async () => { </div> <div class="column"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <QOptionGroup :options="uploadMethodsOptions" type="radio" v-model="uploadMethodSelected" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <QFile v-if="uploadMethodSelected === 'computer'" ref="inputFileRef" @@ -287,7 +287,7 @@ const makeRequest = async () => { placeholder="https://" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('Orientation')" :options="viewportTypes" diff --git a/src/components/EditTableCellValueForm.vue b/src/components/EditTableCellValueForm.vue index 9d56ba738..14709e884 100644 --- a/src/components/EditTableCellValueForm.vue +++ b/src/components/EditTableCellValueForm.vue @@ -82,7 +82,7 @@ const closeForm = () => { <span class="title">{{ t('Edit') }}</span> <span class="countLines">{{ ` ${rows.length} ` }}</span> <span class="title">{{ t('buy(s)') }}</span> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('Field to edit')" :options="fieldsOptions" diff --git a/src/components/FilterItemForm.vue b/src/components/FilterItemForm.vue index 956acb7ea..1cf36deeb 100644 --- a/src/components/FilterItemForm.vue +++ b/src/components/FilterItemForm.vue @@ -151,7 +151,7 @@ const selectItem = ({ id }) => { <QIcon name="close" size="sm" /> </span> <h1 class="title">{{ t('Filter item') }}</h1> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput :label="t('entry.buys.name')" v-model="itemFilterParams.name" /> <VnInput :label="t('entry.buys.size')" v-model="itemFilterParams.size" /> <VnSelect diff --git a/src/components/FilterTravelForm.vue b/src/components/FilterTravelForm.vue index d1d0f5e8f..c84772d9b 100644 --- a/src/components/FilterTravelForm.vue +++ b/src/components/FilterTravelForm.vue @@ -144,7 +144,7 @@ const selectTravel = ({ id }) => { <QIcon name="close" size="sm" /> </span> <h1 class="title">{{ t('Filter travels') }}</h1> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('entry.basicData.agency')" :options="agenciesOptions" diff --git a/src/components/RegularizeStockForm.vue b/src/components/RegularizeStockForm.vue index 4f97033b3..a28e9cbef 100644 --- a/src/components/RegularizeStockForm.vue +++ b/src/components/RegularizeStockForm.vue @@ -49,14 +49,14 @@ const onDataSaved = (data) => { @on-data-saved="onDataSaved($event)" > <template #form-inputs="{ data }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <QInput :label="t('Type the visible quantity')" v-model.number="data.quantity" autofocus /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <VnSelect :label="t('Warehouse')" diff --git a/src/components/TransferInvoiceForm.vue b/src/components/TransferInvoiceForm.vue index f307aa1f4..17c11d87e 100644 --- a/src/components/TransferInvoiceForm.vue +++ b/src/components/TransferInvoiceForm.vue @@ -118,13 +118,13 @@ const makeInvoice = async () => { /> <QDialog ref="dialogRef"> <FormPopup - @on-submit="makeInvoice()" - :title="t('Transfer invoice')" - :custom-submit-button-label="t('Transfer client')" - :default-cancel-button="false" + @on-submit="makeInvoice()" + :title="t('Transfer invoice')" + :custom-submit-button-label="t('Transfer client')" + :default-cancel-button="false" > - <template #form-inputs> - <VnRow class="row q-gutter-md q-mb-md"> + <template #form-inputs> + <VnRow> <VnSelect :label="t('Client')" :options="clientsOptions" @@ -160,7 +160,7 @@ const makeInvoice = async () => { :required="true" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('Class')" :options="siiTypeInvoiceOutsOptions" @@ -191,9 +191,12 @@ const makeInvoice = async () => { :required="true" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div> - <QCheckbox :label="t('Bill destination client')" v-model="checked" /> + <QCheckbox + :label="t('Bill destination client')" + v-model="checked" + /> <QIcon name="info" class="cursor-info q-ml-sm" size="sm"> <QTooltip>{{ t('transferInvoiceInfo') }}</QTooltip> </QIcon> diff --git a/src/components/ui/VnRow.vue b/src/components/ui/VnRow.vue index 642adedf1..f68052455 100644 --- a/src/components/ui/VnRow.vue +++ b/src/components/ui/VnRow.vue @@ -3,26 +3,19 @@ defineProps({ wrap: { type: Boolean, default: false } }); </script> <template> <div class="vn-row q-gutter-md q-mb-md" :class="{ wrap }"> - <slot /> + <slot></slot> </div> </template> -<style lang="scss" scoped> +<style lang="scss" scopped> .vn-row { display: flex; - &.wrap { - flex-wrap: wrap; - } - &:not(.wrap) { - > :slotted(*) { - flex: 1; - } + > * { + flex: 1; } } @media screen and (max-width: 800px) { .vn-row { - &:not(.wrap) { - flex-direction: column; - } + flex-direction: column; } } </style> diff --git a/src/pages/Account/Alias/AliasCreateForm.vue b/src/pages/Account/Alias/AliasCreateForm.vue index d4d61a804..b21099555 100644 --- a/src/pages/Account/Alias/AliasCreateForm.vue +++ b/src/pages/Account/Alias/AliasCreateForm.vue @@ -34,12 +34,12 @@ const onDataSaved = ({ id }) => { @on-data-saved="onDataSaved" > <template #form-inputs="{ data }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <VnInput v-model="data.alias" :label="t('mailAlias.name')" /> </div> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <VnInput v-model="data.description" diff --git a/src/pages/Account/Card/AccountMailAliasCreateForm.vue b/src/pages/Account/Card/AccountMailAliasCreateForm.vue index 8f6d57091..f0f69dcba 100644 --- a/src/pages/Account/Card/AccountMailAliasCreateForm.vue +++ b/src/pages/Account/Card/AccountMailAliasCreateForm.vue @@ -33,7 +33,7 @@ const aliasOptions = ref([]); @on-submit="emit('onSubmitCreateAlias', aliasFormData)" > <template #form-inputs> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <VnSelect :label="t('account.card.alias')" diff --git a/src/pages/Account/Role/Card/RoleBasicData.vue b/src/pages/Account/Role/Card/RoleBasicData.vue index 1f3b3b6da..cddf755f0 100644 --- a/src/pages/Account/Role/Card/RoleBasicData.vue +++ b/src/pages/Account/Role/Card/RoleBasicData.vue @@ -10,12 +10,12 @@ const { t } = useI18n(); <template> <FormModel :url="`VnRoles/${route.params.id}`" model="VnRole" auto-load> <template #form="{ data }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <VnInput v-model="data.name" :label="t('role.card.name')" /> </div> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <VnInput v-model="data.description" @@ -23,7 +23,7 @@ const { t } = useI18n(); /> </div> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <QCheckbox :label="t('mailAlias.isPublic')" v-model="data.isPublic" /> </div> diff --git a/src/pages/Account/Role/Card/RoleForm.vue b/src/pages/Account/Role/Card/RoleForm.vue index d6fc16598..7f4a1da34 100644 --- a/src/pages/Account/Role/Card/RoleForm.vue +++ b/src/pages/Account/Role/Card/RoleForm.vue @@ -21,12 +21,12 @@ const { t } = useI18n(); " > <template #form-inputs="{ data }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <VnInput v-model="data.name" :label="t('role.card.name')" /> </div> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <VnInput v-model="data.description" diff --git a/src/pages/Account/Role/Card/SubRoleCreateForm.vue b/src/pages/Account/Role/Card/SubRoleCreateForm.vue index 89eceed62..a22f70812 100644 --- a/src/pages/Account/Role/Card/SubRoleCreateForm.vue +++ b/src/pages/Account/Role/Card/SubRoleCreateForm.vue @@ -33,7 +33,7 @@ const rolesOptions = ref([]); @on-submit="emit('onSubmitCreateSubrole', subRoleFormData)" > <template #form-inputs> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <VnSelect :label="t('account.card.role')" diff --git a/src/pages/Claim/Card/ClaimBasicData.vue b/src/pages/Claim/Card/ClaimBasicData.vue index de0dc50c3..d29ed139e 100644 --- a/src/pages/Claim/Card/ClaimBasicData.vue +++ b/src/pages/Claim/Card/ClaimBasicData.vue @@ -74,7 +74,7 @@ const statesFilter = { :reload="true" > <template #form="{ data, validate, filter }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput v-model="data.client.name" :label="t('claim.customer')" @@ -82,7 +82,7 @@ const statesFilter = { /> <VnInputDate v-model="data.created" :label="t('claim.created')" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('claim.assignedTo')" v-model="data.workerFk" @@ -120,7 +120,7 @@ const statesFilter = { > </QSelect> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <QInput v-model.number="data.packages" :label="t('globals.packages')" diff --git a/src/pages/Customer/Card/CustomerBasicData.vue b/src/pages/Customer/Card/CustomerBasicData.vue index 6f37544e8..cd1ce9ebd 100644 --- a/src/pages/Customer/Card/CustomerBasicData.vue +++ b/src/pages/Customer/Card/CustomerBasicData.vue @@ -67,7 +67,7 @@ const filterOptions = { <FormModel :url="`Clients/${route.params.id}`" auto-load model="customer"> <template #form="{ data, validate, filter }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput :label="t('globals.name')" :rules="validate('client.socialName')" @@ -88,7 +88,7 @@ const filterOptions = { v-model="data.businessTypeFk" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput :label="t('customer.basicData.contact')" :rules="validate('client.contact')" @@ -111,7 +111,7 @@ const filterOptions = { </template> </VnInput> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput :label="t('customer.basicData.phone')" :rules="validate('client.phone')" @@ -125,7 +125,7 @@ const filterOptions = { v-model="data.mobile" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <QSelect :input-debounce="0" :label="t('customer.basicData.salesPerson')" @@ -162,7 +162,7 @@ const filterOptions = { :input-debounce="0" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <QSelect :input-debounce="0" :label="t('customer.basicData.previousClient')" diff --git a/src/pages/Customer/Card/CustomerBillingData.vue b/src/pages/Customer/Card/CustomerBillingData.vue index 63bbd872c..b01dc4523 100644 --- a/src/pages/Customer/Card/CustomerBillingData.vue +++ b/src/pages/Customer/Card/CustomerBillingData.vue @@ -47,7 +47,7 @@ const getBankEntities = (data, formData) => { model="customer" > <template #form="{ data, validate }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('Billing data')" :options="payMethods" @@ -59,7 +59,7 @@ const getBankEntities = (data, formData) => { <VnInput :label="t('Due day')" clearable v-model="data.dueDay" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput :label="t('IBAN')" clearable v-model="data.iban"> <template #append> <QIcon name="info" class="cursor-info"> @@ -94,7 +94,7 @@ const getBankEntities = (data, formData) => { </VnSelectDialog> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <QCheckbox :label="t('Received LCR')" v-model="data.hasLcr" /> <QCheckbox :label="t('VNL core received')" v-model="data.hasCoreVnl" /> <QCheckbox :label="t('VNL B2B received')" v-model="data.hasSepaVnl" /> diff --git a/src/pages/Customer/Card/CustomerCreditOpinion.vue b/src/pages/Customer/Card/CustomerCreditOpinion.vue index 5d8e5727b..9c060b1a5 100644 --- a/src/pages/Customer/Card/CustomerCreditOpinion.vue +++ b/src/pages/Customer/Card/CustomerCreditOpinion.vue @@ -88,7 +88,7 @@ watch( :url-create="`Clients/${route.params.id}/setRating`" > <template #form="{ data }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <VnInput :label="t('Rating')" diff --git a/src/pages/Customer/Card/CustomerFiscalData.vue b/src/pages/Customer/Card/CustomerFiscalData.vue index a7cdfafc5..8263b68cc 100644 --- a/src/pages/Customer/Card/CustomerFiscalData.vue +++ b/src/pages/Customer/Card/CustomerFiscalData.vue @@ -40,7 +40,7 @@ function handleLocation(data, location) { model="customer" > <template #form="{ data, validate }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput :label="t('Social name')" :required="true" @@ -57,11 +57,11 @@ function handleLocation(data, location) { <VnInput :label="t('Tax number')" clearable v-model="data.fi" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput :label="t('Street')" clearable v-model="data.street" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('Sage tax type')" :options="typesTaxes" @@ -91,7 +91,7 @@ function handleLocation(data, location) { </VnSelect> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnLocation :rules="validate('Worker.postcode')" :roles-allowed-to-create="['deliveryAssistant']" diff --git a/src/pages/Customer/Card/CustomerUnpaid.vue b/src/pages/Customer/Card/CustomerUnpaid.vue index a9d4a3d66..5b9a6cde2 100644 --- a/src/pages/Customer/Card/CustomerUnpaid.vue +++ b/src/pages/Customer/Card/CustomerUnpaid.vue @@ -134,7 +134,7 @@ watch( <div class="full-width flex justify-center"> <QCard class="card-width q-pa-lg"> <QForm> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <QCheckbox :label="t('Unpaid client')" v-model="unpaidClient" /> </div> diff --git a/src/pages/Customer/CustomerCreate.vue b/src/pages/Customer/CustomerCreate.vue index 80bfd1efe..b0de842f9 100644 --- a/src/pages/Customer/CustomerCreate.vue +++ b/src/pages/Customer/CustomerCreate.vue @@ -48,7 +48,7 @@ function handleLocation(data, location) { url-create="Clients/createWithUser" > <template #form="{ data, validate }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <QInput :label="t('Comercial name')" v-model="data.name" /> <VnSelect :label="t('Salesperson')" @@ -59,7 +59,7 @@ function handleLocation(data, location) { v-model="data.salesPersonFk" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('Business type')" :options="businessTypesOptions" @@ -70,21 +70,21 @@ function handleLocation(data, location) { /> <QInput v-model="data.fi" :label="t('Tax number')" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <QInput :label="t('Business name')" :rules="validate('client.socialName')" v-model="data.socialName" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <QInput :label="t('Street')" :rules="validate('client.street')" v-model="data.street" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnLocation :rules="validate('Worker.postcode')" :roles-allowed-to-create="['deliveryAssistant']" @@ -95,7 +95,7 @@ function handleLocation(data, location) { </VnLocation> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <QInput v-model="data.userName" :label="t('Web user')" /> <QInput :label="t('Email')" diff --git a/src/pages/Customer/Defaulter/CustomerDefaulterAddObservation.vue b/src/pages/Customer/Defaulter/CustomerDefaulterAddObservation.vue index ef1e17e83..5798e7512 100644 --- a/src/pages/Customer/Defaulter/CustomerDefaulterAddObservation.vue +++ b/src/pages/Customer/Defaulter/CustomerDefaulterAddObservation.vue @@ -60,7 +60,7 @@ const onSubmit = async () => { }) }} </div> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <QInput :label="t('Message')" type="textarea" diff --git a/src/pages/Customer/Notifications/CustomerNotificationsCampaignConsumption.vue b/src/pages/Customer/Notifications/CustomerNotificationsCampaignConsumption.vue index 6d8e00966..6952379ca 100644 --- a/src/pages/Customer/Notifications/CustomerNotificationsCampaignConsumption.vue +++ b/src/pages/Customer/Notifications/CustomerNotificationsCampaignConsumption.vue @@ -99,7 +99,7 @@ onMounted(async () => { <QPopupProxy ref="popupProxyRef"> <QCard class="column q-pa-md"> <span class="text-body1 q-mb-sm">{{ t('Campaign consumption') }}</span> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :options="moreFields" option-value="code" @@ -109,7 +109,7 @@ onMounted(async () => { @update:model-value="campaignChange" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInputDate v-model="campaignParams.from" :label="t('From')" /> <VnInputDate v-model="campaignParams.to" :label="t('To')" /> </VnRow> diff --git a/src/pages/Customer/components/CustomerAddressCreate.vue b/src/pages/Customer/components/CustomerAddressCreate.vue index 57997fb01..5f8162745 100644 --- a/src/pages/Customer/components/CustomerAddressCreate.vue +++ b/src/pages/Customer/components/CustomerAddressCreate.vue @@ -85,7 +85,7 @@ function handleLocation(data, location) { <template #form="{ data, validate }"> <QCheckbox :label="t('Default')" v-model="data.isDefaultAddress" /> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput :label="t('Consignee')" clearable v-model="data.nickname" /> <VnInput :label="t('Street address')" clearable v-model="data.street" /> @@ -119,7 +119,7 @@ function handleLocation(data, location) { /> </div> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('Incoterms')" :options="incoterms" diff --git a/src/pages/Customer/components/CustomerAddressEdit.vue b/src/pages/Customer/components/CustomerAddressEdit.vue index 2d14b571e..ccc2265e7 100644 --- a/src/pages/Customer/components/CustomerAddressEdit.vue +++ b/src/pages/Customer/components/CustomerAddressEdit.vue @@ -146,7 +146,7 @@ function handleLocation(data, location) { </template> <template #form="{ data, validate }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <QCheckbox :label="t('Enabled')" v-model="data.isActive" /> </div> @@ -164,7 +164,7 @@ function handleLocation(data, location) { </div> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <VnInput :label="t('Consignee')" clearable v-model="data.nickname" /> </div> @@ -173,7 +173,7 @@ function handleLocation(data, location) { </div> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <VnLocation :rules="validate('Worker.postcode')" @@ -185,7 +185,7 @@ function handleLocation(data, location) { </div> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <VnSelect :label="t('Agency')" @@ -204,7 +204,7 @@ function handleLocation(data, location) { <VnInput :label="t('Mobile')" clearable v-model="data.mobile" /> </div> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <VnSelect :label="t('Incoterms')" diff --git a/src/pages/Customer/components/CustomerCreditContractsCreate.vue b/src/pages/Customer/components/CustomerCreditContractsCreate.vue index d902e7a97..c4434e870 100644 --- a/src/pages/Customer/components/CustomerCreditContractsCreate.vue +++ b/src/pages/Customer/components/CustomerCreditContractsCreate.vue @@ -39,7 +39,7 @@ const toCustomerCreditContracts = () => { </template> <template #form="{ data }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <VnInput :label="t('Credit')" diff --git a/src/pages/Customer/components/CustomerFileManagementCreate.vue b/src/pages/Customer/components/CustomerFileManagementCreate.vue index bc218d1b2..7c15e0b71 100644 --- a/src/pages/Customer/components/CustomerFileManagementCreate.vue +++ b/src/pages/Customer/components/CustomerFileManagementCreate.vue @@ -143,7 +143,7 @@ const toCustomerFileManagement = () => { <QCard class="q-pa-lg"> <QCardSection> <QForm> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <VnInput :label="t('Reference')" @@ -163,7 +163,7 @@ const toCustomerFileManagement = () => { </div> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <VnSelect :label="t('Warehouse')" @@ -184,7 +184,7 @@ const toCustomerFileManagement = () => { </div> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <VnInput :label="t('Description')" @@ -196,7 +196,7 @@ const toCustomerFileManagement = () => { </div> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <QFile ref="inputFileRef" diff --git a/src/pages/Customer/components/CustomerFileManagementEdit.vue b/src/pages/Customer/components/CustomerFileManagementEdit.vue index d21305e32..80eaa44f9 100644 --- a/src/pages/Customer/components/CustomerFileManagementEdit.vue +++ b/src/pages/Customer/components/CustomerFileManagementEdit.vue @@ -119,7 +119,7 @@ const toCustomerFileManagement = () => { <QCard class="q-pa-lg"> <QCardSection> <QForm> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <VnInput :label="t('Reference')" @@ -139,7 +139,7 @@ const toCustomerFileManagement = () => { </div> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <VnSelect :label="t('Warehouse')" @@ -160,7 +160,7 @@ const toCustomerFileManagement = () => { </div> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <VnInput :label="t('Description')" @@ -172,7 +172,7 @@ const toCustomerFileManagement = () => { </div> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <QFile ref="inputFileRef" diff --git a/src/pages/Customer/components/CustomerGreugeCreate.vue b/src/pages/Customer/components/CustomerGreugeCreate.vue index fc315d808..06b1b2124 100644 --- a/src/pages/Customer/components/CustomerGreugeCreate.vue +++ b/src/pages/Customer/components/CustomerGreugeCreate.vue @@ -55,7 +55,7 @@ const toCustomerGreuges = () => { </template> <template #form="{ data }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput :label="t('Amount')" clearable @@ -65,7 +65,7 @@ const toCustomerGreuges = () => { <VnInputDate :label="t('Date')" v-model="data.shipped" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput :label="t('Comment')" clearable v-model="data.description" /> <VnSelect :label="t('Type')" diff --git a/src/pages/Customer/components/CustomerNewCustomsAgent.vue b/src/pages/Customer/components/CustomerNewCustomsAgent.vue index 3c95dcae6..ec9806334 100644 --- a/src/pages/Customer/components/CustomerNewCustomsAgent.vue +++ b/src/pages/Customer/components/CustomerNewCustomsAgent.vue @@ -22,7 +22,7 @@ const onDataSaved = (dataSaved) => { url-create="CustomsAgents" > <template #form-inputs="{ data }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput :label="t('NIF')" :required="true" @@ -36,7 +36,7 @@ const onDataSaved = (dataSaved) => { v-model="data.fiscalName" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput :label="t('Street')" clearable v-model="data.street" /> <VnInput :label="t('Phone')" clearable v-model="data.phone" /> </VnRow> diff --git a/src/pages/Customer/components/CustomerNewPayment.vue b/src/pages/Customer/components/CustomerNewPayment.vue index 9acb6af3a..cfa3acea8 100644 --- a/src/pages/Customer/components/CustomerNewPayment.vue +++ b/src/pages/Customer/components/CustomerNewPayment.vue @@ -136,7 +136,7 @@ const onDataSaved = async () => { <h5 class="q-mt-none">{{ t('New payment') }}</h5> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInputDate :label="t('Date')" :required="true" @@ -154,7 +154,7 @@ const onDataSaved = async () => { /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('Bank')" :options="bankOptions" @@ -189,7 +189,7 @@ const onDataSaved = async () => { {{ t('Compensation') }} </div> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col" v-if="data.bankFk === 3 || data.bankFk === 3117"> <VnInput :label="t('Compensation account')" @@ -208,7 +208,7 @@ const onDataSaved = async () => { <div class="q-mt-lg" v-if="data.bankFk === 2"> <div class="text-h6">{{ t('Cash') }}</div> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput :label="t('Delivered amount')" @update:model-value="calculateFromDeliveredAmount($event)" @@ -225,7 +225,7 @@ const onDataSaved = async () => { /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <QCheckbox v-model="viewRecipt" /> <QCheckbox v-model="sendEmail" /> </VnRow> diff --git a/src/pages/Customer/components/CustomerNoteCreate.vue b/src/pages/Customer/components/CustomerNoteCreate.vue index ef9982195..fa1045023 100644 --- a/src/pages/Customer/components/CustomerNoteCreate.vue +++ b/src/pages/Customer/components/CustomerNoteCreate.vue @@ -44,7 +44,7 @@ const toCustomerNotes = () => { </template> <template #form="{ data }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <QInput :label="t('Note')" type="textarea" v-model="data.text" /> </VnRow> </template> diff --git a/src/pages/Customer/components/CustomerRecoverieCreate.vue b/src/pages/Customer/components/CustomerRecoverieCreate.vue index e70f85308..593b9c5b3 100644 --- a/src/pages/Customer/components/CustomerRecoverieCreate.vue +++ b/src/pages/Customer/components/CustomerRecoverieCreate.vue @@ -49,12 +49,12 @@ const toCustomerRecoveries = () => { </template> <template #form="{ data }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInputDate :label="t('Since')" v-model="data.started" /> <VnInputDate :label="t('To')" v-model="data.finished" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput :label="t('Amount')" clearable diff --git a/src/pages/Customer/components/CustomerSamplesCreate.vue b/src/pages/Customer/components/CustomerSamplesCreate.vue index be614aa0b..0470dc176 100644 --- a/src/pages/Customer/components/CustomerSamplesCreate.vue +++ b/src/pages/Customer/components/CustomerSamplesCreate.vue @@ -264,7 +264,7 @@ const toCustomerSamples = () => { /> </div> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <VnInput :label="t('Recipient')" diff --git a/src/pages/Department/Card/DepartmentBasicData.vue b/src/pages/Department/Card/DepartmentBasicData.vue index 165a959d0..4573f7b66 100644 --- a/src/pages/Department/Card/DepartmentBasicData.vue +++ b/src/pages/Department/Card/DepartmentBasicData.vue @@ -29,7 +29,7 @@ const clientsOptions = ref([]); class="full-width" > <template #form="{ data, validate }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput :label="t('department.name')" v-model="data.name" @@ -44,7 +44,7 @@ const clientsOptions = ref([]); clearable /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput :label="t('department.chat')" v-model="data.chatName" @@ -58,7 +58,7 @@ const clientsOptions = ref([]); clearable /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('department.bossDepartment')" v-model="data.workerFk" @@ -80,7 +80,7 @@ const clientsOptions = ref([]); :rules="validate('department.clientFk')" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <QCheckbox :label="t('department.telework')" v-model="data.isTeleworking" @@ -92,7 +92,7 @@ const clientsOptions = ref([]); :true-value="1" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <QCheckbox :label="t('department.worksInProduction')" v-model="data.isProduction" @@ -102,7 +102,7 @@ const clientsOptions = ref([]); v-model="data.hasToRefill" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <QCheckbox :label="t('department.hasToSendMail')" v-model="data.hasToSendMail" diff --git a/src/pages/Entry/Card/EntryBasicData.vue b/src/pages/Entry/Card/EntryBasicData.vue index 2640d72e4..e5d6f50d9 100644 --- a/src/pages/Entry/Card/EntryBasicData.vue +++ b/src/pages/Entry/Card/EntryBasicData.vue @@ -67,7 +67,7 @@ const onFilterTravelSelected = (formData, id) => { :clear-store-on-unmount="false" > <template #form="{ data }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('entry.basicData.supplier')" v-model="data.supplierFk" @@ -121,13 +121,13 @@ const onFilterTravelSelected = (formData, id) => { </template> </VnSelectDialog> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput v-model="data.reference" :label="t('entry.basicData.reference')" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput v-model="data.invoiceNumber" :label="t('entry.basicData.invoiceNumber')" @@ -143,7 +143,7 @@ const onFilterTravelSelected = (formData, id) => { :required="true" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('entry.basicData.currency')" v-model="data.currencyFk" @@ -159,7 +159,7 @@ const onFilterTravelSelected = (formData, id) => { min="0" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <QInput :label="t('entry.basicData.observation')" type="textarea" @@ -169,7 +169,7 @@ const onFilterTravelSelected = (formData, id) => { fill-input /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <QCheckbox v-model="data.isOrdered" :label="t('entry.basicData.ordered')" diff --git a/src/pages/Entry/Card/EntryBuysImport.vue b/src/pages/Entry/Card/EntryBuysImport.vue index e0da663f0..8431e1096 100644 --- a/src/pages/Entry/Card/EntryBuysImport.vue +++ b/src/pages/Entry/Card/EntryBuysImport.vue @@ -197,7 +197,7 @@ const redirectToBuysView = () => { </div> </Teleport> <QCard class="q-pa-lg"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <QFile ref="inputFileRef" :label="t('entry.buys.file')" @@ -219,13 +219,13 @@ const redirectToBuysView = () => { </QFile> </VnRow> <div v-if="importData.file"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput :label="t('entry.buys.reference')" v-model="importData.ref" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput :label="t('entry.buys.observations')" v-model="importData.observation" diff --git a/src/pages/Entry/EntryCreate.vue b/src/pages/Entry/EntryCreate.vue index 4f2d13643..1e8490158 100644 --- a/src/pages/Entry/EntryCreate.vue +++ b/src/pages/Entry/EntryCreate.vue @@ -78,7 +78,7 @@ const redirectToEntryBasicData = (_, { id }) => { @on-data-saved="redirectToEntryBasicData" > <template #form="{ data, validate }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('Supplier')" class="full-width" @@ -102,7 +102,7 @@ const redirectToEntryBasicData = (_, { id }) => { </template> </VnSelect> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('Travel')" class="full-width" @@ -131,7 +131,7 @@ const redirectToEntryBasicData = (_, { id }) => { </template> </VnSelect> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('Company')" class="full-width" diff --git a/src/pages/Item/Card/CreateGenusForm.vue b/src/pages/Item/Card/CreateGenusForm.vue index 637a1137e..66f5130d4 100644 --- a/src/pages/Item/Card/CreateGenusForm.vue +++ b/src/pages/Item/Card/CreateGenusForm.vue @@ -31,7 +31,7 @@ onMounted(async () => { @on-data-saved="onDataSaved" > <template #form-inputs="{ data }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput ref="genusInputRef" :label="t('Latin genus name')" diff --git a/src/pages/Item/Card/CreateIntrastatForm.vue b/src/pages/Item/Card/CreateIntrastatForm.vue index 3fd1ffe22..5fe254759 100644 --- a/src/pages/Item/Card/CreateIntrastatForm.vue +++ b/src/pages/Item/Card/CreateIntrastatForm.vue @@ -33,7 +33,7 @@ onMounted(async () => { @on-data-saved="onDataSaved" > <template #form-inputs="{ data }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput ref="identifierInputRef" :label="t('createIntrastatForm.identifier')" diff --git a/src/pages/Item/Card/CreateSpecieForm.vue b/src/pages/Item/Card/CreateSpecieForm.vue index 2731820ba..120544fd9 100644 --- a/src/pages/Item/Card/CreateSpecieForm.vue +++ b/src/pages/Item/Card/CreateSpecieForm.vue @@ -31,7 +31,7 @@ onMounted(async () => { @on-data-saved="onDataSaved" > <template #form-inputs="{ data }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput ref="specieInputRef" :label="t('Latin species name')" diff --git a/src/pages/Item/Card/ItemBasicData.vue b/src/pages/Item/Card/ItemBasicData.vue index eb486f551..ca2fbc7a7 100644 --- a/src/pages/Item/Card/ItemBasicData.vue +++ b/src/pages/Item/Card/ItemBasicData.vue @@ -71,7 +71,7 @@ const onIntrastatCreated = (response, formData) => { :clear-store-on-unmount="false" > <template #form="{ data }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('basicData.type')" v-model="data.typeFk" @@ -95,7 +95,7 @@ const onIntrastatCreated = (response, formData) => { <VnInput :label="t('basicData.reference')" v-model="data.comment" /> <VnInput :label="t('basicData.relevancy')" v-model="data.relevancy" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput :label="t('basicData.stems')" v-model="data.stems" /> <VnInput :label="t('basicData.multiplier')" @@ -127,7 +127,7 @@ const onIntrastatCreated = (response, formData) => { </template> </VnSelectDialog> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelectDialog :label="t('basicData.intrastat')" v-model="data.intrastatFk" @@ -166,7 +166,7 @@ const onIntrastatCreated = (response, formData) => { /> </div> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput :label="t('basicData.weightByPiece')" v-model.number="data.weightByPiece" @@ -192,7 +192,7 @@ const onIntrastatCreated = (response, formData) => { type="number" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <QCheckbox v-model="data.isActive" :label="t('basicData.isActive')" /> <QCheckbox v-model="data.hasKgPrice" :label="t('basicData.hasKgPrice')" /> <div> diff --git a/src/pages/Item/Card/ItemBotanical.vue b/src/pages/Item/Card/ItemBotanical.vue index 15492de9f..416c7f78b 100644 --- a/src/pages/Item/Card/ItemBotanical.vue +++ b/src/pages/Item/Card/ItemBotanical.vue @@ -67,7 +67,7 @@ onMounted(async () => { :clear-store-on-unmount="false" > <template #form="{ data }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelectDialog :label="t('Genus')" v-model="data.genusFk" diff --git a/src/pages/Item/ItemCreate.vue b/src/pages/Item/ItemCreate.vue index baa51414c..6b6234b70 100644 --- a/src/pages/Item/ItemCreate.vue +++ b/src/pages/Item/ItemCreate.vue @@ -85,7 +85,7 @@ onBeforeMount(async () => { @on-data-saved="redirectToItemBasicData" > <template #form="{ data }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput v-model="data.provisionalName" :label="t('item.create.name')" @@ -107,7 +107,7 @@ onBeforeMount(async () => { hide-selected /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('item.create.type')" v-model="data.typeFk" @@ -154,7 +154,7 @@ onBeforeMount(async () => { </template> </VnSelect> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('item.create.origin')" v-model="data.originFk" diff --git a/src/pages/Item/ItemRequestDenyForm.vue b/src/pages/Item/ItemRequestDenyForm.vue index f26edb845..be70fb799 100644 --- a/src/pages/Item/ItemRequestDenyForm.vue +++ b/src/pages/Item/ItemRequestDenyForm.vue @@ -36,7 +36,7 @@ onMounted(async () => { @on-data-saved="onDataSaved" > <template #form-inputs="{ data }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <VnInput ref="textAreaRef" diff --git a/src/pages/Item/ItemTypeCreate.vue b/src/pages/Item/ItemTypeCreate.vue index af3dc34ea..b7b06bbe6 100644 --- a/src/pages/Item/ItemTypeCreate.vue +++ b/src/pages/Item/ItemTypeCreate.vue @@ -53,11 +53,11 @@ const redirectToItemTypeBasicData = (_, { id }) => { @on-data-saved="redirectToItemTypeBasicData" > <template #form="{ data }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput v-model="data.code" :label="t('itemType.shared.code')" /> <VnInput v-model="data.name" :label="t('itemType.shared.name')" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect v-model="data.workerFk" :label="t('itemType.shared.worker')" @@ -75,7 +75,7 @@ const redirectToItemTypeBasicData = (_, { id }) => { hide-selected /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect v-model="data.temperatureFk" :label="t('itemType.shared.temperature')" diff --git a/src/pages/ItemType/Card/ItemTypeBasicData.vue b/src/pages/ItemType/Card/ItemTypeBasicData.vue index 0bdfab951..51e24272d 100644 --- a/src/pages/ItemType/Card/ItemTypeBasicData.vue +++ b/src/pages/ItemType/Card/ItemTypeBasicData.vue @@ -42,11 +42,11 @@ const temperaturesOptions = ref([]); auto-load > <template #form="{ data }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput v-model="data.code" :label="t('shared.code')" /> <VnInput v-model="data.name" :label="t('shared.name')" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect v-model="data.workerFk" :label="t('shared.worker')" @@ -64,7 +64,7 @@ const temperaturesOptions = ref([]); hide-selected /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect v-model="data.temperatureFk" :label="t('shared.temperature')" diff --git a/src/pages/Order/Card/OrderForm.vue b/src/pages/Order/Card/OrderForm.vue index e4dfcd0e0..f447950d2 100644 --- a/src/pages/Order/Card/OrderForm.vue +++ b/src/pages/Order/Card/OrderForm.vue @@ -125,7 +125,7 @@ async function onDataSaved({ id }) { auto-load > <template #form="{ data }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect url="Clients" :label="t('order.form.clientFk')" @@ -171,7 +171,7 @@ async function onDataSaved({ id }) { </template> </VnSelect> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInputDate placeholder="dd-mm-aaa" :label="t('order.form.landed')" @@ -181,7 +181,7 @@ async function onDataSaved({ id }) { " /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('order.form.agencyModeFk')" v-model="data.agencyModeFk" diff --git a/src/pages/Route/Agency/Card/AgencyWorkcenter.vue b/src/pages/Route/Agency/Card/AgencyWorkcenter.vue index f5beaab53..3531ad288 100644 --- a/src/pages/Route/Agency/Card/AgencyWorkcenter.vue +++ b/src/pages/Route/Agency/Card/AgencyWorkcenter.vue @@ -98,7 +98,7 @@ async function deleteWorCenter(id) { @on-data-saved="paginate.fetch()" > <template #form-inputs="{ data }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect v-model="data.workCenterFk" option-value="id" diff --git a/src/pages/Route/Card/RouteForm.vue b/src/pages/Route/Card/RouteForm.vue index a1bae8b02..db7dede1e 100644 --- a/src/pages/Route/Card/RouteForm.vue +++ b/src/pages/Route/Card/RouteForm.vue @@ -120,7 +120,7 @@ const onSave = (data, response) => { @on-data-saved="onSave" > <template #form="{ data }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('Worker')" v-model="data.workerFk" @@ -155,7 +155,7 @@ const onSave = (data, response) => { :input-debounce="0" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('Agency')" v-model="data.agencyModeFk" @@ -170,7 +170,7 @@ const onSave = (data, response) => { <VnInputDate v-model="data.created" :label="t('Created')" /> </VnRow> <template v-if="!isNew"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput v-model="data.kmStart" :label="t('Km Start')" clearable /> <QInput v-model.number="data.kmEnd" @@ -184,7 +184,7 @@ const onSave = (data, response) => { type="number" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInputTime v-model="data.started" :label="t('Hour started')" @@ -205,15 +205,13 @@ const onSave = (data, response) => { </div> </VnRow> </template> - <VnRow class="row q-gutter-md q-mb-md"> - <VnInput - v-model="data.description" - :label="t('Description')" - type="textarea" - :rows="3" - clearable - /> - </VnRow> + <VnInput + v-model="data.description" + :label="t('Description')" + type="textarea" + :rows="3" + clearable + /> </template> </FormModel> </template> diff --git a/src/pages/Route/Roadmap/RoadmapBasicData.vue b/src/pages/Route/Roadmap/RoadmapBasicData.vue index 19b6a1b3d..e1611ed61 100644 --- a/src/pages/Route/Roadmap/RoadmapBasicData.vue +++ b/src/pages/Route/Roadmap/RoadmapBasicData.vue @@ -38,12 +38,12 @@ const onSave = (data, response) => { @on-data-saved="onSave" > <template #form="{ data }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput v-model="data.name" :label="t('Roadmap')" clearable /> <VnInputDate v-model="data.etd" :label="t('ETD date')" /> <VnInputTime v-model="data.etd" :label="t('ETD hour')" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput v-model="data.tractorPlate" :label="t('Tractor plate')" @@ -55,7 +55,7 @@ const onSave = (data, response) => { clearable /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('Carrier')" v-model="data.supplierFk" @@ -84,11 +84,11 @@ const onSave = (data, response) => { clearable /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput v-model="data.driverName" :label="t('Driver name')" clearable /> <VnInput v-model="data.phone" :label="t('Phone')" clearable /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput v-model="data.observations" :label="t('Observations')" diff --git a/src/pages/Shelving/Card/ShelvingForm.vue b/src/pages/Shelving/Card/ShelvingForm.vue index d9b6ede0d..dd1c4e4a2 100644 --- a/src/pages/Shelving/Card/ShelvingForm.vue +++ b/src/pages/Shelving/Card/ShelvingForm.vue @@ -85,7 +85,7 @@ const onSave = (shelving, newShelving) => { @on-data-saved="onSave" > <template #form="{ data, validate, filter }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput v-model="data.code" :label="t('shelving.basicData.code')" @@ -107,7 +107,7 @@ const onSave = (shelving, newShelving) => { :input-debounce="0" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput v-model="data.priority" type="number" diff --git a/src/pages/Supplier/Card/SupplierAddressesCreate.vue b/src/pages/Supplier/Card/SupplierAddressesCreate.vue index eccf06204..0b071c3a4 100644 --- a/src/pages/Supplier/Card/SupplierAddressesCreate.vue +++ b/src/pages/Supplier/Card/SupplierAddressesCreate.vue @@ -71,7 +71,7 @@ function handleLocation(data, location) { @on-data-saved="onDataSaved()" > <template #form="{ data, validate }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput v-model="data.nickname" :label="t('supplier.addresses.name')" @@ -81,7 +81,7 @@ function handleLocation(data, location) { :label="t('supplier.addresses.street')" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnLocation :rules="validate('Worker.postcode')" :roles-allowed-to-create="['deliveryAssistant']" @@ -91,7 +91,7 @@ function handleLocation(data, location) { > </VnLocation> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput v-model="data.phone" :label="t('supplier.addresses.phone')" diff --git a/src/pages/Supplier/Card/SupplierAgencyTermCreate.vue b/src/pages/Supplier/Card/SupplierAgencyTermCreate.vue index 5eb64233f..a87ea502b 100644 --- a/src/pages/Supplier/Card/SupplierAgencyTermCreate.vue +++ b/src/pages/Supplier/Card/SupplierAgencyTermCreate.vue @@ -45,7 +45,7 @@ const onDataSaved = () => { @on-data-saved="onDataSaved()" > <template #form="{ data }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('supplier.agencyTerms.agencyFk')" v-model="data.agencyFk" @@ -61,7 +61,7 @@ const onDataSaved = () => { type="number" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <QInput :label="t('supplier.agencyTerms.packagePrice')" v-model.number="data.packagePrice" @@ -78,7 +78,7 @@ const onDataSaved = () => { type="number" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <QInput :label="t('supplier.agencyTerms.routePrice')" v-model.number="data.routePrice" diff --git a/src/pages/Supplier/Card/SupplierBasicData.vue b/src/pages/Supplier/Card/SupplierBasicData.vue index 10d6f8f68..915799401 100644 --- a/src/pages/Supplier/Card/SupplierBasicData.vue +++ b/src/pages/Supplier/Card/SupplierBasicData.vue @@ -29,7 +29,7 @@ const workersOptions = ref([]); :clear-store-on-unmount="false" > <template #form="{ data, validate }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput v-model="data.nickname" :label="t('supplier.basicData.alias')" @@ -65,7 +65,7 @@ const workersOptions = ref([]); </template> </VnSelect> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <QCheckbox v-model="data.isSerious" :label="t('supplier.basicData.isSerious')" @@ -79,7 +79,7 @@ const workersOptions = ref([]); :label="t('supplier.basicData.isPayMethodChecked')" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <QInput :label="t('supplier.basicData.note')" type="textarea" diff --git a/src/pages/Supplier/Card/SupplierBillingData.vue b/src/pages/Supplier/Card/SupplierBillingData.vue index 62ca91a54..7200bbba6 100644 --- a/src/pages/Supplier/Card/SupplierBillingData.vue +++ b/src/pages/Supplier/Card/SupplierBillingData.vue @@ -36,7 +36,7 @@ const formatPayDems = (data) => { :clear-store-on-unmount="false" > <template #form="{ data, validate }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('supplier.billingData.payMethodFk')" v-model="data.payMethodFk" @@ -56,7 +56,7 @@ const formatPayDems = (data) => { :rules="validate('supplier.payDemFk')" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <QInput :label="t('supplier.billingData.payDay')" type="number" diff --git a/src/pages/Supplier/Card/SupplierFiscalData.vue b/src/pages/Supplier/Card/SupplierFiscalData.vue index 179c6f5e6..8af8ef876 100644 --- a/src/pages/Supplier/Card/SupplierFiscalData.vue +++ b/src/pages/Supplier/Card/SupplierFiscalData.vue @@ -56,7 +56,7 @@ function handleLocation(data, location) { :clear-store-on-unmount="false" > <template #form="{ data, validate }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput v-model="data.name" :label="t('supplier.fiscalData.name')" @@ -68,7 +68,7 @@ function handleLocation(data, location) { clearable /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput v-model="data.account" :label="t('supplier.fiscalData.account')" @@ -84,7 +84,7 @@ function handleLocation(data, location) { map-options /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('supplier.fiscalData.sageWithholdingFk')" v-model="data.sageWithholdingFk" @@ -104,7 +104,7 @@ function handleLocation(data, location) { map-options /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('supplier.fiscalData.supplierActivityFk')" v-model="data.supplierActivityFk" @@ -120,14 +120,14 @@ function handleLocation(data, location) { clearable /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput v-model="data.street" :label="t('supplier.fiscalData.street')" clearable /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnLocation :rules="validate('Worker.postcode')" :roles-allowed-to-create="['deliveryAssistant']" @@ -137,7 +137,7 @@ function handleLocation(data, location) { > </VnLocation> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col flex justify-around"> <QCheckbox v-model="data.isTrucker" diff --git a/src/pages/Supplier/SupplierCreate.vue b/src/pages/Supplier/SupplierCreate.vue index 7d45bac97..9024f4804 100644 --- a/src/pages/Supplier/SupplierCreate.vue +++ b/src/pages/Supplier/SupplierCreate.vue @@ -44,13 +44,11 @@ const redirectToSupplierFiscalData = (_, responseData) => { @on-data-saved="redirectToSupplierFiscalData" > <template #form="{ data }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput v-model="data.name" :label="t('supplier.create.supplierName')" - @keyup=" - newSupplierForm.name = newSupplierForm.name.toUpperCase() - " + @keyup="newSupplierForm.name = newSupplierForm.name.toUpperCase()" /> </VnRow> </template> diff --git a/src/pages/Ticket/Card/BasicData/TicketBasicDataForm.vue b/src/pages/Ticket/Card/BasicData/TicketBasicDataForm.vue index c8a8e85c9..2d937346a 100644 --- a/src/pages/Ticket/Card/BasicData/TicketBasicDataForm.vue +++ b/src/pages/Ticket/Card/BasicData/TicketBasicDataForm.vue @@ -311,7 +311,7 @@ onMounted(() => onFormModelInit()); auto-load /> <QForm> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('basicData.client')" v-model="clientId" @@ -343,7 +343,7 @@ onMounted(() => onFormModelInit()); :required="true" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('basicData.address')" v-model="addressId" @@ -447,7 +447,7 @@ onMounted(() => onFormModelInit()); </template> </VnSelect> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInputDate :label="t('basicData.shipped')" v-model="formData.shipped" diff --git a/src/pages/Ticket/Card/ExpeditionNewTicket.vue b/src/pages/Ticket/Card/ExpeditionNewTicket.vue index da775a368..55ca700bc 100644 --- a/src/pages/Ticket/Card/ExpeditionNewTicket.vue +++ b/src/pages/Ticket/Card/ExpeditionNewTicket.vue @@ -63,10 +63,10 @@ const createTicket = async () => { :save-fn="createTicket" > <template #form-inputs="{ data }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInputDate :label="t('expedition.landed')" v-model="data.landed" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput v-if="withRoute" :label="t('expedition.routeId')" diff --git a/src/pages/Ticket/Card/TicketCreateRequest.vue b/src/pages/Ticket/Card/TicketCreateRequest.vue index 6b436621f..ffe009516 100644 --- a/src/pages/Ticket/Card/TicketCreateRequest.vue +++ b/src/pages/Ticket/Card/TicketCreateRequest.vue @@ -31,7 +31,7 @@ const attendersOptions = ref([]); @on-data-saved="() => emit('onRequestCreated')" > <template #form-inputs="{ data }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput v-model="data.description" :label="t('purchaseRequest.description')" @@ -45,7 +45,7 @@ const attendersOptions = ref([]); option-value="id" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput v-model="data.quantity" :label="t('purchaseRequest.quantity')" diff --git a/src/pages/Ticket/Card/TicketCreateServiceType.vue b/src/pages/Ticket/Card/TicketCreateServiceType.vue index d392ec206..067d7dee8 100644 --- a/src/pages/Ticket/Card/TicketCreateServiceType.vue +++ b/src/pages/Ticket/Card/TicketCreateServiceType.vue @@ -31,7 +31,7 @@ onMounted(async () => { @on-data-saved="onDataSaved" > <template #form-inputs="{ data }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput ref="nameInputRef" :label="t('service.description')" diff --git a/src/pages/Ticket/Card/TicketCreateTracking.vue b/src/pages/Ticket/Card/TicketCreateTracking.vue index 399663571..87ca8dd3f 100644 --- a/src/pages/Ticket/Card/TicketCreateTracking.vue +++ b/src/pages/Ticket/Card/TicketCreateTracking.vue @@ -44,7 +44,7 @@ const onStateFkChange = (formData) => (formData.userFk = user.value.id); @on-data-saved="() => emit('onRequestCreated')" > <template #form-inputs="{ data }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect v-model="data.stateFk" :label="t('tracking.state')" diff --git a/src/pages/Ticket/Card/TicketDmsImportForm.vue b/src/pages/Ticket/Card/TicketDmsImportForm.vue index 869e166ca..4b6b9c6cd 100644 --- a/src/pages/Ticket/Card/TicketDmsImportForm.vue +++ b/src/pages/Ticket/Card/TicketDmsImportForm.vue @@ -54,7 +54,7 @@ const importDms = async () => { :save-fn="importDms" > <template #form-inputs> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('Document')" :options="dmsOptions" diff --git a/src/pages/Ticket/TicketCreate.vue b/src/pages/Ticket/TicketCreate.vue index 16f5a2a40..3cc486122 100644 --- a/src/pages/Ticket/TicketCreate.vue +++ b/src/pages/Ticket/TicketCreate.vue @@ -131,7 +131,7 @@ const redirectToTicketList = (_, { id }) => { @on-data-saved="redirectToTicketList" > <template #form="{ data }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <VnSelect :label="t('ticket.create.client')" @@ -157,7 +157,7 @@ const redirectToTicketList = (_, { id }) => { </VnSelect> </div> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <VnSelect :label="t('ticket.create.address')" @@ -184,7 +184,7 @@ const redirectToTicketList = (_, { id }) => { </VnSelect> </div> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <VnInputDate placeholder="dd-mm-aaa" @@ -194,7 +194,7 @@ const redirectToTicketList = (_, { id }) => { /> </div> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <VnSelect :label="t('ticket.create.warehouse')" @@ -207,7 +207,7 @@ const redirectToTicketList = (_, { id }) => { /> </div> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <VnSelect :label="t('ticket.create.agency')" diff --git a/src/pages/Ticket/TicketList.vue b/src/pages/Ticket/TicketList.vue index c9f38790a..ad53935bc 100644 --- a/src/pages/Ticket/TicketList.vue +++ b/src/pages/Ticket/TicketList.vue @@ -262,7 +262,7 @@ const getColor = (row) => { </template> </VnSelect> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <VnInputDate placeholder="dd-mm-aaa" @@ -272,7 +272,7 @@ const getColor = (row) => { /> </div> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <VnSelect url="Warehouses" @@ -286,7 +286,7 @@ const getColor = (row) => { /> </div> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <VnSelect :label="t('ticket.create.agency')" diff --git a/src/pages/Travel/Card/TravelBasicData.vue b/src/pages/Travel/Card/TravelBasicData.vue index 1eb9bbc0f..8a369a0dd 100644 --- a/src/pages/Travel/Card/TravelBasicData.vue +++ b/src/pages/Travel/Card/TravelBasicData.vue @@ -28,7 +28,7 @@ const agenciesOptions = ref([]); auto-load > <template #form="{ data }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput v-model="data.ref" :label="t('travel.basicData.reference')" /> <VnSelect :label="t('travel.basicData.agency')" @@ -40,7 +40,7 @@ const agenciesOptions = ref([]); hide-selected /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInputDate v-model="data.shipped" :label="t('travel.basicData.shipped')" @@ -50,7 +50,7 @@ const agenciesOptions = ref([]); :label="t('travel.basicData.landed')" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('travel.basicData.warehouseOut')" v-model="data.warehouseOutFk" @@ -70,7 +70,7 @@ const agenciesOptions = ref([]); hide-selected /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <QCheckbox :label="t('travel.basicData.delivered')" v-model="data.isDelivered" diff --git a/src/pages/Travel/Card/TravelThermographsForm.vue b/src/pages/Travel/Card/TravelThermographsForm.vue index 33b56e745..7f40873b1 100644 --- a/src/pages/Travel/Card/TravelThermographsForm.vue +++ b/src/pages/Travel/Card/TravelThermographsForm.vue @@ -235,7 +235,7 @@ const onThermographCreated = async (data) => { </div> </Teleport> <QCard class="q-pa-lg"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelectDialog :label="t('travel.thermographs.thermograph')" v-model="thermographForm.thermographId" @@ -256,7 +256,7 @@ const onThermographCreated = async (data) => { :label="t('travel.thermographs.state')" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput v-model="thermographForm.reference" :label="t('travel.thermographs.reference')" @@ -269,7 +269,7 @@ const onThermographCreated = async (data) => { option-label="name" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('travel.thermographs.company')" v-model="thermographForm.companyId" @@ -293,7 +293,7 @@ const onThermographCreated = async (data) => { fill-input /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <QFile ref="inputFileRef" :label="t('travel.thermographs.file')" diff --git a/src/pages/Travel/TravelCreate.vue b/src/pages/Travel/TravelCreate.vue index 09bf58765..6fb3274e4 100644 --- a/src/pages/Travel/TravelCreate.vue +++ b/src/pages/Travel/TravelCreate.vue @@ -57,7 +57,7 @@ const redirectToTravelBasicData = (_, { id }) => { @on-data-saved="redirectToTravelBasicData" > <template #form="{ data }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput v-model="data.ref" :label="t('globals.reference')" /> <VnSelect :label="t('globals.agency')" @@ -68,11 +68,11 @@ const redirectToTravelBasicData = (_, { id }) => { hide-selected /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInputDate v-model="data.shipped" :label="t('globals.shipped')" /> <VnInputDate :label="t('globals.landed')" v-model="data.landed" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('globals.wareHouseOut')" v-model="data.warehouseOutFk" diff --git a/src/pages/Worker/Card/WorkerChangePasswordForm.vue b/src/pages/Worker/Card/WorkerChangePasswordForm.vue index ef75ba55a..20132f21e 100644 --- a/src/pages/Worker/Card/WorkerChangePasswordForm.vue +++ b/src/pages/Worker/Card/WorkerChangePasswordForm.vue @@ -61,7 +61,7 @@ onMounted(async () => await getPassRequirements()); <template> <FormPopup :title="t('Reset password')" @on-submit="setPassword()"> <template #form-inputs> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput :label="t('New password')" v-model="formData.newPassword" @@ -78,7 +78,7 @@ onMounted(async () => await getPassRequirements()); " /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput :label="t('Repeat password')" v-model="formData.repeatPassword" diff --git a/src/pages/Worker/Card/WorkerPBX.vue b/src/pages/Worker/Card/WorkerPBX.vue index 3bba5b33e..547156532 100644 --- a/src/pages/Worker/Card/WorkerPBX.vue +++ b/src/pages/Worker/Card/WorkerPBX.vue @@ -56,7 +56,7 @@ const updateModelValue = (data) => { @on-fetch="onFetch" > <template #form="{}"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput :label="t('worker.summary.sipExtension')" v-model="extension" diff --git a/src/pages/Worker/Card/WorkerPda.vue b/src/pages/Worker/Card/WorkerPda.vue index 513edcf45..4e0abc20c 100644 --- a/src/pages/Worker/Card/WorkerPda.vue +++ b/src/pages/Worker/Card/WorkerPda.vue @@ -126,7 +126,7 @@ function reloadData() { @on-data-saved="reloadData()" > <template #form-inputs="{ data }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('worker.pda.newPDA')" v-model="data.deviceProductionFk" diff --git a/src/pages/Zone/Card/ZoneBasicData.vue b/src/pages/Zone/Card/ZoneBasicData.vue index 9f2195766..a4874e5fc 100644 --- a/src/pages/Zone/Card/ZoneBasicData.vue +++ b/src/pages/Zone/Card/ZoneBasicData.vue @@ -31,11 +31,11 @@ const agencyOptions = ref([]); <FormModel :url="`Zones/${route.params.id}`" auto-load model="zone"> <template #form="{ data, validate }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput :label="t('Name')" clearable v-model="data.name" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect option-label="name" option-value="id" @@ -66,7 +66,7 @@ const agencyOptions = ref([]); /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput v-model="data.travelingDays" :label="t('Traveling days')" @@ -77,7 +77,7 @@ const agencyOptions = ref([]); <VnInputTime v-model="data.hour" :label="t('Closing')" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput v-model="data.price" :label="t('Price')" @@ -94,7 +94,7 @@ const agencyOptions = ref([]); /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput v-model="data.inflation" :label="t('Inflation')" clearable /> <QCheckbox v-model="data.isVolumetric" diff --git a/src/pages/Zone/Card/ZoneCreateWarehouse.vue b/src/pages/Zone/Card/ZoneCreateWarehouse.vue index 0f35ee679..86c4dcc72 100644 --- a/src/pages/Zone/Card/ZoneCreateWarehouse.vue +++ b/src/pages/Zone/Card/ZoneCreateWarehouse.vue @@ -29,7 +29,7 @@ const warehousesOptions = ref([]); @on-submit="emit('onSubmitCreateWarehouse', ZoneWarehouseFormData)" > <template #form-inputs> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col"> <VnSelect :label="t('warehouses.warehouse')" diff --git a/src/pages/Zone/Card/ZoneEventInclusionForm.vue b/src/pages/Zone/Card/ZoneEventInclusionForm.vue index 808f14a53..66e41607f 100644 --- a/src/pages/Zone/Card/ZoneEventInclusionForm.vue +++ b/src/pages/Zone/Card/ZoneEventInclusionForm.vue @@ -149,7 +149,7 @@ onMounted(() => { class="q-mb-sm" /> </div> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <div class="col flex justify-center"> <VnInputDate v-if="inclusionType === 'day'" @@ -173,7 +173,7 @@ onMounted(() => { v-model="eventInclusionFormData.ended" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInputTime v-model="eventInclusionFormData.hour" :label="t('eventsInclusionForm.closing')" @@ -185,7 +185,7 @@ onMounted(() => { min="0" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput v-model="eventInclusionFormData.price" :label="t('eventsInclusionForm.price')" @@ -199,7 +199,7 @@ onMounted(() => { min="0" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput v-model="eventInclusionFormData.m3Max" :label="t('eventsInclusionForm.m3Max')" diff --git a/src/pages/Zone/ZoneCreate.vue b/src/pages/Zone/ZoneCreate.vue index e25ccae3a..7d7fa24a3 100644 --- a/src/pages/Zone/ZoneCreate.vue +++ b/src/pages/Zone/ZoneCreate.vue @@ -51,14 +51,14 @@ const redirectToZoneLocations = (_, { id }) => { @on-data-saved="redirectToZoneLocations" > <template #form="{ data }"> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput v-model="data.name" :label="t('create.name')" :required="true" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnSelect :label="t('create.warehouse')" :options="warehousesOptions" @@ -77,7 +77,7 @@ const redirectToZoneLocations = (_, { id }) => { :required="true" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput v-model="data.travelingDays" :label="t('create.travelingDays')" @@ -87,7 +87,7 @@ const redirectToZoneLocations = (_, { id }) => { <VnInputTime v-model="data.hour" :label="t('create.closingHour')" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <VnInput v-model="data.price" :label="t('create.price')" @@ -101,7 +101,7 @@ const redirectToZoneLocations = (_, { id }) => { min="0" /> </VnRow> - <VnRow class="row q-gutter-md q-mb-md"> + <VnRow> <QCheckbox :label="t('create.volumetric')" v-model="data.isVolumetric" -- 2.40.1