商品分类页面需要调整

This commit is contained in:
duan
2024-10-29 13:33:33 +08:00
parent 863630b4c2
commit c3cd0e704e

View File

@@ -25,18 +25,18 @@
@change="showChange($event, scope.row)"></el-switch> @change="showChange($event, scope.row)"></el-switch>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="颜色"> <!-- <el-table-column label="颜色">
<template v-slot="scope"> <template v-slot="scope">
<div <div
:style="{ width: '20px', height: '20px', borderRadius: '50%', backgroundColor: scope.row.style || '#efefef' }"> :style="{ width: '20px', height: '20px', borderRadius: '50%', backgroundColor: scope.row.style || '#efefef' }">
</div> </div>
</template> </template>
</el-table-column> </el-table-column> -->
<el-table-column label="操作" width="300"> <el-table-column label="操作" width="300">
<template v-slot="scope"> <template v-slot="scope">
<el-button type="text" size="mini" round icon="el-icon-plus" <!-- <el-button type="text" size="mini" round icon="el-icon-plus"
@click="$refs.addClassifyRef.show({ pid: scope.row.id })" @click="$refs.addClassifyRef.show({ pid: scope.row.id })"
v-if="!scope.row.pid">添加子分类</el-button> v-if="!scope.row.pid">添加子分类</el-button> -->
<el-button type="text" size="mini" round icon="el-icon-edit" <el-button type="text" size="mini" round icon="el-icon-edit"
@click="$refs.addClassifyRef.show(scope.row)">编辑</el-button> @click="$refs.addClassifyRef.show(scope.row)">编辑</el-button>
<el-popconfirm title="确定删除吗?" @confirm="delHandle([scope.row.id])"> <el-popconfirm title="确定删除吗?" @confirm="delHandle([scope.row.id])">