feat(consignment): 关闭自动匹配仍可人工指定,匹配日志记录配置快照
- off 模式文案改为「关闭自动匹配(仍可人工指定)」,手动匹配弹窗增加警示 - 候选接口返回 matchingMode/profileVersionId/exactOnly - 匹配日志新增 profile_version_id/matching_mode/exact_only 快照(迁移153) - 修正拼单份额测试为库存售价口径(3×6000×95%=17100) - 补 off 全链路、模式切换、并发占库、多数量拆分 E2E
This commit is contained in:
@@ -227,6 +227,14 @@ export default function ConsignmentWorkOrderMatchModal({
|
||||
) : null}
|
||||
{options.length > 0 ? (
|
||||
<Space direction="vertical" size={12} style={{ width: '100%' }}>
|
||||
{data?.matchingMode === 'off' ? (
|
||||
<Alert
|
||||
type="warning"
|
||||
showIcon
|
||||
message="该分类已关闭自动匹配"
|
||||
description="关闭自动匹配不会禁止人工操作:本次手动匹配仍会直接占用寄卖现货并写入匹配留痕,请确认库存与订单规格后再提交。"
|
||||
/>
|
||||
) : null}
|
||||
<Alert
|
||||
type={remainingNeeded <= 0 ? 'warning' : 'info'}
|
||||
showIcon
|
||||
|
||||
Reference in New Issue
Block a user