0
0
Fork 0

fix: refs #6891 fix invoiceInform design

This commit is contained in:
Jorge Penadés 2024-05-13 16:01:18 +02:00
parent fdd3c41c96
commit a878ad23b9
1 changed files with 13 additions and 19 deletions

View File

@ -3,14 +3,13 @@ import { ref, computed } from 'vue';
import { useRoute } from 'vue-router'; import { useRoute } from 'vue-router';
import { useI18n } from 'vue-i18n'; import { useI18n } from 'vue-i18n';
import { useQuasar } from 'quasar'; import { useQuasar } from 'quasar';
import axios from 'axios';
import { useArrayData } from 'src/composables/useArrayData'; import { useArrayData } from 'src/composables/useArrayData';
import { downloadFile } from 'src/composables/downloadFile'; import { downloadFile } from 'src/composables/downloadFile';
import FormModel from 'components/FormModel.vue'; import FormModel from 'components/FormModel.vue';
import VnSelect from 'src/components/common/VnSelect.vue'; import VnSelect from 'src/components/common/VnSelect.vue';
import FetchData from 'src/components/FetchData.vue'; import FetchData from 'src/components/FetchData.vue';
import VnRow from 'src/components/ui/VnRow.vue';
import axios from 'axios';
const quasar = useQuasar(); const quasar = useQuasar();
const route = useRoute(); const route = useRoute();
@ -181,7 +180,7 @@ async function upsert() {
:auto-load="true" :auto-load="true"
> >
<template #form="{ data }"> <template #form="{ data }">
<div class="row q-gutter-md q-mb-md"> <VnRow>
<VnSelect <VnSelect
:label="t('supplierFk')" :label="t('supplierFk')"
v-model="data.supplierFk" v-model="data.supplierFk"
@ -208,8 +207,8 @@ async function upsert() {
:label="t('Supplier ref')" :label="t('Supplier ref')"
v-model="data.supplierRef" v-model="data.supplierRef"
/> />
</div> </VnRow>
<div class="row q-gutter-md q-mb-md"> <VnRow>
<QInput <QInput
:label="t('Expedition date')" :label="t('Expedition date')"
v-model="data.issued" v-model="data.issued"
@ -264,8 +263,8 @@ async function upsert() {
</QIcon> </QIcon>
</template> </template>
</QInput> </QInput>
</div> </VnRow>
<div class="row q-gutter-md q-mb-md"> <VnRow>
<QInput <QInput
:label="t('Undeductible VAT')" :label="t('Undeductible VAT')"
v-model="data.deductibleExpenseFk" v-model="data.deductibleExpenseFk"
@ -318,8 +317,8 @@ async function upsert() {
</QBtn> </QBtn>
</template> </template>
</QInput> </QInput>
</div> </VnRow>
<div class="row q-gutter-md q-mb-md"> <VnRow>
<QInput <QInput
:label="t('Entry date')" :label="t('Entry date')"
v-model="data.bookEntried" v-model="data.bookEntried"
@ -378,8 +377,8 @@ async function upsert() {
</QIcon> </QIcon>
</template> </template>
</QInput> </QInput>
</div> </VnRow>
<div class="row q-gutter-md q-mb-md"> <VnRow>
<VnSelect <VnSelect
:label="t('Currency')" :label="t('Currency')"
v-model="data.currencyFk" v-model="data.currencyFk"
@ -395,13 +394,8 @@ async function upsert() {
option-value="id" option-value="id"
option-label="code" option-label="code"
/> />
</div> </VnRow>
<div class="row q-gutter-md q-mb-md"> <QCheckbox :label="t('invoiceIn.summary.booked')" v-model="data.isBooked" />
<QCheckbox
:label="t('invoiceIn.summary.booked')"
v-model="data.isBooked"
/>
</div>
</template> </template>
</FormModel> </FormModel>
<QDialog ref="editDmsRef"> <QDialog ref="editDmsRef">