Files
SupplierSystem/miniprogram/components
雨天 a837a1bd96
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
fix(小程序入库): 报告绑定不阻断入库并复用同一报告行
自审发现四处问题:
- 绑定环节任何异常都可能把入库变成失败 → 整体 try/catch,只进 report_bindings
- 一份报告挂多行时各行分别入库会建出重复报告 → 同文件+类型+编号复用
  已有报告行,只补关联(经真库验证:1 条报告 + 2 条关联)
- 归属断言移出事务,避免共享连接下在事务内做 legacy key 反查
- 小屏下报告弹层 scroll-view 只有 max-height 不滚动、底部按钮可能被裁
  → 固定高度 + 弹层可滚动
2026-10-21 18:52:28 +08:00
..