Hide duplicate original material name

This commit is contained in:
caoqianming 2026-07-30 16:02:31 +08:00
parent 475b0eb4ed
commit 806eb80491
1 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@
> >
<template #default="scope"> <template #default="scope">
{{ scope.row.material_name }} {{ scope.row.material_name }}
<span v-if="scope.row.material_origin != null"> <span v-if="scope.row.material_origin != null && scope.row.material_origin != scope.row.material">
{{ scope.row.material_origin_name }} {{ scope.row.material_origin_name }}
</span> </span>
</template> </template>
@ -215,7 +215,7 @@
> >
<template #default="scope"> <template #default="scope">
{{ scope.row.material_name }} {{ scope.row.material_name }}
<span v-if="scope.row.material_origin != null"> <span v-if="scope.row.material_origin != null && scope.row.material_origin != scope.row.material">
{{ scope.row.material_origin_name }} {{ scope.row.material_origin_name }}
</span> </span>
</template> </template>