mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 22:10:49 +00:00
feat(商品中台): 列表展示上架状态与数据状态列
原「状态」列更名为「上架状态」,新增「数据状态」列(正常/回收站), 与搜索区的状态筛选项对应
This commit is contained in:
parent
0236577e47
commit
6a7527c489
@ -95,13 +95,20 @@
|
||||
<span>{{ scope.row.stock || 0 }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="状态" min-width="100">
|
||||
<el-table-column label="上架状态" min-width="100">
|
||||
<template #default="scope">
|
||||
<el-tag :type="scope.row.is_show ? 'success' : 'info'">
|
||||
{{ scope.row.is_show ? '上架' : '下架' }}
|
||||
</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="数据状态" min-width="100">
|
||||
<template #default="scope">
|
||||
<el-tag :type="scope.row.is_del ? 'danger' : 'success'">
|
||||
{{ scope.row.is_del ? '回收站' : '正常' }}
|
||||
</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" fixed="right" minWidth="100">
|
||||
<template #default="scope">
|
||||
<a v-db-click @click="edit(scope.row)">编辑</a>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user