refactor: add input contactName
This commit is contained in:
parent
6995b49a5a
commit
d365538605
1 changed files with 14 additions and 0 deletions
|
|
@ -3,12 +3,26 @@ defineProps<{
|
||||||
readonly?: boolean;
|
readonly?: boolean;
|
||||||
prefixId?: string;
|
prefixId?: string;
|
||||||
}>();
|
}>();
|
||||||
|
const contactName = defineModel<string>('contactName');
|
||||||
const mail = defineModel<string>('email');
|
const mail = defineModel<string>('email');
|
||||||
const telephone = defineModel<string>('telephone');
|
const telephone = defineModel<string>('telephone');
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="col-md-9 col-12 row q-col-gutter-md">
|
<div class="col-md-9 col-12 row q-col-gutter-md">
|
||||||
|
<q-input
|
||||||
|
lazy-rules="ondemand"
|
||||||
|
:for="`${prefixId}-input-contact-name`"
|
||||||
|
:id="`${prefixId}-input-contact-name`"
|
||||||
|
dense
|
||||||
|
outlined
|
||||||
|
:readonly="readonly"
|
||||||
|
hide-bottom-space
|
||||||
|
class="col-md-6 col-12"
|
||||||
|
:label="$t('customer.table.contactName')"
|
||||||
|
v-model="contactName"
|
||||||
|
/>
|
||||||
|
|
||||||
<q-input
|
<q-input
|
||||||
lazy-rules="ondemand"
|
lazy-rules="ondemand"
|
||||||
:for="`${prefixId}-input-mail`"
|
:for="`${prefixId}-input-mail`"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue