fix(invoiceOutGlobal): formData is object
gitea/salix-front/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2024-08-16 09:20:53 +02:00
parent 71068d3e62
commit 83a8f7e147
1 changed files with 1 additions and 9 deletions

View File

@ -48,7 +48,7 @@ const getStatus = computed({
onMounted(async () => {
await invoiceOutGlobalStore.init();
formData.value = formInitialData.value.invoiceDate;
formData.value = { invoiceDate: formInitialData.value.invoiceDate };
});
</script>
@ -88,9 +88,6 @@ onMounted(async () => {
:label="t('client')"
v-model="formData.clientId"
:options="clientsOptions"
option-value="id"
option-label="name"
hide-selected
dense
outlined
rounded
@ -109,9 +106,7 @@ onMounted(async () => {
:label="t('company')"
v-model="formData.companyFk"
:options="companiesOptions"
option-value="id"
option-label="code"
hide-selected
dense
outlined
rounded
@ -120,9 +115,6 @@ onMounted(async () => {
:label="t('printer')"
v-model="formData.printer"
:options="printersOptions"
option-value="id"
option-label="name"
hide-selected
dense
outlined
rounded