liufumingren
|
763573ee41
|
feat(wms): 拦截订单门禁豁免、波次号原子取号、打印自定义区数量、拆包视频与商品复核字段
- pick: waveClaimScan 拦截订单整体跳过领料(不置 claim_status=fin,未打印不阻隔领料);query 领料前置校验仅统计非拦截未领料订单(拦截未领料不阻隔拣货);createWavePickTask 新增 excludeUnclaimed,普通波次(source=0)计算拣货数量(order_count/任务订单/筐)时剔除未领料订单
- wave: 波次号改为 wms_number_sequence 原子取号(upsert + LAST_INSERT_ID,seed 对齐当日历史最大序),wave_no 唯一索引 uniq_wave_no,并发撞号自动重取(最多 3 次)
- print: 面单自定义区首行「商品总数【n】」(items_total 优先),团购波次商品明细行尾「波次总单数×商品数量」
- returnUnpack: 列表新增 has_video/video_enable/videos 视频字段与筛选,补视频列表权限迁移
- stock: 商品新增 need_recheck(是否需要复核)字段,导入归一化与导出列支持,补迁移
- docs: 同步 methods/system.json 与 methods/changes/system.json 变更记录(恢复遗漏的已提交记录)
|
2026-08-23 14:31:49 +08:00 |
|
liufumingren
|
b3bdb566c4
|
fix(stock): 修复 warehouse.import 条码不生效,补差异同步 wms_stock_barcodes
- 创建/更新成功后,若归一化 barcode 为非空数组,调用 saveWarehouseStockBarcode 同步条码
- 条码同步失败计入该行 fail_items;未传条码不触发同步,避免误清空已有条码
|
2026-08-22 17:22:21 +08:00 |
|
liufumingren
|
6d33210624
|
fix(storage): 修复库存/商品列表按数量等字段排序不生效
- stock.warehouse.list: 透传 sort 参数给 getWarehouseStock(此前漏传,后端始终按 id DESC 排序,quantity/available_quantity 等排序字段均无效)
- systems/storage/inventory getInventoryList/exportInventoryList:
- 汇总模式(按 stock_id 合并)order 原写死 last_inbound_time,现支持按聚合别名排序:quantity/locked_quantity/available_quantity/batch_count/first_inbound_time/last_inbound_time/production_date/expiry_date,其余回退 last_inbound_time
- 明细模式新增真实列白名单,非法字段回退默认列,避免 SQL 报错/注入
- sortOrder 统一归一化为 ASC/DESC,分页兼容 currentPage
|
2026-08-21 23:23:06 +08:00 |
|
liufumingren
|
510b87632a
|
feat(stock): 库存/仓库模块货主侧查询与报表增强
- stock/warehouse: 新增 externalList/externalExport(外仓/货主维度查询)
- storeWarehouse/store: 新增货主侧接口(list/get 等)
- stock_store: getWarehouseStock 支持 externalWarehouseId/externalStoreId
- store_warehouse: 合同关系改为单向维度查询(不再 OR 两边)
- storage/report: 库存报表支持 store 维度 + stockIds/keyword 精确筛选
- stock/transaction: storeList/exportStore store_id 从 ctx 获取防越权
- stock_warehouse: getStockDetails 支持显式传 null 跳过仓库过滤
- storage/management: 储位分配待处理排除待审核(step=1)订单
|
2026-07-27 03:48:06 +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
|
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
|
3e813c4975
|
fix: 将 storage.report 模块迁移至 stock.report,修正语义错误
库存报表属于 stock(商品库存)域而非 storage(库位存储)域。
变更:
- systemMethods/storage/report.js → systemMethods/stock/report.js
- 类名 StorageReportMethodService → StockReportMethodService
- 缓存键 storage_report_export_ → stock_report_export_
- 日志前缀 [storage.report] → [stock.report]
- methods/system.json: module + 5 method 名同步更新
- methods/changes/system.json: 追加迁移记录
- systems/storage/entry.js: 注释引用修正
旧文件直接删除,不保留兼容(旧 method 名为语义错误)。
|
2026-07-17 00:30:54 +08:00 |
|
liufumingren
|
9c6d984ebc
|
新增 stock.transaction.list API:商品出入库流水查询(仓库/货主侧自适应),含 system.json 文档注册
|
2026-07-06 22:07:02 +08:00 |
|
liufumingren
|
e7fcd2549e
|
20260625
|
2026-06-25 02:01:59 +08:00 |
|
liufumingren
|
77435aeb79
|
1
|
2026-06-23 18:48:33 +08:00 |
|
liufumingren
|
d743e67b9d
|
1
|
2026-06-17 01:18:55 +08:00 |
|
liufumingren
|
025184904a
|
1
|
2026-06-14 19:03:58 +08:00 |
|
liufumingren
|
8cf2c5befa
|
1
|
2026-05-20 16:31:29 +08:00 |
|
liufumingren
|
cd01be6fbd
|
收货部分更改
|
2026-05-17 21:51:46 +08:00 |
|
liufumingren
|
9b2cc5fc73
|
fix(receiving): 修复获取收货单时重复定义属性的问题
|
2026-05-06 01:32:55 +08:00 |
|
liufumingren
|
3d824a3a1d
|
chore: sync lint and service fixes
|
2026-04-09 01:36:49 +08:00 |
|
liufumingren
|
e590808062
|
feat: update receiving notification and report flow
|
2026-04-05 21:45:18 +08:00 |
|
liufumingren
|
2f838186de
|
chore: sync updates and daylog 2026-03-26
|
2026-03-25 23:26:10 +08:00 |
|
liufumingren
|
b9e94f1035
|
chore: 提交当前工作区改动
|
2026-03-25 18:12:04 +08:00 |
|