fix: close inbound hold bypass paths

This commit is contained in:
2026-09-07 12:10:11 +08:00
parent 6b479d1a68
commit 41582fe17b
28 changed files with 899 additions and 11 deletions
@@ -21,6 +21,17 @@ test('入库扣货模块覆盖隔离、幂等、冲突、候选门禁和统一
assert.match(source, /解除后入库单恢复智能装柜候选/)
assert.match(source, /统一订单列表同步展示扣货字段/)
assert.match(source, /统一订单列表同步恢复扣货字段/)
assert.match(source, /扣货缺少幂等键返回A0400/)
assert.match(source, /扣货空白原因返回A0422/)
assert.match(source, /扣货超长原因返回A0422/)
assert.match(source, /扣货负版本返回A0422/)
assert.match(source, /扣货无效凭证ID返回A0422/)
assert.match(source, /错误客户不能执行扣货/)
assert.match(source, /已扣货时使用新键再次扣货返回A0409/)
assert.match(source, /未扣货时使用新键再次解除返回A0409/)
assert.match(source, /上传本轮扣货关联凭证/)
assert.match(source, /尚未进入不可变历史的凭证禁止下载/)
assert.match(source, /进入不可变历史后的扣货凭证可下载且内容一致/)
assert.match(source, /summary\?\.holdFlag/)
assert.match(source, /summary\?\.currentHoldReason/)
assert.doesNotMatch(source, /\.holdCargo\b|\.holdReason\b|\bholdCargo\s*:|\bholdReason\s*:/)