|
@@ -72,8 +72,8 @@
|
|
|
<el-table-column label="菜品名称" align="center" key="goodsName" prop="goodsName" v-if="columns[1].visible" :show-overflow-tooltip="true" />
|
|
|
<el-table-column label="分类类型" align="center" key="classifyName" prop="classifyName" v-if="columns[2].visible" :show-overflow-tooltip="true" />
|
|
|
<!-- <el-table-column label="价格(元)" align="center" key="salePrice" prop="salePrice" v-if="columns[3].visible" :show-overflow-tooltip="true" /> -->
|
|
|
- <el-table-column label="库存" align="center" key="quantity" prop="quantity" v-if="columns[3].visible" :show-overflow-tooltip="true" />
|
|
|
- <el-table-column label="上架/下架" align="center" key="status" v-if="columns[4].visible">
|
|
|
+ <!-- <el-table-column label="库存" align="center" key="quantity" prop="quantity" v-if="columns[3].visible" :show-overflow-tooltip="true" /> -->
|
|
|
+ <el-table-column label="上架/下架" align="center" key="status" v-if="columns[3].visible">
|
|
|
<template slot-scope="scope">
|
|
|
<switchBox
|
|
|
:defaultChecked="true"
|
|
@@ -85,7 +85,7 @@
|
|
|
/>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="创建时间" align="center" key="createTime" prop="createTime" v-if="columns[5].visible" :show-overflow-tooltip="true" />
|
|
|
+ <el-table-column label="创建时间" align="center" key="createTime" prop="createTime" v-if="columns[4].visible" :show-overflow-tooltip="true" />
|
|
|
<el-table-column
|
|
|
label="操作"
|
|
|
align="center"
|
|
@@ -214,7 +214,7 @@ export default {
|
|
|
{ key: 2, label: `菜品名称`, visible: true },
|
|
|
{ key: 3, label: `分类类型`, visible: true },
|
|
|
// { key: 4, label: `价格(元)`, visible: true },
|
|
|
- { key: 5, label: `库存`, visible: true },
|
|
|
+ // { key: 5, label: `库存`, visible: true },
|
|
|
{ key: 6, label: `上架/下架`, visible: true },
|
|
|
{ key: 7, label: `创建时间`, visible: true },
|
|
|
],
|