fix: refs #8409 deleted code due to merge
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Jon Elias 2025-01-27 13:26:08 +01:00
parent 0db556a97b
commit 3aa8acf02a
1 changed files with 46 additions and 58 deletions

View File

@ -146,7 +146,6 @@ const cols = computed(() => [
<template #advanced-menu> <template #advanced-menu>
<InvoiceInFilter :data-key /> <InvoiceInFilter :data-key />
</template> </template>
</RightMenu>
<template #body> <template #body>
<VnTable <VnTable
ref="tableRef" ref="tableRef"
@ -172,25 +171,11 @@ const cols = computed(() => [
</span> </span>
</template> </template>
<template #more-create-dialog="{ data }"> <template #more-create-dialog="{ data }">
<VnSelect <VnSelectSupplier
v-model="data.supplierFk" v-model="data.supplierFk"
url="Suppliers" hide-selected
:fields="['id', 'nickname', 'name']"
:label="t('globals.supplier')"
option-value="id"
option-label="nickname"
:filter-options="['id', 'name', 'nickname']"
:required="true" :required="true"
> />
<template #option="scope">
<QItem v-bind="scope.itemProps">
<QItemSection>
<QItemLabel>{{ scope.opt?.nickname }}</QItemLabel>
<QItemLabel caption> #{{ scope.opt?.id }}, {{ scope.opt?.name }} </QItemLabel>
</QItemSection>
</QItem>
</template>
</VnSelect>
<VnInput <VnInput
:label="t('invoicein.list.supplierRef')" :label="t('invoicein.list.supplierRef')"
v-model="data.supplierRef" v-model="data.supplierRef"
@ -204,7 +189,10 @@ const cols = computed(() => [
option-label="code" option-label="code"
:required="true" :required="true"
/> />
<VnInputDate :label="t('invoicein.summary.issued')" v-model="data.issued" /> <VnInputDate
:label="t('invoicein.summary.issued')"
v-model="data.issued"
/>
</template> </template>
</VnTable> </VnTable>
</template> </template>