Commit Graph
9 Commits
Author SHA1 Message Date
Ubuntu dd0e9a8889 fix(独立加工成本): 均分总价值守恒——前端只在人工改价时提交单价,后端把舍入残差补到最后一行(损耗越多单价越高、但Σ金额=原料成本)
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
2026-10-23 17:36:20 +08:00
雨天 3dce355f66 新建商品:商品名与分类必填其余选填
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
- 品名、分类加红色必填标记,提交时拦空
- 分类不再默认选中第一个(-1,取参不再 || 0 兜底)
- 规格、单位、生产地区为空照常提交
2026-10-23 17:29:26 +08:00
雨天 456976df73 新建商品分类改内联并支持新建分类
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
- 分类不再用滚轮选择器,改成一排可点 chip(选中态高亮)
- chip 末尾「+ 新建分类」,在表单内就地输入名称创建
- 新建复用库存入库建分类接口,建完直接选中且不关表单
2026-10-23 17:27:47 +08:00
雨天 b02853d8b8 重构小程序成品搜索框并支持搜不到建品
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
- 输入处理器只回写用户输入的字符串,不再把候选或结果写进输入框
- 候选瘦身到 4 个字段,本地过滤优先,本地没命中再回服务端
- 搜不到时给「用该名称新建商品」入口,复用库存入库建品接口
- 建好自动加入成品行并刷新候选
2026-10-23 17:24:54 +08:00
Ubuntu 841ac4e0ca fix(小程序独立加工): 成品搜索框改回受控输入(value 绑定 + data 声明 + 事件兜底)——非受控+epoch 重建导致真机输入始终为空
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
2026-10-23 17:18:22 +08:00
雨天 88aa85ecb8 修小程序成品搜索框回显 undefined
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
- 搜索框改为非受控(不再绑定 value),框架无从把异常值写回
- 打开、选中、关闭三处改变 outputSearchEpochList 重建输入框以清空
- 契约测试钉住:把 value 绑定加回去立即变红
2026-10-23 17:11:37 +08:00
雨天 308afff5ad 独立加工:修小程序成品申报与批次继承
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
- 小程序「开始加工」不再被「待完成到货验收」拦住(独立加工没有验收行)
- 成品搜索框补 data 声明并加 || '' 兜底,改为打开即载入候选 + 本地优先过滤
- 成品批次继承原料的生产日期/保质期原文/有效期/产地,入库后仍可在库存管理修改
- 两个继承开关默认勾选,选中态改绿色实心勾(小程序自绘,Web 用 accent)
- 新增两篇设计文档并同步索引
2026-10-23 17:04:20 +08:00
Ubuntu 899a363ead feat(小程序独立加工): 创建改多行原料;独立加工完工改「申报成品」(成品多行/成本自动均分/损耗自动差额/继承开关);订单与需求单加工流程保持原样
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
2026-10-23 16:13:19 +08:00
Ubuntu deb3e72750 chore: 以 AI 生鲜配送系统 当前版本作为 SupplierSystem 起点
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
来源仓库:jxc/ai-fresh-delivery
来源提交:f0b1a180e2deb7e4673b9d1c8542619f7bc0f73d
快照树:  09f679334ff38f0ff25e907961c94a8223bcaedd(与来源 HEAD 工作树逐字节一致,3801 个文件)

按约定本仓库不带任何历史提交:来源仓库的历史中含真实凭据
(生产 SSH 私钥 deploy/id_rsa_tencent、server/.env、.env.tencent/.env.production/.env.gitea、
deploy/小程序AppSecret.txt,其中 MP_APPSECRET / S3 AccessKey 经哈希比对与线上同值),
整包推送会把这些凭据永久带入本仓库,故只取「当前版本」的单提交快照。
供应商系统后续开发自本提交开始。
2026-10-08 17:35:43 +08:00