fix: product => remove tooltip & ellipsis
This commit is contained in:
parent
ed6a0cee3d
commit
5baa9429c4
1 changed files with 13 additions and 7 deletions
|
|
@ -2140,6 +2140,8 @@ watch(
|
||||||
</q-td>
|
</q-td>
|
||||||
|
|
||||||
<q-td
|
<q-td
|
||||||
|
class="ellipsis"
|
||||||
|
style="max-width: 150px"
|
||||||
v-if="
|
v-if="
|
||||||
tbControl.groupAndType.fieldSelected.includes(
|
tbControl.groupAndType.fieldSelected.includes(
|
||||||
'formDialogInputRemark',
|
'formDialogInputRemark',
|
||||||
|
|
@ -2605,6 +2607,7 @@ watch(
|
||||||
1
|
1
|
||||||
}}
|
}}
|
||||||
</q-td>
|
</q-td>
|
||||||
|
|
||||||
<q-td
|
<q-td
|
||||||
v-if="
|
v-if="
|
||||||
{
|
{
|
||||||
|
|
@ -2692,14 +2695,17 @@ watch(
|
||||||
)
|
)
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<q-tooltip>
|
{{
|
||||||
<div v-html="props.row.detail || '-'" />
|
props.row.detail.replace(/<\/?[^>]+(>|$)/g, '') ||
|
||||||
</q-tooltip>
|
'-'
|
||||||
<div
|
}}
|
||||||
class="ellipsis-2-lines"
|
<!-- <div
|
||||||
|
class="ellipsis"
|
||||||
|
style="max-width: 150px"
|
||||||
v-html="props.row.detail || '-'"
|
v-html="props.row.detail || '-'"
|
||||||
/>
|
/> -->
|
||||||
</q-td>
|
</q-td>
|
||||||
|
|
||||||
<q-td
|
<q-td
|
||||||
v-if="
|
v-if="
|
||||||
{
|
{
|
||||||
|
|
@ -2716,7 +2722,7 @@ watch(
|
||||||
{{
|
{{
|
||||||
optionStore.mapOption(
|
optionStore.mapOption(
|
||||||
{
|
{
|
||||||
product: props.row.expenseType,
|
product: props.row.expenseType || '-',
|
||||||
service: props.row.work?.length,
|
service: props.row.work?.length,
|
||||||
}[productAndServiceTab],
|
}[productAndServiceTab],
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue