fix(invoiceOutGlobal): formData is object
gitea/salix-front/pipeline/head This commit looks good
Details
gitea/salix-front/pipeline/head This commit looks good
Details
This commit is contained in:
parent
71068d3e62
commit
83a8f7e147
|
@ -48,7 +48,7 @@ const getStatus = computed({
|
||||||
|
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
await invoiceOutGlobalStore.init();
|
await invoiceOutGlobalStore.init();
|
||||||
formData.value = formInitialData.value.invoiceDate;
|
formData.value = { invoiceDate: formInitialData.value.invoiceDate };
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@ -88,9 +88,6 @@ onMounted(async () => {
|
||||||
:label="t('client')"
|
:label="t('client')"
|
||||||
v-model="formData.clientId"
|
v-model="formData.clientId"
|
||||||
:options="clientsOptions"
|
:options="clientsOptions"
|
||||||
option-value="id"
|
|
||||||
option-label="name"
|
|
||||||
hide-selected
|
|
||||||
dense
|
dense
|
||||||
outlined
|
outlined
|
||||||
rounded
|
rounded
|
||||||
|
@ -109,9 +106,7 @@ onMounted(async () => {
|
||||||
:label="t('company')"
|
:label="t('company')"
|
||||||
v-model="formData.companyFk"
|
v-model="formData.companyFk"
|
||||||
:options="companiesOptions"
|
:options="companiesOptions"
|
||||||
option-value="id"
|
|
||||||
option-label="code"
|
option-label="code"
|
||||||
hide-selected
|
|
||||||
dense
|
dense
|
||||||
outlined
|
outlined
|
||||||
rounded
|
rounded
|
||||||
|
@ -120,9 +115,6 @@ onMounted(async () => {
|
||||||
:label="t('printer')"
|
:label="t('printer')"
|
||||||
v-model="formData.printer"
|
v-model="formData.printer"
|
||||||
:options="printersOptions"
|
:options="printersOptions"
|
||||||
option-value="id"
|
|
||||||
option-label="name"
|
|
||||||
hide-selected
|
|
||||||
dense
|
dense
|
||||||
outlined
|
outlined
|
||||||
rounded
|
rounded
|
||||||
|
|
Loading…
Reference in New Issue