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
|
9c6d984ebc
|
新增 stock.transaction.list API:商品出入库流水查询(仓库/货主侧自适应),含 system.json 文档注册
|
2026-07-06 22:07:02 +08:00 |
|