Files
SupplierSystem/server/src
雨天 289aaa4613
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
规格口径: 自采/备货与订单详情一致(取消商品库兜底)
开发者口径:「订单详情展示规格 ⇒ 自采/备货一样;订单详情不展示规格 ⇒ 自采与供应商备货也不展示」⇒ 规格列只认订单行录单规格 order_items.spec,空 ⇒ 不显示。

- 撤销 v3 的商品库 skus.spec 兜底:formatPrepSpec = order_spec、formatPurchaseSpec = order_item_spec(采购 remark 手工规格兜底一并撤掉)
- 小程序自采列表(purchase-today-panel)接入:共享 PURCHASE_ORDER_DISPLAY_SELECT 增 order_spec(只取 oi.spec,无 s.spec 兜底)+ 卡片商品名下一行灰字「规格:xxx」(有值才渲染)
- 更新三份设计文档与 README 索引为「与订单详情一致」;契约测试随之更新

注:SQL 引用 order_items.spec ⇒ 需先跑迁移 20261050。
2026-10-16 17:15:40 +08:00
..