fix for ThirdParty create flow.

- Added `parent` property handling in `ThirdPartyEdit.vue`, `Create.vue`, and related components for better association with parent entities.
- Updated `Thirdparty` and `ThirdPartyWrite` types to include `parent` property and ensure type safety.
- Adjusted translations and messages to reflect the new parent entity association concept.
This commit is contained in:
2025-10-24 16:20:58 +02:00
parent 4234377b7e
commit 71e146e4f0
6 changed files with 111 additions and 86 deletions

View File

@@ -43,6 +43,7 @@
v-if="type === 'thirdparty'"
:action="action"
:query="query"
:parent="parent"
ref="castThirdparty"
@onThirdPartyCreated="onThirdPartyCreated"
type=""

View File

@@ -53,6 +53,7 @@ defineExpose({ save });
:allowedTypes="props.allowedTypes"
:action="props.action"
:query="props.query"
:parent="props.parent"
@onPersonCreated="onPersonCreated"
@onThirdPartyCreated="onThirdPartyCreated"
></Create>