feat(shipping-notice): 增强订单文档 Profile 管理功能,新增复核与草稿管理

- 添加订单复核相关模型及 API,支持复核案例的创建、更新和确认
- 实现复核草稿的管理功能,允许用户对复核内容进行编辑和保存
- 引入复核事件审计,确保复核过程的可追溯性
- 更新数据库模型以支持复核和草稿的关系管理
- 完善相关服务逻辑,确保复核与草稿的状态管理和数据一致性
- 增强文档模板的管理能力,支持更复杂的业务场景
This commit is contained in:
hugo committed 2026-07-29 09:50:25 +08:00
1 parent 61ac6403c4
commit b7307fc573
147 files changed
+15108 -1522

No files matched your search

+36 -1
View File
@@ -41,6 +41,13 @@
"SHIPPING_ORDER_DOCUMENT_PROFILE_IMMUTABLE": "A published order document parsing profile cannot be modified.",
"SHIPPING_ORDER_DOCUMENT_PROFILE_LOCK_VERSION_REQUIRED": "The profile lock version is missing. Refresh and try again.",
"SHIPPING_ORDER_DOCUMENT_PROFILE_VERSION_CONFLICT": "Another administrator changed the profile. Refresh and try again.",
"SHIPPING.ORDER_DOCUMENT_PROFILE_LEASE_REQUIRED": "An active editing lease is required. Refresh or take over the draft first.",
"SHIPPING.ORDER_DOCUMENT_PROFILE_LEASE_CONFLICT": "This draft is currently being edited in another browser session.",
"SHIPPING.ORDER_DOCUMENT_PROFILE_LOCK_VERSION_CONFLICT": "The draft changed on the server. Refresh and resolve the conflict before saving.",
"SHIPPING.ORDER_DOCUMENT_PROFILE_REVISION_NOT_FOUND": "The requested draft revision was not found.",
"SHIPPING.ORDER_DOCUMENT_PROFILE_VALIDATION_STALE": "This validation run no longer matches the current draft.",
"SHIPPING.ORDER_DOCUMENT_PROFILE_PUBLISH_CHECK_INVALID": "The publish check is no longer valid. Run the checks again.",
"SHIPPING.ORDER_DOCUMENT_PROFILE_PUBLISH_CHECK_CONSUMED": "This publish check has already been used.",
"SHIPPING_ORDER_DOCUMENT_PROFILE_DRAFT_EXISTS": "This order document parsing profile already has a draft.",
"SHIPPING_ORDER_DOCUMENT_PROFILE_PUBLISH_INVALID": "The current order document parsing profile cannot be published.",
"SHIPPING_ORDER_DOCUMENT_PROFILE_PUBLISH_GATE_TRAINING": "Bind at least one training sample before publishing.",
@@ -343,6 +350,34 @@
"SHIPPING_CUSTOMER_IMPORT_PUBLISH_CONFLICT": "A data conflict occurred while publishing the import.",
"SHIPPING.ORDER_SCHEMA_PROFILE_IMPACT_CONFIRM_REQUIRED": "This order field version affects existing document profiles. Confirm the impact before publishing.",
"SHIPPING.ORDER_DOCUMENT_PROFILE_MIGRATION_INVALID": "The order document profile field migration is invalid.",
"SHIPPING.ORDER_DOCUMENT_PROFILE_MIGRATION_REQUIRED": "Resolve every affected field before creating the migration draft."
"SHIPPING.ORDER_DOCUMENT_PROFILE_MIGRATION_REQUIRED": "Resolve every affected field before creating the migration draft.",
"SHIPPING_REVIEW_CASE_NOT_FOUND": "The order review case was not found or is not accessible.",
"SHIPPING_REVIEW_CASE_NOT_EDITABLE": "This order review is finished and can no longer be edited.",
"SHIPPING_REVIEW_DRAFT_VERSION_REQUIRED": "A valid draft version is required.",
"SHIPPING_REVIEW_DRAFT_VERSION_MISMATCH": "The draft was updated in another window. Refresh and try again.",
"SHIPPING_REVIEW_FIELD_INVALID": "The review field is not in this order's frozen schema.",
"SHIPPING_REVIEW_LINE_NOT_FOUND": "The order line was not found or was deleted.",
"SHIPPING_REVIEW_DOCUMENT_NOT_FOUND": "The review PDF does not exist or is not accessible.",
"SHIPPING_REVIEW_MANUAL_DRAFT_ALREADY_HAS_CANDIDATE": "This PDF already has a machine order and cannot create a manual order.",
"SHIPPING_REVIEW_DRAFT_NOT_FOUND": "The order draft does not exist.",
"SHIPPING_REVIEW_DISPOSITION_NOT_ALLOWED": "This PDF is already finalized and its disposition cannot be changed.",
"SHIPPING_REVIEW_NON_ORDER_REASON_INVALID": "The non-order reason is invalid.",
"SHIPPING_REVIEW_QUALITY_REASON_INVALID": "The file quality issue reason is invalid.",
"SHIPPING_REVIEW_REPARSE_NOT_ALLOWED": "This PDF cannot be reparsed.",
"SHIPPING_REVIEW_REPARSE_REASON_INVALID": "The reparse reason is invalid.",
"SHIPPING_REVIEW_REPARSE_SOURCE_INVALID": "The source for reparsing this PDF is unavailable.",
"SHIPPING_REVIEW_REPARSE_PENDING": "This PDF is already being reparsed.",
"SHIPPING_REVIEW_REPLACEMENT_NOT_ALLOWED": "A replacement file cannot be used for this PDF now.",
"SHIPPING_REVIEW_REPLACEMENT_FILE_INVALID": "The replacement file must be a PDF.",
"SHIPPING_REVIEW_REPLACEMENT_NOT_FOUND": "The replacement intake does not exist or is not accessible.",
"SHIPPING_REVIEW_REPLACEMENT_PENDING": "The replacement PDF is still parsing. Try again later.",
"SHIPPING_REVIEW_REPLACEMENT_DOCUMENT_INVALID": "The replacement file must contain exactly one PDF.",
"SHIPPING_REVIEW_WARNING_ACK_INVALID": "The warning acknowledgements are invalid.",
"SHIPPING_REVIEW_CONFIRM_NOT_ALLOWED": "This order review cannot be confirmed now.",
"SHIPPING_REVIEW_DUPLICATE_RESOLUTION_REQUIRED": "This order may be a duplicate. Resolve it through the duplicate workflow first.",
"SHIPPING_REVIEW_IDEMPOTENCY_KEY_REQUIRED": "The confirmation request is missing an idempotency key. Please try again.",
"SHIPPING_REVIEW_IDEMPOTENCY_KEY_CONFLICT": "The confirmation request conflicts with an existing request. Refresh and try again.",
"SHIPPING_REVIEW_CONFIRM_VALIDATION_FAILED": "The draft has not passed complete validation and cannot be confirmed.",
"SHIPPING_REVIEW_CONFIRM_DOCUMENT_INVALID": "The review PDF is unavailable and cannot be confirmed."
}
}