diff --git a/dist.tar.gz b/dist.tar.gz index 29047ff7..4e89efdc 100644 Binary files a/dist.tar.gz and b/dist.tar.gz differ diff --git a/src/api/stock/pickingShortage.ts b/src/api/stock/pickingShortage.ts deleted file mode 100644 index 3931e765..00000000 --- a/src/api/stock/pickingShortage.ts +++ /dev/null @@ -1,33 +0,0 @@ -import request from '@/utils/request' - -const v = '1.0' - -/** - * 分拣缺货补货需求计算(仓库级别) - * 自动从用户上下文获取仓库,查询所有未完成储位分配的订单, - * 计算每个SKU在分拣区与存货区的库存量、订单需求量、分拣区缺口及建议补货量。 - * @param pagination 分页参数 { page, pageSize } - * @param order 排序参数,如 { field: 'shortage', direction: 'desc' } - */ -export function getReplenishmentDemand( - pagination?: { page: number; pageSize: number }, - order?: { field: string; direction: string } | null -) { - const data: Record = { - pagination: pagination || { page: 1, pageSize: 50 }, - } - if (order) { - data.order = order - } - return request({ - url: '/system', - method: 'post', - params: { - method: 'storage.management.replenishmentDemand', - v, - timestamp: new Date().getTime() - }, - data, - isSystemApi: true - } as any) -} diff --git a/src/api/storage.entry/entry.ts b/src/api/storage.entry/entry.ts index c5dc26ce..ae5da388 100644 --- a/src/api/storage.entry/entry.ts +++ b/src/api/storage.entry/entry.ts @@ -34,7 +34,54 @@ export function getEntryList(data: StorageEntryListParams = {}): Promise { }) } -export function getEntryDetail(data:any): Promise { +export type GetEntryDetailParams = { + /** 入库单ID,与 entry_order_code 二选一 */ + id?: number + /** 入库单号,与 id 二选一 */ + entry_order_code?: string +} + +export type EntryDetailBinding = { + id?: number + entry_item_id?: number + receiving_detail_id?: number + allocated_quantity?: number + status?: string + receivingDetail?: Record + [key: string]: unknown +} + +export type EntryDetailItem = { + id?: number + stock_id?: number + /** 当前 pending 绑定的总预分配数量 */ + pending_total?: number + /** 计划入库数量(= count) */ + total_planned?: number + /** pending 绑定列表 */ + bindings?: EntryDetailBinding[] + [key: string]: unknown +} + +export type EntryOrderDetail = { + entry_order_code?: string + purchase_order_code?: string + store_name?: string + order_status?: string + items?: EntryDetailItem[] + [key: string]: unknown +} + +export type GetEntryDetailResponse = { + code?: number + message?: string + entryOrder?: EntryOrderDetail + data?: { + entryOrder?: EntryOrderDetail + } +} + +export function getEntryDetail(data: GetEntryDetailParams): Promise { return request({ url: '/system', method: 'post', @@ -89,3 +136,70 @@ export function deleteDetail(data:any): Promise { export function detailChange(data:any): Promise { return Promise.reject(new Error('storage.entry.detailChange 已下线,入库单明细不再对外编辑')) } + +export type BindReceivingDetailsBinding = { + receiving_detail_id: number + allocated_quantity: number +} + +export type BindReceivingDetailsParams = { + entry_item_id: number + bindings: BindReceivingDetailsBinding[] +} + +export type BindReceivingDetailsResponse = { + code?: number + message?: string + entry_item_id?: number + binding_count?: number + data?: { + entry_item_id?: number + binding_count?: number + } +} + +/** 入库单明细绑定收货明细 */ +export function bindReceivingDetails(data: BindReceivingDetailsParams): Promise { + return request({ + url: '/system', + method: 'post', + params: { + method: 'storage.entry.bindReceivingDetails', + v, + timestamp: new Date().getTime() + }, + data + }) +} + +export type UnbindReceivingDetailsParams = { + /** 入库单明细ID */ + entry_item_id: number +} + +export type UnbindReceivingDetailsResponse = { + code?: number + message?: string + entry_item_id?: number + released_quantity?: number + data?: { + entry_item_id?: number + released_quantity?: number + } +} + +/** 解绑入库明细的收货明细绑定 */ +export function unbindReceivingDetails( + data: UnbindReceivingDetailsParams +): Promise { + return request({ + url: '/system', + method: 'post', + params: { + method: 'storage.entry.unbindReceivingDetails', + v, + timestamp: new Date().getTime() + }, + data + }) +} diff --git a/src/api/storage.management/management.ts b/src/api/storage.management/management.ts new file mode 100644 index 00000000..a2b8d30d --- /dev/null +++ b/src/api/storage.management/management.ts @@ -0,0 +1,47 @@ +import request from '@/utils/request' + +const v = '1.0' + +export type ReplenishmentDemandSortField = + | 'stock_id' + | 'pick_zone_quantity' + | 'storage_zone_quantity' + | 'total_demand' + | 'shortage' + | 'replenishment_needed' + +export interface ReplenishmentDemandBody { + pagination?: { + page?: number + pageSize?: number + } + sort?: { + sortField?: ReplenishmentDemandSortField + sortOrder?: 'ASC' | 'DESC' + } +} + +/** + * 分拣缺货补货需求计算(仓库级别) + * 自动从用户上下文获取仓库,查询所有未完成储位分配的订单, + * 计算每个SKU在分拣区与存货区的库存量、订单需求量、分拣区缺口、建议补货量及可补货库位。 + */ +export function getReplenishmentDemand(data?: ReplenishmentDemandBody): Promise { + const body: Record = { + pagination: data?.pagination ?? { page: 1, pageSize: 20 }, + } + if (data?.sort) { + body.sort = data.sort + } + return request({ + url: '/system', + method: 'post', + params: { + method: 'storage.management.replenishmentDemand', + v, + timestamp: new Date().getTime() + }, + data: body, + isSystemApi: true + } as any) +} diff --git a/src/api/storage_receiving/receiving.ts b/src/api/storage_receiving/receiving.ts index 5d9204be..c8e5306e 100644 --- a/src/api/storage_receiving/receiving.ts +++ b/src/api/storage_receiving/receiving.ts @@ -360,3 +360,88 @@ export function quickPutaway(data: { isSystemApi: true } as any) } + +export type GetAvailableInboundQuantityParams = { + stock_id: number +} + +export type AvailableInboundQuantityItem = { + detail_id?: number + receiving_id?: number + receiving_number?: string + product_name?: string + actual_quantity?: number + stored_quantity?: number + pending_allocated_quantity?: number + available_quantity?: number + storage_status?: string + batch_number?: string + production_date?: string + expiry_date?: string + space_id?: number + receiving_status?: string + [key: string]: unknown +} + +export type GetAvailableInboundQuantityResponse = { + code?: number + message?: string + list?: AvailableInboundQuantityItem[] + total?: number + data?: { + list?: AvailableInboundQuantityItem[] + total?: number + } +} + +/** 按 stock_id 查询可入库数量 */ +export function getAvailableInboundQuantity( + data: GetAvailableInboundQuantityParams +): Promise { + return request({ + url: '/system', + method: 'post', + params: { + method: 'storage.receiving.getAvailableInboundQuantity', + v, + timestamp: new Date().getTime() + }, + data, + isSystemApi: true + } as any) +} + +export type ManualMatchEntryOrderParams = { + receivingId: number + entryOrderId: number +} + +export type ManualMatchEntryOrderResponse = { + code?: number + message?: string + matchType?: string + comparisonResult?: Record + callbackSent?: boolean + callbackResult?: Record | null + partialStorageMarked?: boolean + entryOrder?: Record + receivingOrder?: Record + data?: Partial +} + +/** 手动匹配入库单与收货单 */ +export function manualMatchEntryOrder( + data: ManualMatchEntryOrderParams +): Promise { + return request({ + url: '/system', + method: 'post', + params: { + method: 'storage.receiving.manualMatchEntryOrder', + v, + timestamp: new Date().getTime() + }, + data, + isSystemApi: true + } as any) +} diff --git a/src/router/map.ts b/src/router/map.ts index 38b39aaf..bac8bd8d 100644 --- a/src/router/map.ts +++ b/src/router/map.ts @@ -16,7 +16,8 @@ export const componentMap: Record = { 'stock/index': () => import('@/views/stock/stock/index.vue'), 'stock/storestock/index': () => import('@/views/stock/storestock/index.vue'), 'stock/combo_stock/index': () => import('@/views/stock/combo_stock/index.vue'), - 'stock/pickingShortage/index': () => import('@/views/stock/pickingShortage/index.vue'), + 'stock/pickingShortage/index': () => import('@/views/storage/management/replenishmentDemand/index.vue'), + 'storage/management/replenishmentDemand/index': () => import('@/views/storage/management/replenishmentDemand/index.vue'), 'storage/receiving': () => import('@/views/storage/receiving/index.vue'), 'storage/report': () => import('@/views/storage/report/index.vue'), 'storage/entry': () => import('@/views/storage/entry/index.vue'), diff --git a/src/views/order/waveOrder/component/PendingOrderListPanel.vue b/src/views/order/waveOrder/component/PendingOrderListPanel.vue index f4843ef7..a6a7c9f0 100644 --- a/src/views/order/waveOrder/component/PendingOrderListPanel.vue +++ b/src/views/order/waveOrder/component/PendingOrderListPanel.vue @@ -143,6 +143,15 @@ @closed="resetSyncOrderIdsDialog" @submit="submitSyncOrderIds" /> + @@ -157,6 +166,7 @@ import * as indexApi from '@/api/index/index' import AllocateExpressForm from '@/views/order/orderManagement/form/AllocateExpressForm.vue' import StorageAllocateForm from '@/views/order/orderManagement/form/StorageAllocateForm.vue' import SyncOrderIdsForm from '@/views/order/orderManagement/form/SyncOrderIdsForm.vue' +import ManualWaybillForm from '@/views/order/orderManagement/form/ManualWaybillForm.vue' import OrderToolbarButtonGroup from '@/views/order/orderManagement/component/OrderToolbarButtonGroup.vue' import { createPendingToolbarController } from '@/views/order/orderManagement/utils/toolbar-actions' import { buildOrderWhereConditions, sanitizeOrderListWhere } from '@/views/order/orderManagement/utils/order-index-helpers' @@ -181,7 +191,7 @@ const presetTree = ref([]) const availableFieldsRef = reactive( JSON.parse(JSON.stringify(pendingAvailableFields.filter((field: any) => field.value !== 'wave_no'))) ) -const toolbarButtons = pickToolbarButtons(['refresh', 'columnConfig', 'allocateStorage', 'allocateExpress', 'syncOrderIds']) +const toolbarButtons = pickToolbarButtons(['refresh', 'columnConfig', 'allocateStorage', 'allocateExpress', 'manualWaybill', 'syncOrderIds']) const list = ref([]) const loading = ref(false) @@ -345,14 +355,21 @@ const { storageAllocateFailedCount, storageAllocateMessage, syncOrderIdsDialogVisible, - syncOrderIdsLoading + syncOrderIdsLoading, + manualWaybillDialogVisible, + manualWaybillLoading, + manualWaybillOrderId, + manualWaybillOrderCode, + manualWaybillForm }, submitStorageAllocate, submitAllocateExpress, submitSyncOrderIds, + submitManualWaybill, resetAllocateDialog, resetStorageAllocateDialog, - resetSyncOrderIdsDialog + resetSyncOrderIdsDialog, + resetManualWaybillDialog } = createPendingToolbarController({ loadData, handleExport: async () => {}, @@ -378,7 +395,8 @@ function resolveButtonLoading(loadingKey?: string) { actionLoading: actionLoading.value, storageAllocateLoading: storageAllocateLoading.value, allocateLoading: allocateLoading.value, - syncOrderIdsLoading: syncOrderIdsLoading.value + syncOrderIdsLoading: syncOrderIdsLoading.value, + manualWaybillLoading: manualWaybillLoading.value } return Boolean(loadingMap[loadingKey]) } @@ -386,23 +404,29 @@ function resolveButtonLoading(loadingKey?: string) { function resolveButtonDisabled(disabledKey?: string) { if (!disabledKey) return false const disabledMap: Record = { - hasNoSelection: !hasSelection.value + hasNoSelection: !hasSelection.value, + notSingleSelection: selectionRows.value.length !== 1 } return Boolean(disabledMap[disabledKey]) } function resolveButtonLabel(defaultLabel: string) { + if (defaultLabel === '录入运单号') return '手工分配快递号' return defaultLabel } const toolbarLayoutKey = computed(() => JSON.stringify({ - disabled: { hasNoSelection: !hasSelection.value }, + disabled: { + hasNoSelection: !hasSelection.value, + notSingleSelection: selectionRows.value.length !== 1 + }, loading: { actionLoading: actionLoading.value, storageAllocateLoading: storageAllocateLoading.value, allocateLoading: allocateLoading.value, - syncOrderIdsLoading: syncOrderIdsLoading.value + syncOrderIdsLoading: syncOrderIdsLoading.value, + manualWaybillLoading: manualWaybillLoading.value } }) ) diff --git a/src/views/order/waveOrder/config/wave-config.ts b/src/views/order/waveOrder/config/wave-config.ts index 2a748821..3533d74b 100644 --- a/src/views/order/waveOrder/config/wave-config.ts +++ b/src/views/order/waveOrder/config/wave-config.ts @@ -1,4 +1,8 @@ -import type { ToolbarButtonConfig } from '@/views/order/orderManagement/config/order-common-config' +import { + buyerMessageHasFilterOptions, + scanField, + type ToolbarButtonConfig +} from '@/views/order/orderManagement/config/order-common-config' import type { WavePlatformPrintDataPayload } from '@/api/order.print/orderprint' import { orderPendingOrder } from '@/api/order.pendingorder/orderpendingOrder' import { @@ -8,6 +12,29 @@ import { parseOrderListResponse } from '@/views/order/orderManagement/utils/order-index-helpers' +/** ScanBox 筛选字段分组(波次模块专用) */ +export const WAVE_SCAN_FIELD_GROUPS = { + wave: '波次信息', + process: '流程状态', + logistics: '物流信息', + person: '人员信息', + stats: '商品统计', + strategy: '策略配置', + task: '任务信息', + status: '状态筛选', + time: '时间范围', +} as const + +type WaveScanFieldGroupKey = keyof typeof WAVE_SCAN_FIELD_GROUPS + +/** 为波次 ScanBox 字段附加分组标签 */ +export function waveScanField( + group: G, + field: Record +) { + return { ...field, group: WAVE_SCAN_FIELD_GROUPS[group] } +} + /** 工具栏按钮:可限定仅在对应波次页签显示(1 团购 / 2 散单) */ export type WaveToolbarButtonConfig = ToolbarButtonConfig & { onlyForWaveType?: 1 | 2 @@ -35,9 +62,8 @@ export const waveUpperTableDefaults = { /** 左侧筛选可用字段 */ export const waveAvailableFields = [ - // { label: '波次ID', value: 'wave_id', type: 'number' }, - { label: '波次号', value: 'wave_no', type: 'text' }, - { + waveScanField('wave', { label: '波次号', value: 'wave_no', type: 'text' }), + waveScanField('wave', { label: '波次类型', value: 'wave_type', type: 'select', @@ -45,8 +71,8 @@ export const waveAvailableFields = [ { label: '团购', value: 1 }, { label: '散单', value: 2 } ] - }, - { + }), + waveScanField('wave', { label: '波次状态', value: 'wave_status', type: 'select', @@ -54,8 +80,8 @@ export const waveAvailableFields = [ { label: '自动加团中', value: 0 }, { label: '已就绪', value: 1 } ] - }, - { + }), + waveScanField('wave', { label: '区分快递', value: 'distinguish_express', type: 'select', @@ -63,58 +89,69 @@ export const waveAvailableFields = [ { label: '是', value: 1 }, { label: '否', value: 0 } ] - }, - {label:'库位分配', value: 'storage_assignment_status', type: 'select', options: [ - { label: '未分配', value: '未分配' }, - // { label: '部分分配', value: '部分分配' }, - { label: '已分配', value: '已分配' }, - ]}, - { label:'快递分配', value: 'express_assignment_status', type: 'select', options: [ - { label: '未分配', value: 'unassigned' }, - // { label: '部分分配', value: 'partially_assigned' }, - { label: '已分配', value: 'assigned' }, - ]}, - { label:'打印状态', value: 'print_assignment_status', type: 'select', options: [ - { label: '未打印', value: 'unprinted' }, - // { label: '部分打印', value: 'partially_printed' }, - { label: '已打印', value: 'printed' }, - ]}, - { label: '复核状态', value: 'review_assignment_status', type: 'select', options: [ - { label: '未复核', value: 'unreviewed' }, - // { label: '部分复核', value: 'partially_reviewed' }, - { label: '已复核', value: 'reviewed' }, - ]}, - { label: '创建人', value: 'creator', type: 'text' }, - { label: '快递', value: 'logistics_name', type: 'text' }, - // { label: '商品类型', value: 'item_part_type', type: 'text' }, - // { label: '商品部位', value: 'item_part', type: 'text' }, - // { label: '商品快照键', value: 'item_snapshot_key', type: 'text' }, - // { label: '商品结构', value: 'item_detail_machine', type: 'text' }, - - - { label: '最小订单数', value: 'total_orders_min', type: 'number' }, - { label: '最大订单数', value: 'total_orders_max', type: 'number' }, - { label: '最小已处理订单', value: 'processed_orders_min', type: 'number' }, - { label: '最大已处理订单', value: 'processed_orders_max', type: 'number' } + }), + waveScanField('process', { + label: '库位分配', + value: 'storage_assignment_status', + type: 'select', + options: [ + { label: '未分配', value: '未分配' }, + { label: '已分配', value: '已分配' }, + ] + }), + waveScanField('process', { + label: '快递分配', + value: 'express_assignment_status', + type: 'select', + options: [ + { label: '未分配', value: 'unassigned' }, + { label: '已分配', value: 'assigned' }, + ] + }), + waveScanField('process', { + label: '打印状态', + value: 'print_assignment_status', + type: 'select', + options: [ + { label: '未打印', value: 'unprinted' }, + { label: '已打印', value: 'printed' }, + ] + }), + waveScanField('process', { + label: '复核状态', + value: 'review_assignment_status', + type: 'select', + options: [ + { label: '未复核', value: 'unreviewed' }, + { label: '已复核', value: 'reviewed' }, + ] + }), + waveScanField('logistics', { label: '快递', value: 'logistics_name', type: 'text' }), + waveScanField('person', { label: '创建人', value: 'creator', type: 'text' }), + waveScanField('stats', { label: '最小订单数', value: 'total_orders_min', type: 'number' }), + waveScanField('stats', { label: '最大订单数', value: 'total_orders_max', type: 'number' }), + waveScanField('stats', { label: '最小已处理订单', value: 'processed_orders_min', type: 'number' }), + waveScanField('stats', { label: '最大已处理订单', value: 'processed_orders_max', type: 'number' }), ] /** 抓取散单候选:左侧筛选可用字段 */ export const fallbackOrderAvailableFields = [ - // { label: '订单ID', value: 'id', type: 'number' }, - { label: '订单号', value: 'delivery_no', type: 'text' }, - { label: '物流单号', value: 'tracking_no', type: 'text' }, - { label: '商品种数最小值', value: 'items_count_min', type: 'number' }, - { label: '商品种数最大值', value: 'items_count_max', type: 'number' }, - { label: '商品总数最小值', value: 'items_total_min', type: 'number' }, - { label: '商品总数最大值', value: 'items_total_max', type: 'number' }, - { label: '物流公司', value: 'sys_logistics_name', type: 'select', options: [] }, - { label: '店铺名称', value: 'store_name', type: 'text' }, - { label: '平台', value: 'sys_platform_name', type: 'select', options: [] }, - { label: '有无留言', value: 'buyer_message_has', type: 'select', options: [{ label: '有留言', value: 'has' }, { label: '无留言', value: 'none' }] }, - { label: '买家留言', value: 'buyer_message', type: 'text' }, - // { label: '货主', value: 'owner_name', type: 'select', options: [] }, - // { label: '省份', value: 'province', type: 'text' }, - // { label: '来源平台', value: 'sys_platform_name', type: 'select', options: [] } + scanField('order', { label: '订单号', value: 'delivery_no', type: 'text' }), + scanField('logistics', { label: '物流单号', value: 'tracking_no', type: 'text' }), + scanField('shop', { label: '店铺名称', value: 'store_name', type: 'text' }), + scanField('shop', { label: '平台', value: 'sys_platform_name', type: 'select', options: [] }), + scanField('logistics', { label: '物流公司', value: 'sys_logistics_name', type: 'select', options: [] }), + waveScanField('stats', { label: '商品种数最小值', value: 'items_count_min', type: 'number' }), + waveScanField('stats', { label: '商品种数最大值', value: 'items_count_max', type: 'number' }), + waveScanField('stats', { label: '商品总数最小值', value: 'items_total_min', type: 'number' }), + waveScanField('stats', { label: '商品总数最大值', value: 'items_total_max', type: 'number' }), + scanField('receiver', { + label: '有无留言', + value: 'buyer_message_has', + type: 'select', + options: buyerMessageHasFilterOptions + }), + scanField('receiver', { label: '买家留言', value: 'buyer_message', type: 'text' }), ] /** 不符合波次策略订单列表:UpperTable 列配置 */ @@ -136,8 +173,8 @@ export const fallbackOrderColumns = [ /** 波次策略:左侧筛选可用字段 */ export const waveStrategyAvailableFields = [ - { label: '策略名称', value: 'strategy_name', type: 'text' }, - { + waveScanField('strategy', { label: '策略名称', value: 'strategy_name', type: 'text' }), + waveScanField('strategy', { label: '策略类型', value: 'strategy_type', type: 'select', @@ -145,8 +182,9 @@ export const waveStrategyAvailableFields = [ { label: '散单', value: 1 }, { label: '团购', value: 2 } ] - }, - { + }), + waveScanField('strategy', { label: '波次前缀', value: 'wave_prefix', type: 'text' }), + waveScanField('status', { label: '启用状态', value: 'status', type: 'select', @@ -154,8 +192,8 @@ export const waveStrategyAvailableFields = [ { label: '启用', value: 1 }, { label: '停用', value: 0 } ] - }, - { + }), + waveScanField('status', { label: '批次模式', value: 'batch_mode', type: 'select', @@ -168,8 +206,7 @@ export const waveStrategyAvailableFields = [ { label: '播种墙', value: 5 }, { label: '流利架', value: 6 } ] - }, - { label: '波次前缀', value: 'wave_prefix', type: 'text' } + }), ] /** 波次策略:UpperTable 列配置 */ @@ -767,15 +804,14 @@ export const pickTaskStatusFilterOptions = [ /** 左侧筛选字段(与 order.wave.wavePickTaskList 入参对应) */ export const pickTaskWaveAvailableFields = [ - { label: '任务编号', value: 'task_no', type: 'text' }, - // { label: '关键字', value: 'keyword', type: 'text' }, - { + waveScanField('task', { label: '任务编号', value: 'task_no', type: 'text' }), + waveScanField('status', { label: '任务状态', value: 'status', type: 'multiple', options: [...pickTaskStatusFilterOptions] - }, - { + }), + waveScanField('status', { label: '复核状态', value: 'review_status', type: 'select', @@ -786,8 +822,8 @@ export const pickTaskWaveAvailableFields = [ { label: '复核通过', value: 3 }, { label: '复核异常', value: 4 } ] - }, - { + }), + waveScanField('status', { label: '拣货模式', value: 'pick_mode', type: 'select', @@ -798,8 +834,8 @@ export const pickTaskWaveAvailableFields = [ { label: '边拣边分', value: 4 }, { label: '大团购', value: 5 } ] - }, - { + }), + waveScanField('status', { label: '来源', value: 'source', type: 'select', @@ -808,29 +844,8 @@ export const pickTaskWaveAvailableFields = [ { label: 'PDA', value: 1 }, { label: '后台', value: 2 } ] - }, - // { - // 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' } + }), + waveScanField('time', { label: '开始时间', value: 'start_time_range', type: 'daterange' }), ] export function formatPickTaskStatus(value: unknown): string { diff --git a/src/views/stock/pickingShortage/index.vue b/src/views/stock/pickingShortage/index.vue deleted file mode 100644 index 0a74429d..00000000 --- a/src/views/stock/pickingShortage/index.vue +++ /dev/null @@ -1,450 +0,0 @@ - - - - - diff --git a/src/views/storage/entry/component/BindReceivingDetailsDialog.vue b/src/views/storage/entry/component/BindReceivingDetailsDialog.vue new file mode 100644 index 00000000..e87b7a34 --- /dev/null +++ b/src/views/storage/entry/component/BindReceivingDetailsDialog.vue @@ -0,0 +1,363 @@ + + + + + diff --git a/src/views/storage/entry/component/UnbindReceivingDetailsDialog.vue b/src/views/storage/entry/component/UnbindReceivingDetailsDialog.vue new file mode 100644 index 00000000..e6c46610 --- /dev/null +++ b/src/views/storage/entry/component/UnbindReceivingDetailsDialog.vue @@ -0,0 +1,334 @@ + + + + + diff --git a/src/views/storage/entry/component/entrydetail.vue b/src/views/storage/entry/component/entrydetail.vue index 55073020..657df7ee 100644 --- a/src/views/storage/entry/component/entrydetail.vue +++ b/src/views/storage/entry/component/entrydetail.vue @@ -3,16 +3,14 @@
刷新 - - EXCEL导出 导出
- + 待入库,可绑定收货明细
- +
- + + diff --git a/src/views/storage/management/replenishmentDemand/replenishment-demand-config.ts b/src/views/storage/management/replenishmentDemand/replenishment-demand-config.ts new file mode 100644 index 00000000..b62e8bcc --- /dev/null +++ b/src/views/storage/management/replenishmentDemand/replenishment-demand-config.ts @@ -0,0 +1,128 @@ +import type { ReplenishmentDemandSortField } from '@/api/storage.management/management' + +export interface ReplenishmentDemandQueryForm { + pageSize: number + sortField: ReplenishmentDemandSortField + sortOrder: 'ASC' | 'DESC' +} + +export interface ReplenishmentDemandListItem { + stock_id: number + stock_code?: string + stock_name?: string + pick_zone_quantity?: number + storage_zone_quantity?: number + total_demand?: number + shortage?: number + replenishment_needed?: number + replenishment_status?: string + replenishment_locations?: Array<{ + space_code?: string + space_name?: string + available_quantity?: number + }> + [key: string]: unknown +} + +export interface ReplenishmentDemandSummary { + total_skus?: number + total_shortage_skus?: number + total_replenishment_needed?: number + total_true_shortage_skus?: number + [key: string]: number | undefined +} + +export const defaultQueryForm = (): ReplenishmentDemandQueryForm => ({ + pageSize: 20, + sortField: 'shortage', + sortOrder: 'DESC', +}) + +export const sortFieldOptions: Array<{ label: string; value: ReplenishmentDemandSortField }> = [ + { label: 'SKU ID', value: 'stock_id' }, + { label: '分拣区库存', value: 'pick_zone_quantity' }, + { label: '存货区库存', value: 'storage_zone_quantity' }, + { label: '总需求量', value: 'total_demand' }, + { label: '缺口数量', value: 'shortage' }, + { label: '建议补货量', value: 'replenishment_needed' }, +] + +export const sortOrderOptions = [ + { label: '降序', value: 'DESC' as const }, + { label: '升序', value: 'ASC' as const }, +] + +export const replenishmentStatusLabelMap: Record = { + true_shortage: '真实缺货', + replenishable: '可补货', + sufficient: '充足', +} + +export const replenishmentStatusTagMap: Record = { + true_shortage: 'danger', + replenishable: 'warning', + sufficient: 'success', +} + +export function isReplenishmentDemandSuccess(res: any): boolean { + return !!(res && (res.code === 1 || res.code === 200 || res.flag === 'success')) +} + +export function parseReplenishmentDemandResponse(res: any): { + list: ReplenishmentDemandListItem[] + summary: ReplenishmentDemandSummary + pagination: { page: number; pageSize: number; total: number } +} { + const data = res?.data && typeof res.data === 'object' ? res.data : res + const list = (data?.list ?? res?.list ?? []) as ReplenishmentDemandListItem[] + const summary = (data?.summary ?? res?.summary ?? {}) as ReplenishmentDemandSummary + const paginationRaw = data?.pagination ?? res?.pagination ?? {} + const total = Number( + paginationRaw?.total ?? data?.total ?? res?.total ?? list.length + ) + return { + list, + summary, + pagination: { + page: Number(paginationRaw?.page ?? data?.page ?? 1), + pageSize: Number(paginationRaw?.pageSize ?? data?.pageSize ?? 20), + total: Number.isFinite(total) ? total : list.length, + }, + } +} + +export function exportReplenishmentDemandCsv(rows: ReplenishmentDemandListItem[], filename = '补货需求.csv') { + if (!rows.length) return + const headers = [ + 'SKU编码', + '商品名称', + '分拣区库存', + '存货区库存', + '总需求量', + '缺口数量', + '建议补货量', + '补货状态', + '补货库位数', + ] + const lines = rows.map((row) => [ + row.stock_code ?? '', + row.stock_name ?? '', + row.pick_zone_quantity ?? '', + row.storage_zone_quantity ?? '', + row.total_demand ?? '', + row.shortage ?? '', + row.replenishment_needed ?? '', + replenishmentStatusLabelMap[row.replenishment_status ?? ''] ?? row.replenishment_status ?? '', + row.replenishment_locations?.length ?? 0, + ]) + const csv = [headers, ...lines] + .map((line) => line.map((cell) => `"${String(cell).replace(/"/g, '""')}"`).join(',')) + .join('\n') + const blob = new Blob(['\uFEFF' + csv], { type: 'text/csv;charset=utf-8;' }) + const url = URL.createObjectURL(blob) + const link = document.createElement('a') + link.href = url + link.download = filename + link.click() + URL.revokeObjectURL(url) +} diff --git a/workflows/api-doc-agent/config/响应.md b/workflows/api-doc-agent/config/响应.md index 71e5ba53..256505a4 100644 --- a/workflows/api-doc-agent/config/响应.md +++ b/workflows/api-doc-agent/config/响应.md @@ -8,227 +8,104 @@ "message": "登录成功", "success": true, "data": { - "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywidXNlcm5hbWUiOiJ5am0iLCJyZWFsX25hbWUiOiJ5aW4iLCJwbGF0Zm9ybV9jb2RlIjoid2ViIiwiY3VycmVudF9yb2xlX2lkIjozMSwiY3VycmVudF9zdG9yZV9pZCI6MTAwMDAwLCJpYXQiOjE3ODE2OTEyOTgsImV4cCI6MTc4MTcwNTY5OH0.xdL8rq_zhQIAQPmwsX21pyAV3OzJPPpycgjjjiQYVbg" + "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywidXNlcm5hbWUiOiJ5am0iLCJyZWFsX25hbWUiOiJ5aW4iLCJwbGF0Zm9ybV9jb2RlIjoid2ViIiwiY3VycmVudF9yb2xlX2lkIjozMSwiY3VycmVudF9zdG9yZV9pZCI6MTAwMDAwLCJpYXQiOjE3ODE3NzY0NjksImV4cCI6MTc4MTc5MDg2OX0.CbuNMERnphyn_sdPNSOast3BfOnW030MzEEkml_Y-ZE" }, - "timestamp": 1781691298 + "timestamp": 1781776469 } }, { - "接口": "order.pendingOrder.detail", + "接口": "storage.entry.get", "data": { "flag": "success", - "code": 1, - "message": "ok", + "code": 200, + "message": "查询成功", "data": { - "detail": { - "id": 6448, - "delivery_order_code": "SIM202604280004264588", - "pre_delivery_order_code": "", - "pre_delivery_order_id": "", - "order_type": "JYCK", - "warehouse_code": "100000", - "order_flag": null, - "extend_props": null, - "source_platform_code": "PDD", - "source_platform_name": "拼多多", - "create_channel": "QM", - "source_order_codes": "", - "sys_platform_code": "TB", - "sys_platform_name": "淘宝", - "create_at": "2026-01-13T15:26:07.000Z", - "delete_at": null, - "updated_at": "2026-06-03T07:24:37.000Z", - "place_order_time": "2026-01-13T15:22:03.000Z", - "pay_time": "2026-01-13T15:22:03.000Z", - "pay_no": "", - "service_code": null, - "operator_name": "1", - "operate_time": "2026-01-13T15:26:07.000Z", - "delivery_time": null, - "shop_nick": "火火家de小店", - "buyer_message": null, - "seller_message": null, - "remark": null, - "seller_nick": "1", - "buyer_nick": "刘付明仁18022440198", - "total_amount": "13.00", - "item_amount": "13.00", - "discount_amount": "0.00", - "freight": "0.00", - "ar_amount": "0.00", - "got_amount": "0.00", - "service_fee": null, - "logistics_code": "SF", - "logistics_name": "顺丰速运", - "sys_logistics_code": "SF", - "sys_logistics_name": "顺丰速运", - "basket_number": null, + "entryOrder": { + "id": 234, + "entry_order_code": "TEST-EO-1781661791664EM3F02", + "order_type": "SCRK", + "purchase_order_code": "", + "total_order_lines": 1, + "order_create_time": "2026-06-17T02:03:11.000Z", + "expect_start_time": "2026-06-20T02:00:00.000Z", + "expect_end_time": "2026-06-17T02:03:11.000Z", + "logistics_code": "", + "logistics_name": "", "express_code": "", - "logistics_area_code": "", - "delivery_type": null, - "weight_type": 0, - "is_urgency": "N", - "invoice_flag": "N", - "status": "pedding", - "name": "王志强", - "zip_code": "", - "tel": "", - "mobile": "18022440198", - "email": "", - "country_code": "CN", - "province": "广东省", - "city": "广州市", - "area": "白云区", - "town": "太和镇", - "detail_address": "广东省 广州市 白云区 龙归街道 三路22号", - "id_type": null, - "id_number": null, - "oaid": null, - "sync_status": "padding", - "store_id": 1000000, + "supplier_code": "SUP001", + "supplier_name": "测试供应商", + "source_type": "API", + "order_status": "PENDING", + "sync_status": "PENDING", + "sync_message": "", + "is_enabled": 1, + "created_at": "2026-06-17T02:03:11.000Z", + "updated_at": "2026-06-17T02:03:11.000Z", "warehouse_id": 100000, - "from_key": 24869601, - "items": "101380+7", - "items_count": 2, - "items_total": 13, - "items_weight": "146.00", - "items_hash": "bdffe98b6548cc459dfe5b9ef4b3ba7e", - "items_crc": 4179089176, - "wave_id": 1777970280349416, - "wave_no": "A2026060800002", - "wave_strategy_version": 306, - "wave_scan_result": 1, - "post_status": "fin", - "storage_status": "fin", - "pick_status": "fin", - "pack_status": "none", - "sended_status": "none", - "inspection_status": "padding", - "recheck_status": "none", - "recheck_time": null, - "step": 2, - "print_status": "fin", - "claim_status": "none", - "outbound_status": "none", - "lock_status": "none", - "print_lock_status": "none", - "intercept_status": "none" - }, - "items": [ - { - "id": 8886, - "order_id": 6448, - "actual_price": "1.00", - "retail_price": "1.00", - "ext_code": "", - "inventory_type": "ZP", - "item_code": "011000000228", - "item_id": 1000649, - "item_name": "测试A", - "order_line_no": "1", - "owner_code": "jky2025102001", - "plan_qty": 6, - "source_order_code": "", - "sub_source_order_code": "", - "extend_props": "{\"RealPayMoney\":\"6\",\"shareAmount\":\"6\"}", - "stock_id": 101384, - "item_snapshot": { - "id": 1000649, - "width": 0, - "height": 0, - "length": 0, - "volume": 0, - "barcode": "011000000228", - "stock_id": 101384, - "item_code": "011000000228", - "item_name": "测试", - "item_type": "ZC", - "brand_name": "", - "goods_code": "01100000", - "net_weight": 0, - "stock_unit": "个", - "category_id": 42, - "gross_weight": 0, - "retail_price": 0, - "sku_property": "默认规格3", - "category_name": "天豹云仓", - "inventory_type": "ZP" - }, - "created_at": "2026-04-27T16:04:26.000Z", - "updated_at": "2026-04-27T16:04:26.000Z", - "createdAt": "2026-04-27T16:04:26.000Z", - "updatedAt": "2026-04-27T16:04:26.000Z", - "images": [ - "https://ye4s.file.gzxunren.com//100000/images/20260421/EA414742C733521A513E6EE430415143.jpg", - "https://ye4s.file.gzxunren.com//100000/images/20260423/DCB409259C5653AEA53C367953569534.jpg" - ] + "store_id": 1000000, + "remark": "自动化测试入库单", + "expense_record": 0, + "store_name": "测试货主", + "warehouse_name": "测试云仓", + "deleted_at": null, + "qimen_owner_code": "", + "qimen_warehouse_code": "100000", + "warehouse": { + "id": 100000, + "company_name": "测试仓" }, - { - "id": 8887, - "order_id": 6448, - "actual_price": "1.00", - "retail_price": "1.00", - "ext_code": "", - "inventory_type": "ZP", - "item_code": "011000001536", - "item_id": 1000652, - "item_name": "测试B", - "order_line_no": "2", - "owner_code": "jky2025102001", - "plan_qty": 7, - "source_order_code": "", - "sub_source_order_code": "", - "extend_props": "{\"RealPayMoney\":\"7\",\"shareAmount\":\"7\"}", - "stock_id": 101380, - "item_snapshot": { - "id": 1000652, - "width": 0, - "height": 0, - "length": 0, - "volume": 0, - "barcode": "011000001536", - "stock_id": 101380, - "item_code": "011000001536", - "item_name": "测试", - "item_type": "ZC", - "brand_name": "", - "goods_code": "01100000", - "net_weight": 0, - "stock_unit": "个", - "category_id": 42, - "gross_weight": 0, - "retail_price": 0, - "sku_property": "红色:XXL:新产品", - "category_name": "天豹云仓", - "inventory_type": "ZP" - }, - "created_at": "2026-04-27T16:04:26.000Z", - "updated_at": "2026-04-27T16:04:26.000Z", - "createdAt": "2026-04-27T16:04:26.000Z", - "updatedAt": "2026-04-27T16:04:26.000Z", - "images": [ - "https://ye4s.file.gzxunren.com//100000/images/20260423/0EA2A7D58F0EF4EB90CC52A456288DB8.jpg" - ] - } - ], - "expresses": [ - { - "waybill_code": "SF1164751866983", - "weighing_weight": null, - "sys_logistics_code": "SF", - "sys_logistics_name": "顺丰速运", - "logistics_code": "", - "logistics_name": "", - "logistics_interface_id": 4, - "logistics_interface_name": "顺丰-菜鸟", - "business_key": "1", - "create_at": 1779630312000, - "package_material_id": null, - "package_material_name_snapshot": null - } - ] + "store": { + "id": 1000000, + "company_name": "测试货主1111" + }, + "items": [ + { + "id": 440, + "order_id": 234, + "out_biz_code": "", + "order_line_no": 1, + "owner_code": "4", + "count": 10, + "inventory_type": "ZP", + "stock_id": 101397, + "received_quantity": 0, + "confirm_quantity": 0, + "pending_total": 3, + "total_planned": 10, + "bindings": [ + { + "id": 1, + "entry_item_id": 440, + "receiving_detail_id": 2628, + "allocated_quantity": 3, + "status": "pending", + "creator_id": 31, + "created_at": "2026-06-18T09:26:10.000Z", + "updated_at": "2026-06-18T09:26:10.000Z", + "deleted_at": null, + "receivingDetail": { + "id": 2628, + "receiving_id": 1433, + "product_name": "CrazyKitty唇刷", + "actual_quantity": 5, + "stored_quantity": 0, + "batch_number": "02025416", + "production_date": "2026-06-16", + "expiry_date": "2026-06-27", + "storage_status": "none" + } + } + ], + "external_item_code": "6920251105000", + "external_item_id": 1000213, + "warehouse_item_code": "6920251105000", + "warehouse_item_name": "CrazyKitty唇刷", + "warehouse_item_spec": "" + } + ] + } }, - "timestamp": 1781691298 + "timestamp": 1781776469 } } ] diff --git a/workflows/api-doc-agent/config/接口.md b/workflows/api-doc-agent/config/接口.md index 5444f168..15ca7e83 100644 --- a/workflows/api-doc-agent/config/接口.md +++ b/workflows/api-doc-agent/config/接口.md @@ -1,11 +1,11 @@ # 接口 -- 更新时间: 2026-06-16 10:39:51 +- 更新时间: 2026-06-18 17:47:31 - 扫描目录: `src\api` -- 模块数: 41 -- API 文件数: 41 -- 接口数: 358 -- 已启用: 321 +- 模块数: 42 +- API 文件数: 42 +- 接口数: 363 +- 已启用: 326 - 占位接口: 2 ## 模块统计 @@ -44,9 +44,10 @@ | setting.warehouse | 1 | 3 | 3 | 0 | | shops | 1 | 6 | 5 | 0 | | stock | 1 | 29 | 28 | 0 | -| storage_receiving | 1 | 22 | 12 | 0 | -| storage.entry | 1 | 4 | 4 | 0 | +| storage_receiving | 1 | 24 | 14 | 0 | +| storage.entry | 1 | 6 | 6 | 0 | | storage.inventory | 1 | 8 | 7 | 0 | +| storage.management | 1 | 1 | 1 | 0 | | storage.report | 1 | 3 | 3 | 0 | | storage.stockout | 1 | 3 | 3 | 0 | | store | 1 | 6 | 6 | 0 | @@ -338,19 +339,23 @@ | storage_receiving | detailChange | storage.receiving.detailChange | POST | 否 | 否 | storage_receiving/receiving.ts | | | storage_receiving | exportReceiving | storage.receiving.exportReceiving | POST | 否 | 否 | storage_receiving/receiving.ts | | | storage_receiving | getReceiving | storage.receiving.get | POST | 否 | 否 | storage_receiving/receiving.ts | | +| storage_receiving | getAvailableInboundQuantity | storage.receiving.getAvailableInboundQuantity | POST | 是 | 否 | storage_receiving/receiving.ts | | | storage_receiving | getReceivingDetail | storage.receiving.getReceivingDetail | POST | 是 | 否 | storage_receiving/receiving.ts | | | storage_receiving | getReceivingList | storage.receiving.getReceivingList | POST | 是 | 否 | storage_receiving/receiving.ts | | | storage_receiving | getReceivingProduct | storage.receiving.getReceivingProduct | POST | 否 | 否 | storage_receiving/receiving.ts | | +| storage_receiving | manualMatchEntryOrder | storage.receiving.manualMatchEntryOrder | POST | 是 | 否 | storage_receiving/receiving.ts | | | storage_receiving | queryReceivingLogs | storage.receiving.queryReceivingLogs | POST | 是 | 否 | storage_receiving/receiving.ts | | | storage_receiving | rejectReceiving | storage.receiving.rejectReceiving | POST | 是 | 否 | storage_receiving/receiving.ts | | | storage_receiving | removeItem | storage.receiving.removeItem | POST | 否 | 否 | storage_receiving/receiving.ts | | | storage_receiving | reviewReceiving | storage.receiving.reviewReceiving | POST | 是 | 否 | storage_receiving/receiving.ts | | | storage_receiving | save | storage.receiving.save | POST | 是 | 否 | storage_receiving/receiving.ts | | | storage_receiving | saveReceiving | storage.receiving.saveReceiving | POST | 否 | 否 | storage_receiving/receiving.ts | | +| storage.entry | bindReceivingDetails | storage.entry.bindReceivingDetails | POST | 是 | 否 | storage.entry/entry.ts | | | storage.entry | cancelEntry | storage.entry.cancel | POST | 是 | 否 | storage.entry/entry.ts | | | storage.entry | completeEntry | storage.entry.completeEntry | POST | 是 | 否 | storage.entry/entry.ts | | | storage.entry | getEntryDetail | storage.entry.get | POST | 是 | 否 | storage.entry/entry.ts | | | storage.entry | getEntryList | storage.entry.list | POST | 是 | 否 | storage.entry/entry.ts | | +| storage.entry | unbindReceivingDetails | storage.entry.unbindReceivingDetails | POST | 是 | 否 | storage.entry/entry.ts | | | storage.inventory | getExpiryList | storage.expiry.list | POST | 是 | 否 | storage.inventory/inventory.ts | | | storage.inventory | getInventoryList | storage.inventory.list | POST | 是 | 否 | storage.inventory/inventory.ts | | | storage.inventory | matchPutaway | storage.inventory.matchPutaway | POST | 是 | 否 | storage.inventory/inventory.ts | | @@ -359,6 +364,7 @@ | storage.inventory | transferByProduct | storage.inventory.transferByProduct | POST | 是 | 否 | storage.inventory/inventory.ts | | | storage.inventory | transferLocation | storage.inventory.transferLocation | POST | 是 | 否 | storage.inventory/inventory.ts | | | storage.inventory | getTransactionList | storage.transaction.list | POST | 是 | 否 | storage.inventory/inventory.ts | | +| storage.management | getReplenishmentDemand | storage.management.replenishmentDemand | POST | 是 | 否 | storage.management/management.ts | | | storage.report | exportInventoryReport | storage.report.export | POST | 是 | 否 | storage.report/report.ts | | | storage.report | getExportTaskProgress | storage.report.exportTaskProgress | POST | 是 | 否 | storage.report/report.ts | | | storage.report | searchInventoryReport | storage.report.search | POST | 是 | 否 | storage.report/report.ts | | diff --git a/workflows/api-doc-system/apidata/config.json b/workflows/api-doc-system/apidata/config.json index 199308cc..6768b8fc 100644 --- a/workflows/api-doc-system/apidata/config.json +++ b/workflows/api-doc-system/apidata/config.json @@ -8,13 +8,9 @@ } }, { - "method": "order.pendingOrder.detail", + "method": "storage.entry.get", "body": { - "id": 6448, - "ids": [ - 6448 - ], - "tableType": "order" + "id": 234 } }, { diff --git a/workflows/api-doc-system/apidata/data.json b/workflows/api-doc-system/apidata/data.json index 6a6c6b6f..fdcfb909 100644 --- a/workflows/api-doc-system/apidata/data.json +++ b/workflows/api-doc-system/apidata/data.json @@ -26,229 +26,106 @@ "message": "登录成功", "success": true, "data": { - "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywidXNlcm5hbWUiOiJ5am0iLCJyZWFsX25hbWUiOiJ5aW4iLCJwbGF0Zm9ybV9jb2RlIjoid2ViIiwiY3VycmVudF9yb2xlX2lkIjozMSwiY3VycmVudF9zdG9yZV9pZCI6MTAwMDAwLCJpYXQiOjE3ODE2OTEyOTgsImV4cCI6MTc4MTcwNTY5OH0.xdL8rq_zhQIAQPmwsX21pyAV3OzJPPpycgjjjiQYVbg" + "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywidXNlcm5hbWUiOiJ5am0iLCJyZWFsX25hbWUiOiJ5aW4iLCJwbGF0Zm9ybV9jb2RlIjoid2ViIiwiY3VycmVudF9yb2xlX2lkIjozMSwiY3VycmVudF9zdG9yZV9pZCI6MTAwMDAwLCJpYXQiOjE3ODE3NzY0NjksImV4cCI6MTc4MTc5MDg2OX0.CbuNMERnphyn_sdPNSOast3BfOnW030MzEEkml_Y-ZE" }, - "timestamp": 1781691298 + "timestamp": 1781776469 } }, { - "接口": "order.pendingOrder.detail", - "message": "ok", - "code": 1, + "接口": "storage.entry.get", + "message": "查询成功", + "code": 200, "data": { "flag": "success", - "code": 1, - "message": "ok", + "code": 200, + "message": "查询成功", "data": { - "detail": { - "id": 6448, - "delivery_order_code": "SIM202604280004264588", - "pre_delivery_order_code": "", - "pre_delivery_order_id": "", - "order_type": "JYCK", - "warehouse_code": "100000", - "order_flag": null, - "extend_props": null, - "source_platform_code": "PDD", - "source_platform_name": "拼多多", - "create_channel": "QM", - "source_order_codes": "", - "sys_platform_code": "TB", - "sys_platform_name": "淘宝", - "create_at": "2026-01-13T15:26:07.000Z", - "delete_at": null, - "updated_at": "2026-06-03T07:24:37.000Z", - "place_order_time": "2026-01-13T15:22:03.000Z", - "pay_time": "2026-01-13T15:22:03.000Z", - "pay_no": "", - "service_code": null, - "operator_name": "1", - "operate_time": "2026-01-13T15:26:07.000Z", - "delivery_time": null, - "shop_nick": "火火家de小店", - "buyer_message": null, - "seller_message": null, - "remark": null, - "seller_nick": "1", - "buyer_nick": "刘付明仁18022440198", - "total_amount": "13.00", - "item_amount": "13.00", - "discount_amount": "0.00", - "freight": "0.00", - "ar_amount": "0.00", - "got_amount": "0.00", - "service_fee": null, - "logistics_code": "SF", - "logistics_name": "顺丰速运", - "sys_logistics_code": "SF", - "sys_logistics_name": "顺丰速运", - "basket_number": null, + "entryOrder": { + "id": 234, + "entry_order_code": "TEST-EO-1781661791664EM3F02", + "order_type": "SCRK", + "purchase_order_code": "", + "total_order_lines": 1, + "order_create_time": "2026-06-17T02:03:11.000Z", + "expect_start_time": "2026-06-20T02:00:00.000Z", + "expect_end_time": "2026-06-17T02:03:11.000Z", + "logistics_code": "", + "logistics_name": "", "express_code": "", - "logistics_area_code": "", - "delivery_type": null, - "weight_type": 0, - "is_urgency": "N", - "invoice_flag": "N", - "status": "pedding", - "name": "王志强", - "zip_code": "", - "tel": "", - "mobile": "18022440198", - "email": "", - "country_code": "CN", - "province": "广东省", - "city": "广州市", - "area": "白云区", - "town": "太和镇", - "detail_address": "广东省 广州市 白云区 龙归街道 三路22号", - "id_type": null, - "id_number": null, - "oaid": null, - "sync_status": "padding", - "store_id": 1000000, + "supplier_code": "SUP001", + "supplier_name": "测试供应商", + "source_type": "API", + "order_status": "PENDING", + "sync_status": "PENDING", + "sync_message": "", + "is_enabled": 1, + "created_at": "2026-06-17T02:03:11.000Z", + "updated_at": "2026-06-17T02:03:11.000Z", "warehouse_id": 100000, - "from_key": 24869601, - "items": "101380+7", - "items_count": 2, - "items_total": 13, - "items_weight": "146.00", - "items_hash": "bdffe98b6548cc459dfe5b9ef4b3ba7e", - "items_crc": 4179089176, - "wave_id": 1777970280349416, - "wave_no": "A2026060800002", - "wave_strategy_version": 306, - "wave_scan_result": 1, - "post_status": "fin", - "storage_status": "fin", - "pick_status": "fin", - "pack_status": "none", - "sended_status": "none", - "inspection_status": "padding", - "recheck_status": "none", - "recheck_time": null, - "step": 2, - "print_status": "fin", - "claim_status": "none", - "outbound_status": "none", - "lock_status": "none", - "print_lock_status": "none", - "intercept_status": "none" - }, - "items": [ - { - "id": 8886, - "order_id": 6448, - "actual_price": "1.00", - "retail_price": "1.00", - "ext_code": "", - "inventory_type": "ZP", - "item_code": "011000000228", - "item_id": 1000649, - "item_name": "测试A", - "order_line_no": "1", - "owner_code": "jky2025102001", - "plan_qty": 6, - "source_order_code": "", - "sub_source_order_code": "", - "extend_props": "{\"RealPayMoney\":\"6\",\"shareAmount\":\"6\"}", - "stock_id": 101384, - "item_snapshot": { - "id": 1000649, - "width": 0, - "height": 0, - "length": 0, - "volume": 0, - "barcode": "011000000228", - "stock_id": 101384, - "item_code": "011000000228", - "item_name": "测试", - "item_type": "ZC", - "brand_name": "", - "goods_code": "01100000", - "net_weight": 0, - "stock_unit": "个", - "category_id": 42, - "gross_weight": 0, - "retail_price": 0, - "sku_property": "默认规格3", - "category_name": "天豹云仓", - "inventory_type": "ZP" - }, - "created_at": "2026-04-27T16:04:26.000Z", - "updated_at": "2026-04-27T16:04:26.000Z", - "createdAt": "2026-04-27T16:04:26.000Z", - "updatedAt": "2026-04-27T16:04:26.000Z", - "images": [ - "https://ye4s.file.gzxunren.com//100000/images/20260421/EA414742C733521A513E6EE430415143.jpg", - "https://ye4s.file.gzxunren.com//100000/images/20260423/DCB409259C5653AEA53C367953569534.jpg" - ] + "store_id": 1000000, + "remark": "自动化测试入库单", + "expense_record": 0, + "store_name": "测试货主", + "warehouse_name": "测试云仓", + "deleted_at": null, + "qimen_owner_code": "", + "qimen_warehouse_code": "100000", + "warehouse": { + "id": 100000, + "company_name": "测试仓" }, - { - "id": 8887, - "order_id": 6448, - "actual_price": "1.00", - "retail_price": "1.00", - "ext_code": "", - "inventory_type": "ZP", - "item_code": "011000001536", - "item_id": 1000652, - "item_name": "测试B", - "order_line_no": "2", - "owner_code": "jky2025102001", - "plan_qty": 7, - "source_order_code": "", - "sub_source_order_code": "", - "extend_props": "{\"RealPayMoney\":\"7\",\"shareAmount\":\"7\"}", - "stock_id": 101380, - "item_snapshot": { - "id": 1000652, - "width": 0, - "height": 0, - "length": 0, - "volume": 0, - "barcode": "011000001536", - "stock_id": 101380, - "item_code": "011000001536", - "item_name": "测试", - "item_type": "ZC", - "brand_name": "", - "goods_code": "01100000", - "net_weight": 0, - "stock_unit": "个", - "category_id": 42, - "gross_weight": 0, - "retail_price": 0, - "sku_property": "红色:XXL:新产品", - "category_name": "天豹云仓", - "inventory_type": "ZP" - }, - "created_at": "2026-04-27T16:04:26.000Z", - "updated_at": "2026-04-27T16:04:26.000Z", - "createdAt": "2026-04-27T16:04:26.000Z", - "updatedAt": "2026-04-27T16:04:26.000Z", - "images": [ - "https://ye4s.file.gzxunren.com//100000/images/20260423/0EA2A7D58F0EF4EB90CC52A456288DB8.jpg" - ] - } - ], - "expresses": [ - { - "waybill_code": "SF1164751866983", - "weighing_weight": null, - "sys_logistics_code": "SF", - "sys_logistics_name": "顺丰速运", - "logistics_code": "", - "logistics_name": "", - "logistics_interface_id": 4, - "logistics_interface_name": "顺丰-菜鸟", - "business_key": "1", - "create_at": 1779630312000, - "package_material_id": null, - "package_material_name_snapshot": null - } - ] + "store": { + "id": 1000000, + "company_name": "测试货主1111" + }, + "items": [ + { + "id": 440, + "order_id": 234, + "out_biz_code": "", + "order_line_no": 1, + "owner_code": "4", + "count": 10, + "inventory_type": "ZP", + "stock_id": 101397, + "received_quantity": 0, + "confirm_quantity": 0, + "pending_total": 3, + "total_planned": 10, + "bindings": [ + { + "id": 1, + "entry_item_id": 440, + "receiving_detail_id": 2628, + "allocated_quantity": 3, + "status": "pending", + "creator_id": 31, + "created_at": "2026-06-18T09:26:10.000Z", + "updated_at": "2026-06-18T09:26:10.000Z", + "deleted_at": null, + "receivingDetail": { + "id": 2628, + "receiving_id": 1433, + "product_name": "CrazyKitty唇刷", + "actual_quantity": 5, + "stored_quantity": 0, + "batch_number": "02025416", + "production_date": "2026-06-16", + "expiry_date": "2026-06-27", + "storage_status": "none" + } + } + ], + "external_item_code": "6920251105000", + "external_item_id": 1000213, + "warehouse_item_code": "6920251105000", + "warehouse_item_name": "CrazyKitty唇刷", + "warehouse_item_spec": "" + } + ] + } }, - "timestamp": 1781691298 + "timestamp": 1781776469 } } ] 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 7d41137d..37ee2314 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "source": "remote", "filter": { "platform": { @@ -12,27 +12,80 @@ "label": "全部" } }, - "totalInterfaceCount": 317, + "totalInterfaceCount": 322, "changes": { "summary": { "moduleAdded": 0, "moduleDeleted": 0, - "moduleUpdated": 0, - "interfaceAdded": 0, + "moduleUpdated": 2, + "interfaceAdded": 1, "interfaceDeleted": 0, "interfaceParamsUpdated": 0, - "interfaceResponseUpdated": 0 + "interfaceResponseUpdated": 2 }, "moduleUpdates": { "added": [], "deleted": [], - "updated": [] + "updated": [ + { + "moduleName": "收货单模块", + "moduleKey": "storage_receiving", + "folder": "storage_receiving", + "previousModuleName": "收货单模块", + "previousModuleKey": "storage_receiving", + "interfaceChanges": { + "addedMethods": [], + "deletedMethods": [], + "paramsUpdatedMethods": [], + "responseUpdatedMethods": [ + "storage.receiving.getAvailableInboundQuantity" + ] + } + }, + { + "moduleName": "入库单模块", + "moduleKey": "storage.entry", + "folder": "storage.entry", + "previousModuleName": "入库单模块", + "previousModuleKey": "storage.entry", + "interfaceChanges": { + "addedMethods": [ + "storage.entry.unbindReceivingDetails" + ], + "deletedMethods": [], + "paramsUpdatedMethods": [], + "responseUpdatedMethods": [ + "storage.entry.get" + ] + } + } + ] }, "interfaceUpdates": { - "added": [], + "added": [ + { + "moduleName": "入库单模块", + "moduleKey": "storage.entry", + "folder": "storage.entry", + "method": "storage.entry.unbindReceivingDetails" + } + ], "deleted": [], "paramsUpdated": [], - "responseUpdated": [] + "responseUpdated": [ + { + "moduleName": "收货单模块", + "moduleKey": "storage_receiving", + "folder": "storage_receiving", + "method": "storage.receiving.getAvailableInboundQuantity" + }, + { + "moduleName": "入库单模块", + "moduleKey": "storage.entry", + "folder": "storage.entry", + "method": "storage.entry.get" + } + ] } }, "interfaces": [ @@ -4291,8 +4344,8 @@ "moduleKey": "order", "moduleFolder": "order", "method": "order.pendingOrder.downloadCreateTemplate", - "title": "下载创建订单的 Excel 导入模板。返回 base64 编码的 xlsx 文件,前端解码后作为 .xlsx 附件下载。表头中标注 * 的列为必填项(橙色背景),可选列为灰色背景,包含示例数据行和填写说明工作表。多行相同订单号的行组成一个完整订单,每行代表一条商品明细。模板必填列:订单号(delivery_order_code)、收件人姓名(name)、手机号(mobile)、详细地址(detail_address)、商品编码(item_code)、计划数量(plan_qty);非必填列含:货主ID(store_id)、省份(province)、城市(city)、区/县(area)、店铺名称(shop_nick)等。", - "description": "下载创建订单的 Excel 导入模板。返回 base64 编码的 xlsx 文件,前端解码后作为 .xlsx 附件下载。表头中标注 * 的列为必填项(橙色背景),可选列为灰色背景,包含示例数据行和填写说明工作表。多行相同订单号的行组成一个完整订单,每行代表一条商品明细。模板必填列:订单号(delivery_order_code)、收件人姓名(name)、手机号(mobile)、详细地址(detail_address)、商品编码(item_code)、计划数量(plan_qty);非必填列含:货主ID(store_id)、省份(province)、城市(city)、区/县(area)、店铺名称(shop_nick)等。", + "title": "下载创建订单的 Excel 导入模板。返回 base64 编码的 xlsx 文件,前端解码后作为 .xlsx 附件下载。表头中标注 * 的列为必填项(橙色背景),可选列为灰色背景,包含示例数据行和填写说明工作表。多行相同订单号的行组成一个完整订单,每行代表一条商品明细。模板共 25 列(A-Y):店铺名称(shop_nick)位于第2列B列,紧接*订单号(delivery_order_code)之后;其余必填列为*收件人姓名(name)、*手机号(mobile)、*详细地址(detail_address)、*商品编码(item_code)、*计划数量(plan_qty);非必填列依次为货主ID(store_id)、电话(tel)、省份(province)、城市(city)、区/县(area)、镇/街道(town)、邮编(zip_code)、快递编码(logistics_code)、快递名称(logistics_name)、系统平台编码(sys_platform_code)、来源平台编码(source_platform_code)、来源订单号(source_order_codes)、订单类型(order_type)、是否紧急(is_urgency)、是否需要发票(invoice_flag)、商品名称(item_name)、行号(order_line_no)、实际价格(actual_price)。", + "description": "下载创建订单的 Excel 导入模板。返回 base64 编码的 xlsx 文件,前端解码后作为 .xlsx 附件下载。表头中标注 * 的列为必填项(橙色背景),可选列为灰色背景,包含示例数据行和填写说明工作表。多行相同订单号的行组成一个完整订单,每行代表一条商品明细。模板共 25 列(A-Y):店铺名称(shop_nick)位于第2列B列,紧接*订单号(delivery_order_code)之后;其余必填列为*收件人姓名(name)、*手机号(mobile)、*详细地址(detail_address)、*商品编码(item_code)、*计划数量(plan_qty);非必填列依次为货主ID(store_id)、电话(tel)、省份(province)、城市(city)、区/县(area)、镇/街道(town)、邮编(zip_code)、快递编码(logistics_code)、快递名称(logistics_name)、系统平台编码(sys_platform_code)、来源平台编码(source_platform_code)、来源订单号(source_order_codes)、订单类型(order_type)、是否紧急(is_urgency)、是否需要发票(invoice_flag)、商品名称(item_name)、行号(order_line_no)、实际价格(actual_price)。", "endpoint": "/system", "authRequired": false, "loginRequired": true, @@ -4327,12 +4380,6 @@ "type": "string", "required": true, "description": "文件 MIME 类型,固定为 application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" - }, - { - "name": "shop_nick", - "type": "string", - "required": false, - "description": "模板中新增的店铺名称列(非必填),用于标识订单所属店铺" } ] }, @@ -14266,6 +14313,57 @@ "params": [], "response": [] }, + { + "moduleName": "入库单模块", + "moduleKey": "storage.entry", + "moduleFolder": "storage.entry", + "method": "storage.entry.bindReceivingDetails", + "title": "入库单明细绑定收货明细。将指定的收货单明细与入库单明细建立绑定关系,并立即更新入库明细的 received_quantity(绑定即实收)。重复调用会先回退旧绑定量再创建新绑定。提交入库时完成收货单侧的入库数量扣减和库存上架。", + "description": "入库单明细绑定收货明细。将指定的收货单明细与入库单明细建立绑定关系,并立即更新入库明细的 received_quantity(绑定即实收)。重复调用会先回退旧绑定量再创建新绑定。提交入库时完成收货单侧的入库数量扣减和库存上架。", + "endpoint": "/system", + "authRequired": false, + "loginRequired": true, + "status": { + "isUsed": false, + "isPlaceholder": false + }, + "headers": [ + { + "name": "Authorization", + "type": "string", + "required": true, + "description": "Bearer token" + } + ], + "params": [ + { + "name": "entry_item_id", + "type": "number", + "required": true, + "description": "入库单明细ID(wms_entry_items.id)" + }, + { + "name": "bindings", + "type": "array", + "required": true, + "description": "收货明细绑定数组,每项包含 receiving_detail_id(收货明细ID, number, 必填)和 allocated_quantity(分配数量, number, 必填, 正整数)" + } + ], + "response": [ + { + "name": "entry_item_id", + "type": "number", + "required": true, + "description": "入库明细ID" + }, + { + "name": "binding_count", + "type": "number", + "required": true, + "description": "创建的绑定数量" + } + ] + }, { "moduleName": "入库单模块", "moduleKey": "storage.entry", @@ -14322,8 +14420,8 @@ "moduleKey": "storage.entry", "moduleFolder": "storage.entry", "method": "storage.entry.completeEntry", - "title": "完成入库单", - "description": "完成入库单", + "title": "完成入库单。入库单状态变更为 COMPLETED 后,异步触发收货单匹配与回传:系统会从入库单 remark 中匹配近 3 天收货单号,明细一致则按来源回传(奇门→奇门确认接口,API→OpenAPI 回调);若收货单覆盖入库单,还会标记收货单为部分入库。异步匹配失败不阻塞主流程,仅记录日志。", + "description": "完成入库单。入库单状态变更为 COMPLETED 后,异步触发收货单匹配与回传:系统会从入库单 remark 中匹配近 3 天收货单号,明细一致则按来源回传(奇门→奇门确认接口,API→OpenAPI 回调);若收货单覆盖入库单,还会标记收货单为部分入库。异步匹配失败不阻塞主流程,仅记录日志。", "endpoint": "/system", "authRequired": false, "loginRequired": true, @@ -14361,8 +14459,8 @@ "moduleKey": "storage.entry", "moduleFolder": "storage.entry", "method": "storage.entry.get", - "title": "查询入库单详情", - "description": "查询入库单详情", + "title": "查询入库单详情。返回的 entryOrder.items 每项包含 pending_total(当前 pending 绑定的总预分配数量)、total_planned(计划入库数量=count)、bindings(pending 绑定列表,每项含 id/entry_item_id/receiving_detail_id/allocated_quantity/status/receivingDetail)", + "description": "查询入库单详情。返回的 entryOrder.items 每项包含 pending_total(当前 pending 绑定的总预分配数量)、total_planned(计划入库数量=count)、bindings(pending 绑定列表,每项含 id/entry_item_id/receiving_detail_id/allocated_quantity/status/receivingDetail)", "endpoint": "/system", "authRequired": false, "loginRequired": true, @@ -14397,7 +14495,7 @@ "name": "entryOrder", "type": "object", "required": true, - "description": "入库单详情(含 items 明细)" + "description": "入库单详情,含 items 明细数组" } ] }, @@ -14464,6 +14562,51 @@ } ] }, + { + "moduleName": "入库单模块", + "moduleKey": "storage.entry", + "moduleFolder": "storage.entry", + "method": "storage.entry.unbindReceivingDetails", + "title": "解绑入库明细的收货明细绑定。删除指定入库明细的所有 pending 绑定,并回退 received_quantity(恢复到绑定前的值),收货单明细的可用数量自动恢复(因为绑定记录被删除)。", + "description": "解绑入库明细的收货明细绑定。删除指定入库明细的所有 pending 绑定,并回退 received_quantity(恢复到绑定前的值),收货单明细的可用数量自动恢复(因为绑定记录被删除)。", + "endpoint": "/system", + "authRequired": false, + "loginRequired": true, + "status": { + "isUsed": false, + "isPlaceholder": false + }, + "headers": [ + { + "name": "Authorization", + "type": "string", + "required": true, + "description": "Bearer token" + } + ], + "params": [ + { + "name": "entry_item_id", + "type": "number", + "required": true, + "description": "入库单明细ID" + } + ], + "response": [ + { + "name": "entry_item_id", + "type": "number", + "required": true, + "description": "入库明细ID" + }, + { + "name": "released_quantity", + "type": "number", + "required": true, + "description": "释放的绑定总量" + } + ] + }, { "moduleName": "库存操作模块", "moduleKey": "storage.inventory", @@ -14693,6 +14836,63 @@ ], "response": [] }, + { + "moduleName": "库存管理模块", + "moduleKey": "storage.management", + "moduleFolder": "storage.management", + "method": "storage.management.replenishmentDemand", + "title": "分拣缺货补货需求计算(仓库级别)。自动从用户上下文获取仓库,查询所有未完成储位分配的订单,计算每个SKU在分拣区与存货区的库存量、订单需求量、分拣区缺口、建议补货量及可补货库位。支持分页与排序。", + "description": "分拣缺货补货需求计算(仓库级别)。自动从用户上下文获取仓库,查询所有未完成储位分配的订单,计算每个SKU在分拣区与存货区的库存量、订单需求量、分拣区缺口、建议补货量及可补货库位。支持分页与排序。", + "endpoint": "/system", + "authRequired": false, + "loginRequired": true, + "status": { + "isUsed": false, + "isPlaceholder": false + }, + "headers": [ + { + "name": "Authorization", + "type": "string", + "required": true, + "description": "Bearer token" + } + ], + "params": [ + { + "name": "pagination", + "type": "object", + "required": false, + "description": "分页参数,支持 page / pageSize,默认 page=1 pageSize=20" + }, + { + "name": "sort", + "type": "object", + "required": false, + "description": "排序参数,支持 sortField / sortOrder。sortField 可选值:stock_id / pick_zone_quantity / storage_zone_quantity / total_demand / shortage / replenishment_needed,默认 shortage;sortOrder 可选 ASC / DESC,默认 DESC" + } + ], + "response": [ + { + "name": "list", + "type": "array", + "required": true, + "description": "补货需求明细列表" + }, + { + "name": "summary", + "type": "object", + "required": true, + "description": "汇总信息" + }, + { + "name": "pagination", + "type": "object", + "required": true, + "description": "分页信息" + } + ] + }, { "moduleName": "收货单模块", "moduleKey": "storage_receiving", @@ -15391,6 +15591,51 @@ } ] }, + { + "moduleName": "收货单模块", + "moduleKey": "storage_receiving", + "moduleFolder": "storage_receiving", + "method": "storage.receiving.getAvailableInboundQuantity", + "title": "按 stock_id 查询可入库数量。返回指定商品在已审核收货单中各明细的可入库数量(actual_quantity - stored_quantity - pending_allocated_quantity),仅包含尚有可入库余量的明细,排除未审核和已取消的收货单。", + "description": "按 stock_id 查询可入库数量。返回指定商品在已审核收货单中各明细的可入库数量(actual_quantity - stored_quantity - pending_allocated_quantity),仅包含尚有可入库余量的明细,排除未审核和已取消的收货单。", + "endpoint": "/system", + "authRequired": false, + "loginRequired": true, + "status": { + "isUsed": false, + "isPlaceholder": false + }, + "headers": [ + { + "name": "Authorization", + "type": "string", + "required": true, + "description": "Bearer token" + } + ], + "params": [ + { + "name": "stock_id", + "type": "number", + "required": true, + "description": "商品库存ID(stock_warehouse.id)" + } + ], + "response": [ + { + "name": "list", + "type": "array", + "required": true, + "description": "可入库明细列表,每项包含 detail_id、receiving_id、receiving_number、product_name、actual_quantity、stored_quantity、pending_allocated_quantity、available_quantity、storage_status、batch_number、production_date、expiry_date、space_id、receiving_status" + }, + { + "name": "total", + "type": "number", + "required": true, + "description": "返回条数" + } + ] + }, { "moduleName": "收货单模块", "moduleKey": "storage_receiving", @@ -15535,6 +15780,87 @@ } ] }, + { + "moduleName": "收货单模块", + "moduleKey": "storage_receiving", + "moduleFolder": "storage_receiving", + "method": "storage.receiving.manualMatchEntryOrder", + "title": "手动匹配入库单与收货单。传入收货单ID和入库单ID,复用异步匹配服务的明细对比和回传逻辑,同步返回匹配结果(含 matchType、comparisonResult、callbackSent、partialStorageMarked 等)。", + "description": "手动匹配入库单与收货单。传入收货单ID和入库单ID,复用异步匹配服务的明细对比和回传逻辑,同步返回匹配结果(含 matchType、comparisonResult、callbackSent、partialStorageMarked 等)。", + "endpoint": "/system", + "authRequired": false, + "loginRequired": true, + "status": { + "isUsed": false, + "isPlaceholder": false + }, + "headers": [ + { + "name": "Authorization", + "type": "string", + "required": true, + "description": "Bearer token" + } + ], + "params": [ + { + "name": "receivingId", + "type": "number", + "required": true, + "description": "收货单 ID" + }, + { + "name": "entryOrderId", + "type": "number", + "required": true, + "description": "入库单 ID" + } + ], + "response": [ + { + "name": "matchType", + "type": "string", + "required": true, + "description": "匹配类型枚举:full_match(SKU+数量完全一致)/ receiving_covers_entry(收货单覆盖入库单,触发回传+标记部分入库)/ entry_exceeds_receiving(入库单超出收货单,不触发回传)/ no_match(SKU无交集,不触发回传)" + }, + { + "name": "comparisonResult", + "type": "object", + "required": true, + "description": "明细对比结果对象" + }, + { + "name": "callbackSent", + "type": "boolean", + "required": true, + "description": "是否已发送回传(full_match / receiving_covers_entry 时为 true)" + }, + { + "name": "callbackResult", + "type": "object|null", + "required": true, + "description": "回传结果对象(未发送时为 null);成功时含 success、sourceType(QM/API)、detail 字段" + }, + { + "name": "partialStorageMarked", + "type": "boolean", + "required": true, + "description": "是否已标记部分入库(仅 receiving_covers_entry 时为 true)" + }, + { + "name": "entryOrder", + "type": "object", + "required": true, + "description": "入库单摘要信息" + }, + { + "name": "receivingOrder", + "type": "object", + "required": true, + "description": "收货单摘要信息" + } + ] + }, { "moduleName": "收货单模块", "moduleKey": "storage_receiving", 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 3ad7aac0..eb19886b 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "source": "remote", "filter": { "platform": { @@ -12,28 +12,81 @@ "label": "全部" } }, - "moduleCount": 41, - "totalInterfaceCount": 317, + "moduleCount": 42, + "totalInterfaceCount": 322, "changes": { "summary": { "moduleAdded": 0, "moduleDeleted": 0, - "moduleUpdated": 0, - "interfaceAdded": 0, + "moduleUpdated": 2, + "interfaceAdded": 1, "interfaceDeleted": 0, "interfaceParamsUpdated": 0, - "interfaceResponseUpdated": 0 + "interfaceResponseUpdated": 2 }, "moduleUpdates": { "added": [], "deleted": [], - "updated": [] + "updated": [ + { + "moduleName": "收货单模块", + "moduleKey": "storage_receiving", + "folder": "storage_receiving", + "previousModuleName": "收货单模块", + "previousModuleKey": "storage_receiving", + "interfaceChanges": { + "addedMethods": [], + "deletedMethods": [], + "paramsUpdatedMethods": [], + "responseUpdatedMethods": [ + "storage.receiving.getAvailableInboundQuantity" + ] + } + }, + { + "moduleName": "入库单模块", + "moduleKey": "storage.entry", + "folder": "storage.entry", + "previousModuleName": "入库单模块", + "previousModuleKey": "storage.entry", + "interfaceChanges": { + "addedMethods": [ + "storage.entry.unbindReceivingDetails" + ], + "deletedMethods": [], + "paramsUpdatedMethods": [], + "responseUpdatedMethods": [ + "storage.entry.get" + ] + } + } + ] }, "interfaceUpdates": { - "added": [], + "added": [ + { + "moduleName": "入库单模块", + "moduleKey": "storage.entry", + "folder": "storage.entry", + "method": "storage.entry.unbindReceivingDetails" + } + ], "deleted": [], "paramsUpdated": [], - "responseUpdated": [] + "responseUpdated": [ + { + "moduleName": "收货单模块", + "moduleKey": "storage_receiving", + "folder": "storage_receiving", + "method": "storage.receiving.getAvailableInboundQuantity" + }, + { + "moduleName": "入库单模块", + "moduleKey": "storage.entry", + "folder": "storage.entry", + "method": "storage.entry.get" + } + ] } }, "modules": [ @@ -935,6 +988,17 @@ } ] }, + { + "moduleName": "库存管理模块", + "moduleKey": "storage.management", + "folder": "storage.management", + "interfaceCount": 1, + "interfaces": [ + { + "method": "storage.management.replenishmentDemand" + } + ] + }, { "moduleName": "快递编码管理模块", "moduleKey": "setting.express", @@ -1048,7 +1112,7 @@ "moduleName": "入库单模块", "moduleKey": "storage.entry", "folder": "storage.entry", - "interfaceCount": 4, + "interfaceCount": 6, "interfaces": [ { "method": "storage.entry.list" @@ -1061,6 +1125,12 @@ }, { "method": "storage.entry.completeEntry" + }, + { + "method": "storage.entry.bindReceivingDetails" + }, + { + "method": "storage.entry.unbindReceivingDetails" } ] }, @@ -1151,7 +1221,7 @@ "moduleName": "收货单模块", "moduleKey": "storage_receiving", "folder": "storage_receiving", - "interfaceCount": 17, + "interfaceCount": 19, "interfaces": [ { "method": "storage.receiving.getReceivingList" @@ -1203,6 +1273,12 @@ }, { "method": "storage.receiving.completeReceiving" + }, + { + "method": "storage.receiving.manualMatchEntryOrder" + }, + { + "method": "storage.receiving.getAvailableInboundQuantity" } ] }, 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 20fe51e2..c66580b8 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-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "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 188c7cf2..44cd9ae5 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "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 eddf210c..89d20594 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-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "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 c9882020..8ee3e04d 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "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 050e2bb1..1820cc71 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-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "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 b1347bf3..b3132f3d 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "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 faabbdaa..78474d33 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-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "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 9acd41a4..a9d458c7 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "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 dbf0b845..7ed2ad55 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-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "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 69386b0e..b2c4a7c1 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "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 4bc837ed..598076b9 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-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "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 bc1ec666..39bf54a2 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "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 b46b8879..803be76a 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-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "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 b1fdb5a0..fede45a6 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "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 9f0ccc44..4cf28b6c 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-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "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 71a5a4f6..5439e309 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "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 bdc1e9ea..c119e085 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-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "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 a5e35dc1..4e23d509 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "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 e88e4a2a..2194399e 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-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "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 8b03ecb7..534c0e93 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "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 6594f978..ddbdd349 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-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "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 5386ac2b..c6afbb63 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "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 812ea53e..32bed1e6 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-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "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 0544ec95..bc2351f5 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/order.recheckorder/_module.lifecycle.json b/workflows/api-doc-system/data/module/order.recheckorder/_module.lifecycle.json index 06ee9632..510b20ab 100644 --- a/workflows/api-doc-system/data/module/order.recheckorder/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/order.recheckorder/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-05-20 08:59:09", - "updatedAt": "2026-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "deletedAt": null, "restoredAt": null } diff --git a/workflows/api-doc-system/data/module/order.recheckorder/module.json b/workflows/api-doc-system/data/module/order.recheckorder/module.json index af547a7d..163d95ee 100644 --- a/workflows/api-doc-system/data/module/order.recheckorder/module.json +++ b/workflows/api-doc-system/data/module/order.recheckorder/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "source": "remote", "filter": { "platform": { 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 36f74784..766fc76b 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-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "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 3f951d8e..e041c432 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "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 777ee80c..a53b1051 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-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "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 18f2b940..c5c2b5d2 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "source": "remote", "filter": { "platform": { 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 67e72bdc..5828643d 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-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "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 8bdb4c69..49b11f78 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "source": "remote", "filter": { "platform": { @@ -87,8 +87,8 @@ }, { "method": "order.pendingOrder.downloadCreateTemplate", - "title": "下载创建订单的 Excel 导入模板。返回 base64 编码的 xlsx 文件,前端解码后作为 .xlsx 附件下载。表头中标注 * 的列为必填项(橙色背景),可选列为灰色背景,包含示例数据行和填写说明工作表。多行相同订单号的行组成一个完整订单,每行代表一条商品明细。模板必填列:订单号(delivery_order_code)、收件人姓名(name)、手机号(mobile)、详细地址(detail_address)、商品编码(item_code)、计划数量(plan_qty);非必填列含:货主ID(store_id)、省份(province)、城市(city)、区/县(area)、店铺名称(shop_nick)等。", - "description": "下载创建订单的 Excel 导入模板。返回 base64 编码的 xlsx 文件,前端解码后作为 .xlsx 附件下载。表头中标注 * 的列为必填项(橙色背景),可选列为灰色背景,包含示例数据行和填写说明工作表。多行相同订单号的行组成一个完整订单,每行代表一条商品明细。模板必填列:订单号(delivery_order_code)、收件人姓名(name)、手机号(mobile)、详细地址(detail_address)、商品编码(item_code)、计划数量(plan_qty);非必填列含:货主ID(store_id)、省份(province)、城市(city)、区/县(area)、店铺名称(shop_nick)等。", + "title": "下载创建订单的 Excel 导入模板。返回 base64 编码的 xlsx 文件,前端解码后作为 .xlsx 附件下载。表头中标注 * 的列为必填项(橙色背景),可选列为灰色背景,包含示例数据行和填写说明工作表。多行相同订单号的行组成一个完整订单,每行代表一条商品明细。模板共 25 列(A-Y):店铺名称(shop_nick)位于第2列B列,紧接*订单号(delivery_order_code)之后;其余必填列为*收件人姓名(name)、*手机号(mobile)、*详细地址(detail_address)、*商品编码(item_code)、*计划数量(plan_qty);非必填列依次为货主ID(store_id)、电话(tel)、省份(province)、城市(city)、区/县(area)、镇/街道(town)、邮编(zip_code)、快递编码(logistics_code)、快递名称(logistics_name)、系统平台编码(sys_platform_code)、来源平台编码(source_platform_code)、来源订单号(source_order_codes)、订单类型(order_type)、是否紧急(is_urgency)、是否需要发票(invoice_flag)、商品名称(item_name)、行号(order_line_no)、实际价格(actual_price)。", + "description": "下载创建订单的 Excel 导入模板。返回 base64 编码的 xlsx 文件,前端解码后作为 .xlsx 附件下载。表头中标注 * 的列为必填项(橙色背景),可选列为灰色背景,包含示例数据行和填写说明工作表。多行相同订单号的行组成一个完整订单,每行代表一条商品明细。模板共 25 列(A-Y):店铺名称(shop_nick)位于第2列B列,紧接*订单号(delivery_order_code)之后;其余必填列为*收件人姓名(name)、*手机号(mobile)、*详细地址(detail_address)、*商品编码(item_code)、*计划数量(plan_qty);非必填列依次为货主ID(store_id)、电话(tel)、省份(province)、城市(city)、区/县(area)、镇/街道(town)、邮编(zip_code)、快递编码(logistics_code)、快递名称(logistics_name)、系统平台编码(sys_platform_code)、来源平台编码(source_platform_code)、来源订单号(source_order_codes)、订单类型(order_type)、是否紧急(is_urgency)、是否需要发票(invoice_flag)、商品名称(item_name)、行号(order_line_no)、实际价格(actual_price)。", "endpoint": "/system", "authRequired": false, "loginRequired": true, @@ -123,12 +123,6 @@ "type": "string", "required": true, "description": "文件 MIME 类型,固定为 application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" - }, - { - "name": "shop_nick", - "type": "string", - "required": false, - "description": "模板中新增的店铺名称列(非必填),用于标识订单所属店铺" } ] }, 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 4c2f099c..aed5c47f 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-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "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 6f7017b5..0bccf1d5 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/pickcart/_module.lifecycle.json b/workflows/api-doc-system/data/module/pickcart/_module.lifecycle.json index 496abb83..53a228f4 100644 --- a/workflows/api-doc-system/data/module/pickcart/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/pickcart/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-06-03 16:55:40", - "updatedAt": "2026-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "deletedAt": null, "restoredAt": null } diff --git a/workflows/api-doc-system/data/module/pickcart/module.json b/workflows/api-doc-system/data/module/pickcart/module.json index 575e5021..e821f4ca 100644 --- a/workflows/api-doc-system/data/module/pickcart/module.json +++ b/workflows/api-doc-system/data/module/pickcart/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "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 8ab51147..cd961a56 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-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "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 03b6d297..63d0dc2d 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "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 271b933e..7ff438c2 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-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "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 ecb0e7e7..267eaf43 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "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 24b5cc6e..1d80cbeb 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-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "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 e6faf4f8..a5f4d012 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "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 9fbdb545..43659304 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-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "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 c1eb7fef..f688a4e2 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "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 06253eb8..11878fe6 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-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "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 ff102edc..410021c8 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/setting.packagematerial/_module.lifecycle.json b/workflows/api-doc-system/data/module/setting.packagematerial/_module.lifecycle.json index 3d5fbedd..dba00258 100644 --- a/workflows/api-doc-system/data/module/setting.packagematerial/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/setting.packagematerial/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-05-29 09:07:53", - "updatedAt": "2026-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "deletedAt": null, "restoredAt": null } diff --git a/workflows/api-doc-system/data/module/setting.packagematerial/module.json b/workflows/api-doc-system/data/module/setting.packagematerial/module.json index 759e0ad0..08adef87 100644 --- a/workflows/api-doc-system/data/module/setting.packagematerial/module.json +++ b/workflows/api-doc-system/data/module/setting.packagematerial/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/setting.packagesupplier/_module.lifecycle.json b/workflows/api-doc-system/data/module/setting.packagesupplier/_module.lifecycle.json index 1f3d4dcc..5920c9bd 100644 --- a/workflows/api-doc-system/data/module/setting.packagesupplier/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/setting.packagesupplier/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-05-29 09:07:53", - "updatedAt": "2026-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "deletedAt": null, "restoredAt": null } diff --git a/workflows/api-doc-system/data/module/setting.packagesupplier/module.json b/workflows/api-doc-system/data/module/setting.packagesupplier/module.json index d96619b1..ac53ace2 100644 --- a/workflows/api-doc-system/data/module/setting.packagesupplier/module.json +++ b/workflows/api-doc-system/data/module/setting.packagesupplier/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "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 d5d773ad..605bf618 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-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "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 9e8b4463..b86d65b5 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "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 8b7b9770..dad2aa65 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-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "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 9322f59d..d08e9501 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "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 423793c1..440c79dc 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-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "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 48d200b7..41956260 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "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 b94a5f25..4a337f8a 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-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "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 44d8ab87..6bfb2eae 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "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 397aa798..76dce2ed 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-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "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 45db00bd..e8360bd4 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/shops/_module.lifecycle.json b/workflows/api-doc-system/data/module/shops/_module.lifecycle.json index cf263fbd..0aeb93b6 100644 --- a/workflows/api-doc-system/data/module/shops/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/shops/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-05-25 17:05:16", - "updatedAt": "2026-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "deletedAt": null, "restoredAt": null } diff --git a/workflows/api-doc-system/data/module/shops/module.json b/workflows/api-doc-system/data/module/shops/module.json index bc9f5b4b..0cb86862 100644 --- a/workflows/api-doc-system/data/module/shops/module.json +++ b/workflows/api-doc-system/data/module/shops/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "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 8b701777..88dd5f1c 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-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "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 c583d87e..f650b113 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "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 3cdad7f3..6d760f16 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-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "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 9568c2f1..1a7ca3dc 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "source": "remote", "filter": { "platform": { @@ -16,17 +16,21 @@ "name": "入库单模块", "key": "storage.entry", "folder": "storage.entry", - "interfaceCount": 4 + "interfaceCount": 6 }, "changes": { "fromPreviousSnapshot": { "moduleAdded": false, "moduleRenamed": false, "interfaceChanges": { - "addedMethods": [], + "addedMethods": [ + "storage.entry.unbindReceivingDetails" + ], "deletedMethods": [], "paramsUpdatedMethods": [], - "responseUpdatedMethods": [] + "responseUpdatedMethods": [ + "storage.entry.get" + ] } } }, @@ -93,8 +97,8 @@ }, { "method": "storage.entry.get", - "title": "查询入库单详情", - "description": "查询入库单详情", + "title": "查询入库单详情。返回的 entryOrder.items 每项包含 pending_total(当前 pending 绑定的总预分配数量)、total_planned(计划入库数量=count)、bindings(pending 绑定列表,每项含 id/entry_item_id/receiving_detail_id/allocated_quantity/status/receivingDetail)", + "description": "查询入库单详情。返回的 entryOrder.items 每项包含 pending_total(当前 pending 绑定的总预分配数量)、total_planned(计划入库数量=count)、bindings(pending 绑定列表,每项含 id/entry_item_id/receiving_detail_id/allocated_quantity/status/receivingDetail)", "endpoint": "/system", "authRequired": false, "loginRequired": true, @@ -129,7 +133,7 @@ "name": "entryOrder", "type": "object", "required": true, - "description": "入库单详情(含 items 明细)" + "description": "入库单详情,含 items 明细数组" } ] }, @@ -183,8 +187,8 @@ }, { "method": "storage.entry.completeEntry", - "title": "完成入库单", - "description": "完成入库单", + "title": "完成入库单。入库单状态变更为 COMPLETED 后,异步触发收货单匹配与回传:系统会从入库单 remark 中匹配近 3 天收货单号,明细一致则按来源回传(奇门→奇门确认接口,API→OpenAPI 回调);若收货单覆盖入库单,还会标记收货单为部分入库。异步匹配失败不阻塞主流程,仅记录日志。", + "description": "完成入库单。入库单状态变更为 COMPLETED 后,异步触发收货单匹配与回传:系统会从入库单 remark 中匹配近 3 天收货单号,明细一致则按来源回传(奇门→奇门确认接口,API→OpenAPI 回调);若收货单覆盖入库单,还会标记收货单为部分入库。异步匹配失败不阻塞主流程,仅记录日志。", "endpoint": "/system", "authRequired": false, "loginRequired": true, @@ -216,6 +220,96 @@ "description": "完成成功的入库单ID" } ] + }, + { + "method": "storage.entry.bindReceivingDetails", + "title": "入库单明细绑定收货明细。将指定的收货单明细与入库单明细建立绑定关系,并立即更新入库明细的 received_quantity(绑定即实收)。重复调用会先回退旧绑定量再创建新绑定。提交入库时完成收货单侧的入库数量扣减和库存上架。", + "description": "入库单明细绑定收货明细。将指定的收货单明细与入库单明细建立绑定关系,并立即更新入库明细的 received_quantity(绑定即实收)。重复调用会先回退旧绑定量再创建新绑定。提交入库时完成收货单侧的入库数量扣减和库存上架。", + "endpoint": "/system", + "authRequired": false, + "loginRequired": true, + "status": { + "isUsed": false, + "isPlaceholder": false + }, + "headers": [ + { + "name": "Authorization", + "type": "string", + "required": true, + "description": "Bearer token" + } + ], + "params": [ + { + "name": "entry_item_id", + "type": "number", + "required": true, + "description": "入库单明细ID(wms_entry_items.id)" + }, + { + "name": "bindings", + "type": "array", + "required": true, + "description": "收货明细绑定数组,每项包含 receiving_detail_id(收货明细ID, number, 必填)和 allocated_quantity(分配数量, number, 必填, 正整数)" + } + ], + "response": [ + { + "name": "entry_item_id", + "type": "number", + "required": true, + "description": "入库明细ID" + }, + { + "name": "binding_count", + "type": "number", + "required": true, + "description": "创建的绑定数量" + } + ] + }, + { + "method": "storage.entry.unbindReceivingDetails", + "title": "解绑入库明细的收货明细绑定。删除指定入库明细的所有 pending 绑定,并回退 received_quantity(恢复到绑定前的值),收货单明细的可用数量自动恢复(因为绑定记录被删除)。", + "description": "解绑入库明细的收货明细绑定。删除指定入库明细的所有 pending 绑定,并回退 received_quantity(恢复到绑定前的值),收货单明细的可用数量自动恢复(因为绑定记录被删除)。", + "endpoint": "/system", + "authRequired": false, + "loginRequired": true, + "status": { + "isUsed": false, + "isPlaceholder": false + }, + "headers": [ + { + "name": "Authorization", + "type": "string", + "required": true, + "description": "Bearer token" + } + ], + "params": [ + { + "name": "entry_item_id", + "type": "number", + "required": true, + "description": "入库单明细ID" + } + ], + "response": [ + { + "name": "entry_item_id", + "type": "number", + "required": true, + "description": "入库明细ID" + }, + { + "name": "released_quantity", + "type": "number", + "required": true, + "description": "释放的绑定总量" + } + ] } ] } 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 dd0c44e7..8e7e3b36 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-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "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 2dc50cee..55940a2e 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "source": "remote", "filter": { "platform": { diff --git a/workflows/api-doc-system/data/module/storage.management/_module.lifecycle.json b/workflows/api-doc-system/data/module/storage.management/_module.lifecycle.json new file mode 100644 index 00000000..53964e04 --- /dev/null +++ b/workflows/api-doc-system/data/module/storage.management/_module.lifecycle.json @@ -0,0 +1,12 @@ +{ + "module": { + "name": "库存管理模块", + "key": "storage.management", + "folder": "storage.management" + }, + "status": "active", + "createdAt": "2026-06-18 09:43:47", + "updatedAt": "2026-06-18 17:45:21", + "deletedAt": null, + "restoredAt": null +} diff --git a/workflows/api-doc-system/data/module/storage.management/module.json b/workflows/api-doc-system/data/module/storage.management/module.json new file mode 100644 index 00000000..18cbe924 --- /dev/null +++ b/workflows/api-doc-system/data/module/storage.management/module.json @@ -0,0 +1,89 @@ +{ + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", + "source": "remote", + "filter": { + "platform": { + "value": "web", + "label": "网页端" + }, + "project": { + "value": "all", + "label": "全部" + } + }, + "module": { + "name": "库存管理模块", + "key": "storage.management", + "folder": "storage.management", + "interfaceCount": 1 + }, + "changes": { + "fromPreviousSnapshot": { + "moduleAdded": false, + "moduleRenamed": false, + "interfaceChanges": { + "addedMethods": [], + "deletedMethods": [], + "paramsUpdatedMethods": [], + "responseUpdatedMethods": [] + } + } + }, + "interfaces": [ + { + "method": "storage.management.replenishmentDemand", + "title": "分拣缺货补货需求计算(仓库级别)。自动从用户上下文获取仓库,查询所有未完成储位分配的订单,计算每个SKU在分拣区与存货区的库存量、订单需求量、分拣区缺口、建议补货量及可补货库位。支持分页与排序。", + "description": "分拣缺货补货需求计算(仓库级别)。自动从用户上下文获取仓库,查询所有未完成储位分配的订单,计算每个SKU在分拣区与存货区的库存量、订单需求量、分拣区缺口、建议补货量及可补货库位。支持分页与排序。", + "endpoint": "/system", + "authRequired": false, + "loginRequired": true, + "status": { + "isUsed": false, + "isPlaceholder": false + }, + "headers": [ + { + "name": "Authorization", + "type": "string", + "required": true, + "description": "Bearer token" + } + ], + "params": [ + { + "name": "pagination", + "type": "object", + "required": false, + "description": "分页参数,支持 page / pageSize,默认 page=1 pageSize=20" + }, + { + "name": "sort", + "type": "object", + "required": false, + "description": "排序参数,支持 sortField / sortOrder。sortField 可选值:stock_id / pick_zone_quantity / storage_zone_quantity / total_demand / shortage / replenishment_needed,默认 shortage;sortOrder 可选 ASC / DESC,默认 DESC" + } + ], + "response": [ + { + "name": "list", + "type": "array", + "required": true, + "description": "补货需求明细列表" + }, + { + "name": "summary", + "type": "object", + "required": true, + "description": "汇总信息" + }, + { + "name": "pagination", + "type": "object", + "required": true, + "description": "分页信息" + } + ] + } + ] +} diff --git a/workflows/api-doc-system/data/module/storage.report/_module.lifecycle.json b/workflows/api-doc-system/data/module/storage.report/_module.lifecycle.json index 89fbfd5a..bb0926df 100644 --- a/workflows/api-doc-system/data/module/storage.report/_module.lifecycle.json +++ b/workflows/api-doc-system/data/module/storage.report/_module.lifecycle.json @@ -6,7 +6,7 @@ }, "status": "active", "createdAt": "2026-05-15 17:32:36", - "updatedAt": "2026-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "deletedAt": null, "restoredAt": null } diff --git a/workflows/api-doc-system/data/module/storage.report/module.json b/workflows/api-doc-system/data/module/storage.report/module.json index 2564e111..7390d52f 100644 --- a/workflows/api-doc-system/data/module/storage.report/module.json +++ b/workflows/api-doc-system/data/module/storage.report/module.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "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 e87382a1..621a9fdb 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-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "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 8067ed93..958cd929 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "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 e4f3db78..93fbec27 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-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "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 9720eee7..9167d639 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "source": "remote", "filter": { "platform": { @@ -16,7 +16,7 @@ "name": "收货单模块", "key": "storage_receiving", "folder": "storage_receiving", - "interfaceCount": 17 + "interfaceCount": 19 }, "changes": { "fromPreviousSnapshot": { @@ -26,7 +26,9 @@ "addedMethods": [], "deletedMethods": [], "paramsUpdatedMethods": [], - "responseUpdatedMethods": [] + "responseUpdatedMethods": [ + "storage.receiving.getAvailableInboundQuantity" + ] } } }, @@ -1129,6 +1131,126 @@ ], "params": [], "response": [] + }, + { + "method": "storage.receiving.manualMatchEntryOrder", + "title": "手动匹配入库单与收货单。传入收货单ID和入库单ID,复用异步匹配服务的明细对比和回传逻辑,同步返回匹配结果(含 matchType、comparisonResult、callbackSent、partialStorageMarked 等)。", + "description": "手动匹配入库单与收货单。传入收货单ID和入库单ID,复用异步匹配服务的明细对比和回传逻辑,同步返回匹配结果(含 matchType、comparisonResult、callbackSent、partialStorageMarked 等)。", + "endpoint": "/system", + "authRequired": false, + "loginRequired": true, + "status": { + "isUsed": false, + "isPlaceholder": false + }, + "headers": [ + { + "name": "Authorization", + "type": "string", + "required": true, + "description": "Bearer token" + } + ], + "params": [ + { + "name": "receivingId", + "type": "number", + "required": true, + "description": "收货单 ID" + }, + { + "name": "entryOrderId", + "type": "number", + "required": true, + "description": "入库单 ID" + } + ], + "response": [ + { + "name": "matchType", + "type": "string", + "required": true, + "description": "匹配类型枚举:full_match(SKU+数量完全一致)/ receiving_covers_entry(收货单覆盖入库单,触发回传+标记部分入库)/ entry_exceeds_receiving(入库单超出收货单,不触发回传)/ no_match(SKU无交集,不触发回传)" + }, + { + "name": "comparisonResult", + "type": "object", + "required": true, + "description": "明细对比结果对象" + }, + { + "name": "callbackSent", + "type": "boolean", + "required": true, + "description": "是否已发送回传(full_match / receiving_covers_entry 时为 true)" + }, + { + "name": "callbackResult", + "type": "object|null", + "required": true, + "description": "回传结果对象(未发送时为 null);成功时含 success、sourceType(QM/API)、detail 字段" + }, + { + "name": "partialStorageMarked", + "type": "boolean", + "required": true, + "description": "是否已标记部分入库(仅 receiving_covers_entry 时为 true)" + }, + { + "name": "entryOrder", + "type": "object", + "required": true, + "description": "入库单摘要信息" + }, + { + "name": "receivingOrder", + "type": "object", + "required": true, + "description": "收货单摘要信息" + } + ] + }, + { + "method": "storage.receiving.getAvailableInboundQuantity", + "title": "按 stock_id 查询可入库数量。返回指定商品在已审核收货单中各明细的可入库数量(actual_quantity - stored_quantity - pending_allocated_quantity),仅包含尚有可入库余量的明细,排除未审核和已取消的收货单。", + "description": "按 stock_id 查询可入库数量。返回指定商品在已审核收货单中各明细的可入库数量(actual_quantity - stored_quantity - pending_allocated_quantity),仅包含尚有可入库余量的明细,排除未审核和已取消的收货单。", + "endpoint": "/system", + "authRequired": false, + "loginRequired": true, + "status": { + "isUsed": false, + "isPlaceholder": false + }, + "headers": [ + { + "name": "Authorization", + "type": "string", + "required": true, + "description": "Bearer token" + } + ], + "params": [ + { + "name": "stock_id", + "type": "number", + "required": true, + "description": "商品库存ID(stock_warehouse.id)" + } + ], + "response": [ + { + "name": "list", + "type": "array", + "required": true, + "description": "可入库明细列表,每项包含 detail_id、receiving_id、receiving_number、product_name、actual_quantity、stored_quantity、pending_allocated_quantity、available_quantity、storage_status、batch_number、production_date、expiry_date、space_id、receiving_status" + }, + { + "name": "total", + "type": "number", + "required": true, + "description": "返回条数" + } + ] } ] } 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 647e4ff5..f7587ec3 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-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "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 9f34179d..ab0fa6ab 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "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 f97a0fe3..a9edefa4 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-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "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 909203ca..d13c7145 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "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 c1e57d71..f482a879 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-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "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 1f1a35c1..59bd0fbb 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "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 a8fa1555..9cb7d652 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-06-17 10:25:45", + "updatedAt": "2026-06-18 17:45:21", "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 6e0639b7..8f7d6eea 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-06-17 10:25:45", - "generatedAtLocal": "2026-06-17 10:25:45", + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", "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..380246a2 100644 --- a/workflows/api-doc-system/data/pending-updates.json +++ b/workflows/api-doc-system/data/pending-updates.json @@ -1 +1,50 @@ -{} +{ + "generatedAt": "2026-06-18 17:45:21", + "generatedAtLocal": "2026-06-18 17:45:21", + "source": "remote", + "filter": { + "platform": { + "value": "web", + "label": "网页端" + }, + "project": { + "value": "all", + "label": "全部" + } + }, + "summary": { + "moduleAdded": 0, + "moduleDeleted": 0, + "interfaceAdded": 1, + "interfaceDeleted": 0, + "interfaceParamsUpdated": 0, + "interfaceResponseUpdated": 2, + "totalChangedItems": 3 + }, + "interfaceUpdates": { + "added": [ + { + "moduleName": "入库单模块", + "moduleKey": "storage.entry", + "folder": "storage.entry", + "method": "storage.entry.unbindReceivingDetails" + } + ], + "deleted": [], + "paramsUpdated": [], + "responseUpdated": [ + { + "moduleName": "收货单模块", + "moduleKey": "storage_receiving", + "folder": "storage_receiving", + "method": "storage.receiving.getAvailableInboundQuantity" + }, + { + "moduleName": "入库单模块", + "moduleKey": "storage.entry", + "folder": "storage.entry", + "method": "storage.entry.get" + } + ] + } +}