liufumingren
|
25442ba215
|
feat(storage): 拦截锁定库存改造,拦截确认库存移入 intercept_locked_quantity 不归还可用,可用数量统一口径 quantity-locked-intercept,负库存入库平账冲销 GAP 挂账
|
2026-09-03 17:00:37 +08:00 |
|
liufumingren
|
705678487d
|
fix(returnUnpack): 拆包视频拼接 CDN 域名,商品复核字段透出与缓存失效修复
- returnUnpack: list/detail/videoList/queryByWaybill 输出 videos[].video_url 自动拼接
http://w{warehouseId}-c{recordingComputerId}.o.gztbyc.com{path},与 order.packing 同口径
(录制电脑从 wms_print_computer 按 is_recording=true 获取,无录制电脑时保持原始相对路径)
- recheckOrder: scanOrder/scanTask 报文 stock 明细新增 need_recheck 字段(缺省 Y)
- stock: getStockDetails 双实现透出 need_recheck;saveWarehouseStock/handleBatchChange 更新成功后
显式清除商品详情缓存(bulk update 不触发实例级 afterUpdate hook,修复旧缓存被持续读取)
- delivery_order: 订单创建时间统一取服务器当前时间,不采用报文 createTime,避免被平台上报时间覆盖
- 同步 methods/system.json 文档与 methods/changes/system.json 变更记录
|
2026-08-23 22:13:33 +08:00 |
|
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
|
0dc7e1cd09
|
feat(stock): stock.warehouse.search 返回新增 images 商品图片列表
- stock_store.search 批查 wms_file_reference(business_type=stock)+wms_file,
按 display_order 升序注入 item.images,无图片返回空数组(口径与 list 一致)
- 同步更新 methods/system.json response 字段与 methods/changes/system.json 变更记录
|
2026-08-21 23:07:51 +08:00 |
|
liufumingren
|
3e7c9a7a10
|
fix: 修复 docs 页面 JS 失效 + 入库 locked_quantity 流水补全 + stock_store 查询条件补全 is_valid
1. docs.js: 修复模板字面量中 '\n' 被服务端解释为换行符导致客户端 JS SyntaxError,所有交互功能失效(搜索/发送按钮)
2. inbound_direct_log.js: batch_no 修正为 effectiveBatchNo;storage 表更新时补全 before_locked_quantity/after_locked_quantity;新增 stock_id 归属校验
3. stock_store.js: 多处查询/更新补全 is_valid='Y' 过滤条件,避免软删除/失效数据泄露或误操作
4. storage/entry.js: 入库完成时补全 storage 表 before_locked_quantity/after_locked_quantity 流水字段
|
2026-08-09 00:23:42 +08:00 |
|
liufumingren
|
358fef0f71
|
chore: apply ESLint auto-fixes, JSDoc additions, and CRLF→LF normalization (no logic changes)
|
2026-08-08 20:28:18 +08:00 |
|
liufumingren
|
61b82512f2
|
feat(auth): 新增客服组权限授权/取消脚本,更新 dev-agent 配置
- scripts/auth/grant-cs-up.js: 客服组及以上角色批量授权(dev+prod)
- scripts/auth/revoke-cs-up.js: 客服组及以上角色批量取消授权(dev+prod)
- .github/agents/开发.agent.md: 新增关键定位地图第5项-客服组权限授权脚本
- .cursor/agents/wms-dev-agent.md: 同步 dev-agent 配置
|
2026-08-04 18:08:46 +08:00 |
|
liufumingren
|
7ff7285222
|
feat(stock.transaction): 新增 UNLOCK 类型,取消锁定时写入 UNLOCK 而非 OUTBOUND
- stock_transaction 枚举新增 UNLOCK(取消锁定)
- stock_store 取消锁定时写 UNLOCK 流水
- 迁移: 20260711160000-add-unlock-to-wms-stock-transaction
|
2026-07-27 03:45:54 +08:00 |
|
liufumingren
|
76c52fa268
|
use_status 重命名为 warehouse_use_status,新增 store_use_status;仓库/货主侧独立控制签约使用状态,unbind 按身份分派字段
|
2026-07-06 22:12:23 +08:00 |
|
liufumingren
|
df1bd38601
|
商品流水增加锁定类目语义类型
|
2026-07-06 19:28:45 +08:00 |
|
liufumingren
|
7f05b26db2
|
1
|
2026-07-04 21:40:31 +08:00 |
|
liufumingren
|
e7fcd2549e
|
20260625
|
2026-06-25 02:01:59 +08:00 |
|
liufumingren
|
569a25390f
|
1
|
2026-06-24 07:36:43 +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
|
0b207a1c9c
|
1
|
2026-06-10 09:14:05 +08:00 |
|
liufumingren
|
eb100b056d
|
1
|
2026-06-07 01:52:06 +08:00 |
|
liufumingren
|
99367e5043
|
1
|
2026-06-06 05:15:46 +08:00 |
|
liufumingren
|
8cf2c5befa
|
1
|
2026-05-20 16:31:29 +08:00 |
|
liufumingren
|
cd01be6fbd
|
收货部分更改
|
2026-05-17 21:51:46 +08:00 |
|
liufumingren
|
adb1a16599
|
1
|
2026-05-16 23:00:49 +08:00 |
|
liufumingren
|
9845a239e2
|
1
|
2026-05-16 02:44:53 +08:00 |
|
liufumingren
|
9b2cc5fc73
|
fix(receiving): 修复获取收货单时重复定义属性的问题
|
2026-05-06 01:32:55 +08:00 |
|
liufumingren
|
5ce689d771
|
1
Co-authored-by: Copilot <copilot@github.com>
|
2026-04-30 19:20:31 +08:00 |
|
liufumingren
|
b7f980188f
|
1
Co-authored-by: Copilot <copilot@github.com>
|
2026-04-29 17:43:54 +08:00 |
|
liufumingren
|
0ffe290a21
|
chore: commit all current workspace changes
|
2026-04-27 16:09:26 +08:00 |
|
liufumingren
|
622869787a
|
feat: sync workspace changes
|
2026-04-17 19:21:57 +08:00 |
|
liufumingren
|
e73a311076
|
ok
|
2026-04-11 17:09:06 +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 |
|
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 |
|
liufumingren
|
bbc5891d16
|
chore: sync workspace changes
|
2026-03-23 17:10:07 +08:00 |
|
|
|
63b4536766
|
chore: initialize wms project
|
2026-03-16 14:01:22 +08:00 |
|