feat(shipping-notice): 新增发货通知重复检测与处理接口,支持重复决策保存与重新执行检测

This commit is contained in:
hugo committed 2026-07-14 21:12:36 +08:00
1 parent 729546a7b7
commit ceb49461e8
72 files changed
+14270 -460

No files matched your search

@@ -515,6 +515,31 @@ export const cancelShippingNoticeIntake = (intakeNo: string) =>
{ method: 'DELETE' },
);
export const resolveShippingNoticeDuplicate = (
intakeNo: string,
action: string,
targetTaskNo?: string | null,
reason?: string | null,
) =>
requestJson<ShippingNoticeIntakeResponse>(
`/api/workspace/shipping-notice/intakes/${encodeURIComponent(intakeNo)}/duplicate-resolution`,
{
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
action,
target_task_no: targetTaskNo || undefined,
reason: reason || undefined,
}),
},
);
export const refreshShippingNoticeDuplicate = (intakeNo: string) =>
requestJson<ShippingNoticeIntakeResponse>(
`/api/workspace/shipping-notice/intakes/${encodeURIComponent(intakeNo)}/duplicate-refresh`,
{ method: 'POST' },
);
export const createWorkspaceShippingBatchFromIntakes = (
intakeNos: string[],
conversationId?: string | null,