fix: product => remove tooltip & ellipsis

This commit is contained in:
puriphatt 2024-12-18 14:34:57 +07:00
parent ed6a0cee3d
commit 5baa9429c4

View file

@ -2140,6 +2140,8 @@ watch(
</q-td>
<q-td
class="ellipsis"
style="max-width: 150px"
v-if="
tbControl.groupAndType.fieldSelected.includes(
'formDialogInputRemark',
@ -2605,6 +2607,7 @@ watch(
1
}}
</q-td>
<q-td
v-if="
{
@ -2692,14 +2695,17 @@ watch(
)
"
>
<q-tooltip>
<div v-html="props.row.detail || '-'" />
</q-tooltip>
<div
class="ellipsis-2-lines"
{{
props.row.detail.replace(/<\/?[^>]+(>|$)/g, '') ||
'-'
}}
<!-- <div
class="ellipsis"
style="max-width: 150px"
v-html="props.row.detail || '-'"
/>
/> -->
</q-td>
<q-td
v-if="
{
@ -2716,7 +2722,7 @@ watch(
{{
optionStore.mapOption(
{
product: props.row.expenseType,
product: props.row.expenseType || '-',
service: props.row.work?.length,
}[productAndServiceTab],
)