feat(shipping-notice): 增强发货通知候选管理功能,支持候选选择、重复检测与业务摘要修订
This commit is contained in:
1 parent
70f684b94a
commit
b595e157e9
83 files changed
+5857
-200
No files matched your search
@@ -11,7 +11,7 @@ from __future__ import annotations
|
||||
from typing import Any, Callable
|
||||
|
||||
from app.services.shipping_notice.i18n import resolve_lang, t
|
||||
from app.services.shipping_notice.reservation_id import extract_reservation_id
|
||||
from app.services.shipping_notice.reservation_id import validated_reservation_id
|
||||
|
||||
|
||||
def _norm(value: Any) -> str:
|
||||
@@ -19,7 +19,7 @@ def _norm(value: Any) -> str:
|
||||
|
||||
|
||||
def _norm_reservation(value: Any) -> str:
|
||||
return extract_reservation_id(value)
|
||||
return validated_reservation_id(value)
|
||||
|
||||
|
||||
def _line_key(sku: str, reservation_id: str | None) -> tuple[str, str]:
|
||||
|
||||
Reference in new issue
Block a user