+
(typeof v === 'string' ? (jobDescription = v) : '')
+ "
/>
(typeof v === 'string' ? (payDate = v) : '')"
/>
(typeof v === 'string' ? (payDateEN = v) : '')
+ "
/>
(typeof v === 'string' ? (wageRateText = v) : '')
+ "
/>
diff --git a/src/pages/03_customer-management/components/employer/EmployerFormContact.vue b/src/pages/03_customer-management/components/employer/EmployerFormContact.vue
index 093571d1..c761966f 100644
--- a/src/pages/03_customer-management/components/employer/EmployerFormContact.vue
+++ b/src/pages/03_customer-management/components/employer/EmployerFormContact.vue
@@ -21,7 +21,10 @@ const agent = defineModel
('agent');
hide-bottom-space
class="col-md-6 col-12"
:label="$t('customer.table.contactName')"
- v-model="contactName"
+ :model-value="readonly ? contactName || '-' : contactName"
+ @update:model-value="
+ (v) => (typeof v === 'string' ? (contactName = v) : '')
+ "
/>
('agent');
$t('form.error.invalid'),
]
"
- v-model="email"
+ :model-value="readonly ? email || '-' : email"
+ @update:model-value="(v) => (typeof v === 'string' ? (email = v) : '')"
>
('agent');
hide-bottom-space
class="col-md-6 col-12"
:label="$t('form.telephone')"
- v-model="contactTel"
+ :model-value="readonly ? contactTel || '-' : contactTel"
+ @update:model-value="
+ (v) => (typeof v === 'string' ? (contactTel = v) : '')
+ "
>
('agent');
hide-bottom-space
class="col-md-6 col-12"
:label="$t('customer.form.headQuarters.telephoneNo')"
- v-model="officeTel"
+ :model-value="readonly ? officeTel || '-' : officeTel"
+ @update:model-value="
+ (v) => (typeof v === 'string' ? (officeTel = v) : '')
+ "
>
('agent');
hide-bottom-space
class="col-md-6 col-12"
:label="$t('customer.form.agent')"
- v-model="agent"
+ :model-value="readonly ? agent || '-' : agent"
+ @update:model-value="(v) => (typeof v === 'string' ? (agent = v) : '')"
/>