onTheFly modal to add contact to thirdparty - form fields for profession,civility, and comment added - no saving possible yet

This commit is contained in:
2022-01-13 14:35:53 +01:00
parent c4a859f2d2
commit 95547e961e
3 changed files with 119 additions and 56 deletions

View File

@@ -51,13 +51,12 @@
</div>
</template>
<template v-slot:body v-else-if="action === 'addContact'">
<template v-slot:body v-else-if="parent">
<on-the-fly-thirdparty
:parent="parent"
:action="action"
type="thirdparty"
action="create"
kind="child"
ref="castThirdparty">
ref="castNew">
</on-the-fly-thirdparty>
</template>
@@ -139,6 +138,8 @@ export default {
return 'action.edit';
case 'create':
return 'action.create';
case 'addContact':
return 'action.addContact';
}
},
titleModal() {
@@ -149,6 +150,8 @@ export default {
return 'onthefly.edit.' + this.type;
case 'create':
return 'onthefly.create.title';
case 'addContact':
return 'onthefly.addContact.title';
}
},
titleMessage() {
@@ -231,4 +234,8 @@ export default {
a {
cursor: pointer;
}
/* .btn-add-contact {
background-color: pink;
} */
</style>