feat: 05 => update TableQuotation to display '-' for empty

This commit is contained in:
puriphatt 2025-01-22 15:58:40 +07:00
parent 99b39c4630
commit 4596b3e4e5
2 changed files with 3 additions and 3 deletions

View file

@ -69,7 +69,7 @@ defineEmits<{
<q-td v-if="visibleColumns.includes('workName')">
<div class="column">
<div class="col-6">{{ props.row.workName }}</div>
<div class="col-6">{{ props.row.workName || '-' }}</div>
<div class="col-6 app-text-muted">{{ props.row.code }}</div>
</div>
</q-td>
@ -83,7 +83,7 @@ defineEmits<{
</q-td>
<q-td v-if="visibleColumns.includes('contactName')">
{{ props.row.contactName }}
{{ props.row.contactName || '-' }}
</q-td>
<q-td v-if="visibleColumns.includes('actor')">

View file

@ -80,7 +80,7 @@ const pageState = reactive({
hideStat: false,
inputSearch: '',
fieldSelected: [''],
gridView: true,
gridView: false,
total: 0,
currentTab: 'Issued',