From 737fa999875ec2782d6c098ef490cf66d45bbfaf Mon Sep 17 00:00:00 2001 From: mayf <m13160102112@163.com> Date: 星期五, 20 九月 2024 16:25:35 +0800 Subject: [PATCH] 分类表格文字修改 积分优惠券限制库存为0不能发布 删除用户优惠券选择用户弹窗中的新增按钮 优惠券使用条件和面值校验问题 --- pages/goods/category-list.vue | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/pages/goods/category-list.vue b/pages/goods/category-list.vue index ded0004..dc51929 100644 --- a/pages/goods/category-list.vue +++ b/pages/goods/category-list.vue @@ -36,6 +36,7 @@ ) return list.map((i) => ({ ...i, + childrenCount: Array.isArray(i.children) ? i.children.length : 0, children: this.expandIds.includes(i.id) ? i.children : i.children.slice(0, 1), @@ -82,6 +83,7 @@ ), }, { label: '排序', prop: 'sortBy' }, + { label: '品种数量', formatter: (row) => row.childrenCount }, { label: '是否显示', formatter: (row) => ( -- Gitblit v1.9.3