feat(shipping-notice): 支持发货通知解析延后至 Dify 画布,优化任务创建流程
This commit is contained in:
1 parent
d46d61bfa1
commit
70e8f700ff
38 files changed
+3215
-714
No files matched your search
@@ -210,6 +210,11 @@ export function useChatShipping(options: UseChatShippingOptions) {
|
||||
|| String(shippingBatchSummary.value?.batch_no || '').trim()
|
||||
|| '';
|
||||
|
||||
const getCurrentShippingChatContext = () => ({
|
||||
task_id: getActiveShippingTaskId(),
|
||||
batch_no: getActiveShippingBatchNo(),
|
||||
});
|
||||
|
||||
const syncActiveShippingTaskDetail = async (taskId?: string) => {
|
||||
const normalized = String(taskId || getActiveShippingTaskId() || '').trim().toUpperCase();
|
||||
if (!normalized) {
|
||||
@@ -483,6 +488,7 @@ export function useChatShipping(options: UseChatShippingOptions) {
|
||||
shippingBatchTasks,
|
||||
shippingBatchTasksExpanded,
|
||||
activeShippingTaskDetail,
|
||||
getCurrentShippingChatContext,
|
||||
getActiveShippingBatchNo,
|
||||
switchShippingFocusTask,
|
||||
resumeShippingTaskFromQuery,
|
||||
|
||||
Reference in new issue
Block a user