10 Commits

Author SHA1 Message Date
liufumingren
1537c1ac10 refactor: stock.transaction 导出列调整为库存变动/锁定变动分离
- 库存变动量(INBOUND/OUTBOUND 有值,LOCK/UNLOCK 为 0)
- 库存变更前/后
- 锁定变动量(计算 after_locked - before_locked,库存流水中为 0)
- 锁定变更前/后
2026-07-17 02:37:54 +08:00
liufumingren
04305fffd6 feat: stock.transaction 新增 where.ids 精确筛选,支持导出选中记录
之前 where.ids 传入完全被忽略,导致导出内容与用户选中的记录不符。
queryList/exportList 现已支持 ids 数组精确筛选 wms_stock_transaction.id。
2026-07-17 02:26:10 +08:00
liufumingren
07f35c43bf fix: 修复 queryList 中 stockIds 筛选 if 块缺失导致语法错误 2026-07-17 01:56:54 +08:00
liufumingren
df8173cecd feat: 新增 stock.transaction 商品流水导出 + keyword 商品搜索
- systems/stock_transaction.js: 新增 exportList() 异步导出 Excel(上限50000条)
  - 新增 _resolveKeywordToStockIds() 关键词→stock_id 解析
  - queryList/exportList 支持 keyword 模糊搜索(按 item_code/item_name/goods_code/barcode/SKU ID)
- systemMethods/stock/transaction.js:
  - 新增 export/exportStore/exportTaskProgress 异步导出方法
  - list/storeList/export/exportStore 全部透传 keyword
  - storeList 新增 warehouse_id/stock_id 单数兼容
- methods/system.json + changes/system.json: 新增3个method文档
2026-07-17 01:48:12 +08:00
liufumingren
9c6d984ebc 新增 stock.transaction.list API:商品出入库流水查询(仓库/货主侧自适应),含 system.json 文档注册 2026-07-06 22:07:02 +08:00
liufumingren
0b207a1c9c 1 2026-06-10 09:14:05 +08:00
liufumingren
e23bf4f15e 1 2026-05-17 03:23:57 +08:00
liufumingren
9845a239e2 1 2026-05-16 02:44:53 +08:00
liufumingren
57f1f44bae feat: sync wms updates 2026-04-09 15:45:14 +08:00
liufumingren
3d824a3a1d chore: sync lint and service fixes 2026-04-09 01:36:49 +08:00