This commit is contained in:
Warunee Tamkoo 2024-08-05 22:42:42 +07:00
parent 58a1cc9bb8
commit 83db1a8921

View file

@ -476,7 +476,7 @@ onMounted(() => {
<div class="col-2 text-grey-6 text-weight-medium">-นามสก</div>
<div class="col-6">
{{
fatherData.prefix && fatherData.firstName && fatherData.lastName
fatherData.prefix || fatherData.firstName || fatherData.lastName
? fatherData.prefix +
fatherData.firstName +
" " +
@ -550,7 +550,7 @@ onMounted(() => {
<div class="col-2 text-grey-6 text-weight-medium">-นามสก</div>
<div class="col-6">
{{
motherData.prefix && motherData.firstName && motherData.lastName
motherData.prefix || motherData.firstName || motherData.lastName
? motherData.prefix +
motherData.firstName +
" " +
@ -644,7 +644,7 @@ onMounted(() => {
<div class="col-2 text-grey-6 text-weight-medium">-นามสก</div>
<div class="col-6">
{{
coupleData.prefix && coupleData.firstName && coupleData.lastName
coupleData.prefix || coupleData.firstName || coupleData.lastName
? coupleData.prefix +
coupleData.firstName +
" " +
@ -748,8 +748,8 @@ onMounted(() => {
</div>
<div class="col-6">
{{
item.childrenPrefix &&
item.childrenFirstName &&
item.childrenPrefix ||
item.childrenFirstName ||
item.childrenLastName
? item.childrenPrefix +
item.childrenFirstName +