feat:食堂新增字段是否显示

This commit is contained in:
zjf committed 2025-03-25 17:29:12 +08:00
1 parent 2c0430b365
commit 3769d265b1
1 file changed
+6 -1
+6 -1
View File
@@ -69,6 +69,11 @@
<dict-tag :options="spu_status" :value="scope.row.status" />
</template>
</el-table-column>
<el-table-column prop="isShow" label="是否在移动端显示" show-overflow-tooltip>
<template #default="scope">
<dict-tag :options="is_show" :value="scope.row.isShow"></dict-tag>
</template>
</el-table-column>
<el-table-column prop="price" label="商品价格" show-overflow-tooltip>
<template #default="scope">
{{ displayPrice(scope.row.price) }}
@@ -121,7 +126,7 @@ import { getAllSimple as getCanteenCategory } from "/@/api/canteen/canteenCatego
// 引入组件
const FormDialog = defineAsyncComponent(() => import("./form.vue"))
const { spu_status } = useDict("spu_status")
const { spu_status,is_show } = useDict("spu_status","is_show")
// 定义变量内容
const formDialogRef = ref()
// 搜索变量