#4466 invoiceInCorrection #176

Merged
jorgep merged 22 commits from 4666-invoiceInCorrection into dev 2024-02-09 07:46:15 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit ecba57ebb6 - Show all commits

View File

@ -37,7 +37,7 @@ const arrayData = useArrayData('InvoiceIn');
const invoiceIn = computed(() => arrayData.store.data);
const cardDescriptorRef = ref();
const correctionDialogRef = ref();
const entityId = computed(() => $props.id || route.params.id);
const entityId = computed(() => +($props.id || route.params.id));
const totalAmount = ref();
const currentAction = ref();
const config = ref();
@ -133,7 +133,6 @@ const routes = reactive({
},
});
const correctionFormData = reactive({
id: +entityId.value,
invoiceReason: 2,
invoiceType: 2,
invoiceClass: 6,
@ -475,7 +474,7 @@ const createInvoiceInCorrection = async () => {
<QItemSection>
<QInput
:label="t('Original invoice')"
v-model="correctionFormData.id"
v-model="entityId"
readonly
/>
<VnSelectFilter

View File

@ -76,6 +76,7 @@ function viewSummary(id) {
data-key="InvoiceInList"
url="InvoiceIns/filter"
order="issued DESC, id DESC"
auto-load
>
<template #body="{ rows }">
<CardList