refactor(shipping-notice): 移除废弃的履约策略模型与相关逻辑
- 删除 `ShippingFulfillmentPolicy` 模型及其依赖,简化字段治理逻辑 - 更新相关服务与 API,确保自动建单策略通过 Schema 草稿管理 - 调整文档与代码注释,反映新的固定履约契约逻辑 - 增强事件审计功能,记录任务状态变化与操作人信息
This commit is contained in:
1 parent
aa8fb2616c
commit
c85997884b
81 files changed
+2625
-1965
No files matched your search
@@ -146,6 +146,11 @@ export interface ShippingTaskSummary {
|
||||
export interface ShippingTaskEvent {
|
||||
event_type: string;
|
||||
detail_json?: Record<string, unknown> | null;
|
||||
actor_id?: number | null;
|
||||
request_id?: string | null;
|
||||
source?: string | null;
|
||||
before_json?: Record<string, unknown> | null;
|
||||
after_json?: Record<string, unknown> | null;
|
||||
created_at?: string | null;
|
||||
}
|
||||
|
||||
@@ -602,7 +607,7 @@ export interface ShippingNoticeLayoutSummary {
|
||||
}
|
||||
|
||||
export interface ShippingInventoryVerificationLine {
|
||||
reservation_id: number;
|
||||
reservation_id: string;
|
||||
required_qty: string;
|
||||
available_qty: string;
|
||||
status: 'available' | 'shortage' | 'invalid' | string;
|
||||
@@ -624,7 +629,7 @@ export interface ShippingExportArtifact {
|
||||
file_name: string;
|
||||
file_size: number;
|
||||
created_at?: string | null;
|
||||
reservation_ids: number[];
|
||||
reservation_ids: string[];
|
||||
}
|
||||
|
||||
export interface ShippingUploadAttempt {
|
||||
|
||||
Reference in new issue
Block a user