diff --git a/src/pages/InvoiceIn/Card/InvoiceInDescriptor.vue b/src/pages/InvoiceIn/Card/InvoiceInDescriptor.vue index 1ac3ce823..3f640a732 100644 --- a/src/pages/InvoiceIn/Card/InvoiceInDescriptor.vue +++ b/src/pages/InvoiceIn/Card/InvoiceInDescriptor.vue @@ -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 () => {