docs(shop): 补充商品分类多级分类调研内容

- 说明分类管理页支持多级层级及其实现方式
- 指出商品端选分类组件限制在2~3级的问题
- 提醒后端是否限制层级需查后端仓库确认

feat(shopGoods): 新增批量上架含图片商品SQL脚本

- 提供批量上架分类ID为10332且含有图片商品的SQL预览查询
- 包含更新商品状态为上架的SQL语句及执行说明
- 约定商品状态、图片判定及删除标记等业务规则
This commit is contained in:
2026-07-24 11:19:50 +08:00
parent a831dce61a
commit 0bfd5e667b
2 changed files with 43 additions and 0 deletions

View File

@@ -30,3 +30,8 @@
- 原「市场价/价格/会员价」三列(字段 salePrice/price/dealerPrice合并为单个「价格」列`key: 'priceGroup'`width 150
- 单元格内堆叠显示,顺序与命名对齐编辑弹窗(`shopGoodsEdit.vue` 基本信息 Tab价格price加粗头条→ 市场价salePrice→ 会员价dealerPrice空值显示 `-`
- 列表展示用 priceGroup 自定义 `#bodyCell` 渲染;导出 Excel`handleExport`)仍保留三列独立价格,未改动。
## 商品分类(ShopGoodsCategory)多级分类调研
- 分类管理页 `/shop/shopGoodsCategory` 本身**支持**多级:模型有 parentId/children编辑弹窗用 a-tree-select(toTreeData) 不限层级,列表 computeDepth 递归缩进。
- 但商品端选分类的级联组件 `src/components/SelectGoodsCategory/index.vue` 的 formatData/filterData 只映射 2~3 级shopGoodsEdit 的 `chooseGoodsCategory` 写死 `value[1].value`/`value[0].label`(仅 2 级3 级及以上会选错/选不中。
- 后端 `/shop/shop-goods-category` 是否限层级需查后端仓库确认(本仓库看不到)。