This commit is contained in:
2023-06-12 16:22:36 +08:00
parent df4f650c44
commit 4e038b4d2f
7 changed files with 15 additions and 15 deletions

View File

@@ -621,7 +621,7 @@ const radioProps = props.getRadioProps(props.data, props.index);
<template v-else>
<template v-if="column.edit">
<span v-if="!editIndex[columnIndex]">
{{ data[column.key] }}
{{ column.qfw ? toThousands(data[column.key]) : data[column.key] }}
</span>
<lay-input
:autofocus="true"
@@ -631,7 +631,7 @@ const radioProps = props.getRadioProps(props.data, props.index);
@blur="editIndex[columnIndex] = false"
></lay-input>
</template>
<span v-else> {{ data[column.key] }} </span>
<span v-else> {{ column.qfw ? toThousands(data[column.key]) : data[column.key] }} </span>
</template>
</div>
</td>