refactor: 04 => remove tooltip and ellipsis product table

This commit is contained in:
puriphatt 2024-12-19 10:00:30 +07:00
parent 61e11c0503
commit f573c7fc1d
2 changed files with 2 additions and 5 deletions

View file

@ -165,10 +165,7 @@ defineEmits<{
style="max-width: 150px"
v-if="fieldSelected.includes('productDetail')"
>
<q-tooltip>
<div v-html="props.row.detail || '-'" />
</q-tooltip>
<div class="ellipsis-2-lines" v-html="props.row.detail || '-'" />
{{ props.row.detail.replace(/<\/?[^>]+(>|$)/g, '') || '-' }}
</q-td>
<q-td v-if="fieldSelected.includes('productExpenseType')">
{{ optionStore.mapOption(props.row.expenseType) }}

View file

@ -3381,7 +3381,7 @@ watch(
</InfoForm>
</DrawerInfo>
<!-- work product, product work -->
<!-- work product, product work, product service, service product -->
<DialogForm
v-model:modal="dialogTotalProduct"
:submit-label="$t('general.select')"