diff --git a/src/api/order.print/orderprint.ts b/src/api/order.print/orderprint.ts index 83dd3c99..6232ac11 100644 --- a/src/api/order.print/orderprint.ts +++ b/src/api/order.print/orderprint.ts @@ -14,6 +14,20 @@ export type WavePrintDataPayload = { ext?: Record } +export type GetWavePlatformPrintDataParams = { + warehouse_id: number + wave_ids: Array +} + +/** 接口文档:summary / wave_ids / platform_groups / order_list / ext */ +export type WavePlatformPrintDataPayload = { + summary?: Record + wave_ids?: Array + platform_groups?: unknown[] + order_list?: Record[] + ext?: Record +} + /** 按波次 IDs 获取订单打印数据(order.print.getWavePrintData) */ export function getWavePrintData(data: GetWavePrintDataParams) { return request({ @@ -28,3 +42,18 @@ export function getWavePrintData(data: GetWavePrintDataParams) { isSystemApi: true } as any) } + +/** 按波次 IDs 获取平台打印中间态数据(order.print.getWavePlatformPrintData) */ +export function getWavePlatformPrintData(data: GetWavePlatformPrintDataParams) { + return request({ + url: '/system', + method: 'post', + params: { + method: 'order.print.getWavePlatformPrintData', + v, + timestamp: new Date().getTime() + }, + data, + isSystemApi: true + } as any) +} diff --git a/src/api/order.wave/orderwave.ts b/src/api/order.wave/orderwave.ts index 3024bc4f..455167d0 100644 --- a/src/api/order.wave/orderwave.ts +++ b/src/api/order.wave/orderwave.ts @@ -2,12 +2,40 @@ import request from '@/utils/request' const v = '1.0' +/** order.wave.batchList 的 where 白名单(禁止 warehouse_id / warehouseId) */ +export type WaveBatchListWhere = { + wave_id?: number | string + wave_no?: string + wave_type?: number + wave_status?: number + creator?: string + logistics_name?: string + item_part_type?: number + item_part?: string + item_snapshot_key?: string + item_detail_machine?: string + distinguish_express?: number + total_orders_min?: number + total_orders_max?: number + processed_orders_min?: number + processed_orders_max?: number + /** 英文枚举:unassigned | partially_assigned | assigned */ + express_assignment_status?: 'unassigned' | 'partially_assigned' | 'assigned' + /** 英文枚举:unprinted | partially_printed | printed */ + print_assignment_status?: 'unprinted' | 'partially_printed' | 'printed' + /** 中文:未分配 | 部分分配 | 已分配 */ + storage_assignment_status?: string + /** 0 普通波次,1 管理后台策略任务,2 PDA 策略任务 */ + source?: number +} + export type WaveBatchListParams = { pagination?: { page?: number pageSize?: number } - where?: Record + /** 白名单见 WaveBatchListWhere;与列表页动态 where 构建兼容 */ + where?: WaveBatchListWhere | Record } export type WaveListPagination = { @@ -19,8 +47,17 @@ export type WaveListPagination = { hasNext?: boolean } +export type WaveBatchListItem = Record & { + order_count?: number + storage_assignment_status?: string + express_assignment_status?: string + print_assignment_status?: string + /** 0 普通波次,1 管理后台策略任务,2 PDA 策略任务 */ + source?: number +} + export type WaveBatchListResponse = { - list: Array> + list: WaveBatchListItem[] pagination: WaveListPagination } @@ -166,12 +203,12 @@ export type WaveStrategyCreateParams = { strategy_type: number batch_mode: number status?: number - order_min_sku?: number - order_max_sku?: number - order_min_qty?: number - order_max_qty?: number - min_same_structure?: number - max_same_structure?: number + order_min_sku?: number | null + order_max_sku?: number | null + order_min_qty?: number | null + order_max_qty?: number | null + min_same_structure?: number | null + max_same_structure?: number | null batch_max_orders?: number batch_max_skus?: number group_batch_max_orders?: number @@ -194,12 +231,12 @@ export type WaveStrategyUpdateParams = WaveStrategyIdentityParam & { strategy_type?: number batch_mode?: number status?: number - order_min_sku?: number - order_max_sku?: number - order_min_qty?: number - order_max_qty?: number - min_same_structure?: number - max_same_structure?: number + order_min_sku?: number | null + order_max_sku?: number | null + order_min_qty?: number | null + order_max_qty?: number | null + min_same_structure?: number | null + max_same_structure?: number | null batch_max_orders?: number batch_max_skus?: number group_batch_max_orders?: number diff --git a/src/views/order/waveOrder/FallbackOrderListPanel.vue b/src/views/order/waveOrder/FallbackOrderListPanel.vue new file mode 100644 index 00000000..7dc50175 --- /dev/null +++ b/src/views/order/waveOrder/FallbackOrderListPanel.vue @@ -0,0 +1,747 @@ + + + + + diff --git a/src/views/order/waveOrder/GroupWaveBatchListPanel.vue b/src/views/order/waveOrder/GroupWaveBatchListPanel.vue index c85c46d4..ddee169f 100644 --- a/src/views/order/waveOrder/GroupWaveBatchListPanel.vue +++ b/src/views/order/waveOrder/GroupWaveBatchListPanel.vue @@ -2,6 +2,7 @@
@@ -443,6 +444,7 @@
- @@ -881,11 +889,16 @@ import { waveFetchTaskStatusTextMap, waveStatusTextMap, waveTypeTextMap, - waveStorageAssignmentStatusTextMap + waveStorageAssignmentStatusTextMap, + unwrapWavePlatformPrintPayload, + formatWaveExpressAssignmentStatusLabel, + formatWavePrintAssignmentStatusLabel, + getWaveAssignmentAggregateTagType } from './config/wave-config' import { safeInvoke } from '@/utils/safe-invoke' import { useVerticalSplitPane } from '@/composables/useVerticalSplitPane' import BatchReceivingPrintDialog from '@/components/BatchReceivingPrintDialog.vue' +import WavePlatformPrintPreviewDialog from './component/WavePlatformPrintPreviewDialog.vue' import PendingOrderListPanel from './component/PendingOrderListPanel.vue' import WaveBatchDetailPanel from './component/WaveBatchDetailPanel.vue' import WaveFetchTaskProgressDialog from './component/WaveFetchTaskProgressDialog.vue' @@ -946,8 +959,22 @@ import type { WaveStrategyQuickScanTaskProgressResponse } from '@/api/order.wave/orderwave' import { useUserStore } from '@/stores/modules/user' -import { getWavePrintData } from '@/api/order.print/orderprint' +import { getWavePrintData, getWavePlatformPrintData } from '@/api/order.print/orderprint' +import type { WavePlatformPrintDataPayload } from '@/api/order.print/orderprint' import pcasCodeData from 'china-division/dist/pcas-code.json' + +const props = withDefaults( + defineProps<{ + /** 与路由 path 组合,隔离 ScanBox 筛选缓存(波次各标签页须各不相同) */ + scanBoxCacheKey?: string + }>(), + { + scanBoxCacheKey: 'wave-order-group-wave' + } +) + +const groupWaveFallbackScanBoxCacheKey = computed(() => `${props.scanBoxCacheKey}-fallback-orders`) + const WAVE_TYPE = 1 as const const route = useRoute() @@ -956,7 +983,6 @@ const router = useRouter() const scanBox = ref(null) const upperTable = ref(null) const groupOrderTableRef = ref(null) -const singleOrderTableRef = ref(null) const scrollContainerRef = ref(null) const loading = ref(false) const showInternalSourceWaves = ref(false) @@ -964,6 +990,11 @@ const batchAutoGroupingLoading = ref(false) const batchFinishAutoGroupingLoading = ref(false) const batchCancelLoading = ref(false) const batchPrintLoading = ref(false) +const batchPlatformPrintLoading = ref(false) +const platformPrintDialogVisible = ref(false) +const platformPrintPayload = ref(null) +const platformPrintErrorMessage = ref('') +const platformPrintRequestMeta = ref<{ warehouse_id: number; wave_ids: Array } | null>(null) const batchAllocateExpressLoading = ref(false) const batchAllocateStorageLoading = ref(false) const batchRemoveExceptionOrdersLoading = ref(false) @@ -1065,6 +1096,7 @@ const groupOrderPagination = reactive({ currentPage: 1, pageSize: 20, total: 0 } const singleOrderDialogVisible = ref(false) const singleOrderActiveTab = ref<'fallback-orders' | 'strategy-api'>('fallback-orders') const singleOrderSubmitting = ref(false) +const singleOrderTableRef = ref(null) const fallbackOrderScanBox = ref(null) const fallbackOrderListLoading = ref(false) const fallbackOrderList = ref([]) @@ -1183,19 +1215,24 @@ const buttonLoadingMap = computed(() => ({ batchFinishAutoGroupingLoading: batchFinishAutoGroupingLoading.value, batchCancelLoading: batchCancelLoading.value, batchPrintLoading: batchPrintLoading.value, + batchPlatformPrintLoading: batchPlatformPrintLoading.value, batchAllocateExpressLoading: batchAllocateExpressLoading.value, batchAllocateStorageLoading: batchAllocateStorageLoading.value, batchRemoveExceptionOrdersLoading: batchRemoveExceptionOrdersLoading.value })) +const batchPlatformPrintDisabled = computed(() => !printableSelectionRows.value.length) + const buttonDisabledMap = computed(() => ({ batchPickingPrintDisabled: batchPrintDisabled.value, batchPrintDisabled: batchPrintDisabled.value, + batchPlatformPrintDisabled: batchPlatformPrintDisabled.value, noSelection: !hasSelection.value })) const buttonLabelMap = computed(() => ({ batchPrintTotal: `批量打印(${selectedWaveOrderTotal.value})`, + batchPlatformPrintTotal: `批量打印(平台)(${selectedWaveOrderTotal.value})`, batchPickingPrintTotal: `批量打印拣货单(${selectionRows.value.length})`, detailToggleLabel: detailVisible.value ? '隐藏详情' : '显示详情' })) @@ -1222,6 +1259,9 @@ const toolbarActionMap: Record void> = { openColumnConfigPanel: () => openColumnConfigPanel(), toggleDetailVisible: () => toggleDetailVisible(), handleBatchPrint: () => handleBatchPrint(), + handleBatchPlatformPrint: () => { + void handleBatchPlatformPrint() + }, handleBatchPrintPickingList: () => handleBatchPrintPickingList(), handleBatchAutoGrouping: () => { void handleBatchAutoGrouping() @@ -1637,16 +1677,6 @@ function getItemSnapshotText(row: any) { return row?.item_snapshot_key || row?.item_detail_machine || row?.item_detail || '—' } -function getAssignmentTagType(value: string | undefined) { - const text = String(value || '') - if (text.includes('异常') || text.includes('失败') || text.includes('超时')) return 'danger' - if (text.includes('处理中')) return 'warning' - if (text.includes('已分配') || text.includes('完成')) return 'success' - if (text.includes('部分')) return 'warning' - if (text.includes('未分配')) return 'info' - return 'info' -} - function formatDateTime(value: string | number | null | undefined) { if (!value) return '—' let normalizedValue: string | number = value @@ -1900,6 +1930,68 @@ async function handleBatchPrintPickingList() { await openBatchPrintDialog(rows) } +async function handleBatchPlatformPrint() { + if (!selectionRows.value.length) { + ElMessage.warning('请先勾选要打印的波次') + return + } + + const autoGroupingRows = [...autoGroupingSelectionRows.value] + const removedCount = autoGroupingRows.length + if (removedCount) { + autoGroupingRows.forEach((row: any) => { + upperTable.value?.toggleRowSelection?.(row, false) + }) + } + + if (!printableSelectionRows.value.length) { + ElMessage.warning('自动加团中的波次不参与批量打印(平台),已从当前勾选中移除') + return + } + + if (removedCount) { + ElMessage.warning(`已自动移除 ${removedCount} 个「自动加团中」波次,不参与批量打印(平台)`) + } + + const rows = printableSelectionRows.value + const first = rows[0] as Record + const warehouseId = Number(first?.warehouse_id ?? userStore.user?.warehouse_id ?? userStore.user?.store_id) + if (!Number.isFinite(warehouseId) || warehouseId <= 0) { + ElMessage.error('无法确定仓库 ID,请确认列表中的仓库字段或当前登录仓库上下文') + return + } + + const wave_ids = rows + .map((row: any) => row?.id ?? row?.wave_id ?? row?.batch_id) + .filter((id: unknown) => id !== undefined && id !== null && id !== '') + + if (!wave_ids.length) { + ElMessage.warning('当前勾选记录缺少可用的波次 ID') + return + } + + platformPrintRequestMeta.value = { warehouse_id: warehouseId, wave_ids } + platformPrintErrorMessage.value = '' + platformPrintPayload.value = null + batchPlatformPrintLoading.value = true + try { + const res: any = await getWavePlatformPrintData({ warehouse_id: warehouseId, wave_ids }) + if (res?.code !== undefined && res?.code !== null && !okCode(res.code)) { + throw new Error(res?.message || '获取平台打印数据失败') + } + platformPrintPayload.value = unwrapWavePlatformPrintPayload(res) + platformPrintDialogVisible.value = true + ElMessage.success(res?.message || '已获取平台打印数据') + } catch (error: any) { + platformPrintPayload.value = null + platformPrintErrorMessage.value = error?.message || '获取平台打印数据失败' + platformPrintDialogVisible.value = true + ElMessage.error(platformPrintErrorMessage.value) + } finally { + batchPlatformPrintLoading.value = false + } +} + function stopFetchTaskPolling() { if (fetchTaskPollTimer.value) { clearTimeout(fetchTaskPollTimer.value) @@ -2881,12 +2973,13 @@ function sanitizeFallbackOrderWhere(where: Record) { } function buildFallbackOrderListPayload() { + const scanBox = fallbackOrderScanBox.value return { pagination: { page: fallbackOrderPagination.currentPage, pageSize: fallbackOrderPagination.pageSize }, - where: sanitizeFallbackOrderWhere(buildWhereConditions(fallbackOrderScanBox.value?.getConditions?.() || {})) + where: sanitizeFallbackOrderWhere(buildWhereConditions(scanBox?.getConditions?.() || {})) } } @@ -3240,6 +3333,14 @@ async function submitWaveStrategyQuickScan() { } } +function getFallbackOrderItemSnapshotText(row: WaveStrategyFallbackOrderListRow) { + const value = row?.item_snapshot + if (typeof value === 'string' && value.trim()) { + return value + } + return '—' +} + async function fetchFallbackOrderList() { fallbackOrderListLoading.value = true try { @@ -3270,14 +3371,6 @@ async function fetchFallbackOrderList() { } } -function getFallbackOrderItemSnapshotText(row: WaveStrategyFallbackOrderListRow) { - const value = row?.item_snapshot - if (typeof value === 'string' && value.trim()) { - return value - } - return '—' -} - async function fetchGroupOrderList() { groupOrderListLoading.value = true try { @@ -3672,11 +3765,6 @@ async function submitFallbackOrderFetchByIds() { gap: 10px; } -.single-order-tabs { - height: 100%; - min-height: 0; -} - .single-fallback-layout { display: flex; gap: 10px; @@ -3693,6 +3781,11 @@ async function submitFallbackOrderFetchByIds() { gap: 10px; } +.single-order-tabs { + height: 100%; + min-height: 0; +} + .wave-strategy-tab { display: flex; flex-direction: column; diff --git a/src/views/order/waveOrder/SandanWaveBatchListPanel.vue b/src/views/order/waveOrder/SandanWaveBatchListPanel.vue index c7ca7435..4b8ac33c 100644 --- a/src/views/order/waveOrder/SandanWaveBatchListPanel.vue +++ b/src/views/order/waveOrder/SandanWaveBatchListPanel.vue @@ -1,8 +1,8 @@ -
- - -
- - -
-
-
- 已选 {{ fallbackOrderSelectionRows.length }} 个订单 -
-
- - 快速扫描 - - 查询 - 重置 - 按订单IDs抓取删单 -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
-
-
- - -
-
-
- 当前仓库波次策略(wms_wave_strategy) -
-
- - 新建策略 - - - 刷新 - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
-
-
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +
diff --git a/src/views/order/waveOrder/component/WaveBatchDetailPanel.vue b/src/views/order/waveOrder/component/WaveBatchDetailPanel.vue index f875b087..a286983b 100644 --- a/src/views/order/waveOrder/component/WaveBatchDetailPanel.vue +++ b/src/views/order/waveOrder/component/WaveBatchDetailPanel.vue @@ -22,8 +22,8 @@
分配状态
{{ getStorageAssignmentStatusText(row) }} - {{ row.express_assignment_status || '—' }} - {{ row.print_assignment_status || '—' }} + {{ formatWaveExpressAssignmentStatusLabel(row.express_assignment_status) }} + {{ formatWavePrintAssignmentStatusLabel(row.print_assignment_status) }} {{ getStorageAssignmentError(row) }}
@@ -48,7 +48,9 @@ import { waveStorageAssignmentErrorPhraseMap, waveStorageAssignmentErrorTextMap, waveStorageAssignmentStatusTextMap, - waveTypeTextMap + waveTypeTextMap, + formatWaveExpressAssignmentStatusLabel, + formatWavePrintAssignmentStatusLabel } from '../config/wave-config' defineProps<{ diff --git a/src/views/order/waveOrder/component/WavePlatformPrintPreviewDialog.vue b/src/views/order/waveOrder/component/WavePlatformPrintPreviewDialog.vue new file mode 100644 index 00000000..837a7d82 --- /dev/null +++ b/src/views/order/waveOrder/component/WavePlatformPrintPreviewDialog.vue @@ -0,0 +1,333 @@ + + + + + diff --git a/src/views/order/waveOrder/config/wave-config.ts b/src/views/order/waveOrder/config/wave-config.ts index cdca511a..6b4cca26 100644 --- a/src/views/order/waveOrder/config/wave-config.ts +++ b/src/views/order/waveOrder/config/wave-config.ts @@ -1,4 +1,5 @@ import type { ToolbarButtonConfig } from '@/views/order/orderManagement/config/order-common-config' +import type { WavePlatformPrintDataPayload } from '@/api/order.print/orderprint' /** 工具栏按钮:可限定仅在对应波次页签显示(1 团购 / 2 散单) */ export type WaveToolbarButtonConfig = ToolbarButtonConfig & { @@ -62,14 +63,14 @@ export const waveAvailableFields = [ { label: '已分配', value: '已分配' }, ]}, { label:'快递分配', value: 'express_assignment_status', type: 'select', options: [ - { label: '未分配', value: '未分配' }, - { label: '部分分配', value: '部分分配' }, - { label: '已分配', value: '已分配' }, + { label: '未分配', value: 'unassigned' }, + { label: '部分分配', value: 'partially_assigned' }, + { label: '已分配', value: 'assigned' }, ]}, { label:'打印状态', value: 'print_assignment_status', type: 'select', options: [ - { label: '未打印', value: '未打印' }, - { label: '部分打印', value: '部分打印' }, - { label: '已打印', value: '已打印' }, + { label: '未打印', value: 'unprinted' }, + { label: '部分打印', value: 'partially_printed' }, + { label: '已打印', value: 'printed' }, ]}, { label: '创建人', value: 'creator', type: 'text' }, { label: '快递', value: 'logistics_name', type: 'text' }, @@ -102,6 +103,83 @@ export const fallbackOrderAvailableFields = [ // { label: '来源平台', value: 'sys_platform_name', type: 'select', options: [] } ] +/** 不符合波次策略订单列表:UpperTable 列配置 */ +export const fallbackOrderColumns = [ + { prop: 'delivery_no', label: '订单号', minWidth: 180, fixed: 'left' }, + { prop: 'tracking_no', label: '物流单号', minWidth: 160 }, + { prop: 'store_name', label: '店铺', minWidth: 140 }, + { prop: 'sys_platform_name', label: '平台', minWidth: 120 }, + { prop: 'sys_logistics_name', label: '物流公司', minWidth: 130 }, + { prop: 'province', label: '省份', minWidth: 100 }, + { prop: 'items_count', label: '商品种数', minWidth: 100, align: 'right' }, + { prop: 'items_total', label: '商品总数', minWidth: 100, align: 'right' }, + { prop: 'item_snapshot', label: '商品快照', minWidth: 260 }, + { prop: 'wave_scan_result', label: '扫描结果', minWidth: 110, align: 'center' }, + { prop: 'updated_at', label: '更新时间', minWidth: 170 } +] + +/** 波次策略:左侧筛选可用字段 */ +export const waveStrategyAvailableFields = [ + { label: '策略名称', value: 'strategy_name', type: 'text' }, + { + label: '策略类型', + value: 'strategy_type', + type: 'select', + options: [ + { label: '散单', value: 1 }, + { label: '团购', value: 2 } + ] + }, + { + label: '启用状态', + value: 'status', + type: 'select', + options: [ + { label: '启用', value: 1 }, + { label: '停用', value: 0 } + ] + }, + { + label: '批次模式', + value: 'batch_mode', + type: 'select', + options: [ + { label: '团购', value: 0 }, + { label: '单品单件', value: 1 }, + { label: '先拣后分', value: 2 }, + { label: '边拣边分', value: 3 }, + { label: '边拣边分H型', value: 4 }, + { label: '播种墙', value: 5 }, + { label: '流利架', value: 6 } + ] + }, + { label: '波次前缀', value: 'wave_prefix', type: 'text' } +] + +/** 波次策略:UpperTable 列配置 */ +export const waveStrategyColumns = [ + { prop: 'id', label: 'ID', width: 72, align: 'center', fixed: 'left' }, + { prop: 'strategy_name', label: '策略名称', minWidth: 160, fixed: 'left' }, + { prop: 'wave_prefix', label: '波次前缀', width: 100, align: 'center' }, + { prop: 'matched_order_count_filtered', label: '匹配订单数', width: 110, align: 'center' }, + { prop: 'next_fetch_order_count', label: '下一波抓取数量', width: 130, align: 'center' }, + { prop: 'strategy_type', label: '策略类型', width: 90, align: 'center' }, + { prop: 'status', label: '状态', width: 80, align: 'center' }, + { prop: 'batch_mode', label: '批次模式', width: 110, align: 'center' }, + { prop: 'sku_range', label: 'SKU区间', minWidth: 120, align: 'center' }, + { prop: 'qty_range', label: '件数区间', minWidth: 120, align: 'center' }, + { prop: 'same_structure_range', label: '同结构区间', minWidth: 120, align: 'center' }, + { prop: 'require_same_express', label: '同快递', width: 80, align: 'center' }, + { prop: 'allow_cross_owner', label: '跨货主', width: 80, align: 'center' }, + { prop: 'batch_max_orders', label: '单波最大订单', width: 120, align: 'center' }, + { prop: 'batch_max_skus', label: '单波最大SKU', width: 120, align: 'center' }, + { prop: 'group_batch_max_orders', label: '团购单波最大', width: 120, align: 'center' }, + { prop: 'create_time', label: '创建时间', minWidth: 168 }, + { prop: 'update_time', label: '更新时间', minWidth: 168 }, + { prop: 'description', label: '说明', minWidth: 160 }, + { prop: 'operation', label: '操作', width: 170, fixed: 'right', align: 'center' } +] + /** 主表列配置 */ export const waveBatchColumns = [ // { prop: 'wave_id', label: '波次ID', minWidth: 160, fixed: 'left' }, @@ -152,6 +230,52 @@ export const waveWhereAllowedFieldList = [ export const waveWhereAllowedFields = new Set(waveWhereAllowedFieldList) +/** 列表/详情展示:接口可能返回英文枚举或历史中文 */ +const waveExpressAssignmentStatusLabelMap: Record = { + unassigned: '未分配', + partially_assigned: '部分分配', + assigned: '已分配', + 未分配: '未分配', + 部分分配: '部分分配', + 已分配: '已分配' +} + +const wavePrintAssignmentStatusLabelMap: Record = { + unprinted: '未打印', + partially_printed: '部分打印', + printed: '已打印', + 未打印: '未打印', + 部分打印: '部分打印', + 已打印: '已打印' +} + +export function formatWaveExpressAssignmentStatusLabel(value: string | number | null | undefined): string { + if (value === undefined || value === null || value === '') return '—' + const key = String(value).trim() + return waveExpressAssignmentStatusLabelMap[key] ?? waveExpressAssignmentStatusLabelMap[key.toLowerCase()] ?? key +} + +export function formatWavePrintAssignmentStatusLabel(value: string | number | null | undefined): string { + if (value === undefined || value === null || value === '') return '—' + const key = String(value).trim() + return wavePrintAssignmentStatusLabelMap[key] ?? wavePrintAssignmentStatusLabelMap[key.toLowerCase()] ?? key +} + +/** 快递分配 / 打印状态 / 库位分配等聚合状态列的 tag 类型(兼容英文枚举与中文文案) */ +export function getWaveAssignmentAggregateTagType(value: string | number | null | undefined): 'success' | 'warning' | 'info' | 'danger' { + const v = String(value ?? '').toLowerCase().trim() + if (v === 'unassigned' || v === 'unprinted') return 'info' + if (v === 'partially_assigned' || v === 'partially_printed') return 'warning' + if (v === 'assigned' || v === 'printed') return 'success' + const text = String(value ?? '') + if (text.includes('异常') || text.includes('失败') || text.includes('超时')) return 'danger' + if (text.includes('处理中')) return 'warning' + if (text.includes('已分配') || text.includes('完成') || text.includes('已打印')) return 'success' + if (text.includes('部分')) return 'warning' + if (text.includes('未分配') || text.includes('未打印')) return 'info' + return 'info' +} + /** * 主工具栏按钮(action 与波次列表页内 toolbarActionMap 键一致) */ @@ -177,17 +301,28 @@ export const waveToolbarButtons: WaveToolbarButtonConfig[] = [ onlyForWaveType: 1 }, { - key: 'batchPrintPickingList', - label: '批量打印拣货单(0)', - dynamicLabelKey: 'batchPickingPrintTotal', + key: 'batchPlatformPrint', + label: '批量打印(平台)(0)', + dynamicLabelKey: 'batchPlatformPrintTotal', type: 'info', plain: true, size: 'small', - disabledKey: 'noSelection', - loadingKey: 'batchPrintLoading', - action: 'handleBatchPrintPickingList', - onlyForWaveType: 1 + disabledKey: 'batchPlatformPrintDisabled', + loadingKey: 'batchPlatformPrintLoading', + action: 'handleBatchPlatformPrint' }, + // { + // key: 'batchPrintPickingList', + // label: '批量打印拣货单(0)', + // dynamicLabelKey: 'batchPickingPrintTotal', + // type: 'info', + // plain: true, + // size: 'small', + // disabledKey: 'noSelection', + // loadingKey: 'batchPrintLoading', + // action: 'handleBatchPrintPickingList', + // onlyForWaveType: 1 + // }, { key: 'batchAutoGrouping', label: '批量改为自动加团', @@ -268,6 +403,32 @@ export function getWaveToolbarButtons(waveType: 1 | 2): WaveToolbarButtonConfig[ ) } +/** 解析 order.print.getWavePlatformPrintData 响应(支持 res.data 包裹) */ +export function unwrapWavePlatformPrintPayload(res: unknown): WavePlatformPrintDataPayload { + const r = res as Record | null | undefined + const inner = + r?.data !== undefined && r?.data !== null && typeof r.data === 'object' && !Array.isArray(r.data) + ? (r.data as Record) + : (r as Record) || {} + const summaryRaw = inner?.summary + const summary = + summaryRaw !== undefined && summaryRaw !== null && typeof summaryRaw === 'object' && !Array.isArray(summaryRaw) + ? (summaryRaw as Record) + : undefined + const wave_ids = Array.isArray(inner?.wave_ids) ? (inner.wave_ids as Array) : undefined + const platform_groups = Array.isArray(inner?.platform_groups) ? inner.platform_groups : undefined + const orderListRaw = inner?.order_list + const order_list = Array.isArray(orderListRaw) + ? (orderListRaw.filter((x) => x && typeof x === 'object') as Record[]) + : undefined + const extRaw = inner?.ext + const ext = + extRaw !== undefined && extRaw !== null && typeof extRaw === 'object' && !Array.isArray(extRaw) + ? (extRaw as Record) + : undefined + return { summary, wave_ids, platform_groups, order_list, ext } +} + /** 异步任务状态文案 */ export const waveFetchTaskStatusTextMap: Record = { submitted: '已受理', @@ -476,9 +637,27 @@ export const pickTaskWaveAvailableFields = [ { label: '后台', value: 2 } ] }, - { label: '拣货员ID', value: 'pick_user_id', type: 'number' }, - { label: '复核人ID', value: 'review_user_id', type: 'number' }, - { label: '拣货车ID', value: 'cart_id', type: 'number' }, + { + label: '拣货员ID', + value: 'pick_user_id', + type: 'text', + operators: ['eq'], + placeholder: '请输入拣货员ID(纯数字)' + }, + { + label: '复核人ID', + value: 'review_user_id', + type: 'text', + operators: ['eq'], + placeholder: '请输入复核人ID(纯数字)' + }, + { + label: '拣货车ID', + value: 'cart_id', + type: 'text', + operators: ['eq'], + placeholder: '请输入拣货车ID(纯数字)' + }, { label: '开始时间', value: 'start_time_range', type: 'daterange' } ] diff --git a/src/views/order/waveOrder/index.vue b/src/views/order/waveOrder/index.vue index 37f7585a..8b2f7993 100644 --- a/src/views/order/waveOrder/index.vue +++ b/src/views/order/waveOrder/index.vue @@ -35,6 +35,8 @@ import { useRoute, useRouter } from 'vue-router' import { useSettingsStore } from '@/stores/modules/settings' import GroupWaveBatchListPanel from './GroupWaveBatchListPanel.vue' import SandanWaveBatchListPanel from './SandanWaveBatchListPanel.vue' +import FallbackOrderListPanel from './FallbackOrderListPanel.vue' +import WaveStrategyListPanel from './WaveStrategyListPanel.vue' import WavePickTaskListPanel from './WavePickTaskListPanel.vue' import { safeInvoke } from '@/utils/safe-invoke' @@ -55,21 +57,36 @@ type WaveTabItem = { } const tabs = ref([ - { name: 'groupWave', label: '团购波次', component: markRaw(GroupWaveBatchListPanel) }, - { name: 'sandanWave', label: '散单波次', component: markRaw(SandanWaveBatchListPanel) }, + { + name: 'groupWave', + label: '团购波次', + component: markRaw(GroupWaveBatchListPanel), + props: { scanBoxCacheKey: 'wave-order-group-wave' } + }, + { + name: 'sandanWave', + label: '散单波次', + component: markRaw(SandanWaveBatchListPanel), + props: { scanBoxCacheKey: 'wave-order-sandan-wave' } + }, { name: 'sandanFallbackOrders', label: '不符合波次策略订单列表', - component: markRaw(SandanWaveBatchListPanel), - props: { singleOrderOnlyView: true, initialSingleOrderTab: 'fallback-orders' } + component: markRaw(FallbackOrderListPanel), + props: { scanBoxCacheKey: 'wave-order-sandan-fallback-orders' } }, { name: 'sandanWaveStrategy', label: '波次策略', - component: markRaw(SandanWaveBatchListPanel), - props: { singleOrderOnlyView: true, initialSingleOrderTab: 'strategy-api' } + component: markRaw(WaveStrategyListPanel), + props: { scanBoxCacheKey: 'wave-order-sandan-wave-strategy' } }, - { name: 'pickTaskWave', label: '拣货中任务', component: markRaw(WavePickTaskListPanel) } + { + name: 'pickTaskWave', + label: '拣货中任务', + component: markRaw(WavePickTaskListPanel), + props: { scanBoxCacheKey: 'wave-order-pick-task' } + } ]) /** diff --git a/workflows/api-doc-agent/config/接口.md b/workflows/api-doc-agent/config/接口.md index 9092dea8..b00ac85b 100644 --- a/workflows/api-doc-agent/config/接口.md +++ b/workflows/api-doc-agent/config/接口.md @@ -1,11 +1,11 @@ # 接口 -- 更新时间: 2026-05-11 09:20:11 +- 更新时间: 2026-05-12 09:38:35 - 扫描目录: `src\api` - 模块数: 35 - API 文件数: 35 -- 接口数: 283 -- 已启用: 252 +- 接口数: 284 +- 已启用: 253 - 占位接口: 2 ## 模块统计 @@ -24,7 +24,7 @@ | order.index | 1 | 6 | 5 | 0 | | order.outboundorder | 1 | 3 | 3 | 0 | | order.pendingorder | 1 | 16 | 16 | 0 | -| order.print | 1 | 1 | 1 | 0 | +| order.print | 1 | 2 | 2 | 0 | | order.revieworder | 1 | 3 | 3 | 0 | | order.wave | 1 | 30 | 29 | 0 | | pick | 1 | 2 | 2 | 0 | @@ -114,6 +114,7 @@ | order.pendingorder | orderPendingOrderSyncOrderIds | order.pendingOrder.syncOrderIds | POST | 是 | 否 | order.pendingorder/orderpendingOrder.ts | | | order.pendingorder | orderPendingOrderUpdateOrderExpress | order.pendingOrder.updateOrderExpress | POST | 是 | 否 | order.pendingorder/orderpendingOrder.ts | | | order.pendingorder | orderPendingOrderUpdateOrderPlatform | order.pendingOrder.updateOrderPlatform | POST | 是 | 否 | order.pendingorder/orderpendingOrder.ts | | +| order.print | getWavePlatformPrintData | order.print.getWavePlatformPrintData | POST | 是 | 否 | order.print/orderprint.ts | | | order.print | getWavePrintData | order.print.getWavePrintData | POST | 是 | 否 | order.print/orderprint.ts | | | order.revieworder | orderReviewOrderDetail | order.reviewOrder.detail | POST | 是 | 否 | order.revieworder/orderreviewOrder.ts | | | order.revieworder | orderReviewOrderList | order.reviewOrder.list | POST | 是 | 否 | order.revieworder/orderreviewOrder.ts | | diff --git a/workflows/api-doc-system/data/interface-details/interface-details.json b/workflows/api-doc-system/data/interface-details/interface-details.json index ec5cd3fd..d62877a3 100644 --- a/workflows/api-doc-system/data/interface-details/interface-details.json +++ b/workflows/api-doc-system/data/interface-details/interface-details.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { @@ -12,15 +12,15 @@ "label": "全部" } }, - "totalInterfaceCount": 247, + "totalInterfaceCount": 248, "changes": { "summary": { "moduleAdded": 0, "moduleDeleted": 0, - "moduleUpdated": 1, - "interfaceAdded": 0, + "moduleUpdated": 3, + "interfaceAdded": 1, "interfaceDeleted": 0, - "interfaceParamsUpdated": 2, + "interfaceParamsUpdated": 3, "interfaceResponseUpdated": 0 }, "moduleUpdates": { @@ -42,11 +42,48 @@ ], "responseUpdatedMethods": [] } + }, + { + "moduleName": "订单打印模块", + "moduleKey": "order.print", + "folder": "order.print", + "previousModuleName": "订单打印模块", + "previousModuleKey": "order.print", + "interfaceChanges": { + "addedMethods": [ + "order.print.getWavePlatformPrintData" + ], + "deletedMethods": [], + "paramsUpdatedMethods": [], + "responseUpdatedMethods": [] + } + }, + { + "moduleName": "order.wave", + "moduleKey": "order", + "folder": "order", + "previousModuleName": "order.wave", + "previousModuleKey": "order", + "interfaceChanges": { + "addedMethods": [], + "deletedMethods": [], + "paramsUpdatedMethods": [ + "order.wave.batchList" + ], + "responseUpdatedMethods": [] + } } ] }, "interfaceUpdates": { - "added": [], + "added": [ + { + "moduleName": "订单打印模块", + "moduleKey": "order.print", + "folder": "order.print", + "method": "order.print.getWavePlatformPrintData" + } + ], "deleted": [], "paramsUpdated": [ { @@ -60,6 +97,12 @@ "moduleKey": "order.wave", "folder": "order.wave", "method": "order.wave.waveStrategyUpdate" + }, + { + "moduleName": "order.wave", + "moduleKey": "order", + "folder": "order", + "method": "order.wave.batchList" } ], "responseUpdated": [] @@ -3031,6 +3074,75 @@ } ] }, + { + "moduleName": "订单打印模块", + "moduleKey": "order.print", + "moduleFolder": "order.print", + "method": "order.print.getWavePlatformPrintData", + "title": "按波次 IDs 获取平台打印中间态数据,自动过滤快递未完全分配的波次,返回逐单中间态与按平台分组结果", + "description": "按波次 IDs 获取平台打印中间态数据,自动过滤快递未完全分配的波次,返回逐单中间态与按平台分组结果", + "endpoint": "/system", + "authRequired": false, + "loginRequired": true, + "status": { + "isUsed": false, + "isPlaceholder": false + }, + "headers": [ + { + "name": "Authorization", + "type": "string", + "required": true, + "description": "Bearer token" + } + ], + "params": [ + { + "name": "warehouse_id", + "type": "number", + "required": true, + "description": "仓库ID(必须与当前用户上下文 store_id 一致)" + }, + { + "name": "wave_ids", + "type": "array", + "required": true, + "description": "波次ID列表(支持数字或字符串,内部自动去重与归一化)" + } + ], + "response": [ + { + "name": "summary", + "type": "object", + "required": false, + "description": "汇总信息" + }, + { + "name": "wave_ids", + "type": "array", + "required": false, + "description": "通过过滤的波次ID数组" + }, + { + "name": "platform_groups", + "type": "array", + "required": false, + "description": "按平台分组结果" + }, + { + "name": "order_list", + "type": "array", + "required": false, + "description": "逐单平台打印中间态明细" + }, + { + "name": "ext", + "type": "object", + "required": false, + "description": "扩展字段" + } + ] + }, { "moduleName": "订单打印模块", "moduleKey": "order.print", @@ -4042,7 +4154,7 @@ "name": "where", "type": "object", "required": false, - "description": "筛选白名单字段(object,可选)。仅支持下列字段过滤,且禁止传入 warehouse_id / warehouseId: - wave_id(等值) - wave_no(模糊) - wave_type(等值) - wave_status(等值,接口固定叠加状态 0/1) - creator(模糊) - logistics_name(模糊) - item_part_type(等值) - item_part(模糊) - item_snapshot_key(模糊) - item_detail_machine(模糊) - distinguish_express(等值) - total_orders_min / total_orders_max(范围) - processed_orders_min / processed_orders_max(范围) - storage_assignment_status(等值,string,可选,取值:未分配、部分分配、已分配;默认不传不做限制)。过滤语义:已分配=聚合后全部 fin;部分分配=不含 error,且既不是全 none,也不是全 fin;未分配=全 none 或包含 error(异常并入未分配筛选集合)。说明:返回字段 storage_assignment_status 的展示值保持不变,包含 error 时仍可显示“分配异常”;此处 where 的过滤语义会把异常计入“未分配”,以避免把过滤语义与展示值混淆。 - source(可选,number)来源过滤:0=普通波次(正常后台操作),1=管理后台策略任务,2=PDA策略任务;不传则不过滤。" + "description": "筛选白名单字段(object,可选)。仅支持下列字段过滤,且禁止传入 warehouse_id / warehouseId: - wave_id(等值) - wave_no(模糊) - wave_type(等值) - wave_status(等值,接口固定叠加状态 0/1) - creator(模糊) - logistics_name(模糊) - item_part_type(等值) - item_part(模糊) - item_snapshot_key(模糊) - item_detail_machine(模糊) - distinguish_express(等值) - total_orders_min / total_orders_max(范围) - processed_orders_min / processed_orders_max(范围) - express_assignment_status(等值,string,可选,英文枚举,取值:unassigned、partially_assigned、assigned;语义:按快递分配聚合判断,assigned 表示聚合后全部 fin,partially_assigned 表示部分已分配且不含 error,unassigned 表示全 none 或包含 error(异常并入未分配集合))。 - print_assignment_status(等值,string,可选,英文枚举,取值:unprinted、partially_printed、printed;语义:按打印分配聚合判断,printed 表示聚合后全部已打印)。 - storage_assignment_status(等值,string,可选,取值:未分配、部分分配、已分配;默认不传不做限制)。过滤语义:已分配=聚合后全部 fin;部分分配=不含 error,且既不是全 none,也不是全 fin;未分配=全 none 或包含 error(异常并入未分配筛选集合)。说明:返回字段 storage_assignment_status 的展示值保持不变,包含 error 时仍可显示“分配异常”;此处 where 的过滤语义会把异常计入“未分配”,以避免把过滤语义与展示值混淆。 - source(可选,number)来源过滤:0=普通波次(正常后台操作),1=管理后台策略任务,2=PDA策略任务;不传则不过滤。 说明:express_assignment_status 与 print_assignment_status 要求使用英文枚举值;storage_assignment_status 仍向后兼容中文展示值。若传入的枚举值不在允许集合内,接口会返回 400(参数校验失败),并在 message 中说明错误字段与允许取值。" } ], "response": [ @@ -5309,12 +5421,6 @@ "type": "array|string", "required": false, "description": "允许的快递编码列表(可选,支持数组/JSON/逗号分隔);系统会校验所传编码是否在可用快递列表内,非法值将导致 400 错误。" - }, - { - "name": "wave_prefix", - "type": "string", - "required": false, - "description": "策略波次前缀(可选)。优先于仓库前缀;校验:长度 1-5,仅支持 A-Z0-9,保存时转大写;为空时回退仓库前缀(团购->group_wave_prefix,散单->delete_order_wave_prefix)。" } ], "response": [ @@ -5511,8 +5617,8 @@ "moduleKey": "order.wave", "moduleFolder": "order.wave", "method": "order.wave.waveStrategyFetchPda", - "title": "按策略提交并创建抓取主流程任务(PDA)。当前为最小主流程:进行入参校验并创建任务记录,返回创建结果与计划预览;后续扫描/执行阶段将扩展为完整执行流。 注意:任务创建时生成的波次号(wave_no)使用策略的 wave_prefix(若设置)优先;若策略未设置,则根据策略类型回退到仓库级前缀(团购->group_wave_prefix,散单->delete_order_wave_prefix)。前缀保存为大写;仅允许 A-Z0-9,长度 1-5。 当存在未完成任务时,接口返回 fetch_state=3 且同时返回 existing task_id/task_no,前端可直接进入拣货流程。", - "description": "按策略提交并创建抓取主流程任务(PDA)。当前为最小主流程:进行入参校验并创建任务记录,返回创建结果与计划预览;后续扫描/执行阶段将扩展为完整执行流。 注意:任务创建时生成的波次号(wave_no)使用策略的 wave_prefix(若设置)优先;若策略未设置,则根据策略类型回退到仓库级前缀(团购->group_wave_prefix,散单->delete_order_wave_prefix)。前缀保存为大写;仅允许 A-Z0-9,长度 1-5。 当存在未完成任务时,接口返回 fetch_state=3 且同时返回 existing task_id/task_no,前端可直接进入拣货流程。", + "title": "按策略提交并创建抓取主流程任务(PDA)。当前为最小主流程:进行入参校验并创建任务记录,返回创建结果与计划预览;后续扫描/执行阶段将扩展为完整执行流。 注意:当存在未完成任务时,接口返回 fetch_state=3 且同时返回 existing task_id/task_no,前端可直接进入拣货流程。", + "description": "按策略提交并创建抓取主流程任务(PDA)。当前为最小主流程:进行入参校验并创建任务记录,返回创建结果与计划预览;后续扫描/执行阶段将扩展为完整执行流。 注意:当存在未完成任务时,接口返回 fetch_state=3 且同时返回 existing task_id/task_no,前端可直接进入拣货流程。", "endpoint": "/system", "authRequired": false, "loginRequired": true, @@ -6019,12 +6125,6 @@ "type": "array|string", "required": false, "description": "允许的快递编码列表(可选,支持数组/JSON/逗号分隔);系统会校验所传编码是否在可用快递列表内,非法值将导致 400 错误。" - }, - { - "name": "wave_prefix", - "type": "string", - "required": false, - "description": "策略波次前缀(可选)。优先于仓库前缀;校验:长度 1-5,仅支持 A-Z0-9,保存时转大写;为空时回退仓库前缀(团购->group_wave_prefix,散单->delete_order_wave_prefix)。" } ], "response": [ diff --git a/workflows/api-doc-system/data/module-list/module-list.json b/workflows/api-doc-system/data/module-list/module-list.json index f63023ed..c5ec4676 100644 --- a/workflows/api-doc-system/data/module-list/module-list.json +++ b/workflows/api-doc-system/data/module-list/module-list.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { @@ -13,15 +13,15 @@ } }, "moduleCount": 35, - "totalInterfaceCount": 247, + "totalInterfaceCount": 248, "changes": { "summary": { "moduleAdded": 0, "moduleDeleted": 0, - "moduleUpdated": 1, - "interfaceAdded": 0, + "moduleUpdated": 3, + "interfaceAdded": 1, "interfaceDeleted": 0, - "interfaceParamsUpdated": 2, + "interfaceParamsUpdated": 3, "interfaceResponseUpdated": 0 }, "moduleUpdates": { @@ -43,11 +43,48 @@ ], "responseUpdatedMethods": [] } + }, + { + "moduleName": "订单打印模块", + "moduleKey": "order.print", + "folder": "order.print", + "previousModuleName": "订单打印模块", + "previousModuleKey": "order.print", + "interfaceChanges": { + "addedMethods": [ + "order.print.getWavePlatformPrintData" + ], + "deletedMethods": [], + "paramsUpdatedMethods": [], + "responseUpdatedMethods": [] + } + }, + { + "moduleName": "order.wave", + "moduleKey": "order", + "folder": "order", + "previousModuleName": "order.wave", + "previousModuleKey": "order", + "interfaceChanges": { + "addedMethods": [], + "deletedMethods": [], + "paramsUpdatedMethods": [ + "order.wave.batchList" + ], + "responseUpdatedMethods": [] + } } ] }, "interfaceUpdates": { - "added": [], + "added": [ + { + "moduleName": "订单打印模块", + "moduleKey": "order.print", + "folder": "order.print", + "method": "order.print.getWavePlatformPrintData" + } + ], "deleted": [], "paramsUpdated": [ { @@ -61,6 +98,12 @@ "moduleKey": "order.wave", "folder": "order.wave", "method": "order.wave.waveStrategyUpdate" + }, + { + "moduleName": "order.wave", + "moduleKey": "order", + "folder": "order", + "method": "order.wave.batchList" } ], "responseUpdated": [] @@ -405,10 +448,13 @@ "moduleName": "订单打印模块", "moduleKey": "order.print", "folder": "order.print", - "interfaceCount": 1, + "interfaceCount": 2, "interfaces": [ { "method": "order.print.getWavePrintData" + }, + { + "method": "order.print.getWavePlatformPrintData" } ] }, diff --git a/workflows/api-doc-system/data/module/config/_module.lifecycle.json b/workflows/api-doc-system/data/module/config/_module.lifecycle.json index 996870f5..f8ef7e65 100644 --- a/workflows/api-doc-system/data/module/config/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/config/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-04-16 11:15:05", - "updatedAt": "2026-05-11 16:08:50", + "updatedAt": "2026-05-12 09:13:18", "deletedAt": null, "restoredAt": null } diff --git a/workflows/api-doc-system/data/module/config/module.json b/workflows/api-doc-system/data/module/config/module.json index 76a23a03..0c498a8d 100644 --- a/workflows/api-doc-system/data/module/config/module.json +++ b/workflows/api-doc-system/data/module/config/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/dashboard/_module.lifecycle.json b/workflows/api-doc-system/data/module/dashboard/_module.lifecycle.json index 3612f047..66d4fccc 100644 --- a/workflows/api-doc-system/data/module/dashboard/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/dashboard/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-04-16 11:15:05", - "updatedAt": "2026-05-11 16:08:50", + "updatedAt": "2026-05-12 09:13:18", "deletedAt": null, "restoredAt": null } diff --git a/workflows/api-doc-system/data/module/dashboard/module.json b/workflows/api-doc-system/data/module/dashboard/module.json index 4cc7a224..d8f1705c 100644 --- a/workflows/api-doc-system/data/module/dashboard/module.json +++ b/workflows/api-doc-system/data/module/dashboard/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/index/_module.lifecycle.json b/workflows/api-doc-system/data/module/index/_module.lifecycle.json index 61a61d34..af4bf7d1 100644 --- a/workflows/api-doc-system/data/module/index/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/index/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-04-16 11:15:05", - "updatedAt": "2026-05-11 16:08:50", + "updatedAt": "2026-05-12 09:13:18", "deletedAt": null, "restoredAt": null } diff --git a/workflows/api-doc-system/data/module/index/module.json b/workflows/api-doc-system/data/module/index/module.json index eaf78a94..1bd12139 100644 --- a/workflows/api-doc-system/data/module/index/module.json +++ b/workflows/api-doc-system/data/module/index/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/order.archiveorder/_module.lifecycle.json b/workflows/api-doc-system/data/module/order.archiveorder/_module.lifecycle.json index 01e359ab..d2e6d0e1 100644 --- a/workflows/api-doc-system/data/module/order.archiveorder/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/order.archiveorder/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-04-16 11:15:05", - "updatedAt": "2026-05-11 16:08:50", + "updatedAt": "2026-05-12 09:13:18", "deletedAt": null, "restoredAt": "2026-04-17 19:16:50" } diff --git a/workflows/api-doc-system/data/module/order.archiveorder/module.json b/workflows/api-doc-system/data/module/order.archiveorder/module.json index 2ab40da6..2096933f 100644 --- a/workflows/api-doc-system/data/module/order.archiveorder/module.json +++ b/workflows/api-doc-system/data/module/order.archiveorder/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/order.deliveryexpectionorder/_module.lifecycle.json b/workflows/api-doc-system/data/module/order.deliveryexpectionorder/_module.lifecycle.json index 9ccd3fb6..b3a7ae5d 100644 --- a/workflows/api-doc-system/data/module/order.deliveryexpectionorder/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/order.deliveryexpectionorder/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-04-16 11:15:05", - "updatedAt": "2026-05-11 16:08:50", + "updatedAt": "2026-05-12 09:13:18", "deletedAt": null, "restoredAt": "2026-04-17 19:16:50" } diff --git a/workflows/api-doc-system/data/module/order.deliveryexpectionorder/module.json b/workflows/api-doc-system/data/module/order.deliveryexpectionorder/module.json index b7c38a03..587a189a 100644 --- a/workflows/api-doc-system/data/module/order.deliveryexpectionorder/module.json +++ b/workflows/api-doc-system/data/module/order.deliveryexpectionorder/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/order.deliveryorder/_module.lifecycle.json b/workflows/api-doc-system/data/module/order.deliveryorder/_module.lifecycle.json index 3b5c2892..857f6aa2 100644 --- a/workflows/api-doc-system/data/module/order.deliveryorder/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/order.deliveryorder/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-04-16 11:15:05", - "updatedAt": "2026-05-11 16:08:50", + "updatedAt": "2026-05-12 09:13:18", "deletedAt": null, "restoredAt": "2026-04-17 19:16:50" } diff --git a/workflows/api-doc-system/data/module/order.deliveryorder/module.json b/workflows/api-doc-system/data/module/order.deliveryorder/module.json index 98fdbf37..b7fc7b81 100644 --- a/workflows/api-doc-system/data/module/order.deliveryorder/module.json +++ b/workflows/api-doc-system/data/module/order.deliveryorder/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/order.entrustorder/_module.lifecycle.json b/workflows/api-doc-system/data/module/order.entrustorder/_module.lifecycle.json index 8dcba77a..17883605 100644 --- a/workflows/api-doc-system/data/module/order.entrustorder/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/order.entrustorder/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-04-16 11:15:05", - "updatedAt": "2026-05-11 16:08:50", + "updatedAt": "2026-05-12 09:13:18", "deletedAt": null, "restoredAt": "2026-04-17 19:16:50" } diff --git a/workflows/api-doc-system/data/module/order.entrustorder/module.json b/workflows/api-doc-system/data/module/order.entrustorder/module.json index cee691f1..60df6f97 100644 --- a/workflows/api-doc-system/data/module/order.entrustorder/module.json +++ b/workflows/api-doc-system/data/module/order.entrustorder/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/order.expectionorder/_module.lifecycle.json b/workflows/api-doc-system/data/module/order.expectionorder/_module.lifecycle.json index 9c09c737..a6ffa6ea 100644 --- a/workflows/api-doc-system/data/module/order.expectionorder/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/order.expectionorder/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-04-16 11:15:05", - "updatedAt": "2026-05-11 16:08:50", + "updatedAt": "2026-05-12 09:13:18", "deletedAt": null, "restoredAt": "2026-04-17 19:16:50" } diff --git a/workflows/api-doc-system/data/module/order.expectionorder/module.json b/workflows/api-doc-system/data/module/order.expectionorder/module.json index 729f79b7..6d646646 100644 --- a/workflows/api-doc-system/data/module/order.expectionorder/module.json +++ b/workflows/api-doc-system/data/module/order.expectionorder/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/order.index/_module.lifecycle.json b/workflows/api-doc-system/data/module/order.index/_module.lifecycle.json index 5c2714e8..051e7cde 100644 --- a/workflows/api-doc-system/data/module/order.index/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/order.index/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-04-16 11:15:05", - "updatedAt": "2026-05-11 16:08:50", + "updatedAt": "2026-05-12 09:13:18", "deletedAt": null, "restoredAt": "2026-04-17 19:16:50" } diff --git a/workflows/api-doc-system/data/module/order.index/module.json b/workflows/api-doc-system/data/module/order.index/module.json index 412315c0..3c360b08 100644 --- a/workflows/api-doc-system/data/module/order.index/module.json +++ b/workflows/api-doc-system/data/module/order.index/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/order.outboundorder/_module.lifecycle.json b/workflows/api-doc-system/data/module/order.outboundorder/_module.lifecycle.json index 268f57eb..973e6030 100644 --- a/workflows/api-doc-system/data/module/order.outboundorder/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/order.outboundorder/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-04-16 11:15:05", - "updatedAt": "2026-05-11 16:08:50", + "updatedAt": "2026-05-12 09:13:18", "deletedAt": null, "restoredAt": "2026-04-17 19:16:50" } diff --git a/workflows/api-doc-system/data/module/order.outboundorder/module.json b/workflows/api-doc-system/data/module/order.outboundorder/module.json index 36abde35..f2b13e96 100644 --- a/workflows/api-doc-system/data/module/order.outboundorder/module.json +++ b/workflows/api-doc-system/data/module/order.outboundorder/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/order.pendingorder/_module.lifecycle.json b/workflows/api-doc-system/data/module/order.pendingorder/_module.lifecycle.json index 656d9022..9ffdd09f 100644 --- a/workflows/api-doc-system/data/module/order.pendingorder/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/order.pendingorder/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-04-16 11:15:05", - "updatedAt": "2026-05-11 16:08:50", + "updatedAt": "2026-05-12 09:13:18", "deletedAt": null, "restoredAt": "2026-04-17 19:16:50" } diff --git a/workflows/api-doc-system/data/module/order.pendingorder/module.json b/workflows/api-doc-system/data/module/order.pendingorder/module.json index 86c7ff30..8e23f4c0 100644 --- a/workflows/api-doc-system/data/module/order.pendingorder/module.json +++ b/workflows/api-doc-system/data/module/order.pendingorder/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/order.print/_module.lifecycle.json b/workflows/api-doc-system/data/module/order.print/_module.lifecycle.json index a67c2a40..ac4ab3b0 100644 --- a/workflows/api-doc-system/data/module/order.print/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/order.print/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-05-05 09:15:19", - "updatedAt": "2026-05-11 16:08:50", + "updatedAt": "2026-05-12 09:13:18", "deletedAt": null, "restoredAt": null } diff --git a/workflows/api-doc-system/data/module/order.print/module.json b/workflows/api-doc-system/data/module/order.print/module.json index 501a9750..f4643136 100644 --- a/workflows/api-doc-system/data/module/order.print/module.json +++ b/workflows/api-doc-system/data/module/order.print/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { @@ -16,14 +16,16 @@ "name": "订单打印模块", "key": "order.print", "folder": "order.print", - "interfaceCount": 1 + "interfaceCount": 2 }, "changes": { "fromPreviousSnapshot": { "moduleAdded": false, "moduleRenamed": false, "interfaceChanges": { - "addedMethods": [], + "addedMethods": [ + "order.print.getWavePlatformPrintData" + ], "deletedMethods": [], "paramsUpdatedMethods": [], "responseUpdatedMethods": [] @@ -84,6 +86,72 @@ "description": "扩展字段" } ] + }, + { + "method": "order.print.getWavePlatformPrintData", + "title": "按波次 IDs 获取平台打印中间态数据,自动过滤快递未完全分配的波次,返回逐单中间态与按平台分组结果", + "description": "按波次 IDs 获取平台打印中间态数据,自动过滤快递未完全分配的波次,返回逐单中间态与按平台分组结果", + "endpoint": "/system", + "authRequired": false, + "loginRequired": true, + "status": { + "isUsed": false, + "isPlaceholder": false + }, + "headers": [ + { + "name": "Authorization", + "type": "string", + "required": true, + "description": "Bearer token" + } + ], + "params": [ + { + "name": "warehouse_id", + "type": "number", + "required": true, + "description": "仓库ID(必须与当前用户上下文 store_id 一致)" + }, + { + "name": "wave_ids", + "type": "array", + "required": true, + "description": "波次ID列表(支持数字或字符串,内部自动去重与归一化)" + } + ], + "response": [ + { + "name": "summary", + "type": "object", + "required": false, + "description": "汇总信息" + }, + { + "name": "wave_ids", + "type": "array", + "required": false, + "description": "通过过滤的波次ID数组" + }, + { + "name": "platform_groups", + "type": "array", + "required": false, + "description": "按平台分组结果" + }, + { + "name": "order_list", + "type": "array", + "required": false, + "description": "逐单平台打印中间态明细" + }, + { + "name": "ext", + "type": "object", + "required": false, + "description": "扩展字段" + } + ] } ] } diff --git a/workflows/api-doc-system/data/module/order.revieworder/_module.lifecycle.json b/workflows/api-doc-system/data/module/order.revieworder/_module.lifecycle.json index bbbe331e..b82efafb 100644 --- a/workflows/api-doc-system/data/module/order.revieworder/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/order.revieworder/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-04-16 11:15:05", - "updatedAt": "2026-05-11 16:08:50", + "updatedAt": "2026-05-12 09:13:18", "deletedAt": null, "restoredAt": "2026-04-17 19:16:50" } diff --git a/workflows/api-doc-system/data/module/order.revieworder/module.json b/workflows/api-doc-system/data/module/order.revieworder/module.json index 9919322a..98a2fd6b 100644 --- a/workflows/api-doc-system/data/module/order.revieworder/module.json +++ b/workflows/api-doc-system/data/module/order.revieworder/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/order.wave/_module.lifecycle.json b/workflows/api-doc-system/data/module/order.wave/_module.lifecycle.json index e19e1039..c8098f5f 100644 --- a/workflows/api-doc-system/data/module/order.wave/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/order.wave/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-05-04 09:11:04", - "updatedAt": "2026-05-11 16:08:50", + "updatedAt": "2026-05-12 09:13:18", "deletedAt": null, "restoredAt": null } diff --git a/workflows/api-doc-system/data/module/order.wave/module.json b/workflows/api-doc-system/data/module/order.wave/module.json index 916a7c12..b8134400 100644 --- a/workflows/api-doc-system/data/module/order.wave/module.json +++ b/workflows/api-doc-system/data/module/order.wave/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { @@ -233,12 +233,6 @@ "type": "array|string", "required": false, "description": "允许的快递编码列表(可选,支持数组/JSON/逗号分隔);系统会校验所传编码是否在可用快递列表内,非法值将导致 400 错误。" - }, - { - "name": "wave_prefix", - "type": "string", - "required": false, - "description": "策略波次前缀(可选)。优先于仓库前缀;校验:长度 1-5,仅支持 A-Z0-9,保存时转大写;为空时回退仓库前缀(团购->group_wave_prefix,散单->delete_order_wave_prefix)。" } ], "response": [ @@ -401,12 +395,6 @@ "type": "array|string", "required": false, "description": "允许的快递编码列表(可选,支持数组/JSON/逗号分隔);系统会校验所传编码是否在可用快递列表内,非法值将导致 400 错误。" - }, - { - "name": "wave_prefix", - "type": "string", - "required": false, - "description": "策略波次前缀(可选)。优先于仓库前缀;校验:长度 1-5,仅支持 A-Z0-9,保存时转大写;为空时回退仓库前缀(团购->group_wave_prefix,散单->delete_order_wave_prefix)。" } ], "response": [ @@ -485,8 +473,8 @@ }, { "method": "order.wave.waveStrategyFetchPda", - "title": "按策略提交并创建抓取主流程任务(PDA)。当前为最小主流程:进行入参校验并创建任务记录,返回创建结果与计划预览;后续扫描/执行阶段将扩展为完整执行流。 注意:任务创建时生成的波次号(wave_no)使用策略的 wave_prefix(若设置)优先;若策略未设置,则根据策略类型回退到仓库级前缀(团购->group_wave_prefix,散单->delete_order_wave_prefix)。前缀保存为大写;仅允许 A-Z0-9,长度 1-5。 当存在未完成任务时,接口返回 fetch_state=3 且同时返回 existing task_id/task_no,前端可直接进入拣货流程。", - "description": "按策略提交并创建抓取主流程任务(PDA)。当前为最小主流程:进行入参校验并创建任务记录,返回创建结果与计划预览;后续扫描/执行阶段将扩展为完整执行流。 注意:任务创建时生成的波次号(wave_no)使用策略的 wave_prefix(若设置)优先;若策略未设置,则根据策略类型回退到仓库级前缀(团购->group_wave_prefix,散单->delete_order_wave_prefix)。前缀保存为大写;仅允许 A-Z0-9,长度 1-5。 当存在未完成任务时,接口返回 fetch_state=3 且同时返回 existing task_id/task_no,前端可直接进入拣货流程。", + "title": "按策略提交并创建抓取主流程任务(PDA)。当前为最小主流程:进行入参校验并创建任务记录,返回创建结果与计划预览;后续扫描/执行阶段将扩展为完整执行流。 注意:当存在未完成任务时,接口返回 fetch_state=3 且同时返回 existing task_id/task_no,前端可直接进入拣货流程。", + "description": "按策略提交并创建抓取主流程任务(PDA)。当前为最小主流程:进行入参校验并创建任务记录,返回创建结果与计划预览;后续扫描/执行阶段将扩展为完整执行流。 注意:当存在未完成任务时,接口返回 fetch_state=3 且同时返回 existing task_id/task_no,前端可直接进入拣货流程。", "endpoint": "/system", "authRequired": false, "loginRequired": true, diff --git a/workflows/api-doc-system/data/module/order/_module.lifecycle.json b/workflows/api-doc-system/data/module/order/_module.lifecycle.json index 9f45ba68..4494d144 100644 --- a/workflows/api-doc-system/data/module/order/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/order/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-05-09 09:52:14", - "updatedAt": "2026-05-11 16:08:50", + "updatedAt": "2026-05-12 09:13:18", "deletedAt": null, "restoredAt": null } diff --git a/workflows/api-doc-system/data/module/order/module.json b/workflows/api-doc-system/data/module/order/module.json index 6f390351..e27a9faf 100644 --- a/workflows/api-doc-system/data/module/order/module.json +++ b/workflows/api-doc-system/data/module/order/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { @@ -25,7 +25,9 @@ "interfaceChanges": { "addedMethods": [], "deletedMethods": [], - "paramsUpdatedMethods": [], + "paramsUpdatedMethods": [ + "order.wave.batchList" + ], "responseUpdatedMethods": [] } } @@ -61,7 +63,7 @@ "name": "where", "type": "object", "required": false, - "description": "筛选白名单字段(object,可选)。仅支持下列字段过滤,且禁止传入 warehouse_id / warehouseId: - wave_id(等值) - wave_no(模糊) - wave_type(等值) - wave_status(等值,接口固定叠加状态 0/1) - creator(模糊) - logistics_name(模糊) - item_part_type(等值) - item_part(模糊) - item_snapshot_key(模糊) - item_detail_machine(模糊) - distinguish_express(等值) - total_orders_min / total_orders_max(范围) - processed_orders_min / processed_orders_max(范围) - storage_assignment_status(等值,string,可选,取值:未分配、部分分配、已分配;默认不传不做限制)。过滤语义:已分配=聚合后全部 fin;部分分配=不含 error,且既不是全 none,也不是全 fin;未分配=全 none 或包含 error(异常并入未分配筛选集合)。说明:返回字段 storage_assignment_status 的展示值保持不变,包含 error 时仍可显示“分配异常”;此处 where 的过滤语义会把异常计入“未分配”,以避免把过滤语义与展示值混淆。 - source(可选,number)来源过滤:0=普通波次(正常后台操作),1=管理后台策略任务,2=PDA策略任务;不传则不过滤。" + "description": "筛选白名单字段(object,可选)。仅支持下列字段过滤,且禁止传入 warehouse_id / warehouseId: - wave_id(等值) - wave_no(模糊) - wave_type(等值) - wave_status(等值,接口固定叠加状态 0/1) - creator(模糊) - logistics_name(模糊) - item_part_type(等值) - item_part(模糊) - item_snapshot_key(模糊) - item_detail_machine(模糊) - distinguish_express(等值) - total_orders_min / total_orders_max(范围) - processed_orders_min / processed_orders_max(范围) - express_assignment_status(等值,string,可选,英文枚举,取值:unassigned、partially_assigned、assigned;语义:按快递分配聚合判断,assigned 表示聚合后全部 fin,partially_assigned 表示部分已分配且不含 error,unassigned 表示全 none 或包含 error(异常并入未分配集合))。 - print_assignment_status(等值,string,可选,英文枚举,取值:unprinted、partially_printed、printed;语义:按打印分配聚合判断,printed 表示聚合后全部已打印)。 - storage_assignment_status(等值,string,可选,取值:未分配、部分分配、已分配;默认不传不做限制)。过滤语义:已分配=聚合后全部 fin;部分分配=不含 error,且既不是全 none,也不是全 fin;未分配=全 none 或包含 error(异常并入未分配筛选集合)。说明:返回字段 storage_assignment_status 的展示值保持不变,包含 error 时仍可显示“分配异常”;此处 where 的过滤语义会把异常计入“未分配”,以避免把过滤语义与展示值混淆。 - source(可选,number)来源过滤:0=普通波次(正常后台操作),1=管理后台策略任务,2=PDA策略任务;不传则不过滤。 说明:express_assignment_status 与 print_assignment_status 要求使用英文枚举值;storage_assignment_status 仍向后兼容中文展示值。若传入的枚举值不在允许集合内,接口会返回 400(参数校验失败),并在 message 中说明错误字段与允许取值。" } ], "response": [ diff --git a/workflows/api-doc-system/data/module/pick/_module.lifecycle.json b/workflows/api-doc-system/data/module/pick/_module.lifecycle.json index 2d0763b4..747d7494 100644 --- a/workflows/api-doc-system/data/module/pick/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/pick/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-05-04 17:23:48", - "updatedAt": "2026-05-11 16:08:50", + "updatedAt": "2026-05-12 09:13:18", "deletedAt": null, "restoredAt": null } diff --git a/workflows/api-doc-system/data/module/pick/module.json b/workflows/api-doc-system/data/module/pick/module.json index 37478816..fa278a74 100644 --- a/workflows/api-doc-system/data/module/pick/module.json +++ b/workflows/api-doc-system/data/module/pick/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/print/_module.lifecycle.json b/workflows/api-doc-system/data/module/print/_module.lifecycle.json index f2ae1820..bc1145fd 100644 --- a/workflows/api-doc-system/data/module/print/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/print/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-04-16 11:15:05", - "updatedAt": "2026-05-11 16:08:50", + "updatedAt": "2026-05-12 09:13:18", "deletedAt": null, "restoredAt": null } diff --git a/workflows/api-doc-system/data/module/print/module.json b/workflows/api-doc-system/data/module/print/module.json index 2b52e711..dbbcbb42 100644 --- a/workflows/api-doc-system/data/module/print/module.json +++ b/workflows/api-doc-system/data/module/print/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/printer.station/_module.lifecycle.json b/workflows/api-doc-system/data/module/printer.station/_module.lifecycle.json index d9e24ab9..0041adb7 100644 --- a/workflows/api-doc-system/data/module/printer.station/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/printer.station/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-04-16 11:15:05", - "updatedAt": "2026-05-11 16:08:50", + "updatedAt": "2026-05-12 09:13:18", "deletedAt": null, "restoredAt": null } diff --git a/workflows/api-doc-system/data/module/printer.station/module.json b/workflows/api-doc-system/data/module/printer.station/module.json index ae43d887..a9229a13 100644 --- a/workflows/api-doc-system/data/module/printer.station/module.json +++ b/workflows/api-doc-system/data/module/printer.station/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/setting.account/_module.lifecycle.json b/workflows/api-doc-system/data/module/setting.account/_module.lifecycle.json index a8e158e2..a14848d2 100644 --- a/workflows/api-doc-system/data/module/setting.account/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/setting.account/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-04-16 11:15:05", - "updatedAt": "2026-05-11 16:08:50", + "updatedAt": "2026-05-12 09:13:18", "deletedAt": null, "restoredAt": null } diff --git a/workflows/api-doc-system/data/module/setting.account/module.json b/workflows/api-doc-system/data/module/setting.account/module.json index 86f1081b..a3768546 100644 --- a/workflows/api-doc-system/data/module/setting.account/module.json +++ b/workflows/api-doc-system/data/module/setting.account/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/setting.express/_module.lifecycle.json b/workflows/api-doc-system/data/module/setting.express/_module.lifecycle.json index 2118f718..c10cc2d4 100644 --- a/workflows/api-doc-system/data/module/setting.express/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/setting.express/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-04-17 19:37:49", - "updatedAt": "2026-05-11 16:08:50", + "updatedAt": "2026-05-12 09:13:18", "deletedAt": null, "restoredAt": null } diff --git a/workflows/api-doc-system/data/module/setting.express/module.json b/workflows/api-doc-system/data/module/setting.express/module.json index 377d8109..fd54d469 100644 --- a/workflows/api-doc-system/data/module/setting.express/module.json +++ b/workflows/api-doc-system/data/module/setting.express/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/setting.expressinterface/_module.lifecycle.json b/workflows/api-doc-system/data/module/setting.expressinterface/_module.lifecycle.json index f9919a67..33b7dd8c 100644 --- a/workflows/api-doc-system/data/module/setting.expressinterface/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/setting.expressinterface/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-04-17 20:21:27", - "updatedAt": "2026-05-11 16:08:50", + "updatedAt": "2026-05-12 09:13:18", "deletedAt": null, "restoredAt": null } diff --git a/workflows/api-doc-system/data/module/setting.expressinterface/module.json b/workflows/api-doc-system/data/module/setting.expressinterface/module.json index f028c87f..395508ef 100644 --- a/workflows/api-doc-system/data/module/setting.expressinterface/module.json +++ b/workflows/api-doc-system/data/module/setting.expressinterface/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/setting.permission/_module.lifecycle.json b/workflows/api-doc-system/data/module/setting.permission/_module.lifecycle.json index 56b81d5a..248d6bb3 100644 --- a/workflows/api-doc-system/data/module/setting.permission/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/setting.permission/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-04-16 11:15:05", - "updatedAt": "2026-05-11 16:08:50", + "updatedAt": "2026-05-12 09:13:18", "deletedAt": null, "restoredAt": null } diff --git a/workflows/api-doc-system/data/module/setting.permission/module.json b/workflows/api-doc-system/data/module/setting.permission/module.json index 15affbf4..d79a1524 100644 --- a/workflows/api-doc-system/data/module/setting.permission/module.json +++ b/workflows/api-doc-system/data/module/setting.permission/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/setting.platform/_module.lifecycle.json b/workflows/api-doc-system/data/module/setting.platform/_module.lifecycle.json index 59cfacd0..07dca4b6 100644 --- a/workflows/api-doc-system/data/module/setting.platform/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/setting.platform/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-04-17 19:16:50", - "updatedAt": "2026-05-11 16:08:50", + "updatedAt": "2026-05-12 09:13:18", "deletedAt": null, "restoredAt": null } diff --git a/workflows/api-doc-system/data/module/setting.platform/module.json b/workflows/api-doc-system/data/module/setting.platform/module.json index 68c5a404..75998278 100644 --- a/workflows/api-doc-system/data/module/setting.platform/module.json +++ b/workflows/api-doc-system/data/module/setting.platform/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/setting.printtemplate/_module.lifecycle.json b/workflows/api-doc-system/data/module/setting.printtemplate/_module.lifecycle.json index f3b44662..6507ef25 100644 --- a/workflows/api-doc-system/data/module/setting.printtemplate/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/setting.printtemplate/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-04-16 11:15:05", - "updatedAt": "2026-05-11 16:08:50", + "updatedAt": "2026-05-12 09:13:18", "deletedAt": null, "restoredAt": null } diff --git a/workflows/api-doc-system/data/module/setting.printtemplate/module.json b/workflows/api-doc-system/data/module/setting.printtemplate/module.json index 6d7bafc9..e1be1735 100644 --- a/workflows/api-doc-system/data/module/setting.printtemplate/module.json +++ b/workflows/api-doc-system/data/module/setting.printtemplate/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/setting.role/_module.lifecycle.json b/workflows/api-doc-system/data/module/setting.role/_module.lifecycle.json index 12342c4b..ac39c5d3 100644 --- a/workflows/api-doc-system/data/module/setting.role/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/setting.role/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-04-16 11:15:05", - "updatedAt": "2026-05-11 16:08:50", + "updatedAt": "2026-05-12 09:13:18", "deletedAt": null, "restoredAt": null } diff --git a/workflows/api-doc-system/data/module/setting.role/module.json b/workflows/api-doc-system/data/module/setting.role/module.json index 638f8cbd..5e89562f 100644 --- a/workflows/api-doc-system/data/module/setting.role/module.json +++ b/workflows/api-doc-system/data/module/setting.role/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/setting.warehouse/_module.lifecycle.json b/workflows/api-doc-system/data/module/setting.warehouse/_module.lifecycle.json index ead53156..2be80034 100644 --- a/workflows/api-doc-system/data/module/setting.warehouse/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/setting.warehouse/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-05-04 09:11:04", - "updatedAt": "2026-05-11 16:08:50", + "updatedAt": "2026-05-12 09:13:18", "deletedAt": null, "restoredAt": null } diff --git a/workflows/api-doc-system/data/module/setting.warehouse/module.json b/workflows/api-doc-system/data/module/setting.warehouse/module.json index 0174658b..5d7804fd 100644 --- a/workflows/api-doc-system/data/module/setting.warehouse/module.json +++ b/workflows/api-doc-system/data/module/setting.warehouse/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/stock/_module.lifecycle.json b/workflows/api-doc-system/data/module/stock/_module.lifecycle.json index 7da5945c..fd2e08d2 100644 --- a/workflows/api-doc-system/data/module/stock/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/stock/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-04-16 11:15:05", - "updatedAt": "2026-05-11 16:08:50", + "updatedAt": "2026-05-12 09:13:18", "deletedAt": null, "restoredAt": null } diff --git a/workflows/api-doc-system/data/module/stock/module.json b/workflows/api-doc-system/data/module/stock/module.json index c522b30f..c9415d56 100644 --- a/workflows/api-doc-system/data/module/stock/module.json +++ b/workflows/api-doc-system/data/module/stock/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/storage.entry/_module.lifecycle.json b/workflows/api-doc-system/data/module/storage.entry/_module.lifecycle.json index e1e14023..6546320c 100644 --- a/workflows/api-doc-system/data/module/storage.entry/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/storage.entry/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-04-16 11:15:05", - "updatedAt": "2026-05-11 16:08:50", + "updatedAt": "2026-05-12 09:13:18", "deletedAt": null, "restoredAt": null } diff --git a/workflows/api-doc-system/data/module/storage.entry/module.json b/workflows/api-doc-system/data/module/storage.entry/module.json index ae29db2f..c8548aa1 100644 --- a/workflows/api-doc-system/data/module/storage.entry/module.json +++ b/workflows/api-doc-system/data/module/storage.entry/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/storage.inventory/_module.lifecycle.json b/workflows/api-doc-system/data/module/storage.inventory/_module.lifecycle.json index 3461a543..9eb21af2 100644 --- a/workflows/api-doc-system/data/module/storage.inventory/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/storage.inventory/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-04-16 11:15:05", - "updatedAt": "2026-05-11 16:08:50", + "updatedAt": "2026-05-12 09:13:18", "deletedAt": null, "restoredAt": null } diff --git a/workflows/api-doc-system/data/module/storage.inventory/module.json b/workflows/api-doc-system/data/module/storage.inventory/module.json index 0b937ea2..f064f82b 100644 --- a/workflows/api-doc-system/data/module/storage.inventory/module.json +++ b/workflows/api-doc-system/data/module/storage.inventory/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/storage.stockout/_module.lifecycle.json b/workflows/api-doc-system/data/module/storage.stockout/_module.lifecycle.json index 70458e88..9f7fd40f 100644 --- a/workflows/api-doc-system/data/module/storage.stockout/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/storage.stockout/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-04-16 11:15:05", - "updatedAt": "2026-05-11 16:08:50", + "updatedAt": "2026-05-12 09:13:18", "deletedAt": null, "restoredAt": null } diff --git a/workflows/api-doc-system/data/module/storage.stockout/module.json b/workflows/api-doc-system/data/module/storage.stockout/module.json index abf9b558..917aebf9 100644 --- a/workflows/api-doc-system/data/module/storage.stockout/module.json +++ b/workflows/api-doc-system/data/module/storage.stockout/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/storage_receiving/_module.lifecycle.json b/workflows/api-doc-system/data/module/storage_receiving/_module.lifecycle.json index b7fb104c..f15ffe3a 100644 --- a/workflows/api-doc-system/data/module/storage_receiving/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/storage_receiving/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-04-16 11:15:05", - "updatedAt": "2026-05-11 16:08:50", + "updatedAt": "2026-05-12 09:13:18", "deletedAt": null, "restoredAt": "2026-04-17 19:16:50" } diff --git a/workflows/api-doc-system/data/module/storage_receiving/module.json b/workflows/api-doc-system/data/module/storage_receiving/module.json index 5afcd28b..6c8a804b 100644 --- a/workflows/api-doc-system/data/module/storage_receiving/module.json +++ b/workflows/api-doc-system/data/module/storage_receiving/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/store/_module.lifecycle.json b/workflows/api-doc-system/data/module/store/_module.lifecycle.json index 1c251bfd..99888b1f 100644 --- a/workflows/api-doc-system/data/module/store/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/store/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-04-16 11:15:05", - "updatedAt": "2026-05-11 16:08:50", + "updatedAt": "2026-05-12 09:13:18", "deletedAt": null, "restoredAt": null } diff --git a/workflows/api-doc-system/data/module/store/module.json b/workflows/api-doc-system/data/module/store/module.json index 2a3d9b47..d8075799 100644 --- a/workflows/api-doc-system/data/module/store/module.json +++ b/workflows/api-doc-system/data/module/store/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/storewarehouse.store/_module.lifecycle.json b/workflows/api-doc-system/data/module/storewarehouse.store/_module.lifecycle.json index f76970a5..8d152575 100644 --- a/workflows/api-doc-system/data/module/storewarehouse.store/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/storewarehouse.store/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-04-16 11:15:05", - "updatedAt": "2026-05-11 16:08:50", + "updatedAt": "2026-05-12 09:13:18", "deletedAt": null, "restoredAt": null } diff --git a/workflows/api-doc-system/data/module/storewarehouse.store/module.json b/workflows/api-doc-system/data/module/storewarehouse.store/module.json index 13aa5f2a..05e031c3 100644 --- a/workflows/api-doc-system/data/module/storewarehouse.store/module.json +++ b/workflows/api-doc-system/data/module/storewarehouse.store/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/user/_module.lifecycle.json b/workflows/api-doc-system/data/module/user/_module.lifecycle.json index a29c4c04..0b3c316f 100644 --- a/workflows/api-doc-system/data/module/user/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/user/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-04-16 11:15:05", - "updatedAt": "2026-05-11 16:08:50", + "updatedAt": "2026-05-12 09:13:18", "deletedAt": null, "restoredAt": null } diff --git a/workflows/api-doc-system/data/module/user/module.json b/workflows/api-doc-system/data/module/user/module.json index 14ce3d12..7a62f509 100644 --- a/workflows/api-doc-system/data/module/user/module.json +++ b/workflows/api-doc-system/data/module/user/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/warehouse/_module.lifecycle.json b/workflows/api-doc-system/data/module/warehouse/_module.lifecycle.json index 6dd27da6..3f4f110e 100644 --- a/workflows/api-doc-system/data/module/warehouse/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/warehouse/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-04-16 11:15:05", - "updatedAt": "2026-05-11 16:08:50", + "updatedAt": "2026-05-12 09:13:18", "deletedAt": null, "restoredAt": null } diff --git a/workflows/api-doc-system/data/module/warehouse/module.json b/workflows/api-doc-system/data/module/warehouse/module.json index 08fca205..44511e56 100644 --- a/workflows/api-doc-system/data/module/warehouse/module.json +++ b/workflows/api-doc-system/data/module/warehouse/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-05-11 16:08:50", - "generatedAtLocal": "2026-05-11 16:08:50", + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/pending-updates.json b/workflows/api-doc-system/data/pending-updates.json index 0967ef42..f068e71a 100644 --- a/workflows/api-doc-system/data/pending-updates.json +++ b/workflows/api-doc-system/data/pending-updates.json @@ -1 +1,56 @@ -{} +{ + "generatedAt": "2026-05-12 09:13:18", + "generatedAtLocal": "2026-05-12 09:13:18", + "source": "remote", + "filter": { + "platform": { + "value": "web", + "label": "网页端" + }, + "project": { + "value": "all", + "label": "全部" + } + }, + "summary": { + "moduleAdded": 0, + "moduleDeleted": 0, + "interfaceAdded": 1, + "interfaceDeleted": 0, + "interfaceParamsUpdated": 3, + "interfaceResponseUpdated": 0, + "totalChangedItems": 4 + }, + "interfaceUpdates": { + "added": [ + { + "moduleName": "订单打印模块", + "moduleKey": "order.print", + "folder": "order.print", + "method": "order.print.getWavePlatformPrintData" + } + ], + "deleted": [], + "paramsUpdated": [ + { + "moduleName": "订单波次模块", + "moduleKey": "order.wave", + "folder": "order.wave", + "method": "order.wave.waveStrategyCreate" + }, + { + "moduleName": "订单波次模块", + "moduleKey": "order.wave", + "folder": "order.wave", + "method": "order.wave.waveStrategyUpdate" + }, + { + "moduleName": "order.wave", + "moduleKey": "order", + "folder": "order", + "method": "order.wave.batchList" + } + ], + "responseUpdated": [] + } + } \ No newline at end of file