63
This commit is contained in:
parent
55e7c46f05
commit
dee64416c3
@ -132,6 +132,7 @@ export type PendingOrderAllocateStorageProgressResponse = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export type PendingOrderSyncOrderIdsParams = {
|
export type PendingOrderSyncOrderIdsParams = {
|
||||||
|
/** 订单 ID 列表;支持数组、逗号字符串或单个 ID(兼容多种别名,至少传一项) */
|
||||||
order_ids?: Array<number | string> | string | number;
|
order_ids?: Array<number | string> | string | number;
|
||||||
orderIds?: Array<number | string> | string | number;
|
orderIds?: Array<number | string> | string | number;
|
||||||
ids?: Array<number | string> | string | number;
|
ids?: Array<number | string> | string | number;
|
||||||
@ -140,6 +141,17 @@ export type PendingOrderSyncOrderIdsParams = {
|
|||||||
id?: number | string;
|
id?: number | string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/** syncOrderIds 响应(SN 管理订单 is_sn_mgmt=Y 会被拦截并标记失败,需改用单订单回传) */
|
||||||
|
export type PendingOrderSyncOrderIdsResponse = {
|
||||||
|
flag: string;
|
||||||
|
code: number;
|
||||||
|
message: string;
|
||||||
|
data?: {
|
||||||
|
order_ids?: Array<number | string>;
|
||||||
|
[key: string]: unknown;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
export function orderPendingOrderList(data: PendingOrderListParams = {}): Promise<any> {
|
export function orderPendingOrderList(data: PendingOrderListParams = {}): Promise<any> {
|
||||||
return request({
|
return request({
|
||||||
url: "/system",
|
url: "/system",
|
||||||
@ -280,7 +292,7 @@ export function orderPendingOrderAllocateStorageProgress(
|
|||||||
|
|
||||||
export function orderPendingOrderSyncOrderIds(
|
export function orderPendingOrderSyncOrderIds(
|
||||||
data: PendingOrderSyncOrderIdsParams,
|
data: PendingOrderSyncOrderIdsParams,
|
||||||
): Promise<any> {
|
): Promise<PendingOrderSyncOrderIdsResponse & { code?: number; message?: string; flag?: string; data?: PendingOrderSyncOrderIdsResponse['data'] }> {
|
||||||
return request({
|
return request({
|
||||||
url: "/system",
|
url: "/system",
|
||||||
method: "post",
|
method: "post",
|
||||||
|
|||||||
@ -27,6 +27,10 @@ export type WaveBatchListWhere = {
|
|||||||
storage_assignment_status?: string
|
storage_assignment_status?: string
|
||||||
/** 0 普通波次,1 管理后台策略任务,2 PDA 策略任务 */
|
/** 0 普通波次,1 管理后台策略任务,2 PDA 策略任务 */
|
||||||
source?: number
|
source?: number
|
||||||
|
/** 英文枚举:unsynced | partially_synced | synced */
|
||||||
|
sync_assignment_status?: 'unsynced' | 'partially_synced' | 'synced'
|
||||||
|
/** 英文枚举:unreviewed | partially_reviewed | reviewed */
|
||||||
|
review_assignment_status?: 'unreviewed' | 'partially_reviewed' | 'reviewed'
|
||||||
}
|
}
|
||||||
|
|
||||||
export type WaveBatchListParams = {
|
export type WaveBatchListParams = {
|
||||||
@ -34,6 +38,8 @@ export type WaveBatchListParams = {
|
|||||||
page?: number
|
page?: number
|
||||||
pageSize?: number
|
pageSize?: number
|
||||||
}
|
}
|
||||||
|
/** 是否仅返回仍有未复核订单的波次,默认 0;传 1/true 时仅返回 unreviewed_order_count > 0 的波次 */
|
||||||
|
only_todo?: number | boolean | string
|
||||||
/** 白名单见 WaveBatchListWhere;与列表页动态 where 构建兼容 */
|
/** 白名单见 WaveBatchListWhere;与列表页动态 where 构建兼容 */
|
||||||
where?: WaveBatchListWhere | Record<string, any>
|
where?: WaveBatchListWhere | Record<string, any>
|
||||||
}
|
}
|
||||||
@ -54,6 +60,9 @@ export type WaveBatchListItem = Record<string, unknown> & {
|
|||||||
print_assignment_status?: string
|
print_assignment_status?: string
|
||||||
/** 0 普通波次,1 管理后台策略任务,2 PDA 策略任务 */
|
/** 0 普通波次,1 管理后台策略任务,2 PDA 策略任务 */
|
||||||
source?: number
|
source?: number
|
||||||
|
sync_assignment_status?: string
|
||||||
|
review_assignment_status?: string
|
||||||
|
unreviewed_order_count?: number
|
||||||
}
|
}
|
||||||
|
|
||||||
export type WaveBatchListResponse = {
|
export type WaveBatchListResponse = {
|
||||||
|
|||||||
@ -4,12 +4,19 @@ const v = '1.0'
|
|||||||
|
|
||||||
/** pick.query 请求参数(与 module pick 一致) */
|
/** pick.query 请求参数(与 module pick 一致) */
|
||||||
export type PickQueryParams = {
|
export type PickQueryParams = {
|
||||||
waybill_code: string
|
keyword: string
|
||||||
full_display?: boolean
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** 按运单号查询波次拣货信息(pick.query) */
|
export type PickQueryResponse = {
|
||||||
export function pickQuery(data: PickQueryParams): Promise<any> {
|
task_id: number
|
||||||
|
status: string
|
||||||
|
tip: string
|
||||||
|
}
|
||||||
|
|
||||||
|
/** 按 keyword(运单号或波次号)获取或创建拣货任务(pick.query) */
|
||||||
|
export function pickQuery(
|
||||||
|
data: PickQueryParams
|
||||||
|
): Promise<PickQueryResponse & { code?: number; message?: string; data?: Partial<PickQueryResponse> }> {
|
||||||
return request({
|
return request({
|
||||||
url: '/system',
|
url: '/system',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
@ -27,8 +34,16 @@ export type PickWavePickTaskDetailParams = {
|
|||||||
task_id: number
|
task_id: number
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** 拣货任务主表精简字段(含中间态进度语义) */
|
||||||
|
export type PickWavePickTaskDetailTask = Record<string, unknown> & {
|
||||||
|
is_completed?: boolean
|
||||||
|
progress?: Record<string, unknown>
|
||||||
|
}
|
||||||
|
|
||||||
export type PickWavePickTaskDetailResponse = {
|
export type PickWavePickTaskDetailResponse = {
|
||||||
task?: Record<string, unknown>
|
task?: PickWavePickTaskDetailTask
|
||||||
|
/** 与 task.is_completed 含义一致,便于前端直接判断 */
|
||||||
|
is_completed?: boolean
|
||||||
boxes?: Array<Record<string, unknown>>
|
boxes?: Array<Record<string, unknown>>
|
||||||
picking_details?: Array<Record<string, unknown>>
|
picking_details?: Array<Record<string, unknown>>
|
||||||
picking_summary?: Record<string, unknown>
|
picking_summary?: Record<string, unknown>
|
||||||
@ -52,7 +67,69 @@ export function pickWavePickTaskDetail(
|
|||||||
} as any)
|
} as any)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type PickWavePickTaskSubmitParams = {
|
||||||
|
task_id: number
|
||||||
|
payload?: Record<string, unknown>
|
||||||
|
}
|
||||||
|
|
||||||
|
export type PickWavePickTaskSubmitResponse = {
|
||||||
|
task_id: number
|
||||||
|
status: string
|
||||||
|
is_completed: boolean
|
||||||
|
progress: Record<string, unknown>
|
||||||
|
}
|
||||||
|
|
||||||
|
/** pick.wavePickTaskSubmit:提交拣货任务中间态 */
|
||||||
|
export function pickWavePickTaskSubmit(
|
||||||
|
data: PickWavePickTaskSubmitParams
|
||||||
|
): Promise<PickWavePickTaskSubmitResponse & { code?: number; message?: string; data?: Partial<PickWavePickTaskSubmitResponse> }> {
|
||||||
|
return request({
|
||||||
|
url: '/system',
|
||||||
|
method: 'post',
|
||||||
|
params: {
|
||||||
|
method: 'pick.wavePickTaskSubmit',
|
||||||
|
v,
|
||||||
|
timestamp: new Date().getTime()
|
||||||
|
},
|
||||||
|
data,
|
||||||
|
isSystemApi: true
|
||||||
|
} as any)
|
||||||
|
}
|
||||||
|
|
||||||
|
export type PickWavePickTaskCompleteParams = {
|
||||||
|
task_id: number
|
||||||
|
mode?: number
|
||||||
|
order_ids?: Array<number | string>
|
||||||
|
}
|
||||||
|
|
||||||
|
export type PickWavePickTaskCompleteResponse = {
|
||||||
|
task_id: number
|
||||||
|
mode: number
|
||||||
|
confirmed_order_ids: Array<number | string>
|
||||||
|
is_completed: boolean
|
||||||
|
progress: Record<string, unknown>
|
||||||
|
}
|
||||||
|
|
||||||
|
/** pick.wavePickTaskComplete:完全提交拣货任务 */
|
||||||
|
export function pickWavePickTaskComplete(
|
||||||
|
data: PickWavePickTaskCompleteParams
|
||||||
|
): Promise<PickWavePickTaskCompleteResponse & { code?: number; message?: string; data?: Partial<PickWavePickTaskCompleteResponse> }> {
|
||||||
|
return request({
|
||||||
|
url: '/system',
|
||||||
|
method: 'post',
|
||||||
|
params: {
|
||||||
|
method: 'pick.wavePickTaskComplete',
|
||||||
|
v,
|
||||||
|
timestamp: new Date().getTime()
|
||||||
|
},
|
||||||
|
data,
|
||||||
|
isSystemApi: true
|
||||||
|
} as any)
|
||||||
|
}
|
||||||
|
|
||||||
export const pick = {
|
export const pick = {
|
||||||
query: pickQuery,
|
query: pickQuery,
|
||||||
wavePickTaskDetail: pickWavePickTaskDetail
|
wavePickTaskDetail: pickWavePickTaskDetail,
|
||||||
|
wavePickTaskSubmit: pickWavePickTaskSubmit,
|
||||||
|
wavePickTaskComplete: pickWavePickTaskComplete
|
||||||
}
|
}
|
||||||
|
|||||||
248
src/api/pickcart/pickcart.ts
Normal file
248
src/api/pickcart/pickcart.ts
Normal file
@ -0,0 +1,248 @@
|
|||||||
|
import request from '@/utils/request'
|
||||||
|
|
||||||
|
const v = '1.0'
|
||||||
|
|
||||||
|
export type PickCartScanParams = {
|
||||||
|
cart_code: string
|
||||||
|
}
|
||||||
|
|
||||||
|
export type PickCartScanResponse = {
|
||||||
|
cart_id: number
|
||||||
|
warehouse_id: number
|
||||||
|
cart_code: string
|
||||||
|
cart_name?: string
|
||||||
|
status: number
|
||||||
|
current_task_id?: number | null
|
||||||
|
current_task_no?: string | null
|
||||||
|
}
|
||||||
|
|
||||||
|
export type PickCartBindTaskCartParams = {
|
||||||
|
task_id: number
|
||||||
|
cart_id?: number
|
||||||
|
cart_code?: string
|
||||||
|
}
|
||||||
|
|
||||||
|
export type PickCartBindTaskCartResponse = {
|
||||||
|
task_id: number
|
||||||
|
task_no: string
|
||||||
|
cart: Record<string, unknown>
|
||||||
|
}
|
||||||
|
|
||||||
|
export type PickCartCreateParams = {
|
||||||
|
cart_code: string
|
||||||
|
cart_name?: string
|
||||||
|
status?: number
|
||||||
|
}
|
||||||
|
|
||||||
|
export type PickCartCreateResponse = {
|
||||||
|
cart_id: number
|
||||||
|
cart_code: string
|
||||||
|
cart_name?: string
|
||||||
|
status: number
|
||||||
|
}
|
||||||
|
|
||||||
|
export type PickCartUpdateParams = {
|
||||||
|
cart_id: number
|
||||||
|
cart_code?: string
|
||||||
|
cart_name?: string
|
||||||
|
status?: number
|
||||||
|
}
|
||||||
|
|
||||||
|
export type PickCartUpdateResponse = PickCartCreateResponse
|
||||||
|
|
||||||
|
export type PickCartDeleteParams = {
|
||||||
|
cart_id: number
|
||||||
|
}
|
||||||
|
|
||||||
|
export type PickCartDeleteResponse = {
|
||||||
|
cart_id: number
|
||||||
|
deleted: boolean
|
||||||
|
}
|
||||||
|
|
||||||
|
export type PickCartDetailParams = {
|
||||||
|
cart_id: number
|
||||||
|
}
|
||||||
|
|
||||||
|
export type PickCartDetailResponse = PickCartScanResponse
|
||||||
|
|
||||||
|
export type PickCartListParams = {
|
||||||
|
pagination?: {
|
||||||
|
page?: number
|
||||||
|
pageSize?: number
|
||||||
|
}
|
||||||
|
where?: {
|
||||||
|
keyword?: string
|
||||||
|
status?: number
|
||||||
|
current_task_id?: number
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export type PickCartListResponse = {
|
||||||
|
list: PickCartDetailResponse[]
|
||||||
|
pagination: {
|
||||||
|
page?: number
|
||||||
|
pageSize?: number
|
||||||
|
total?: number
|
||||||
|
totalPages?: number
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export type PickCartCodeDuplicateCheckParams = {
|
||||||
|
cart_code: string
|
||||||
|
exclude_cart_id?: number
|
||||||
|
}
|
||||||
|
|
||||||
|
export type PickCartCodeDuplicateCheckResponse = {
|
||||||
|
duplicated: boolean
|
||||||
|
cart_id?: number | null
|
||||||
|
cart_code?: string | null
|
||||||
|
cart_name?: string | null
|
||||||
|
status?: number | null
|
||||||
|
}
|
||||||
|
|
||||||
|
/** pickCart.scan:按拣货车条码/编码查询拣货车信息 */
|
||||||
|
export function pickCartScan(
|
||||||
|
data: PickCartScanParams
|
||||||
|
): Promise<PickCartScanResponse & { code?: number; message?: string; data?: Partial<PickCartScanResponse> }> {
|
||||||
|
return request({
|
||||||
|
url: '/system',
|
||||||
|
method: 'post',
|
||||||
|
params: {
|
||||||
|
method: 'pickCart.scan',
|
||||||
|
v,
|
||||||
|
timestamp: new Date().getTime()
|
||||||
|
},
|
||||||
|
data,
|
||||||
|
isSystemApi: true
|
||||||
|
} as any)
|
||||||
|
}
|
||||||
|
|
||||||
|
/** pickCart.bindTaskCart:绑定拣货任务与拣货车 */
|
||||||
|
export function pickCartBindTaskCart(
|
||||||
|
data: PickCartBindTaskCartParams
|
||||||
|
): Promise<PickCartBindTaskCartResponse & { code?: number; message?: string; data?: Partial<PickCartBindTaskCartResponse> }> {
|
||||||
|
return request({
|
||||||
|
url: '/system',
|
||||||
|
method: 'post',
|
||||||
|
params: {
|
||||||
|
method: 'pickCart.bindTaskCart',
|
||||||
|
v,
|
||||||
|
timestamp: new Date().getTime()
|
||||||
|
},
|
||||||
|
data,
|
||||||
|
isSystemApi: true
|
||||||
|
} as any)
|
||||||
|
}
|
||||||
|
|
||||||
|
/** pickCart.create:创建拣货车 */
|
||||||
|
export function pickCartCreate(
|
||||||
|
data: PickCartCreateParams
|
||||||
|
): Promise<PickCartCreateResponse & { code?: number; message?: string; data?: Partial<PickCartCreateResponse> }> {
|
||||||
|
return request({
|
||||||
|
url: '/system',
|
||||||
|
method: 'post',
|
||||||
|
params: {
|
||||||
|
method: 'pickCart.create',
|
||||||
|
v,
|
||||||
|
timestamp: new Date().getTime()
|
||||||
|
},
|
||||||
|
data,
|
||||||
|
isSystemApi: true
|
||||||
|
} as any)
|
||||||
|
}
|
||||||
|
|
||||||
|
/** pickCart.update:更新拣货车 */
|
||||||
|
export function pickCartUpdate(
|
||||||
|
data: PickCartUpdateParams
|
||||||
|
): Promise<PickCartUpdateResponse & { code?: number; message?: string; data?: Partial<PickCartUpdateResponse> }> {
|
||||||
|
return request({
|
||||||
|
url: '/system',
|
||||||
|
method: 'post',
|
||||||
|
params: {
|
||||||
|
method: 'pickCart.update',
|
||||||
|
v,
|
||||||
|
timestamp: new Date().getTime()
|
||||||
|
},
|
||||||
|
data,
|
||||||
|
isSystemApi: true
|
||||||
|
} as any)
|
||||||
|
}
|
||||||
|
|
||||||
|
/** pickCart.delete:删除拣货车 */
|
||||||
|
export function pickCartDelete(
|
||||||
|
data: PickCartDeleteParams
|
||||||
|
): Promise<PickCartDeleteResponse & { code?: number; message?: string; data?: Partial<PickCartDeleteResponse> }> {
|
||||||
|
return request({
|
||||||
|
url: '/system',
|
||||||
|
method: 'post',
|
||||||
|
params: {
|
||||||
|
method: 'pickCart.delete',
|
||||||
|
v,
|
||||||
|
timestamp: new Date().getTime()
|
||||||
|
},
|
||||||
|
data,
|
||||||
|
isSystemApi: true
|
||||||
|
} as any)
|
||||||
|
}
|
||||||
|
|
||||||
|
/** pickCart.detail:查询拣货车详情 */
|
||||||
|
export function pickCartDetail(
|
||||||
|
data: PickCartDetailParams
|
||||||
|
): Promise<PickCartDetailResponse & { code?: number; message?: string; data?: Partial<PickCartDetailResponse> }> {
|
||||||
|
return request({
|
||||||
|
url: '/system',
|
||||||
|
method: 'post',
|
||||||
|
params: {
|
||||||
|
method: 'pickCart.detail',
|
||||||
|
v,
|
||||||
|
timestamp: new Date().getTime()
|
||||||
|
},
|
||||||
|
data,
|
||||||
|
isSystemApi: true
|
||||||
|
} as any)
|
||||||
|
}
|
||||||
|
|
||||||
|
/** pickCart.list:分页查询拣货车列表 */
|
||||||
|
export function pickCartList(
|
||||||
|
data: PickCartListParams = {}
|
||||||
|
): Promise<PickCartListResponse & { code?: number; message?: string; data?: Partial<PickCartListResponse> }> {
|
||||||
|
return request({
|
||||||
|
url: '/system',
|
||||||
|
method: 'post',
|
||||||
|
params: {
|
||||||
|
method: 'pickCart.list',
|
||||||
|
v,
|
||||||
|
timestamp: new Date().getTime()
|
||||||
|
},
|
||||||
|
data,
|
||||||
|
isSystemApi: true
|
||||||
|
} as any)
|
||||||
|
}
|
||||||
|
|
||||||
|
/** pickCart.codeDuplicateCheck:拣货车编码查重 */
|
||||||
|
export function pickCartCodeDuplicateCheck(
|
||||||
|
data: PickCartCodeDuplicateCheckParams
|
||||||
|
): Promise<PickCartCodeDuplicateCheckResponse & { code?: number; message?: string; data?: Partial<PickCartCodeDuplicateCheckResponse> }> {
|
||||||
|
return request({
|
||||||
|
url: '/system',
|
||||||
|
method: 'post',
|
||||||
|
params: {
|
||||||
|
method: 'pickCart.codeDuplicateCheck',
|
||||||
|
v,
|
||||||
|
timestamp: new Date().getTime()
|
||||||
|
},
|
||||||
|
data,
|
||||||
|
isSystemApi: true
|
||||||
|
} as any)
|
||||||
|
}
|
||||||
|
|
||||||
|
export const pickCart = {
|
||||||
|
scan: pickCartScan,
|
||||||
|
bindTaskCart: pickCartBindTaskCart,
|
||||||
|
create: pickCartCreate,
|
||||||
|
update: pickCartUpdate,
|
||||||
|
delete: pickCartDelete,
|
||||||
|
detail: pickCartDetail,
|
||||||
|
list: pickCartList,
|
||||||
|
codeDuplicateCheck: pickCartCodeDuplicateCheck
|
||||||
|
}
|
||||||
@ -63,6 +63,7 @@ export default {
|
|||||||
'shops':'Shops',
|
'shops':'Shops',
|
||||||
'packageMaterial':'Package Material',
|
'packageMaterial':'Package Material',
|
||||||
'packageSupplier':'Package Supplier',
|
'packageSupplier':'Package Supplier',
|
||||||
|
'pickcart':'Pickcart',
|
||||||
},
|
},
|
||||||
"login": {
|
"login": {
|
||||||
"title": "Login",
|
"title": "Login",
|
||||||
|
|||||||
@ -64,6 +64,7 @@ export default {
|
|||||||
'shops':'店铺管理',
|
'shops':'店铺管理',
|
||||||
'packageMaterial':'包材管理',
|
'packageMaterial':'包材管理',
|
||||||
'packageSupplier':'包装供应商',
|
'packageSupplier':'包装供应商',
|
||||||
|
'pickcart':'拣货车',
|
||||||
},
|
},
|
||||||
"login": {
|
"login": {
|
||||||
"title": "登录",
|
"title": "登录",
|
||||||
|
|||||||
@ -41,4 +41,5 @@ export const componentMap: Record<string, any> = {
|
|||||||
'system/setting/shops/index':() => import('@/views/system/setting/shops/index.vue'),
|
'system/setting/shops/index':() => import('@/views/system/setting/shops/index.vue'),
|
||||||
'material/packageMaterial/index':() => import('@/views/material/packageMaterial/index.vue'),
|
'material/packageMaterial/index':() => import('@/views/material/packageMaterial/index.vue'),
|
||||||
'material/packageSupplier/index':() => import('@/views/material/packageSupplier/index.vue'),
|
'material/packageSupplier/index':() => import('@/views/material/packageSupplier/index.vue'),
|
||||||
|
'system/setting/pickcart/index':() => import('@/views/system/setting/pickcart/index.vue'),
|
||||||
};
|
};
|
||||||
@ -19,6 +19,11 @@
|
|||||||
{{ translateOrderField('sync_status', detail.sync_status) }}
|
{{ translateOrderField('sync_status', detail.sync_status) }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="复核">
|
||||||
|
<el-tag :type="getTagType('inspection_status', detail.inspection_status)" size="small">
|
||||||
|
{{ translateOrderField('inspection_status', detail.inspection_status) }}
|
||||||
|
</el-tag>
|
||||||
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="分配状态">
|
<el-descriptions-item label="分配状态">
|
||||||
<el-tag :type="getTagType('storage_status', detail.storage_status)" size="small">
|
<el-tag :type="getTagType('storage_status', detail.storage_status)" size="small">
|
||||||
{{ translateOrderField('storage_status', detail.storage_status) }}
|
{{ translateOrderField('storage_status', detail.storage_status) }}
|
||||||
|
|||||||
@ -671,6 +671,7 @@ export const reviewColums = [
|
|||||||
{ prop: 'mobile', label: '手机号', width: '120' },
|
{ prop: 'mobile', label: '手机号', width: '120' },
|
||||||
{ prop: 'status', label: '订单状态', width: '100' },
|
{ prop: 'status', label: '订单状态', width: '100' },
|
||||||
{ prop: 'sync_status', label: '同步状态', width: '100' },
|
{ prop: 'sync_status', label: '同步状态', width: '100' },
|
||||||
|
{ prop: 'inspection_status', label: '复核', width: '100' },
|
||||||
{ prop: 'is_urgency', label: '紧急', width: '80' },
|
{ prop: 'is_urgency', label: '紧急', width: '80' },
|
||||||
{ prop: 'logistics_name', label: '物流公司', width: '120' },
|
{ prop: 'logistics_name', label: '物流公司', width: '120' },
|
||||||
{ prop: 'items_total', label: '商品总数', width: '100' },
|
{ prop: 'items_total', label: '商品总数', width: '100' },
|
||||||
|
|||||||
@ -149,6 +149,12 @@
|
|||||||
</el-tag>
|
</el-tag>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<template #column-inspection_status="{ row }">
|
||||||
|
<el-tag :type="getTagType('inspection_status', row.inspection_status)" size="small">
|
||||||
|
{{ translateOrderField('inspection_status', row.inspection_status) }}
|
||||||
|
</el-tag>
|
||||||
|
</template>
|
||||||
|
|
||||||
<template #empty>
|
<template #empty>
|
||||||
<div class="empty-tip">暂无待处理订单</div>
|
<div class="empty-tip">暂无待处理订单</div>
|
||||||
</template>
|
</template>
|
||||||
@ -343,6 +349,15 @@ const tableSize = ref('small')
|
|||||||
|
|
||||||
const buildPendingColumns = () => {
|
const buildPendingColumns = () => {
|
||||||
const source = Array.isArray(pendingCloums) ? [...pendingCloums] : []
|
const source = Array.isArray(pendingCloums) ? [...pendingCloums] : []
|
||||||
|
const inspectionColumn = { prop: 'inspection_status', label: '复核', width: '100' }
|
||||||
|
if (!source.some((col: any) => String(col?.prop || '') === 'inspection_status')) {
|
||||||
|
const insertAfterIndex = source.findIndex((col: any) => String(col?.prop || '') === 'sync_status')
|
||||||
|
if (insertAfterIndex >= 0) {
|
||||||
|
source.splice(insertAfterIndex + 1, 0, inspectionColumn)
|
||||||
|
} else {
|
||||||
|
source.push(inspectionColumn)
|
||||||
|
}
|
||||||
|
}
|
||||||
if (source.some((col: any) => String(col?.prop || '') === 'print_status')) {
|
if (source.some((col: any) => String(col?.prop || '') === 'print_status')) {
|
||||||
return source
|
return source
|
||||||
}
|
}
|
||||||
|
|||||||
@ -74,6 +74,12 @@
|
|||||||
</el-tag>
|
</el-tag>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<template #column-inspection_status="{ row }">
|
||||||
|
<el-tag :type="getTagType('inspection_status', row.inspection_status)" size="small">
|
||||||
|
{{ translateOrderField('inspection_status', row.inspection_status) }}
|
||||||
|
</el-tag>
|
||||||
|
</template>
|
||||||
|
|
||||||
<template #column-is_urgency="{ row }">
|
<template #column-is_urgency="{ row }">
|
||||||
<el-tag :type="getTagType('is_urgency', row.is_urgency)" size="small">
|
<el-tag :type="getTagType('is_urgency', row.is_urgency)" size="small">
|
||||||
{{ translateOrderField('is_urgency', row.is_urgency) }}
|
{{ translateOrderField('is_urgency', row.is_urgency) }}
|
||||||
|
|||||||
@ -39,6 +39,12 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="toolbar-right">
|
<div class="toolbar-right">
|
||||||
|
<span class="toolbar-switch-label">仅待复核波次</span>
|
||||||
|
<el-switch
|
||||||
|
v-model="onlyTodoWaves"
|
||||||
|
size="small"
|
||||||
|
@change="handleOnlyTodoChange"
|
||||||
|
/>
|
||||||
<span class="toolbar-switch-label">显示库内抓取波次</span>
|
<span class="toolbar-switch-label">显示库内抓取波次</span>
|
||||||
<el-switch
|
<el-switch
|
||||||
v-model="showInternalSourceWaves"
|
v-model="showInternalSourceWaves"
|
||||||
@ -122,6 +128,22 @@
|
|||||||
</el-tag>
|
</el-tag>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<template #column-sync_assignment_status="{ row }">
|
||||||
|
<el-tag size="small" :type="getWaveAssignmentAggregateTagType(row.sync_assignment_status)">
|
||||||
|
{{ formatWaveSyncAssignmentStatusLabel(row.sync_assignment_status) }}
|
||||||
|
</el-tag>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<template #column-review_assignment_status="{ row }">
|
||||||
|
<el-tag size="small" :type="getWaveAssignmentAggregateTagType(row.review_assignment_status)">
|
||||||
|
{{ formatWaveReviewAssignmentStatusLabel(row.review_assignment_status) }}
|
||||||
|
</el-tag>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<template #column-unreviewed_order_count="{ row }">
|
||||||
|
<span>{{ row.unreviewed_order_count ?? '—' }}</span>
|
||||||
|
</template>
|
||||||
|
|
||||||
<template #column-distinguish_express="{ row }">
|
<template #column-distinguish_express="{ row }">
|
||||||
<el-tag size="small" :type="Number(row?.distinguish_express) ? 'warning' : 'info'">
|
<el-tag size="small" :type="Number(row?.distinguish_express) ? 'warning' : 'info'">
|
||||||
{{ Number(row?.distinguish_express) ? '是' : '否' }}
|
{{ Number(row?.distinguish_express) ? '是' : '否' }}
|
||||||
@ -854,6 +876,8 @@ import {
|
|||||||
unwrapWavePlatformPrintPayload,
|
unwrapWavePlatformPrintPayload,
|
||||||
formatWaveExpressAssignmentStatusLabel,
|
formatWaveExpressAssignmentStatusLabel,
|
||||||
formatWavePrintAssignmentStatusLabel,
|
formatWavePrintAssignmentStatusLabel,
|
||||||
|
formatWaveSyncAssignmentStatusLabel,
|
||||||
|
formatWaveReviewAssignmentStatusLabel,
|
||||||
getWaveAssignmentAggregateTagType
|
getWaveAssignmentAggregateTagType
|
||||||
} from './config/wave-config'
|
} from './config/wave-config'
|
||||||
import { safeInvoke } from '@/utils/safe-invoke'
|
import { safeInvoke } from '@/utils/safe-invoke'
|
||||||
@ -952,6 +976,7 @@ const groupOrderTableRef = ref<any>(null)
|
|||||||
const scrollContainerRef = ref<HTMLElement | null>(null)
|
const scrollContainerRef = ref<HTMLElement | null>(null)
|
||||||
const loading = ref(false)
|
const loading = ref(false)
|
||||||
const showInternalSourceWaves = ref(false)
|
const showInternalSourceWaves = ref(false)
|
||||||
|
const onlyTodoWaves = ref(false)
|
||||||
const batchAutoGroupingLoading = ref(false)
|
const batchAutoGroupingLoading = ref(false)
|
||||||
const batchFinishAutoGroupingLoading = ref(false)
|
const batchFinishAutoGroupingLoading = ref(false)
|
||||||
const batchCancelLoading = ref(false)
|
const batchCancelLoading = ref(false)
|
||||||
@ -1402,6 +1427,7 @@ async function loadData() {
|
|||||||
page: pagination.currentPage,
|
page: pagination.currentPage,
|
||||||
pageSize: pagination.pageSize
|
pageSize: pagination.pageSize
|
||||||
},
|
},
|
||||||
|
...(onlyTodoWaves.value ? { only_todo: 1 } : {}),
|
||||||
where
|
where
|
||||||
}) as WaveBatchListResponse & { code?: number; message?: string; data?: Partial<WaveBatchListResponse> }
|
}) as WaveBatchListResponse & { code?: number; message?: string; data?: Partial<WaveBatchListResponse> }
|
||||||
if (!res || !okCode(res.code)) {
|
if (!res || !okCode(res.code)) {
|
||||||
@ -1450,6 +1476,11 @@ function handleSourceFilterChange() {
|
|||||||
void loadData()
|
void loadData()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function handleOnlyTodoChange() {
|
||||||
|
pagination.currentPage = 1
|
||||||
|
void loadData()
|
||||||
|
}
|
||||||
|
|
||||||
function buildWhereConditions(rawConditions: Record<string, any>) {
|
function buildWhereConditions(rawConditions: Record<string, any>) {
|
||||||
const where: Record<string, any> = {}
|
const where: Record<string, any> = {}
|
||||||
Object.keys(rawConditions || {}).forEach((key) => {
|
Object.keys(rawConditions || {}).forEach((key) => {
|
||||||
|
|||||||
@ -39,6 +39,12 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="toolbar-right">
|
<div class="toolbar-right">
|
||||||
|
<span class="toolbar-switch-label">仅待复核波次</span>
|
||||||
|
<el-switch
|
||||||
|
v-model="onlyTodoWaves"
|
||||||
|
size="small"
|
||||||
|
@change="handleOnlyTodoChange"
|
||||||
|
/>
|
||||||
<span class="toolbar-switch-label">显示库内抓取波次</span>
|
<span class="toolbar-switch-label">显示库内抓取波次</span>
|
||||||
<el-switch
|
<el-switch
|
||||||
v-model="showInternalSourceWaves"
|
v-model="showInternalSourceWaves"
|
||||||
@ -122,6 +128,22 @@
|
|||||||
</el-tag>
|
</el-tag>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<template #column-sync_assignment_status="{ row }">
|
||||||
|
<el-tag size="small" :type="getWaveAssignmentAggregateTagType(row.sync_assignment_status)">
|
||||||
|
{{ formatWaveSyncAssignmentStatusLabel(row.sync_assignment_status) }}
|
||||||
|
</el-tag>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<template #column-review_assignment_status="{ row }">
|
||||||
|
<el-tag size="small" :type="getWaveAssignmentAggregateTagType(row.review_assignment_status)">
|
||||||
|
{{ formatWaveReviewAssignmentStatusLabel(row.review_assignment_status) }}
|
||||||
|
</el-tag>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<template #column-unreviewed_order_count="{ row }">
|
||||||
|
<span>{{ row.unreviewed_order_count ?? '—' }}</span>
|
||||||
|
</template>
|
||||||
|
|
||||||
<template #column-distinguish_express="{ row }">
|
<template #column-distinguish_express="{ row }">
|
||||||
<el-tag size="small" :type="Number(row?.distinguish_express) ? 'warning' : 'info'">
|
<el-tag size="small" :type="Number(row?.distinguish_express) ? 'warning' : 'info'">
|
||||||
{{ Number(row?.distinguish_express) ? '是' : '否' }}
|
{{ Number(row?.distinguish_express) ? '是' : '否' }}
|
||||||
@ -447,6 +469,8 @@ import {
|
|||||||
unwrapWavePlatformPrintPayload,
|
unwrapWavePlatformPrintPayload,
|
||||||
formatWaveExpressAssignmentStatusLabel,
|
formatWaveExpressAssignmentStatusLabel,
|
||||||
formatWavePrintAssignmentStatusLabel,
|
formatWavePrintAssignmentStatusLabel,
|
||||||
|
formatWaveSyncAssignmentStatusLabel,
|
||||||
|
formatWaveReviewAssignmentStatusLabel,
|
||||||
getWaveAssignmentAggregateTagType
|
getWaveAssignmentAggregateTagType
|
||||||
} from './config/wave-config'
|
} from './config/wave-config'
|
||||||
import { safeInvoke } from '@/utils/safe-invoke'
|
import { safeInvoke } from '@/utils/safe-invoke'
|
||||||
@ -520,6 +544,7 @@ const groupOrderTableRef = ref<any>(null)
|
|||||||
const scrollContainerRef = ref<HTMLElement | null>(null)
|
const scrollContainerRef = ref<HTMLElement | null>(null)
|
||||||
const loading = ref(false)
|
const loading = ref(false)
|
||||||
const showInternalSourceWaves = ref(false)
|
const showInternalSourceWaves = ref(false)
|
||||||
|
const onlyTodoWaves = ref(false)
|
||||||
const batchAutoGroupingLoading = ref(false)
|
const batchAutoGroupingLoading = ref(false)
|
||||||
const batchFinishAutoGroupingLoading = ref(false)
|
const batchFinishAutoGroupingLoading = ref(false)
|
||||||
const batchCancelLoading = ref(false)
|
const batchCancelLoading = ref(false)
|
||||||
@ -833,6 +858,7 @@ async function loadData() {
|
|||||||
page: pagination.currentPage,
|
page: pagination.currentPage,
|
||||||
pageSize: pagination.pageSize
|
pageSize: pagination.pageSize
|
||||||
},
|
},
|
||||||
|
...(onlyTodoWaves.value ? { only_todo: 1 } : {}),
|
||||||
where
|
where
|
||||||
}) as WaveBatchListResponse & { code?: number; message?: string; data?: Partial<WaveBatchListResponse> }
|
}) as WaveBatchListResponse & { code?: number; message?: string; data?: Partial<WaveBatchListResponse> }
|
||||||
if (!res || !okCode(res.code)) {
|
if (!res || !okCode(res.code)) {
|
||||||
@ -881,6 +907,11 @@ function handleSourceFilterChange() {
|
|||||||
void loadData()
|
void loadData()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function handleOnlyTodoChange() {
|
||||||
|
pagination.currentPage = 1
|
||||||
|
void loadData()
|
||||||
|
}
|
||||||
|
|
||||||
function buildWhereConditions(rawConditions: Record<string, any>) {
|
function buildWhereConditions(rawConditions: Record<string, any>) {
|
||||||
const where: Record<string, any> = {}
|
const where: Record<string, any> = {}
|
||||||
Object.keys(rawConditions || {}).forEach((key) => {
|
Object.keys(rawConditions || {}).forEach((key) => {
|
||||||
|
|||||||
@ -149,7 +149,7 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" width="220" fixed="right" align="center">
|
<el-table-column label="操作" width="220" fixed="right" align="center">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<el-button type="primary" link :disabled="!getTaskId(row)" @click="openTaskDetail(row)">详情</el-button>
|
<!-- <el-button type="primary" link :disabled="!getTaskId(row)" @click="openTaskDetail(row)">详情</el-button> -->
|
||||||
<!-- <el-button
|
<!-- <el-button
|
||||||
v-if="isSelfCreatedTask(row)"
|
v-if="isSelfCreatedTask(row)"
|
||||||
type="warning"
|
type="warning"
|
||||||
@ -236,6 +236,11 @@
|
|||||||
class="pick-task-detail-alert"
|
class="pick-task-detail-alert"
|
||||||
/>
|
/>
|
||||||
<template v-if="taskDetailPayload && !taskDetailLoading">
|
<template v-if="taskDetailPayload && !taskDetailLoading">
|
||||||
|
<div v-if="taskDetailIsCompleted !== null" class="pick-task-detail-status">
|
||||||
|
<el-tag :type="taskDetailIsCompleted ? 'success' : 'warning'" size="small">
|
||||||
|
{{ taskDetailIsCompleted ? '任务已完成' : '任务进行中' }}
|
||||||
|
</el-tag>
|
||||||
|
</div>
|
||||||
<el-tabs v-model="taskDetailActiveTab" type="border-card">
|
<el-tabs v-model="taskDetailActiveTab" type="border-card">
|
||||||
<el-tab-pane label="任务 task" name="task">
|
<el-tab-pane label="任务 task" name="task">
|
||||||
<el-descriptions v-if="taskDetailTaskEntries.length" :column="2" border size="small">
|
<el-descriptions v-if="taskDetailTaskEntries.length" :column="2" border size="small">
|
||||||
@ -379,6 +384,17 @@ const taskDetailPermissionHint = ref('')
|
|||||||
const taskDetailActiveTab = ref('task')
|
const taskDetailActiveTab = ref('task')
|
||||||
const taskDetailQueryForm = reactive<{ task_id: number | undefined }>({ task_id: undefined })
|
const taskDetailQueryForm = reactive<{ task_id: number | undefined }>({ task_id: undefined })
|
||||||
|
|
||||||
|
const taskDetailIsCompleted = computed<boolean | null>(() => {
|
||||||
|
const payload = taskDetailPayload.value
|
||||||
|
if (!payload) return null
|
||||||
|
if (typeof payload.is_completed === 'boolean') return payload.is_completed
|
||||||
|
const task = payload.task
|
||||||
|
if (task && typeof task === 'object' && typeof (task as Record<string, unknown>).is_completed === 'boolean') {
|
||||||
|
return (task as Record<string, unknown>).is_completed as boolean
|
||||||
|
}
|
||||||
|
return null
|
||||||
|
})
|
||||||
|
|
||||||
const cancelSelfTaskId = ref<number | string | null>(null)
|
const cancelSelfTaskId = ref<number | string | null>(null)
|
||||||
|
|
||||||
const taskDetailTaskEntries = computed(() => {
|
const taskDetailTaskEntries = computed(() => {
|
||||||
@ -1104,6 +1120,10 @@ onMounted(() => {
|
|||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.pick-task-detail-status {
|
||||||
|
margin-bottom: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
.pick-task-detail-body {
|
.pick-task-detail-body {
|
||||||
min-height: 120px;
|
min-height: 120px;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -24,6 +24,9 @@
|
|||||||
<el-descriptions-item label="库位分配状态">{{ getStorageAssignmentStatusText(row) }}</el-descriptions-item>
|
<el-descriptions-item label="库位分配状态">{{ getStorageAssignmentStatusText(row) }}</el-descriptions-item>
|
||||||
<el-descriptions-item label="快递分配状态">{{ formatWaveExpressAssignmentStatusLabel(row.express_assignment_status) }}</el-descriptions-item>
|
<el-descriptions-item label="快递分配状态">{{ formatWaveExpressAssignmentStatusLabel(row.express_assignment_status) }}</el-descriptions-item>
|
||||||
<el-descriptions-item label="打印分配状态">{{ formatWavePrintAssignmentStatusLabel(row.print_assignment_status) }}</el-descriptions-item>
|
<el-descriptions-item label="打印分配状态">{{ formatWavePrintAssignmentStatusLabel(row.print_assignment_status) }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="同步状态">{{ formatWaveSyncAssignmentStatusLabel(row.sync_assignment_status) }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="复核状态">{{ formatWaveReviewAssignmentStatusLabel(row.review_assignment_status) }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="未复核订单数">{{ row.unreviewed_order_count ?? '—' }}</el-descriptions-item>
|
||||||
<el-descriptions-item label="库位分配异常" :span="3">{{ getStorageAssignmentError(row) }}</el-descriptions-item>
|
<el-descriptions-item label="库位分配异常" :span="3">{{ getStorageAssignmentError(row) }}</el-descriptions-item>
|
||||||
</el-descriptions>
|
</el-descriptions>
|
||||||
</div>
|
</div>
|
||||||
@ -50,7 +53,9 @@ import {
|
|||||||
waveStorageAssignmentStatusTextMap,
|
waveStorageAssignmentStatusTextMap,
|
||||||
waveTypeTextMap,
|
waveTypeTextMap,
|
||||||
formatWaveExpressAssignmentStatusLabel,
|
formatWaveExpressAssignmentStatusLabel,
|
||||||
formatWavePrintAssignmentStatusLabel
|
formatWavePrintAssignmentStatusLabel,
|
||||||
|
formatWaveSyncAssignmentStatusLabel,
|
||||||
|
formatWaveReviewAssignmentStatusLabel
|
||||||
} from '../config/wave-config'
|
} from '../config/wave-config'
|
||||||
|
|
||||||
defineProps<{
|
defineProps<{
|
||||||
|
|||||||
@ -72,6 +72,16 @@ export const waveAvailableFields = [
|
|||||||
{ label: '部分打印', value: 'partially_printed' },
|
{ label: '部分打印', value: 'partially_printed' },
|
||||||
{ label: '已打印', value: 'printed' },
|
{ label: '已打印', value: 'printed' },
|
||||||
]},
|
]},
|
||||||
|
{ label: '同步状态', value: 'sync_assignment_status', type: 'select', options: [
|
||||||
|
{ label: '未同步', value: 'unsynced' },
|
||||||
|
{ label: '部分同步', value: 'partially_synced' },
|
||||||
|
{ label: '已同步', value: 'synced' },
|
||||||
|
]},
|
||||||
|
{ 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: 'creator', type: 'text' },
|
||||||
{ label: '快递', value: 'logistics_name', type: 'text' },
|
{ label: '快递', value: 'logistics_name', type: 'text' },
|
||||||
// { label: '商品类型', value: 'item_part_type', type: 'text' },
|
// { label: '商品类型', value: 'item_part_type', type: 'text' },
|
||||||
@ -196,6 +206,9 @@ export const waveBatchColumns = [
|
|||||||
{ prop: 'storage_assignment_status', label: '库位分配', minWidth: 120 },
|
{ prop: 'storage_assignment_status', label: '库位分配', minWidth: 120 },
|
||||||
{ prop: 'express_assignment_status', label: '快递分配', minWidth: 120 },
|
{ prop: 'express_assignment_status', label: '快递分配', minWidth: 120 },
|
||||||
{ prop: 'print_assignment_status', label: '打印状态', minWidth: 110 },
|
{ prop: 'print_assignment_status', label: '打印状态', minWidth: 110 },
|
||||||
|
{ prop: 'sync_assignment_status', label: '同步状态', minWidth: 110 },
|
||||||
|
{ prop: 'review_assignment_status', label: '复核状态', minWidth: 110 },
|
||||||
|
{ prop: 'unreviewed_order_count', label: '未复核数', minWidth: 96, align: 'right' },
|
||||||
{ prop: 'logistics_name', label: '快递', minWidth: 120 },
|
{ prop: 'logistics_name', label: '快递', minWidth: 120 },
|
||||||
{ prop: 'item_snapshot_key', label: '商品快照键', minWidth: 320 },
|
{ prop: 'item_snapshot_key', label: '商品快照键', minWidth: 320 },
|
||||||
{ prop: 'creator', label: '创建人', minWidth: 100 },
|
{ prop: 'creator', label: '创建人', minWidth: 100 },
|
||||||
@ -221,6 +234,8 @@ export const waveWhereAllowedFieldList = [
|
|||||||
'storage_assignment_status',
|
'storage_assignment_status',
|
||||||
'express_assignment_status',
|
'express_assignment_status',
|
||||||
'print_assignment_status',
|
'print_assignment_status',
|
||||||
|
'sync_assignment_status',
|
||||||
|
'review_assignment_status',
|
||||||
'total_orders_min',
|
'total_orders_min',
|
||||||
'total_orders_max',
|
'total_orders_max',
|
||||||
'processed_orders_min',
|
'processed_orders_min',
|
||||||
@ -249,6 +264,24 @@ const wavePrintAssignmentStatusLabelMap: Record<string, string> = {
|
|||||||
已打印: '已打印'
|
已打印: '已打印'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const waveSyncAssignmentStatusLabelMap: Record<string, string> = {
|
||||||
|
unsynced: '未同步',
|
||||||
|
partially_synced: '部分同步',
|
||||||
|
synced: '已同步',
|
||||||
|
未同步: '未同步',
|
||||||
|
部分同步: '部分同步',
|
||||||
|
已同步: '已同步'
|
||||||
|
}
|
||||||
|
|
||||||
|
const waveReviewAssignmentStatusLabelMap: Record<string, string> = {
|
||||||
|
unreviewed: '未复核',
|
||||||
|
partially_reviewed: '部分复核',
|
||||||
|
reviewed: '已复核',
|
||||||
|
未复核: '未复核',
|
||||||
|
部分复核: '部分复核',
|
||||||
|
已复核: '已复核'
|
||||||
|
}
|
||||||
|
|
||||||
export function formatWaveExpressAssignmentStatusLabel(value: string | number | null | undefined): string {
|
export function formatWaveExpressAssignmentStatusLabel(value: string | number | null | undefined): string {
|
||||||
if (value === undefined || value === null || value === '') return '—'
|
if (value === undefined || value === null || value === '') return '—'
|
||||||
const key = String(value).trim()
|
const key = String(value).trim()
|
||||||
@ -261,12 +294,24 @@ export function formatWavePrintAssignmentStatusLabel(value: string | number | nu
|
|||||||
return wavePrintAssignmentStatusLabelMap[key] ?? wavePrintAssignmentStatusLabelMap[key.toLowerCase()] ?? key
|
return wavePrintAssignmentStatusLabelMap[key] ?? wavePrintAssignmentStatusLabelMap[key.toLowerCase()] ?? key
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function formatWaveSyncAssignmentStatusLabel(value: string | number | null | undefined): string {
|
||||||
|
if (value === undefined || value === null || value === '') return '—'
|
||||||
|
const key = String(value).trim()
|
||||||
|
return waveSyncAssignmentStatusLabelMap[key] ?? waveSyncAssignmentStatusLabelMap[key.toLowerCase()] ?? key
|
||||||
|
}
|
||||||
|
|
||||||
|
export function formatWaveReviewAssignmentStatusLabel(value: string | number | null | undefined): string {
|
||||||
|
if (value === undefined || value === null || value === '') return '—'
|
||||||
|
const key = String(value).trim()
|
||||||
|
return waveReviewAssignmentStatusLabelMap[key] ?? waveReviewAssignmentStatusLabelMap[key.toLowerCase()] ?? key
|
||||||
|
}
|
||||||
|
|
||||||
/** 快递分配 / 打印状态 / 库位分配等聚合状态列的 tag 类型(兼容英文枚举与中文文案) */
|
/** 快递分配 / 打印状态 / 库位分配等聚合状态列的 tag 类型(兼容英文枚举与中文文案) */
|
||||||
export function getWaveAssignmentAggregateTagType(value: string | number | null | undefined): 'success' | 'warning' | 'info' | 'danger' {
|
export function getWaveAssignmentAggregateTagType(value: string | number | null | undefined): 'success' | 'warning' | 'info' | 'danger' {
|
||||||
const v = String(value ?? '').toLowerCase().trim()
|
const v = String(value ?? '').toLowerCase().trim()
|
||||||
if (v === 'unassigned' || v === 'unprinted') return 'info'
|
if (v === 'unassigned' || v === 'unprinted' || v === 'unsynced' || v === 'unreviewed') return 'info'
|
||||||
if (v === 'partially_assigned' || v === 'partially_printed') return 'warning'
|
if (v === 'partially_assigned' || v === 'partially_printed' || v === 'partially_synced' || v === 'partially_reviewed') return 'warning'
|
||||||
if (v === 'assigned' || v === 'printed') return 'success'
|
if (v === 'assigned' || v === 'printed' || v === 'synced' || v === 'reviewed') return 'success'
|
||||||
const text = String(value ?? '')
|
const text = String(value ?? '')
|
||||||
if (text.includes('异常') || text.includes('失败') || text.includes('超时')) return 'danger'
|
if (text.includes('异常') || text.includes('失败') || text.includes('超时')) return 'danger'
|
||||||
if (text.includes('处理中')) return 'warning'
|
if (text.includes('处理中')) return 'warning'
|
||||||
@ -675,10 +720,11 @@ export type PickTaskWaveToolbarButton = {
|
|||||||
|
|
||||||
/** 工具栏按钮顺序与类型(与散单页工具条同一套间距/滚动行为) */
|
/** 工具栏按钮顺序与类型(与散单页工具条同一套间距/滚动行为) */
|
||||||
export const pickTaskWaveToolbarButtons: PickTaskWaveToolbarButton[] = [
|
export const pickTaskWaveToolbarButtons: PickTaskWaveToolbarButton[] = [
|
||||||
|
{ key: 'refresh', label: '刷新', size: 'small' },
|
||||||
{ key: 'search', label: '查询', type: 'primary', size: 'small' },
|
{ key: 'search', label: '查询', type: 'primary', size: 'small' },
|
||||||
{ key: 'detailQuery', label: '按任务ID查详情', size: 'small' },
|
{ key: 'detailQuery', label: '按任务ID查详情', size: 'small' },
|
||||||
{ key: 'batchCancel', label: '批量取消任务', type: 'danger', size: 'small' },
|
{ key: 'batchCancel', label: '批量取消任务', type: 'danger', size: 'small' },
|
||||||
{ key: 'refresh', label: '刷新', size: 'small' }
|
|
||||||
]
|
]
|
||||||
|
|
||||||
/** 左侧筛选字段(与 order.wave.wavePickTaskList 入参对应) */
|
/** 左侧筛选字段(与 order.wave.wavePickTaskList 入参对应) */
|
||||||
|
|||||||
641
src/views/system/setting/pickcart/index.vue
Normal file
641
src/views/system/setting/pickcart/index.vue
Normal file
@ -0,0 +1,641 @@
|
|||||||
|
<template>
|
||||||
|
<div class="pickcart-container" :style="{ height: containerHeight }">
|
||||||
|
<scan-box
|
||||||
|
ref="scanBox"
|
||||||
|
width="250px"
|
||||||
|
:tree-props="{ children: 'children', label: 'label' }"
|
||||||
|
:auto-submit="false"
|
||||||
|
:preset-tree="presetTree"
|
||||||
|
:available-fields="availableFieldsRef"
|
||||||
|
@condition-change="handleConditionChange"
|
||||||
|
@reset="handleConditionReset"
|
||||||
|
@condition-clear="handleConditionClear"
|
||||||
|
@submit="handleSubmit"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<div class="main-content">
|
||||||
|
<div class="toolbar">
|
||||||
|
<div class="toolbar-left">
|
||||||
|
<el-button size="small" type="primary" :loading="loading" @click="loadList">刷新</el-button>
|
||||||
|
<el-button size="small" @click="openScanDialog">扫码查询</el-button>
|
||||||
|
<el-tag size="small" type="info">共 {{ pagination.total }} 条</el-tag>
|
||||||
|
</div>
|
||||||
|
<el-button type="success" size="small" @click="openCreate">新增拣货车</el-button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="upper-wrapper">
|
||||||
|
<upper-table
|
||||||
|
ref="upperTable"
|
||||||
|
title="拣货车列表"
|
||||||
|
table-id="setting-pickcart"
|
||||||
|
:data="tableData"
|
||||||
|
:columns="columns"
|
||||||
|
:table-size="tableSize"
|
||||||
|
:pagination="pagination"
|
||||||
|
:show-index="true"
|
||||||
|
:show-actions="true"
|
||||||
|
:loading="loading"
|
||||||
|
:query-time="queryTime"
|
||||||
|
row-key="cart_id"
|
||||||
|
@page-change="handlePageChange"
|
||||||
|
@page-size-change="handlePageSizeChange"
|
||||||
|
@refresh="loadList"
|
||||||
|
>
|
||||||
|
<template #column-status="{ row }">
|
||||||
|
<el-tag :type="formatPickCartStatus(row.status).type" size="small">
|
||||||
|
{{ formatPickCartStatus(row.status).text }}
|
||||||
|
</el-tag>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<template #column-current_task_no="{ row }">
|
||||||
|
<template v-if="row.current_task_id">
|
||||||
|
<el-tag type="warning" size="small">{{ row.current_task_no || row.current_task_id }}</el-tag>
|
||||||
|
</template>
|
||||||
|
<el-text v-else type="info" size="small">未绑定</el-text>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<template #column-actions="{ row }">
|
||||||
|
<el-button link type="primary" size="small" @click.stop="openDetail(row)">详情</el-button>
|
||||||
|
<el-button link type="primary" size="small" @click.stop="openEdit(row)">编辑</el-button>
|
||||||
|
<el-button link type="success" size="small" @click.stop="openBind(row)">绑定任务</el-button>
|
||||||
|
<el-button link type="danger" size="small" @click.stop="handleDelete(row)">删除</el-button>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<template #empty>
|
||||||
|
<div class="empty-tip">暂无拣货车数据,可调整左侧筛选条件或点击新增</div>
|
||||||
|
</template>
|
||||||
|
</upper-table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- 新增/编辑 -->
|
||||||
|
<el-dialog
|
||||||
|
v-model="dialogVisible"
|
||||||
|
:title="dialogMode === 'create' ? '新增拣货车' : '编辑拣货车'"
|
||||||
|
width="520px"
|
||||||
|
align-center
|
||||||
|
@close="resetForm"
|
||||||
|
>
|
||||||
|
<el-form ref="formRef" :model="formData" :rules="rules" label-width="110px">
|
||||||
|
<el-form-item label="拣货车编码" prop="cart_code">
|
||||||
|
<el-input
|
||||||
|
v-model="formData.cart_code"
|
||||||
|
placeholder="当前仓库内唯一"
|
||||||
|
maxlength="64"
|
||||||
|
show-word-limit
|
||||||
|
@blur="handleCodeBlur"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="名称" prop="cart_name">
|
||||||
|
<el-input v-model="formData.cart_name" placeholder="可选" maxlength="100" show-word-limit />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="状态" prop="status">
|
||||||
|
<el-radio-group v-model="formData.status">
|
||||||
|
<el-radio :label="1">启用</el-radio>
|
||||||
|
<el-radio :label="0">停用</el-radio>
|
||||||
|
</el-radio-group>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item v-if="codeCheckHint">
|
||||||
|
<el-text :type="codeCheckHint.type" size="small">{{ codeCheckHint.text }}</el-text>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
<template #footer>
|
||||||
|
<el-button @click="dialogVisible = false">取消</el-button>
|
||||||
|
<el-button type="primary" :loading="saving" @click="submitForm">保存</el-button>
|
||||||
|
</template>
|
||||||
|
</el-dialog>
|
||||||
|
|
||||||
|
<!-- 详情 -->
|
||||||
|
<el-drawer v-model="detailVisible" title="拣货车详情" size="480px" @close="detailData = null">
|
||||||
|
<div v-loading="detailLoading" class="detail-body">
|
||||||
|
<template v-if="detailData">
|
||||||
|
<el-descriptions :column="1" border size="small">
|
||||||
|
<el-descriptions-item label="ID">{{ detailData.cart_id }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="仓库ID">{{ detailData.warehouse_id }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="编码">{{ detailData.cart_code }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="名称">{{ detailData.cart_name || '--' }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="状态">
|
||||||
|
<el-tag :type="formatPickCartStatus(detailData.status).type" size="small">
|
||||||
|
{{ formatPickCartStatus(detailData.status).text }}
|
||||||
|
</el-tag>
|
||||||
|
</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="绑定任务ID">
|
||||||
|
{{ detailData.current_task_id ?? '未绑定' }}
|
||||||
|
</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="绑定任务编号">
|
||||||
|
{{ detailData.current_task_no || '--' }}
|
||||||
|
</el-descriptions-item>
|
||||||
|
</el-descriptions>
|
||||||
|
</template>
|
||||||
|
<el-empty v-else-if="!detailLoading" description="暂无详情" />
|
||||||
|
</div>
|
||||||
|
</el-drawer>
|
||||||
|
|
||||||
|
<!-- 扫码查询 -->
|
||||||
|
<el-dialog v-model="scanDialogVisible" title="扫码查询拣货车" width="520px" align-center @close="resetScan">
|
||||||
|
<el-form label-width="110px" @submit.prevent="submitScan">
|
||||||
|
<el-form-item label="拣货车编码">
|
||||||
|
<el-input
|
||||||
|
v-model="scanForm.cart_code"
|
||||||
|
placeholder="输入或扫描条码后回车"
|
||||||
|
clearable
|
||||||
|
@keyup.enter="submitScan"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
<div v-if="scanResult" class="scan-result">
|
||||||
|
<el-descriptions :column="1" border size="small">
|
||||||
|
<el-descriptions-item label="ID">{{ scanResult.cart_id }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="编码">{{ scanResult.cart_code }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="名称">{{ scanResult.cart_name || '--' }}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="状态">
|
||||||
|
<el-tag :type="formatPickCartStatus(scanResult.status).type" size="small">
|
||||||
|
{{ formatPickCartStatus(scanResult.status).text }}
|
||||||
|
</el-tag>
|
||||||
|
</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="绑定任务">
|
||||||
|
{{ scanResult.current_task_no || scanResult.current_task_id || '未绑定' }}
|
||||||
|
</el-descriptions-item>
|
||||||
|
</el-descriptions>
|
||||||
|
</div>
|
||||||
|
<template #footer>
|
||||||
|
<el-button @click="scanDialogVisible = false">关闭</el-button>
|
||||||
|
<el-button type="primary" :loading="scanLoading" @click="submitScan">查询</el-button>
|
||||||
|
</template>
|
||||||
|
</el-dialog>
|
||||||
|
|
||||||
|
<!-- 绑定任务 -->
|
||||||
|
<el-dialog
|
||||||
|
v-model="bindDialogVisible"
|
||||||
|
title="绑定拣货任务"
|
||||||
|
width="520px"
|
||||||
|
align-center
|
||||||
|
@close="resetBindForm"
|
||||||
|
>
|
||||||
|
<el-form ref="bindFormRef" :model="bindForm" :rules="bindRules" label-width="110px">
|
||||||
|
<el-form-item label="拣货车">
|
||||||
|
<el-input :model-value="bindForm.cartLabel" disabled />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="任务ID" prop="task_id">
|
||||||
|
<el-input-number v-model="bindForm.task_id" :min="1" :controls="true" style="width: 100%" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item>
|
||||||
|
<el-text type="info" size="small">
|
||||||
|
若任务已绑定其他拣货车将自动改绑;目标拣货车已绑定其他活动任务时将返回冲突。
|
||||||
|
</el-text>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
<template #footer>
|
||||||
|
<el-button @click="bindDialogVisible = false">取消</el-button>
|
||||||
|
<el-button type="primary" :loading="bindLoading" @click="submitBind">确认绑定</el-button>
|
||||||
|
</template>
|
||||||
|
</el-dialog>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script setup lang="ts">
|
||||||
|
import { computed, onMounted, reactive, ref } from 'vue'
|
||||||
|
import { ElMessage, ElMessageBox } from 'element-plus'
|
||||||
|
import type { FormInstance, FormRules } from 'element-plus'
|
||||||
|
import ScanBox from '@/components/ScanBox/index.vue'
|
||||||
|
import UpperTable from '@/components/UpperTable/index.vue'
|
||||||
|
import {
|
||||||
|
pickCartBindTaskCart,
|
||||||
|
pickCartCodeDuplicateCheck,
|
||||||
|
pickCartCreate,
|
||||||
|
pickCartDelete,
|
||||||
|
pickCartDetail,
|
||||||
|
pickCartList,
|
||||||
|
pickCartScan,
|
||||||
|
pickCartUpdate,
|
||||||
|
type PickCartDetailResponse
|
||||||
|
} from '@/api/pickcart/pickcart'
|
||||||
|
import { useSettingsStore } from '@/stores/modules/settings'
|
||||||
|
import {
|
||||||
|
buildPickCartListPayload,
|
||||||
|
formatPickCartStatus,
|
||||||
|
normalizePickCartScanConditionToWhere,
|
||||||
|
pickCartColumns,
|
||||||
|
pickCartScanFields,
|
||||||
|
type PickCartRecord
|
||||||
|
} from './pickcart-config'
|
||||||
|
|
||||||
|
const settingsStore = useSettingsStore()
|
||||||
|
const scanBox = ref<any>(null)
|
||||||
|
const upperTable = ref<any>(null)
|
||||||
|
|
||||||
|
const presetTree = ref<any[]>([])
|
||||||
|
const availableFieldsRef = reactive(JSON.parse(JSON.stringify(pickCartScanFields)))
|
||||||
|
|
||||||
|
const shortcutExpanded = computed(() => settingsStore.shortcutExpanded)
|
||||||
|
const containerHeight = computed(() =>
|
||||||
|
shortcutExpanded.value ? 'calc(100vh - 150px)' : 'calc(100vh - 100px)'
|
||||||
|
)
|
||||||
|
|
||||||
|
const columns = pickCartColumns
|
||||||
|
const loading = ref(false)
|
||||||
|
const saving = ref(false)
|
||||||
|
const tableData = ref<PickCartRecord[]>([])
|
||||||
|
const queryTime = ref(0)
|
||||||
|
const tableSize = ref<'small' | 'default' | 'large'>('small')
|
||||||
|
const currentConditionRaw = ref<any>(null)
|
||||||
|
|
||||||
|
const pagination = reactive({ currentPage: 1, pageSize: 20, total: 0 })
|
||||||
|
|
||||||
|
const dialogVisible = ref(false)
|
||||||
|
const dialogMode = ref<'create' | 'edit'>('create')
|
||||||
|
const formRef = ref<FormInstance>()
|
||||||
|
const formData = reactive({
|
||||||
|
cart_id: undefined as number | undefined,
|
||||||
|
cart_code: '',
|
||||||
|
cart_name: '',
|
||||||
|
status: 1
|
||||||
|
})
|
||||||
|
|
||||||
|
const codeCheckHint = ref<{ text: string; type: 'success' | 'warning' | 'danger' | 'info' } | null>(null)
|
||||||
|
|
||||||
|
const rules: FormRules = {
|
||||||
|
cart_code: [{ required: true, message: '请输入拣货车编码', trigger: 'blur' }],
|
||||||
|
status: [{ required: true, message: '请选择状态', trigger: 'change' }]
|
||||||
|
}
|
||||||
|
|
||||||
|
const detailVisible = ref(false)
|
||||||
|
const detailLoading = ref(false)
|
||||||
|
const detailData = ref<PickCartDetailResponse | null>(null)
|
||||||
|
|
||||||
|
const scanDialogVisible = ref(false)
|
||||||
|
const scanLoading = ref(false)
|
||||||
|
const scanForm = reactive({ cart_code: '' })
|
||||||
|
const scanResult = ref<PickCartDetailResponse | null>(null)
|
||||||
|
|
||||||
|
const bindDialogVisible = ref(false)
|
||||||
|
const bindLoading = ref(false)
|
||||||
|
const bindFormRef = ref<FormInstance>()
|
||||||
|
const bindForm = reactive({
|
||||||
|
cart_id: undefined as number | undefined,
|
||||||
|
cart_code: '',
|
||||||
|
cartLabel: '',
|
||||||
|
task_id: undefined as number | undefined
|
||||||
|
})
|
||||||
|
|
||||||
|
const bindRules: FormRules = {
|
||||||
|
task_id: [{ required: true, message: '请输入任务ID', trigger: 'blur' }]
|
||||||
|
}
|
||||||
|
|
||||||
|
const isSuccess = (res: any) => res && [0, 1, 200].includes(res.code)
|
||||||
|
|
||||||
|
async function loadList() {
|
||||||
|
if (loading.value) return
|
||||||
|
loading.value = true
|
||||||
|
const start = Date.now()
|
||||||
|
try {
|
||||||
|
const where = normalizePickCartScanConditionToWhere(currentConditionRaw.value)
|
||||||
|
const res: any = await pickCartList(
|
||||||
|
buildPickCartListPayload({
|
||||||
|
page: pagination.currentPage,
|
||||||
|
pageSize: pagination.pageSize,
|
||||||
|
where
|
||||||
|
})
|
||||||
|
)
|
||||||
|
if (!isSuccess(res)) {
|
||||||
|
ElMessage.error(res?.message || '获取拣货车列表失败')
|
||||||
|
tableData.value = []
|
||||||
|
pagination.total = 0
|
||||||
|
return
|
||||||
|
}
|
||||||
|
const data = res?.data || {}
|
||||||
|
tableData.value = data.list || []
|
||||||
|
pagination.total = Number(data.pagination?.total ?? 0)
|
||||||
|
} catch {
|
||||||
|
tableData.value = []
|
||||||
|
pagination.total = 0
|
||||||
|
ElMessage.error('获取拣货车列表失败')
|
||||||
|
} finally {
|
||||||
|
queryTime.value = Date.now() - start
|
||||||
|
loading.value = false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function handleConditionChange(condition: any) {
|
||||||
|
currentConditionRaw.value = condition
|
||||||
|
pagination.currentPage = 1
|
||||||
|
loadList()
|
||||||
|
}
|
||||||
|
|
||||||
|
function handleSubmit() {
|
||||||
|
pagination.currentPage = 1
|
||||||
|
loadList()
|
||||||
|
}
|
||||||
|
|
||||||
|
function handleConditionClear() {
|
||||||
|
currentConditionRaw.value = null
|
||||||
|
pagination.currentPage = 1
|
||||||
|
loadList()
|
||||||
|
}
|
||||||
|
|
||||||
|
function handleConditionReset() {
|
||||||
|
currentConditionRaw.value = null
|
||||||
|
pagination.currentPage = 1
|
||||||
|
if (scanBox.value?.reset) {
|
||||||
|
scanBox.value.reset()
|
||||||
|
} else if (scanBox.value?.clear) {
|
||||||
|
scanBox.value.clear()
|
||||||
|
}
|
||||||
|
loadList()
|
||||||
|
}
|
||||||
|
|
||||||
|
function handlePageChange(page: number) {
|
||||||
|
pagination.currentPage = page
|
||||||
|
loadList()
|
||||||
|
}
|
||||||
|
|
||||||
|
function handlePageSizeChange(size: number) {
|
||||||
|
pagination.pageSize = size
|
||||||
|
pagination.currentPage = 1
|
||||||
|
loadList()
|
||||||
|
}
|
||||||
|
|
||||||
|
function resetForm() {
|
||||||
|
formData.cart_id = undefined
|
||||||
|
formData.cart_code = ''
|
||||||
|
formData.cart_name = ''
|
||||||
|
formData.status = 1
|
||||||
|
codeCheckHint.value = null
|
||||||
|
formRef.value?.clearValidate()
|
||||||
|
}
|
||||||
|
|
||||||
|
function openCreate() {
|
||||||
|
dialogMode.value = 'create'
|
||||||
|
dialogVisible.value = true
|
||||||
|
resetForm()
|
||||||
|
}
|
||||||
|
|
||||||
|
function openEdit(row: PickCartRecord) {
|
||||||
|
if (!row.cart_id) return
|
||||||
|
dialogMode.value = 'edit'
|
||||||
|
dialogVisible.value = true
|
||||||
|
formData.cart_id = row.cart_id
|
||||||
|
formData.cart_code = row.cart_code || ''
|
||||||
|
formData.cart_name = row.cart_name || ''
|
||||||
|
formData.status = Number(row.status ?? 1)
|
||||||
|
codeCheckHint.value = null
|
||||||
|
formRef.value?.clearValidate()
|
||||||
|
}
|
||||||
|
|
||||||
|
async function handleCodeBlur() {
|
||||||
|
const code = formData.cart_code.trim()
|
||||||
|
if (!code) {
|
||||||
|
codeCheckHint.value = null
|
||||||
|
return
|
||||||
|
}
|
||||||
|
try {
|
||||||
|
const payload: { cart_code: string; exclude_cart_id?: number } = { cart_code: code }
|
||||||
|
if (dialogMode.value === 'edit' && formData.cart_id) {
|
||||||
|
payload.exclude_cart_id = formData.cart_id
|
||||||
|
}
|
||||||
|
const res: any = await pickCartCodeDuplicateCheck(payload)
|
||||||
|
if (!isSuccess(res)) return
|
||||||
|
const data = res?.data || {}
|
||||||
|
if (data.duplicated) {
|
||||||
|
codeCheckHint.value = {
|
||||||
|
type: 'danger',
|
||||||
|
text: `编码已存在:${data.cart_name || data.cart_code || ''}(ID ${data.cart_id ?? '--'})`
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
codeCheckHint.value = { type: 'success', text: '编码可用' }
|
||||||
|
}
|
||||||
|
} catch {
|
||||||
|
codeCheckHint.value = null
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
async function submitForm() {
|
||||||
|
if (!formRef.value || saving.value) return
|
||||||
|
const valid = await formRef.value.validate().catch(() => false)
|
||||||
|
if (!valid) return
|
||||||
|
|
||||||
|
saving.value = true
|
||||||
|
try {
|
||||||
|
if (dialogMode.value === 'create') {
|
||||||
|
const res: any = await pickCartCreate({
|
||||||
|
cart_code: formData.cart_code.trim(),
|
||||||
|
cart_name: formData.cart_name.trim() || undefined,
|
||||||
|
status: formData.status
|
||||||
|
})
|
||||||
|
if (!isSuccess(res)) {
|
||||||
|
ElMessage.error(res?.message || '新增失败')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
ElMessage.success('新增成功')
|
||||||
|
} else {
|
||||||
|
if (!formData.cart_id) return
|
||||||
|
const res: any = await pickCartUpdate({
|
||||||
|
cart_id: formData.cart_id,
|
||||||
|
cart_code: formData.cart_code.trim() || undefined,
|
||||||
|
cart_name: formData.cart_name.trim() || undefined,
|
||||||
|
status: formData.status
|
||||||
|
})
|
||||||
|
if (!isSuccess(res)) {
|
||||||
|
ElMessage.error(res?.message || '更新失败')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
ElMessage.success('更新成功')
|
||||||
|
}
|
||||||
|
dialogVisible.value = false
|
||||||
|
loadList()
|
||||||
|
} catch {
|
||||||
|
ElMessage.error('保存失败')
|
||||||
|
} finally {
|
||||||
|
saving.value = false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function handleDelete(row: PickCartRecord) {
|
||||||
|
if (!row.cart_id) return
|
||||||
|
const label = row.cart_name || row.cart_code || String(row.cart_id)
|
||||||
|
ElMessageBox.confirm(
|
||||||
|
`确认删除拣货车「${label}」吗?若已绑定任务则无法删除。`,
|
||||||
|
'提示',
|
||||||
|
{ type: 'warning' }
|
||||||
|
)
|
||||||
|
.then(async () => {
|
||||||
|
const res: any = await pickCartDelete({ cart_id: row.cart_id as number })
|
||||||
|
if (!isSuccess(res)) {
|
||||||
|
ElMessage.error(res?.message || '删除失败')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
ElMessage.success('删除成功')
|
||||||
|
if (tableData.value.length === 1 && pagination.currentPage > 1) {
|
||||||
|
pagination.currentPage -= 1
|
||||||
|
}
|
||||||
|
loadList()
|
||||||
|
})
|
||||||
|
.catch(() => undefined)
|
||||||
|
}
|
||||||
|
|
||||||
|
async function openDetail(row: PickCartRecord) {
|
||||||
|
if (!row.cart_id) return
|
||||||
|
detailVisible.value = true
|
||||||
|
detailLoading.value = true
|
||||||
|
detailData.value = null
|
||||||
|
try {
|
||||||
|
const res: any = await pickCartDetail({ cart_id: row.cart_id })
|
||||||
|
if (!isSuccess(res)) {
|
||||||
|
ElMessage.error(res?.message || '获取详情失败')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
detailData.value = res?.data || null
|
||||||
|
} catch {
|
||||||
|
ElMessage.error('获取详情失败')
|
||||||
|
} finally {
|
||||||
|
detailLoading.value = false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function openScanDialog() {
|
||||||
|
scanDialogVisible.value = true
|
||||||
|
resetScan()
|
||||||
|
}
|
||||||
|
|
||||||
|
function resetScan() {
|
||||||
|
scanForm.cart_code = ''
|
||||||
|
scanResult.value = null
|
||||||
|
}
|
||||||
|
|
||||||
|
async function submitScan() {
|
||||||
|
const code = scanForm.cart_code.trim()
|
||||||
|
if (!code) {
|
||||||
|
ElMessage.warning('请输入拣货车编码')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
scanLoading.value = true
|
||||||
|
try {
|
||||||
|
const res: any = await pickCartScan({ cart_code: code })
|
||||||
|
if (!isSuccess(res)) {
|
||||||
|
ElMessage.error(res?.message || '查询失败')
|
||||||
|
scanResult.value = null
|
||||||
|
return
|
||||||
|
}
|
||||||
|
scanResult.value = res?.data || null
|
||||||
|
if (!scanResult.value) {
|
||||||
|
ElMessage.warning('未找到对应拣货车')
|
||||||
|
}
|
||||||
|
} catch {
|
||||||
|
ElMessage.error('查询失败')
|
||||||
|
scanResult.value = null
|
||||||
|
} finally {
|
||||||
|
scanLoading.value = false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function resetBindForm() {
|
||||||
|
bindForm.cart_id = undefined
|
||||||
|
bindForm.cart_code = ''
|
||||||
|
bindForm.cartLabel = ''
|
||||||
|
bindForm.task_id = undefined
|
||||||
|
bindFormRef.value?.clearValidate()
|
||||||
|
}
|
||||||
|
|
||||||
|
function openBind(row: PickCartRecord) {
|
||||||
|
if (!row.cart_id) return
|
||||||
|
bindForm.cart_id = row.cart_id
|
||||||
|
bindForm.cart_code = row.cart_code || ''
|
||||||
|
bindForm.cartLabel = `${row.cart_code}${row.cart_name ? `(${row.cart_name})` : ''}`
|
||||||
|
bindForm.task_id = undefined
|
||||||
|
bindDialogVisible.value = true
|
||||||
|
bindFormRef.value?.clearValidate()
|
||||||
|
}
|
||||||
|
|
||||||
|
async function submitBind() {
|
||||||
|
if (!bindFormRef.value || bindLoading.value || !bindForm.cart_id) return
|
||||||
|
const valid = await bindFormRef.value.validate().catch(() => false)
|
||||||
|
if (!valid || !bindForm.task_id) return
|
||||||
|
|
||||||
|
bindLoading.value = true
|
||||||
|
try {
|
||||||
|
const res: any = await pickCartBindTaskCart({
|
||||||
|
task_id: bindForm.task_id,
|
||||||
|
cart_id: bindForm.cart_id,
|
||||||
|
cart_code: bindForm.cart_code || undefined
|
||||||
|
})
|
||||||
|
if (!isSuccess(res)) {
|
||||||
|
ElMessage.error(res?.message || '绑定失败')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
const data = res?.data || {}
|
||||||
|
ElMessage.success(`绑定成功:任务 ${data.task_no || bindForm.task_id}`)
|
||||||
|
bindDialogVisible.value = false
|
||||||
|
loadList()
|
||||||
|
} catch {
|
||||||
|
ElMessage.error('绑定失败')
|
||||||
|
} finally {
|
||||||
|
bindLoading.value = false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
onMounted(() => {
|
||||||
|
loadList()
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.pickcart-container {
|
||||||
|
display: flex;
|
||||||
|
width: 100%;
|
||||||
|
background-color: #f0f2f5;
|
||||||
|
|
||||||
|
.main-content {
|
||||||
|
flex: 1;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
padding: 10px;
|
||||||
|
overflow: hidden;
|
||||||
|
min-width: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.toolbar {
|
||||||
|
padding: 5px 8px;
|
||||||
|
border-bottom: 1px solid #ebeef5;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
gap: 12px;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
background-color: #fff;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.toolbar-left {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
min-width: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.upper-wrapper {
|
||||||
|
flex: 1 1 auto;
|
||||||
|
min-height: 0;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.upper-wrapper :deep(.upper-table-container) {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.empty-tip {
|
||||||
|
text-align: center;
|
||||||
|
font-size: 13px;
|
||||||
|
color: #909399;
|
||||||
|
padding: 16px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.detail-body {
|
||||||
|
padding: 0 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.scan-result {
|
||||||
|
margin-top: 12px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
123
src/views/system/setting/pickcart/pickcart-config.ts
Normal file
123
src/views/system/setting/pickcart/pickcart-config.ts
Normal file
@ -0,0 +1,123 @@
|
|||||||
|
import type { PickCartDetailResponse } from '@/api/pickcart/pickcart'
|
||||||
|
|
||||||
|
export type PickCartRecord = PickCartDetailResponse
|
||||||
|
|
||||||
|
export const pickCartColumns = [
|
||||||
|
{ prop: 'cart_id', label: 'ID', width: '80', sortable: true },
|
||||||
|
{ prop: 'cart_code', label: '拣货车编码', minWidth: '140', showOverflowTooltip: true },
|
||||||
|
{ prop: 'cart_name', label: '名称', minWidth: '140', showOverflowTooltip: true },
|
||||||
|
{ prop: 'status', label: '状态', width: '90', align: 'center' },
|
||||||
|
{ prop: 'current_task_no', label: '绑定任务', minWidth: '160', showOverflowTooltip: true },
|
||||||
|
{ prop: 'warehouse_id', label: '仓库ID', width: '90', align: 'center' },
|
||||||
|
{ prop: 'actions', label: '操作', width: '260', align: 'center', fixed: 'right' }
|
||||||
|
]
|
||||||
|
|
||||||
|
export const pickCartScanFields = [
|
||||||
|
{
|
||||||
|
value: 'keyword',
|
||||||
|
label: '关键字',
|
||||||
|
type: 'text',
|
||||||
|
placeholder: '编码/名称',
|
||||||
|
operators: ['contains'],
|
||||||
|
defaultOperator: 'contains'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: 'status',
|
||||||
|
label: '状态',
|
||||||
|
type: 'select',
|
||||||
|
clearable: true,
|
||||||
|
options: [
|
||||||
|
{ label: '启用', value: '1' },
|
||||||
|
{ label: '停用', value: '0' }
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: 'current_task_id',
|
||||||
|
label: '绑定任务ID',
|
||||||
|
type: 'number',
|
||||||
|
placeholder: '任务 ID',
|
||||||
|
operators: ['eq'],
|
||||||
|
defaultOperator: 'eq'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
|
function getFieldConfig(key: string, fields: typeof pickCartScanFields) {
|
||||||
|
return fields.find((f) => f.value === key)
|
||||||
|
}
|
||||||
|
|
||||||
|
function processConditionValue(key: string, raw: any, fields: typeof pickCartScanFields) {
|
||||||
|
const config = getFieldConfig(key, fields)
|
||||||
|
const fieldType = config?.type || 'text'
|
||||||
|
|
||||||
|
if (raw && typeof raw === 'object' && !Array.isArray(raw)) {
|
||||||
|
const val = raw.value !== undefined ? raw.value : raw
|
||||||
|
if (val === null || val === undefined || val === '' || (Array.isArray(val) && val.length === 0)) {
|
||||||
|
return null
|
||||||
|
}
|
||||||
|
if (fieldType === 'number') {
|
||||||
|
const n = Number(val)
|
||||||
|
return Number.isFinite(n) ? n : null
|
||||||
|
}
|
||||||
|
return String(val).trim() || null
|
||||||
|
}
|
||||||
|
|
||||||
|
if (raw === null || raw === undefined || raw === '' || (Array.isArray(raw) && raw.length === 0)) {
|
||||||
|
return null
|
||||||
|
}
|
||||||
|
|
||||||
|
if (fieldType === 'number') {
|
||||||
|
const n = Number(raw)
|
||||||
|
return Number.isFinite(n) ? n : null
|
||||||
|
}
|
||||||
|
|
||||||
|
return String(raw).trim() || null
|
||||||
|
}
|
||||||
|
|
||||||
|
/** 将 ScanBox 条件转为 pickCart.list 的 where */
|
||||||
|
export function normalizePickCartScanConditionToWhere(
|
||||||
|
condition: any,
|
||||||
|
fields: typeof pickCartScanFields = pickCartScanFields
|
||||||
|
): Record<string, unknown> {
|
||||||
|
if (!condition) return {}
|
||||||
|
|
||||||
|
const conds =
|
||||||
|
condition?.conditions && typeof condition.conditions === 'object'
|
||||||
|
? condition.conditions
|
||||||
|
: condition && typeof condition === 'object'
|
||||||
|
? condition
|
||||||
|
: null
|
||||||
|
|
||||||
|
if (!conds) return {}
|
||||||
|
|
||||||
|
const where: Record<string, unknown> = {}
|
||||||
|
for (const key of Object.keys(conds)) {
|
||||||
|
const result = processConditionValue(key, conds[key], fields)
|
||||||
|
if (result == null) continue
|
||||||
|
where[key] = result
|
||||||
|
}
|
||||||
|
return where
|
||||||
|
}
|
||||||
|
|
||||||
|
export function formatPickCartStatus(status: number | string | undefined) {
|
||||||
|
const n = Number(status)
|
||||||
|
if (n === 1) return { text: '启用', type: 'success' as const }
|
||||||
|
if (n === 0) return { text: '停用', type: 'info' as const }
|
||||||
|
return { text: '--', type: 'info' as const }
|
||||||
|
}
|
||||||
|
|
||||||
|
export function buildPickCartListPayload(options: {
|
||||||
|
page: number
|
||||||
|
pageSize: number
|
||||||
|
where?: Record<string, unknown>
|
||||||
|
}) {
|
||||||
|
const payload: Record<string, unknown> = {
|
||||||
|
pagination: {
|
||||||
|
page: options.page,
|
||||||
|
pageSize: options.pageSize
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (options.where && Object.keys(options.where).length) {
|
||||||
|
payload.where = options.where
|
||||||
|
}
|
||||||
|
return payload
|
||||||
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
@ -1,11 +1,11 @@
|
|||||||
# 接口
|
# 接口
|
||||||
|
|
||||||
- 更新时间: 2026-06-01 15:28:07
|
- 更新时间: 2026-06-03 17:57:45
|
||||||
- 扫描目录: `src\api`
|
- 扫描目录: `src\api`
|
||||||
- 模块数: 40
|
- 模块数: 41
|
||||||
- API 文件数: 40
|
- API 文件数: 41
|
||||||
- 接口数: 326
|
- 接口数: 336
|
||||||
- 已启用: 293
|
- 已启用: 303
|
||||||
- 占位接口: 2
|
- 占位接口: 2
|
||||||
|
|
||||||
## 模块统计
|
## 模块统计
|
||||||
@ -28,7 +28,8 @@
|
|||||||
| order.recheckorder | 1 | 3 | 2 | 0 |
|
| order.recheckorder | 1 | 3 | 2 | 0 |
|
||||||
| order.revieworder | 1 | 3 | 3 | 0 |
|
| order.revieworder | 1 | 3 | 3 | 0 |
|
||||||
| order.wave | 1 | 30 | 29 | 0 |
|
| order.wave | 1 | 30 | 29 | 0 |
|
||||||
| pick | 1 | 2 | 2 | 0 |
|
| pick | 1 | 4 | 4 | 0 |
|
||||||
|
| pickcart | 1 | 8 | 8 | 0 |
|
||||||
| print | 1 | 16 | 15 | 1 |
|
| print | 1 | 16 | 15 | 1 |
|
||||||
| printer.station | 1 | 11 | 1 | 0 |
|
| printer.station | 1 | 11 | 1 | 0 |
|
||||||
| setting.account | 1 | 7 | 7 | 0 |
|
| setting.account | 1 | 7 | 7 | 0 |
|
||||||
@ -170,7 +171,17 @@
|
|||||||
| order.wave | orderWaveWaveStrategyQuickScanTaskProgress | order.wave.waveStrategyQuickScanTaskProgress | POST | 是 | 否 | order.wave/orderwave.ts | |
|
| order.wave | orderWaveWaveStrategyQuickScanTaskProgress | order.wave.waveStrategyQuickScanTaskProgress | POST | 是 | 否 | order.wave/orderwave.ts | |
|
||||||
| order.wave | orderWaveWaveStrategyUpdate | order.wave.waveStrategyUpdate | POST | 是 | 否 | order.wave/orderwave.ts | |
|
| order.wave | orderWaveWaveStrategyUpdate | order.wave.waveStrategyUpdate | POST | 是 | 否 | order.wave/orderwave.ts | |
|
||||||
| pick | pickQuery | pick.query | POST | 是 | 否 | pick/pick.ts | |
|
| pick | pickQuery | pick.query | POST | 是 | 否 | pick/pick.ts | |
|
||||||
|
| pick | pickWavePickTaskComplete | pick.wavePickTaskComplete | POST | 是 | 否 | pick/pick.ts | |
|
||||||
| pick | pickWavePickTaskDetail | pick.wavePickTaskDetail | POST | 是 | 否 | pick/pick.ts | |
|
| pick | pickWavePickTaskDetail | pick.wavePickTaskDetail | POST | 是 | 否 | pick/pick.ts | |
|
||||||
|
| pick | pickWavePickTaskSubmit | pick.wavePickTaskSubmit | POST | 是 | 否 | pick/pick.ts | |
|
||||||
|
| pickcart | pickCartBindTaskCart | pickCart.bindTaskCart | POST | 是 | 否 | pickcart/pickcart.ts | |
|
||||||
|
| pickcart | pickCartCodeDuplicateCheck | pickCart.codeDuplicateCheck | POST | 是 | 否 | pickcart/pickcart.ts | |
|
||||||
|
| pickcart | pickCartCreate | pickCart.create | POST | 是 | 否 | pickcart/pickcart.ts | |
|
||||||
|
| pickcart | pickCartDelete | pickCart.delete | POST | 是 | 否 | pickcart/pickcart.ts | |
|
||||||
|
| pickcart | pickCartDetail | pickCart.detail | POST | 是 | 否 | pickcart/pickcart.ts | |
|
||||||
|
| pickcart | pickCartList | pickCart.list | POST | 是 | 否 | pickcart/pickcart.ts | |
|
||||||
|
| pickcart | pickCartScan | pickCart.scan | POST | 是 | 否 | pickcart/pickcart.ts | |
|
||||||
|
| pickcart | pickCartUpdate | pickCart.update | POST | 是 | 否 | pickcart/pickcart.ts | |
|
||||||
| print | getExpressList | index.getExpressList | POST | 否 | 否 | print/print.ts | |
|
| print | getExpressList | index.getExpressList | POST | 否 | 否 | print/print.ts | |
|
||||||
| print | add | print.add | POST | 是 | 否 | print/print.ts | |
|
| print | add | print.add | POST | 是 | 否 | print/print.ts | |
|
||||||
| print | delItems | print.del | POST | 是 | 否 | print/print.ts | |
|
| print | delItems | print.del | POST | 是 | 否 | print/print.ts | |
|
||||||
|
|||||||
@ -8,15 +8,22 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"method": "order.queryOrderLogs",
|
"method": "order.pendingOrder.list",
|
||||||
"body": {
|
"body": {
|
||||||
"id": 6474
|
"pagination": {
|
||||||
}
|
"page": 1,
|
||||||
|
"pageSize": 20
|
||||||
|
},
|
||||||
|
"where": {},
|
||||||
|
"sort": {
|
||||||
|
"sortField": "updated_at",
|
||||||
|
"sortOrder": "DESC"
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"method": "order.queryOrderLogList",
|
"method": "",
|
||||||
"body": {
|
"body": {
|
||||||
"id": "6487"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
@ -12,27 +12,80 @@
|
|||||||
"label": "全部"
|
"label": "全部"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"totalInterfaceCount": 287,
|
"totalInterfaceCount": 297,
|
||||||
"changes": {
|
"changes": {
|
||||||
"summary": {
|
"summary": {
|
||||||
"moduleAdded": 0,
|
"moduleAdded": 0,
|
||||||
"moduleDeleted": 0,
|
"moduleDeleted": 0,
|
||||||
"moduleUpdated": 0,
|
"moduleUpdated": 2,
|
||||||
"interfaceAdded": 0,
|
"interfaceAdded": 0,
|
||||||
"interfaceDeleted": 0,
|
"interfaceDeleted": 0,
|
||||||
"interfaceParamsUpdated": 0,
|
"interfaceParamsUpdated": 2,
|
||||||
"interfaceResponseUpdated": 0
|
"interfaceResponseUpdated": 1
|
||||||
},
|
},
|
||||||
"moduleUpdates": {
|
"moduleUpdates": {
|
||||||
"added": [],
|
"added": [],
|
||||||
"deleted": [],
|
"deleted": [],
|
||||||
"updated": []
|
"updated": [
|
||||||
|
{
|
||||||
|
"moduleName": "待处理订单模块",
|
||||||
|
"moduleKey": "order.pendingOrder",
|
||||||
|
"folder": "order.pendingorder",
|
||||||
|
"previousModuleName": "待处理订单模块",
|
||||||
|
"previousModuleKey": "order.pendingOrder",
|
||||||
|
"interfaceChanges": {
|
||||||
|
"addedMethods": [],
|
||||||
|
"deletedMethods": [],
|
||||||
|
"paramsUpdatedMethods": [
|
||||||
|
"order.pendingOrder.syncOrderIds"
|
||||||
|
],
|
||||||
|
"responseUpdatedMethods": []
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"moduleName": "order.wave",
|
||||||
|
"moduleKey": "order",
|
||||||
|
"folder": "order",
|
||||||
|
"previousModuleName": "order.wave",
|
||||||
|
"previousModuleKey": "order",
|
||||||
|
"interfaceChanges": {
|
||||||
|
"addedMethods": [],
|
||||||
|
"deletedMethods": [],
|
||||||
|
"paramsUpdatedMethods": [
|
||||||
|
"order.wave.batchList"
|
||||||
|
],
|
||||||
|
"responseUpdatedMethods": [
|
||||||
|
"order.wave.batchList"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"interfaceUpdates": {
|
"interfaceUpdates": {
|
||||||
"added": [],
|
"added": [],
|
||||||
"deleted": [],
|
"deleted": [],
|
||||||
"paramsUpdated": [],
|
"paramsUpdated": [
|
||||||
"responseUpdated": []
|
{
|
||||||
|
"moduleName": "待处理订单模块",
|
||||||
|
"moduleKey": "order.pendingOrder",
|
||||||
|
"folder": "order.pendingorder",
|
||||||
|
"method": "order.pendingOrder.syncOrderIds"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"moduleName": "order.wave",
|
||||||
|
"moduleKey": "order",
|
||||||
|
"folder": "order",
|
||||||
|
"method": "order.wave.batchList"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"responseUpdated": [
|
||||||
|
{
|
||||||
|
"moduleName": "order.wave",
|
||||||
|
"moduleKey": "order",
|
||||||
|
"folder": "order",
|
||||||
|
"method": "order.wave.batchList"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"interfaces": [
|
"interfaces": [
|
||||||
@ -3657,8 +3710,8 @@
|
|||||||
"moduleKey": "order.pendingOrder",
|
"moduleKey": "order.pendingOrder",
|
||||||
"moduleFolder": "order.pendingorder",
|
"moduleFolder": "order.pendingorder",
|
||||||
"method": "order.pendingOrder.syncOrderIds",
|
"method": "order.pendingOrder.syncOrderIds",
|
||||||
"title": "同步待处理订单入口,仅接收 order_ids 并转发到服务层,当前不做业务处理。",
|
"title": "同步待处理订单入口,支持批量传入 order_ids。服务端会按 create_channel 分组派发同步任务;若命中 SN 管理订单(is_sn_mgmt=Y),该订单会被拦截并标记失败,不允许走批量回传,需改用单订单回传。",
|
||||||
"description": "同步待处理订单入口,仅接收 order_ids 并转发到服务层,当前不做业务处理。",
|
"description": "同步待处理订单入口,支持批量传入 order_ids。服务端会按 create_channel 分组派发同步任务;若命中 SN 管理订单(is_sn_mgmt=Y),该订单会被拦截并标记失败,不允许走批量回传,需改用单订单回传。",
|
||||||
"endpoint": "/system",
|
"endpoint": "/system",
|
||||||
"authRequired": false,
|
"authRequired": false,
|
||||||
"loginRequired": true,
|
"loginRequired": true,
|
||||||
@ -3679,7 +3732,7 @@
|
|||||||
"name": "order_ids / orderIds / ids / order_id / orderId / id",
|
"name": "order_ids / orderIds / ids / order_id / orderId / id",
|
||||||
"type": "array|string|number",
|
"type": "array|string|number",
|
||||||
"required": true,
|
"required": true,
|
||||||
"description": "订单 ID 列表,支持数组、逗号分隔字符串或单个 ID。当前仅透传到服务层,不做额外处理。"
|
"description": "订单 ID 列表,支持数组、逗号分隔字符串或单个 ID。服务端会校验订单状态并执行批量同步拦截规则(含 SN 订单限制)。"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"response": [
|
"response": [
|
||||||
@ -5235,8 +5288,8 @@
|
|||||||
"moduleKey": "order",
|
"moduleKey": "order",
|
||||||
"moduleFolder": "order",
|
"moduleFolder": "order",
|
||||||
"method": "order.wave.batchList",
|
"method": "order.wave.batchList",
|
||||||
"title": "波次列表查询。仅使用当前登录操作者的仓库ID作为查询约束(禁止传入 warehouse_id / warehouseId)。支持通过白名单字段进行过滤(通过 where 对象传入),接口对 wave_status 固定叠加查询状态 0/1,无需客户端传入。列表按订单数量从大到小排序,并附带波次基础信息与分配状态汇总。",
|
"title": "波次列表查询。仅使用当前登录操作者仓库上下文(禁止传入 warehouse_id/warehouseId)。支持 where 白名单过滤,固定查询 wave_status=0/1;返回波次基础信息及分配状态汇总。支持 only_todo=1 仅返回仍有未复核订单的波次,并返回复核状态汇总(review_assignment_status)与未复核数量(unreviewed_order_count)。",
|
||||||
"description": "波次列表查询。仅使用当前登录操作者的仓库ID作为查询约束(禁止传入 warehouse_id / warehouseId)。支持通过白名单字段进行过滤(通过 where 对象传入),接口对 wave_status 固定叠加查询状态 0/1,无需客户端传入。列表按订单数量从大到小排序,并附带波次基础信息与分配状态汇总。",
|
"description": "波次列表查询。仅使用当前登录操作者仓库上下文(禁止传入 warehouse_id/warehouseId)。支持 where 白名单过滤,固定查询 wave_status=0/1;返回波次基础信息及分配状态汇总。支持 only_todo=1 仅返回仍有未复核订单的波次,并返回复核状态汇总(review_assignment_status)与未复核数量(unreviewed_order_count)。",
|
||||||
"endpoint": "/system",
|
"endpoint": "/system",
|
||||||
"authRequired": false,
|
"authRequired": false,
|
||||||
"loginRequired": true,
|
"loginRequired": true,
|
||||||
@ -5259,11 +5312,17 @@
|
|||||||
"required": false,
|
"required": false,
|
||||||
"description": "分页参数,支持 page / pageSize"
|
"description": "分页参数,支持 page / pageSize"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "only_todo",
|
||||||
|
"type": "number|boolean|string",
|
||||||
|
"required": false,
|
||||||
|
"description": "是否仅返回待处理(仍有未复核订单)的波次,默认 0;传 1/true 时仅返回 unreviewed_order_count > 0 的波次。"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "where",
|
"name": "where",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": false,
|
"required": false,
|
||||||
"description": "筛选白名单字段(object,可选)。仅支持下列字段过滤,且禁止传入 warehouse_id / warehouseId: - wave_id(等值) - wave_no(模糊) - wave_type(等值) - wave_status(等值,接口固定叠加状态 0/1) - creator(模糊) - logistics_name(模糊) - item_part_type(等值) - item_part(模糊) - item_snapshot_key(模糊) - item_detail_machine(模糊) - distinguish_express(等值) - total_orders_min / total_orders_max(范围) - processed_orders_min / processed_orders_max(范围) - express_assignment_status(等值,string,可选,英文枚举,取值:unassigned、partially_assigned、assigned;语义:按快递分配聚合判断,assigned 表示聚合后全部 fin,partially_assigned 表示部分已分配且不含 error,unassigned 表示全 none 或包含 error(异常并入未分配集合))。 - print_assignment_status(等值,string,可选,英文枚举,取值:unprinted、partially_printed、printed;语义:按打印分配聚合判断,printed 表示聚合后全部已打印)。 - storage_assignment_status(等值,string,可选,取值:未分配、部分分配、已分配;默认不传不做限制)。过滤语义:已分配=聚合后全部 fin;部分分配=不含 error,且既不是全 none,也不是全 fin;未分配=全 none 或包含 error(异常并入未分配筛选集合)。说明:返回字段 storage_assignment_status 的展示值保持不变,包含 error 时仍可显示“分配异常”;此处 where 的过滤语义会把异常计入“未分配”,以避免把过滤语义与展示值混淆。 - source(可选,number)来源过滤:0=普通波次(正常后台操作),1=管理后台策略任务,2=PDA策略任务;不传则不过滤。 说明:express_assignment_status 与 print_assignment_status 要求使用英文枚举值;storage_assignment_status 仍向后兼容中文展示值。若传入的枚举值不在允许集合内,接口会返回 400(参数校验失败),并在 message 中说明错误字段与允许取值。"
|
"description": "筛选白名单字段(object,可选)。仅支持下列字段过滤,且禁止传入 warehouse_id / warehouseId: - wave_id(等值) - wave_no(模糊) - wave_type(等值) - wave_status(等值,接口固定叠加状态 0/1) - creator(模糊) - logistics_name(模糊) - item_part_type(等值) - item_part(模糊) - item_snapshot_key(模糊) - item_detail_machine(模糊) - distinguish_express(等值) - total_orders_min / total_orders_max(范围) - processed_orders_min / processed_orders_max(范围) - express_assignment_status(等值,string,可选,英文枚举,取值:unassigned、partially_assigned、assigned;语义:按快递分配聚合判断,assigned 表示聚合后全部 fin,partially_assigned 表示部分已分配且不含 error,unassigned 表示全 none 或包含 error(异常并入未分配集合))。 - print_assignment_status(等值,string,可选,英文枚举,取值:unprinted、partially_printed、printed;语义:按打印分配聚合判断,printed 表示聚合后全部已打印)。 - storage_assignment_status(等值,string,可选,取值:未分配、部分分配、已分配;默认不传不做限制)。过滤语义:已分配=聚合后全部 fin;部分分配=不含 error,且既不是全 none,也不是全 fin;未分配=全 none 或包含 error(异常并入未分配筛选集合)。说明:返回字段 storage_assignment_status 的展示值保持不变,包含 error 时仍可显示“分配异常”;此处 where 的过滤语义会把异常计入“未分配”,以避免把过滤语义与展示值混淆。 - source(可选,number)来源过滤:0=普通波次(正常后台操作),1=管理后台策略任务,2=PDA策略任务;不传则不过滤。 说明:express_assignment_status 与 print_assignment_status 要求使用英文枚举值;storage_assignment_status 仍向后兼容中文展示值。若传入的枚举值不在允许集合内,接口会返回 400(参数校验失败),并在 message 中说明错误字段与允许取值。 - sync_assignment_status(等值,string,可选,英文枚举,取值:unsynced、partially_synced、synced;语义:按同步状态聚合判断,synced 表示全部 fin,partially_synced 表示部分已同步且不含 error,unsynced 表示全 padding 或包含 error(异常并入未同步集合))。 - review_assignment_status(等值,string,可选,英文枚举:unreviewed、partially_reviewed、reviewed;分别表示未复核、部分复核、已复核)。"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"response": [
|
"response": [
|
||||||
@ -5271,7 +5330,7 @@
|
|||||||
"name": "list",
|
"name": "list",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"required": true,
|
"required": true,
|
||||||
"description": "波次列表,包含波次基础信息与状态汇总(order_count / storage_assignment_status / express_assignment_status / print_assignment_status)。每条记录新增字段 source(number):来源标识,0=普通波次(正常后台操作),1=管理后台策略任务,2=PDA策略任务。"
|
"description": "波次列表,包含波次基础信息与状态汇总(order_count / storage_assignment_status / express_assignment_status / print_assignment_status / sync_assignment_status / review_assignment_status / unreviewed_order_count)。每条记录新增字段 source(number):来源标识,0=普通波次(正常后台操作),1=管理后台策略任务,2=PDA策略任务。"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "pagination",
|
"name": "pagination",
|
||||||
@ -7256,8 +7315,8 @@
|
|||||||
"moduleKey": "pick",
|
"moduleKey": "pick",
|
||||||
"moduleFolder": "pick",
|
"moduleFolder": "pick",
|
||||||
"method": "pick.query",
|
"method": "pick.query",
|
||||||
"title": "按订单查询波次拣货信息,支持 full/full_display/is_full 控制是否完整显示;接口按当前登录用户仓库上下文过滤,防止跨仓越界。",
|
"title": "按 keyword(运单号或波次号)获取或创建当前用户的拣货任务:命中同用户活动任务返回 existing;无活动任务则创建并返回 created;若活动任务归属他人则返回冲突提示。",
|
||||||
"description": "按订单查询波次拣货信息,支持 full/full_display/is_full 控制是否完整显示;接口按当前登录用户仓库上下文过滤,防止跨仓越界。",
|
"description": "按 keyword(运单号或波次号)获取或创建当前用户的拣货任务:命中同用户活动任务返回 existing;无活动任务则创建并返回 created;若活动任务归属他人则返回冲突提示。",
|
||||||
"endpoint": "/system",
|
"endpoint": "/system",
|
||||||
"authRequired": false,
|
"authRequired": false,
|
||||||
"loginRequired": true,
|
"loginRequired": true,
|
||||||
@ -7275,54 +7334,105 @@
|
|||||||
],
|
],
|
||||||
"params": [
|
"params": [
|
||||||
{
|
{
|
||||||
"name": "waybill_code",
|
"name": "keyword",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"required": true,
|
"required": true,
|
||||||
"description": "快递号/运单号,必填。"
|
"description": "关键字,支持运单号或波次号。"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "full_display",
|
|
||||||
"type": "boolean",
|
|
||||||
"required": false,
|
|
||||||
"description": "是否完整显示拣货明细;默认 false。true 返回全部拣货明细,false 仅返回未完成的(inspection_status != 'fin')。"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"response": [
|
"response": [
|
||||||
{
|
{
|
||||||
"name": "order_id",
|
"name": "task_id",
|
||||||
"type": "string|number",
|
"type": "number",
|
||||||
"required": false,
|
"required": true,
|
||||||
"description": "订单 ID"
|
"description": "拣货任务ID。"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "wave_id",
|
"name": "status",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "任务状态:existing(命中当前用户已有活动任务)或 created(新建成功)。"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "tip",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "提示文案。"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"moduleName": "拣货模块",
|
||||||
|
"moduleKey": "pick",
|
||||||
|
"moduleFolder": "pick",
|
||||||
|
"method": "pick.wavePickTaskComplete",
|
||||||
|
"title": "完全提交拣货任务。支持 mode=1 全部确认,mode=2 部分确认(需传 order_ids)。提交后根据是否全部完成自动推进任务状态。",
|
||||||
|
"description": "完全提交拣货任务。支持 mode=1 全部确认,mode=2 部分确认(需传 order_ids)。提交后根据是否全部完成自动推进任务状态。",
|
||||||
|
"endpoint": "/system",
|
||||||
|
"authRequired": false,
|
||||||
|
"loginRequired": true,
|
||||||
|
"status": {
|
||||||
|
"isUsed": false,
|
||||||
|
"isPlaceholder": false
|
||||||
|
},
|
||||||
|
"headers": [
|
||||||
|
{
|
||||||
|
"name": "Authorization",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "Bearer token"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "task_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货任务ID"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "mode",
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"required": false,
|
"required": false,
|
||||||
"description": "波次 ID(若订单未关联波次则为空)"
|
"description": "提交模式:1=全部确认(默认),2=部分确认"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "wave_no",
|
"name": "order_ids",
|
||||||
"type": "string",
|
|
||||||
"required": false,
|
|
||||||
"description": "波次编号(若订单未关联波次则为空)"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "full_display",
|
|
||||||
"type": "boolean",
|
|
||||||
"required": false,
|
|
||||||
"description": "是否以完整明细展示(等同于请求中的 full/full_display/is_full)"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "summary",
|
|
||||||
"type": "object",
|
|
||||||
"required": false,
|
|
||||||
"description": "汇总信息"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "list",
|
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"required": false,
|
"required": false,
|
||||||
"description": "拣货明细列表(根据 full 参数返回全量或仅未复核明细),每项为明细对象,字段视实现而定。"
|
"description": "部分确认模式(mode=2)时必填;仅会确认命中当前任务的订单ID"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"response": [
|
||||||
|
{
|
||||||
|
"name": "task_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货任务ID"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "mode",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "实际生效的提交模式(1=全部确认,2=部分确认)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "confirmed_order_ids",
|
||||||
|
"type": "array",
|
||||||
|
"required": true,
|
||||||
|
"description": "本次成功确认的订单ID列表"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "is_completed",
|
||||||
|
"type": "boolean",
|
||||||
|
"required": true,
|
||||||
|
"description": "提交后任务是否已完成"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "progress",
|
||||||
|
"type": "object",
|
||||||
|
"required": true,
|
||||||
|
"description": "任务订单拣货进度统计"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -7331,8 +7441,8 @@
|
|||||||
"moduleKey": "pick",
|
"moduleKey": "pick",
|
||||||
"moduleFolder": "pick",
|
"moduleFolder": "pick",
|
||||||
"method": "pick.wavePickTaskDetail",
|
"method": "pick.wavePickTaskDetail",
|
||||||
"title": "按任务ID获取拣货任务详情,返回精简的 task、boxes、picking_details 与 picking_summary;仅允许任务的 pick_user_id 与当前登录用户(operator_id/employees_id)一致时返回数据,否则返回 403。",
|
"title": "按任务ID获取拣货任务详情。查询前会校验任务内订单是否全部完成快递号与储位分配:若存在未分配快递号或未分配储位订单,将返回 400 并在 data 中返回 action 与 order_ids 供前端触发一键分配;详情响应新增中间态进度语义(task.is_completed、task.progress 与顶层 is_completed),用于前端判断是否已完成与展示阶段进度;仅允许任务的 pick_user_id 与当前登录用户一致时返回详情。",
|
||||||
"description": "按任务ID获取拣货任务详情,返回精简的 task、boxes、picking_details 与 picking_summary;仅允许任务的 pick_user_id 与当前登录用户(operator_id/employees_id)一致时返回数据,否则返回 403。",
|
"description": "按任务ID获取拣货任务详情。查询前会校验任务内订单是否全部完成快递号与储位分配:若存在未分配快递号或未分配储位订单,将返回 400 并在 data 中返回 action 与 order_ids 供前端触发一键分配;详情响应新增中间态进度语义(task.is_completed、task.progress 与顶层 is_completed),用于前端判断是否已完成与展示阶段进度;仅允许任务的 pick_user_id 与当前登录用户一致时返回详情。",
|
||||||
"endpoint": "/system",
|
"endpoint": "/system",
|
||||||
"authRequired": false,
|
"authRequired": false,
|
||||||
"loginRequired": true,
|
"loginRequired": true,
|
||||||
@ -7363,6 +7473,12 @@
|
|||||||
"required": false,
|
"required": false,
|
||||||
"description": "拣货任务主表(精简字段)"
|
"description": "拣货任务主表(精简字段)"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "is_completed",
|
||||||
|
"type": "boolean",
|
||||||
|
"required": false,
|
||||||
|
"description": "任务是否已完成(与 task.is_completed 含义一致,便于前端直接判断)"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "boxes",
|
"name": "boxes",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
@ -7389,6 +7505,591 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"moduleName": "拣货模块",
|
||||||
|
"moduleKey": "pick",
|
||||||
|
"moduleFolder": "pick",
|
||||||
|
"method": "pick.wavePickTaskSubmit",
|
||||||
|
"title": "提交拣货任务中间态。用于保存阶段性数据到任务 ext_json.pick_intermediate,并在任务初始状态时自动推进到进行中。",
|
||||||
|
"description": "提交拣货任务中间态。用于保存阶段性数据到任务 ext_json.pick_intermediate,并在任务初始状态时自动推进到进行中。",
|
||||||
|
"endpoint": "/system",
|
||||||
|
"authRequired": false,
|
||||||
|
"loginRequired": true,
|
||||||
|
"status": {
|
||||||
|
"isUsed": false,
|
||||||
|
"isPlaceholder": false
|
||||||
|
},
|
||||||
|
"headers": [
|
||||||
|
{
|
||||||
|
"name": "Authorization",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "Bearer token"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "task_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货任务ID"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "payload",
|
||||||
|
"type": "object",
|
||||||
|
"required": false,
|
||||||
|
"description": "中间态业务数据对象,将原样保存到 ext_json.pick_intermediate.payload"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"response": [
|
||||||
|
{
|
||||||
|
"name": "task_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货任务ID"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "status",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "提交结果状态,固定为 submitted"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "is_completed",
|
||||||
|
"type": "boolean",
|
||||||
|
"required": true,
|
||||||
|
"description": "当前任务是否已完成"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "progress",
|
||||||
|
"type": "object",
|
||||||
|
"required": true,
|
||||||
|
"description": "任务订单拣货进度统计"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"moduleName": "拣货车模块",
|
||||||
|
"moduleKey": "pickCart",
|
||||||
|
"moduleFolder": "pickcart",
|
||||||
|
"method": "pickCart.bindTaskCart",
|
||||||
|
"title": "绑定拣货任务与拣货车。支持传 cart_id 或 cart_code;若任务已绑定其他拣货车则自动改绑,若目标拣货车已绑定其他活动任务则返回冲突。",
|
||||||
|
"description": "绑定拣货任务与拣货车。支持传 cart_id 或 cart_code;若任务已绑定其他拣货车则自动改绑,若目标拣货车已绑定其他活动任务则返回冲突。",
|
||||||
|
"endpoint": "/system",
|
||||||
|
"authRequired": false,
|
||||||
|
"loginRequired": true,
|
||||||
|
"status": {
|
||||||
|
"isUsed": false,
|
||||||
|
"isPlaceholder": false
|
||||||
|
},
|
||||||
|
"headers": [
|
||||||
|
{
|
||||||
|
"name": "Authorization",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "Bearer token"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "task_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货任务ID"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cart_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": false,
|
||||||
|
"description": "拣货车ID,和 cart_code 二选一即可"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cart_code",
|
||||||
|
"type": "string",
|
||||||
|
"required": false,
|
||||||
|
"description": "拣货车编码,和 cart_id 二选一即可"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"response": [
|
||||||
|
{
|
||||||
|
"name": "task_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货任务ID"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "task_no",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货任务编号"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cart",
|
||||||
|
"type": "object",
|
||||||
|
"required": true,
|
||||||
|
"description": "绑定后的拣货车信息"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"moduleName": "拣货车模块",
|
||||||
|
"moduleKey": "pickCart",
|
||||||
|
"moduleFolder": "pickcart",
|
||||||
|
"method": "pickCart.codeDuplicateCheck",
|
||||||
|
"title": "拣货车编码查重。支持传 exclude_cart_id 排除自身,用于编辑场景判断是否与其他车重复。",
|
||||||
|
"description": "拣货车编码查重。支持传 exclude_cart_id 排除自身,用于编辑场景判断是否与其他车重复。",
|
||||||
|
"endpoint": "/system",
|
||||||
|
"authRequired": false,
|
||||||
|
"loginRequired": true,
|
||||||
|
"status": {
|
||||||
|
"isUsed": false,
|
||||||
|
"isPlaceholder": false
|
||||||
|
},
|
||||||
|
"headers": [
|
||||||
|
{
|
||||||
|
"name": "Authorization",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "Bearer token"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "cart_code",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "待校验的拣货车编码"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "exclude_cart_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": false,
|
||||||
|
"description": "需排除的拣货车ID,通常为当前编辑记录自身ID"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"response": [
|
||||||
|
{
|
||||||
|
"name": "duplicated",
|
||||||
|
"type": "boolean",
|
||||||
|
"required": true,
|
||||||
|
"description": "是否存在重复编码"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cart_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": false,
|
||||||
|
"description": "命中的重复拣货车ID,无重复时为 null"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cart_code",
|
||||||
|
"type": "string",
|
||||||
|
"required": false,
|
||||||
|
"description": "命中的重复编码,无重复时为 null"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cart_name",
|
||||||
|
"type": "string",
|
||||||
|
"required": false,
|
||||||
|
"description": "命中的重复拣货车名称,无重复时为 null"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "status",
|
||||||
|
"type": "number",
|
||||||
|
"required": false,
|
||||||
|
"description": "命中的重复拣货车状态,无重复时为 null"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"moduleName": "拣货车模块",
|
||||||
|
"moduleKey": "pickCart",
|
||||||
|
"moduleFolder": "pickcart",
|
||||||
|
"method": "pickCart.create",
|
||||||
|
"title": "创建拣货车。拣货车编码在当前仓库内不可重复。",
|
||||||
|
"description": "创建拣货车。拣货车编码在当前仓库内不可重复。",
|
||||||
|
"endpoint": "/system",
|
||||||
|
"authRequired": false,
|
||||||
|
"loginRequired": true,
|
||||||
|
"status": {
|
||||||
|
"isUsed": false,
|
||||||
|
"isPlaceholder": false
|
||||||
|
},
|
||||||
|
"headers": [
|
||||||
|
{
|
||||||
|
"name": "Authorization",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "Bearer token"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "cart_code",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货车编码,当前仓库内唯一"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cart_name",
|
||||||
|
"type": "string",
|
||||||
|
"required": false,
|
||||||
|
"description": "拣货车名称"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "status",
|
||||||
|
"type": "number",
|
||||||
|
"required": false,
|
||||||
|
"description": "状态:0-停用 1-启用,默认 1"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"response": [
|
||||||
|
{
|
||||||
|
"name": "cart_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货车ID"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cart_code",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货车编码"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cart_name",
|
||||||
|
"type": "string",
|
||||||
|
"required": false,
|
||||||
|
"description": "拣货车名称"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "status",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "状态:0-停用 1-启用"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"moduleName": "拣货车模块",
|
||||||
|
"moduleKey": "pickCart",
|
||||||
|
"moduleFolder": "pickcart",
|
||||||
|
"method": "pickCart.delete",
|
||||||
|
"title": "删除拣货车。若拣货车当前已绑定任务或存在有效绑定记录,则不允许删除。",
|
||||||
|
"description": "删除拣货车。若拣货车当前已绑定任务或存在有效绑定记录,则不允许删除。",
|
||||||
|
"endpoint": "/system",
|
||||||
|
"authRequired": false,
|
||||||
|
"loginRequired": true,
|
||||||
|
"status": {
|
||||||
|
"isUsed": false,
|
||||||
|
"isPlaceholder": false
|
||||||
|
},
|
||||||
|
"headers": [
|
||||||
|
{
|
||||||
|
"name": "Authorization",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "Bearer token"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "cart_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货车ID"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"response": [
|
||||||
|
{
|
||||||
|
"name": "cart_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "被删除的拣货车ID"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "deleted",
|
||||||
|
"type": "boolean",
|
||||||
|
"required": true,
|
||||||
|
"description": "是否删除成功,固定为 true"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"moduleName": "拣货车模块",
|
||||||
|
"moduleKey": "pickCart",
|
||||||
|
"moduleFolder": "pickcart",
|
||||||
|
"method": "pickCart.detail",
|
||||||
|
"title": "查询拣货车详情。",
|
||||||
|
"description": "查询拣货车详情。",
|
||||||
|
"endpoint": "/system",
|
||||||
|
"authRequired": false,
|
||||||
|
"loginRequired": true,
|
||||||
|
"status": {
|
||||||
|
"isUsed": false,
|
||||||
|
"isPlaceholder": false
|
||||||
|
},
|
||||||
|
"headers": [
|
||||||
|
{
|
||||||
|
"name": "Authorization",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "Bearer token"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "cart_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货车ID"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"response": [
|
||||||
|
{
|
||||||
|
"name": "cart_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货车ID"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "warehouse_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "仓库ID"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cart_code",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货车编码"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cart_name",
|
||||||
|
"type": "string",
|
||||||
|
"required": false,
|
||||||
|
"description": "拣货车名称"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "status",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "状态:0-停用 1-启用"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "current_task_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": false,
|
||||||
|
"description": "当前绑定任务ID,无绑定时为 null"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "current_task_no",
|
||||||
|
"type": "string",
|
||||||
|
"required": false,
|
||||||
|
"description": "当前绑定任务编号,无绑定时为 null"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"moduleName": "拣货车模块",
|
||||||
|
"moduleKey": "pickCart",
|
||||||
|
"moduleFolder": "pickcart",
|
||||||
|
"method": "pickCart.list",
|
||||||
|
"title": "分页查询拣货车列表。支持按关键字、状态、当前绑定任务筛选。",
|
||||||
|
"description": "分页查询拣货车列表。支持按关键字、状态、当前绑定任务筛选。",
|
||||||
|
"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,默认 1/20"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "where",
|
||||||
|
"type": "object",
|
||||||
|
"required": false,
|
||||||
|
"description": "筛选条件,支持 keyword、status、current_task_id"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"response": [
|
||||||
|
{
|
||||||
|
"name": "list",
|
||||||
|
"type": "array",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货车列表,元素结构同 pickCart.detail 返回"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "pagination",
|
||||||
|
"type": "object",
|
||||||
|
"required": true,
|
||||||
|
"description": "分页信息,包含 page、pageSize、total、totalPages"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"moduleName": "拣货车模块",
|
||||||
|
"moduleKey": "pickCart",
|
||||||
|
"moduleFolder": "pickcart",
|
||||||
|
"method": "pickCart.scan",
|
||||||
|
"title": "按拣货车条码/编码查询拣货车信息,供 PDA 扫码后用于拣货任务绑定。",
|
||||||
|
"description": "按拣货车条码/编码查询拣货车信息,供 PDA 扫码后用于拣货任务绑定。",
|
||||||
|
"endpoint": "/system",
|
||||||
|
"authRequired": false,
|
||||||
|
"loginRequired": true,
|
||||||
|
"status": {
|
||||||
|
"isUsed": false,
|
||||||
|
"isPlaceholder": false
|
||||||
|
},
|
||||||
|
"headers": [
|
||||||
|
{
|
||||||
|
"name": "Authorization",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "Bearer token"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "cart_code",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货车条码/编码"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"response": [
|
||||||
|
{
|
||||||
|
"name": "cart_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货车ID"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "warehouse_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "仓库ID"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cart_code",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货车编码"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cart_name",
|
||||||
|
"type": "string",
|
||||||
|
"required": false,
|
||||||
|
"description": "拣货车名称"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "status",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货车状态:0-停用 1-启用"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "current_task_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": false,
|
||||||
|
"description": "当前绑定任务ID,无绑定时为 null"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "current_task_no",
|
||||||
|
"type": "string",
|
||||||
|
"required": false,
|
||||||
|
"description": "当前绑定任务编号,无绑定时为 null"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"moduleName": "拣货车模块",
|
||||||
|
"moduleKey": "pickCart",
|
||||||
|
"moduleFolder": "pickcart",
|
||||||
|
"method": "pickCart.update",
|
||||||
|
"title": "更新拣货车。支持修改编码、名称、状态;若修改后的编码与当前仓库内其他拣货车重复则拦截。",
|
||||||
|
"description": "更新拣货车。支持修改编码、名称、状态;若修改后的编码与当前仓库内其他拣货车重复则拦截。",
|
||||||
|
"endpoint": "/system",
|
||||||
|
"authRequired": false,
|
||||||
|
"loginRequired": true,
|
||||||
|
"status": {
|
||||||
|
"isUsed": false,
|
||||||
|
"isPlaceholder": false
|
||||||
|
},
|
||||||
|
"headers": [
|
||||||
|
{
|
||||||
|
"name": "Authorization",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "Bearer token"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "cart_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货车ID"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cart_code",
|
||||||
|
"type": "string",
|
||||||
|
"required": false,
|
||||||
|
"description": "新的拣货车编码"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cart_name",
|
||||||
|
"type": "string",
|
||||||
|
"required": false,
|
||||||
|
"description": "新的拣货车名称"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "status",
|
||||||
|
"type": "number",
|
||||||
|
"required": false,
|
||||||
|
"description": "新的状态:0-停用 1-启用"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"response": [
|
||||||
|
{
|
||||||
|
"name": "cart_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货车ID"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cart_code",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货车编码"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cart_name",
|
||||||
|
"type": "string",
|
||||||
|
"required": false,
|
||||||
|
"description": "拣货车名称"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "status",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "状态:0-停用 1-启用"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"moduleName": "打印模块",
|
"moduleName": "打印模块",
|
||||||
"moduleKey": "print",
|
"moduleKey": "print",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
@ -12,28 +12,81 @@
|
|||||||
"label": "全部"
|
"label": "全部"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"moduleCount": 40,
|
"moduleCount": 41,
|
||||||
"totalInterfaceCount": 287,
|
"totalInterfaceCount": 297,
|
||||||
"changes": {
|
"changes": {
|
||||||
"summary": {
|
"summary": {
|
||||||
"moduleAdded": 0,
|
"moduleAdded": 0,
|
||||||
"moduleDeleted": 0,
|
"moduleDeleted": 0,
|
||||||
"moduleUpdated": 0,
|
"moduleUpdated": 2,
|
||||||
"interfaceAdded": 0,
|
"interfaceAdded": 0,
|
||||||
"interfaceDeleted": 0,
|
"interfaceDeleted": 0,
|
||||||
"interfaceParamsUpdated": 0,
|
"interfaceParamsUpdated": 2,
|
||||||
"interfaceResponseUpdated": 0
|
"interfaceResponseUpdated": 1
|
||||||
},
|
},
|
||||||
"moduleUpdates": {
|
"moduleUpdates": {
|
||||||
"added": [],
|
"added": [],
|
||||||
"deleted": [],
|
"deleted": [],
|
||||||
"updated": []
|
"updated": [
|
||||||
|
{
|
||||||
|
"moduleName": "待处理订单模块",
|
||||||
|
"moduleKey": "order.pendingOrder",
|
||||||
|
"folder": "order.pendingorder",
|
||||||
|
"previousModuleName": "待处理订单模块",
|
||||||
|
"previousModuleKey": "order.pendingOrder",
|
||||||
|
"interfaceChanges": {
|
||||||
|
"addedMethods": [],
|
||||||
|
"deletedMethods": [],
|
||||||
|
"paramsUpdatedMethods": [
|
||||||
|
"order.pendingOrder.syncOrderIds"
|
||||||
|
],
|
||||||
|
"responseUpdatedMethods": []
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"moduleName": "order.wave",
|
||||||
|
"moduleKey": "order",
|
||||||
|
"folder": "order",
|
||||||
|
"previousModuleName": "order.wave",
|
||||||
|
"previousModuleKey": "order",
|
||||||
|
"interfaceChanges": {
|
||||||
|
"addedMethods": [],
|
||||||
|
"deletedMethods": [],
|
||||||
|
"paramsUpdatedMethods": [
|
||||||
|
"order.wave.batchList"
|
||||||
|
],
|
||||||
|
"responseUpdatedMethods": [
|
||||||
|
"order.wave.batchList"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"interfaceUpdates": {
|
"interfaceUpdates": {
|
||||||
"added": [],
|
"added": [],
|
||||||
"deleted": [],
|
"deleted": [],
|
||||||
"paramsUpdated": [],
|
"paramsUpdated": [
|
||||||
"responseUpdated": []
|
{
|
||||||
|
"moduleName": "待处理订单模块",
|
||||||
|
"moduleKey": "order.pendingOrder",
|
||||||
|
"folder": "order.pendingorder",
|
||||||
|
"method": "order.pendingOrder.syncOrderIds"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"moduleName": "order.wave",
|
||||||
|
"moduleKey": "order",
|
||||||
|
"folder": "order",
|
||||||
|
"method": "order.wave.batchList"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"responseUpdated": [
|
||||||
|
{
|
||||||
|
"moduleName": "order.wave",
|
||||||
|
"moduleKey": "order",
|
||||||
|
"folder": "order",
|
||||||
|
"method": "order.wave.batchList"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"modules": [
|
"modules": [
|
||||||
@ -717,17 +770,55 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"moduleName": "拣货车模块",
|
||||||
|
"moduleKey": "pickCart",
|
||||||
|
"folder": "pickcart",
|
||||||
|
"interfaceCount": 8,
|
||||||
|
"interfaces": [
|
||||||
|
{
|
||||||
|
"method": "pickCart.scan"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"method": "pickCart.bindTaskCart"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"method": "pickCart.create"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"method": "pickCart.update"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"method": "pickCart.delete"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"method": "pickCart.detail"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"method": "pickCart.list"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"method": "pickCart.codeDuplicateCheck"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"moduleName": "拣货模块",
|
"moduleName": "拣货模块",
|
||||||
"moduleKey": "pick",
|
"moduleKey": "pick",
|
||||||
"folder": "pick",
|
"folder": "pick",
|
||||||
"interfaceCount": 2,
|
"interfaceCount": 4,
|
||||||
"interfaces": [
|
"interfaces": [
|
||||||
{
|
{
|
||||||
"method": "pick.query"
|
"method": "pick.query"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"method": "pick.wavePickTaskDetail"
|
"method": "pick.wavePickTaskDetail"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"method": "pick.wavePickTaskSubmit"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"method": "pick.wavePickTaskComplete"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": "2026-04-17 19:16:50"
|
"restoredAt": "2026-04-17 19:16:50"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": "2026-04-17 19:16:50"
|
"restoredAt": "2026-04-17 19:16:50"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": "2026-04-17 19:16:50"
|
"restoredAt": "2026-04-17 19:16:50"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": "2026-04-17 19:16:50"
|
"restoredAt": "2026-04-17 19:16:50"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": "2026-04-17 19:16:50"
|
"restoredAt": "2026-04-17 19:16:50"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": "2026-04-17 19:16:50"
|
"restoredAt": "2026-04-17 19:16:50"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": "2026-04-17 19:16:50"
|
"restoredAt": "2026-04-17 19:16:50"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": "2026-04-17 19:16:50"
|
"restoredAt": "2026-04-17 19:16:50"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
@ -25,7 +25,9 @@
|
|||||||
"interfaceChanges": {
|
"interfaceChanges": {
|
||||||
"addedMethods": [],
|
"addedMethods": [],
|
||||||
"deletedMethods": [],
|
"deletedMethods": [],
|
||||||
"paramsUpdatedMethods": [],
|
"paramsUpdatedMethods": [
|
||||||
|
"order.pendingOrder.syncOrderIds"
|
||||||
|
],
|
||||||
"responseUpdatedMethods": []
|
"responseUpdatedMethods": []
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -537,8 +539,8 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"method": "order.pendingOrder.syncOrderIds",
|
"method": "order.pendingOrder.syncOrderIds",
|
||||||
"title": "同步待处理订单入口,仅接收 order_ids 并转发到服务层,当前不做业务处理。",
|
"title": "同步待处理订单入口,支持批量传入 order_ids。服务端会按 create_channel 分组派发同步任务;若命中 SN 管理订单(is_sn_mgmt=Y),该订单会被拦截并标记失败,不允许走批量回传,需改用单订单回传。",
|
||||||
"description": "同步待处理订单入口,仅接收 order_ids 并转发到服务层,当前不做业务处理。",
|
"description": "同步待处理订单入口,支持批量传入 order_ids。服务端会按 create_channel 分组派发同步任务;若命中 SN 管理订单(is_sn_mgmt=Y),该订单会被拦截并标记失败,不允许走批量回传,需改用单订单回传。",
|
||||||
"endpoint": "/system",
|
"endpoint": "/system",
|
||||||
"authRequired": false,
|
"authRequired": false,
|
||||||
"loginRequired": true,
|
"loginRequired": true,
|
||||||
@ -559,7 +561,7 @@
|
|||||||
"name": "order_ids / orderIds / ids / order_id / orderId / id",
|
"name": "order_ids / orderIds / ids / order_id / orderId / id",
|
||||||
"type": "array|string|number",
|
"type": "array|string|number",
|
||||||
"required": true,
|
"required": true,
|
||||||
"description": "订单 ID 列表,支持数组、逗号分隔字符串或单个 ID。当前仅透传到服务层,不做额外处理。"
|
"description": "订单 ID 列表,支持数组、逗号分隔字符串或单个 ID。服务端会校验订单状态并执行批量同步拦截规则(含 SN 订单限制)。"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"response": [
|
"response": [
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-05-05 09:15:19",
|
"createdAt": "2026-05-05 09:15:19",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-05-20 08:59:09",
|
"createdAt": "2026-05-20 08:59:09",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": "2026-04-17 19:16:50"
|
"restoredAt": "2026-04-17 19:16:50"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-05-04 09:11:04",
|
"createdAt": "2026-05-04 09:11:04",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-05-09 09:52:14",
|
"createdAt": "2026-05-09 09:52:14",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
@ -25,16 +25,20 @@
|
|||||||
"interfaceChanges": {
|
"interfaceChanges": {
|
||||||
"addedMethods": [],
|
"addedMethods": [],
|
||||||
"deletedMethods": [],
|
"deletedMethods": [],
|
||||||
"paramsUpdatedMethods": [],
|
"paramsUpdatedMethods": [
|
||||||
"responseUpdatedMethods": []
|
"order.wave.batchList"
|
||||||
|
],
|
||||||
|
"responseUpdatedMethods": [
|
||||||
|
"order.wave.batchList"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"interfaces": [
|
"interfaces": [
|
||||||
{
|
{
|
||||||
"method": "order.wave.batchList",
|
"method": "order.wave.batchList",
|
||||||
"title": "波次列表查询。仅使用当前登录操作者的仓库ID作为查询约束(禁止传入 warehouse_id / warehouseId)。支持通过白名单字段进行过滤(通过 where 对象传入),接口对 wave_status 固定叠加查询状态 0/1,无需客户端传入。列表按订单数量从大到小排序,并附带波次基础信息与分配状态汇总。",
|
"title": "波次列表查询。仅使用当前登录操作者仓库上下文(禁止传入 warehouse_id/warehouseId)。支持 where 白名单过滤,固定查询 wave_status=0/1;返回波次基础信息及分配状态汇总。支持 only_todo=1 仅返回仍有未复核订单的波次,并返回复核状态汇总(review_assignment_status)与未复核数量(unreviewed_order_count)。",
|
||||||
"description": "波次列表查询。仅使用当前登录操作者的仓库ID作为查询约束(禁止传入 warehouse_id / warehouseId)。支持通过白名单字段进行过滤(通过 where 对象传入),接口对 wave_status 固定叠加查询状态 0/1,无需客户端传入。列表按订单数量从大到小排序,并附带波次基础信息与分配状态汇总。",
|
"description": "波次列表查询。仅使用当前登录操作者仓库上下文(禁止传入 warehouse_id/warehouseId)。支持 where 白名单过滤,固定查询 wave_status=0/1;返回波次基础信息及分配状态汇总。支持 only_todo=1 仅返回仍有未复核订单的波次,并返回复核状态汇总(review_assignment_status)与未复核数量(unreviewed_order_count)。",
|
||||||
"endpoint": "/system",
|
"endpoint": "/system",
|
||||||
"authRequired": false,
|
"authRequired": false,
|
||||||
"loginRequired": true,
|
"loginRequired": true,
|
||||||
@ -57,11 +61,17 @@
|
|||||||
"required": false,
|
"required": false,
|
||||||
"description": "分页参数,支持 page / pageSize"
|
"description": "分页参数,支持 page / pageSize"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "only_todo",
|
||||||
|
"type": "number|boolean|string",
|
||||||
|
"required": false,
|
||||||
|
"description": "是否仅返回待处理(仍有未复核订单)的波次,默认 0;传 1/true 时仅返回 unreviewed_order_count > 0 的波次。"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "where",
|
"name": "where",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": false,
|
"required": false,
|
||||||
"description": "筛选白名单字段(object,可选)。仅支持下列字段过滤,且禁止传入 warehouse_id / warehouseId: - wave_id(等值) - wave_no(模糊) - wave_type(等值) - wave_status(等值,接口固定叠加状态 0/1) - creator(模糊) - logistics_name(模糊) - item_part_type(等值) - item_part(模糊) - item_snapshot_key(模糊) - item_detail_machine(模糊) - distinguish_express(等值) - total_orders_min / total_orders_max(范围) - processed_orders_min / processed_orders_max(范围) - express_assignment_status(等值,string,可选,英文枚举,取值:unassigned、partially_assigned、assigned;语义:按快递分配聚合判断,assigned 表示聚合后全部 fin,partially_assigned 表示部分已分配且不含 error,unassigned 表示全 none 或包含 error(异常并入未分配集合))。 - print_assignment_status(等值,string,可选,英文枚举,取值:unprinted、partially_printed、printed;语义:按打印分配聚合判断,printed 表示聚合后全部已打印)。 - storage_assignment_status(等值,string,可选,取值:未分配、部分分配、已分配;默认不传不做限制)。过滤语义:已分配=聚合后全部 fin;部分分配=不含 error,且既不是全 none,也不是全 fin;未分配=全 none 或包含 error(异常并入未分配筛选集合)。说明:返回字段 storage_assignment_status 的展示值保持不变,包含 error 时仍可显示“分配异常”;此处 where 的过滤语义会把异常计入“未分配”,以避免把过滤语义与展示值混淆。 - source(可选,number)来源过滤:0=普通波次(正常后台操作),1=管理后台策略任务,2=PDA策略任务;不传则不过滤。 说明:express_assignment_status 与 print_assignment_status 要求使用英文枚举值;storage_assignment_status 仍向后兼容中文展示值。若传入的枚举值不在允许集合内,接口会返回 400(参数校验失败),并在 message 中说明错误字段与允许取值。"
|
"description": "筛选白名单字段(object,可选)。仅支持下列字段过滤,且禁止传入 warehouse_id / warehouseId: - wave_id(等值) - wave_no(模糊) - wave_type(等值) - wave_status(等值,接口固定叠加状态 0/1) - creator(模糊) - logistics_name(模糊) - item_part_type(等值) - item_part(模糊) - item_snapshot_key(模糊) - item_detail_machine(模糊) - distinguish_express(等值) - total_orders_min / total_orders_max(范围) - processed_orders_min / processed_orders_max(范围) - express_assignment_status(等值,string,可选,英文枚举,取值:unassigned、partially_assigned、assigned;语义:按快递分配聚合判断,assigned 表示聚合后全部 fin,partially_assigned 表示部分已分配且不含 error,unassigned 表示全 none 或包含 error(异常并入未分配集合))。 - print_assignment_status(等值,string,可选,英文枚举,取值:unprinted、partially_printed、printed;语义:按打印分配聚合判断,printed 表示聚合后全部已打印)。 - storage_assignment_status(等值,string,可选,取值:未分配、部分分配、已分配;默认不传不做限制)。过滤语义:已分配=聚合后全部 fin;部分分配=不含 error,且既不是全 none,也不是全 fin;未分配=全 none 或包含 error(异常并入未分配筛选集合)。说明:返回字段 storage_assignment_status 的展示值保持不变,包含 error 时仍可显示“分配异常”;此处 where 的过滤语义会把异常计入“未分配”,以避免把过滤语义与展示值混淆。 - source(可选,number)来源过滤:0=普通波次(正常后台操作),1=管理后台策略任务,2=PDA策略任务;不传则不过滤。 说明:express_assignment_status 与 print_assignment_status 要求使用英文枚举值;storage_assignment_status 仍向后兼容中文展示值。若传入的枚举值不在允许集合内,接口会返回 400(参数校验失败),并在 message 中说明错误字段与允许取值。 - sync_assignment_status(等值,string,可选,英文枚举,取值:unsynced、partially_synced、synced;语义:按同步状态聚合判断,synced 表示全部 fin,partially_synced 表示部分已同步且不含 error,unsynced 表示全 padding 或包含 error(异常并入未同步集合))。 - review_assignment_status(等值,string,可选,英文枚举:unreviewed、partially_reviewed、reviewed;分别表示未复核、部分复核、已复核)。"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"response": [
|
"response": [
|
||||||
@ -69,7 +79,7 @@
|
|||||||
"name": "list",
|
"name": "list",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"required": true,
|
"required": true,
|
||||||
"description": "波次列表,包含波次基础信息与状态汇总(order_count / storage_assignment_status / express_assignment_status / print_assignment_status)。每条记录新增字段 source(number):来源标识,0=普通波次(正常后台操作),1=管理后台策略任务,2=PDA策略任务。"
|
"description": "波次列表,包含波次基础信息与状态汇总(order_count / storage_assignment_status / express_assignment_status / print_assignment_status / sync_assignment_status / review_assignment_status / unreviewed_order_count)。每条记录新增字段 source(number):来源标识,0=普通波次(正常后台操作),1=管理后台策略任务,2=PDA策略任务。"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "pagination",
|
"name": "pagination",
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-05-04 17:23:48",
|
"createdAt": "2026-05-04 17:23:48",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
@ -16,7 +16,7 @@
|
|||||||
"name": "拣货模块",
|
"name": "拣货模块",
|
||||||
"key": "pick",
|
"key": "pick",
|
||||||
"folder": "pick",
|
"folder": "pick",
|
||||||
"interfaceCount": 2
|
"interfaceCount": 4
|
||||||
},
|
},
|
||||||
"changes": {
|
"changes": {
|
||||||
"fromPreviousSnapshot": {
|
"fromPreviousSnapshot": {
|
||||||
@ -33,8 +33,8 @@
|
|||||||
"interfaces": [
|
"interfaces": [
|
||||||
{
|
{
|
||||||
"method": "pick.query",
|
"method": "pick.query",
|
||||||
"title": "按订单查询波次拣货信息,支持 full/full_display/is_full 控制是否完整显示;接口按当前登录用户仓库上下文过滤,防止跨仓越界。",
|
"title": "按 keyword(运单号或波次号)获取或创建当前用户的拣货任务:命中同用户活动任务返回 existing;无活动任务则创建并返回 created;若活动任务归属他人则返回冲突提示。",
|
||||||
"description": "按订单查询波次拣货信息,支持 full/full_display/is_full 控制是否完整显示;接口按当前登录用户仓库上下文过滤,防止跨仓越界。",
|
"description": "按 keyword(运单号或波次号)获取或创建当前用户的拣货任务:命中同用户活动任务返回 existing;无活动任务则创建并返回 created;若活动任务归属他人则返回冲突提示。",
|
||||||
"endpoint": "/system",
|
"endpoint": "/system",
|
||||||
"authRequired": false,
|
"authRequired": false,
|
||||||
"loginRequired": true,
|
"loginRequired": true,
|
||||||
@ -52,61 +52,37 @@
|
|||||||
],
|
],
|
||||||
"params": [
|
"params": [
|
||||||
{
|
{
|
||||||
"name": "waybill_code",
|
"name": "keyword",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"required": true,
|
"required": true,
|
||||||
"description": "快递号/运单号,必填。"
|
"description": "关键字,支持运单号或波次号。"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "full_display",
|
|
||||||
"type": "boolean",
|
|
||||||
"required": false,
|
|
||||||
"description": "是否完整显示拣货明细;默认 false。true 返回全部拣货明细,false 仅返回未完成的(inspection_status != 'fin')。"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"response": [
|
"response": [
|
||||||
{
|
{
|
||||||
"name": "order_id",
|
"name": "task_id",
|
||||||
"type": "string|number",
|
|
||||||
"required": false,
|
|
||||||
"description": "订单 ID"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "wave_id",
|
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"required": false,
|
"required": true,
|
||||||
"description": "波次 ID(若订单未关联波次则为空)"
|
"description": "拣货任务ID。"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "wave_no",
|
"name": "status",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"required": false,
|
"required": true,
|
||||||
"description": "波次编号(若订单未关联波次则为空)"
|
"description": "任务状态:existing(命中当前用户已有活动任务)或 created(新建成功)。"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "full_display",
|
"name": "tip",
|
||||||
"type": "boolean",
|
"type": "string",
|
||||||
"required": false,
|
"required": true,
|
||||||
"description": "是否以完整明细展示(等同于请求中的 full/full_display/is_full)"
|
"description": "提示文案。"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "summary",
|
|
||||||
"type": "object",
|
|
||||||
"required": false,
|
|
||||||
"description": "汇总信息"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "list",
|
|
||||||
"type": "array",
|
|
||||||
"required": false,
|
|
||||||
"description": "拣货明细列表(根据 full 参数返回全量或仅未复核明细),每项为明细对象,字段视实现而定。"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"method": "pick.wavePickTaskDetail",
|
"method": "pick.wavePickTaskDetail",
|
||||||
"title": "按任务ID获取拣货任务详情,返回精简的 task、boxes、picking_details 与 picking_summary;仅允许任务的 pick_user_id 与当前登录用户(operator_id/employees_id)一致时返回数据,否则返回 403。",
|
"title": "按任务ID获取拣货任务详情。查询前会校验任务内订单是否全部完成快递号与储位分配:若存在未分配快递号或未分配储位订单,将返回 400 并在 data 中返回 action 与 order_ids 供前端触发一键分配;详情响应新增中间态进度语义(task.is_completed、task.progress 与顶层 is_completed),用于前端判断是否已完成与展示阶段进度;仅允许任务的 pick_user_id 与当前登录用户一致时返回详情。",
|
||||||
"description": "按任务ID获取拣货任务详情,返回精简的 task、boxes、picking_details 与 picking_summary;仅允许任务的 pick_user_id 与当前登录用户(operator_id/employees_id)一致时返回数据,否则返回 403。",
|
"description": "按任务ID获取拣货任务详情。查询前会校验任务内订单是否全部完成快递号与储位分配:若存在未分配快递号或未分配储位订单,将返回 400 并在 data 中返回 action 与 order_ids 供前端触发一键分配;详情响应新增中间态进度语义(task.is_completed、task.progress 与顶层 is_completed),用于前端判断是否已完成与展示阶段进度;仅允许任务的 pick_user_id 与当前登录用户一致时返回详情。",
|
||||||
"endpoint": "/system",
|
"endpoint": "/system",
|
||||||
"authRequired": false,
|
"authRequired": false,
|
||||||
"loginRequired": true,
|
"loginRequired": true,
|
||||||
@ -137,6 +113,12 @@
|
|||||||
"required": false,
|
"required": false,
|
||||||
"description": "拣货任务主表(精简字段)"
|
"description": "拣货任务主表(精简字段)"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "is_completed",
|
||||||
|
"type": "boolean",
|
||||||
|
"required": false,
|
||||||
|
"description": "任务是否已完成(与 task.is_completed 含义一致,便于前端直接判断)"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "boxes",
|
"name": "boxes",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
@ -162,6 +144,138 @@
|
|||||||
"description": "按 pick_mode 区分的 picking_view 形态输出(五种形态);用于前端按任务类型展示聚合视图。"
|
"description": "按 pick_mode 区分的 picking_view 形态输出(五种形态);用于前端按任务类型展示聚合视图。"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"method": "pick.wavePickTaskSubmit",
|
||||||
|
"title": "提交拣货任务中间态。用于保存阶段性数据到任务 ext_json.pick_intermediate,并在任务初始状态时自动推进到进行中。",
|
||||||
|
"description": "提交拣货任务中间态。用于保存阶段性数据到任务 ext_json.pick_intermediate,并在任务初始状态时自动推进到进行中。",
|
||||||
|
"endpoint": "/system",
|
||||||
|
"authRequired": false,
|
||||||
|
"loginRequired": true,
|
||||||
|
"status": {
|
||||||
|
"isUsed": false,
|
||||||
|
"isPlaceholder": false
|
||||||
|
},
|
||||||
|
"headers": [
|
||||||
|
{
|
||||||
|
"name": "Authorization",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "Bearer token"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "task_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货任务ID"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "payload",
|
||||||
|
"type": "object",
|
||||||
|
"required": false,
|
||||||
|
"description": "中间态业务数据对象,将原样保存到 ext_json.pick_intermediate.payload"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"response": [
|
||||||
|
{
|
||||||
|
"name": "task_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货任务ID"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "status",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "提交结果状态,固定为 submitted"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "is_completed",
|
||||||
|
"type": "boolean",
|
||||||
|
"required": true,
|
||||||
|
"description": "当前任务是否已完成"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "progress",
|
||||||
|
"type": "object",
|
||||||
|
"required": true,
|
||||||
|
"description": "任务订单拣货进度统计"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"method": "pick.wavePickTaskComplete",
|
||||||
|
"title": "完全提交拣货任务。支持 mode=1 全部确认,mode=2 部分确认(需传 order_ids)。提交后根据是否全部完成自动推进任务状态。",
|
||||||
|
"description": "完全提交拣货任务。支持 mode=1 全部确认,mode=2 部分确认(需传 order_ids)。提交后根据是否全部完成自动推进任务状态。",
|
||||||
|
"endpoint": "/system",
|
||||||
|
"authRequired": false,
|
||||||
|
"loginRequired": true,
|
||||||
|
"status": {
|
||||||
|
"isUsed": false,
|
||||||
|
"isPlaceholder": false
|
||||||
|
},
|
||||||
|
"headers": [
|
||||||
|
{
|
||||||
|
"name": "Authorization",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "Bearer token"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "task_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货任务ID"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "mode",
|
||||||
|
"type": "number",
|
||||||
|
"required": false,
|
||||||
|
"description": "提交模式:1=全部确认(默认),2=部分确认"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "order_ids",
|
||||||
|
"type": "array",
|
||||||
|
"required": false,
|
||||||
|
"description": "部分确认模式(mode=2)时必填;仅会确认命中当前任务的订单ID"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"response": [
|
||||||
|
{
|
||||||
|
"name": "task_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货任务ID"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "mode",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "实际生效的提交模式(1=全部确认,2=部分确认)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "confirmed_order_ids",
|
||||||
|
"type": "array",
|
||||||
|
"required": true,
|
||||||
|
"description": "本次成功确认的订单ID列表"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "is_completed",
|
||||||
|
"type": "boolean",
|
||||||
|
"required": true,
|
||||||
|
"description": "提交后任务是否已完成"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "progress",
|
||||||
|
"type": "object",
|
||||||
|
"required": true,
|
||||||
|
"description": "任务订单拣货进度统计"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"module": {
|
||||||
|
"name": "拣货车模块",
|
||||||
|
"key": "pickCart",
|
||||||
|
"folder": "pickcart"
|
||||||
|
},
|
||||||
|
"status": "active",
|
||||||
|
"createdAt": "2026-06-03 16:55:40",
|
||||||
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
|
"deletedAt": null,
|
||||||
|
"restoredAt": null
|
||||||
|
}
|
||||||
533
workflows/api-doc-system/data/module/pickcart/module.json
Normal file
533
workflows/api-doc-system/data/module/pickcart/module.json
Normal file
@ -0,0 +1,533 @@
|
|||||||
|
{
|
||||||
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
|
"source": "remote",
|
||||||
|
"filter": {
|
||||||
|
"platform": {
|
||||||
|
"value": "web",
|
||||||
|
"label": "网页端"
|
||||||
|
},
|
||||||
|
"project": {
|
||||||
|
"value": "all",
|
||||||
|
"label": "全部"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"module": {
|
||||||
|
"name": "拣货车模块",
|
||||||
|
"key": "pickCart",
|
||||||
|
"folder": "pickcart",
|
||||||
|
"interfaceCount": 8
|
||||||
|
},
|
||||||
|
"changes": {
|
||||||
|
"fromPreviousSnapshot": {
|
||||||
|
"moduleAdded": false,
|
||||||
|
"moduleRenamed": false,
|
||||||
|
"interfaceChanges": {
|
||||||
|
"addedMethods": [],
|
||||||
|
"deletedMethods": [],
|
||||||
|
"paramsUpdatedMethods": [],
|
||||||
|
"responseUpdatedMethods": []
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"interfaces": [
|
||||||
|
{
|
||||||
|
"method": "pickCart.scan",
|
||||||
|
"title": "按拣货车条码/编码查询拣货车信息,供 PDA 扫码后用于拣货任务绑定。",
|
||||||
|
"description": "按拣货车条码/编码查询拣货车信息,供 PDA 扫码后用于拣货任务绑定。",
|
||||||
|
"endpoint": "/system",
|
||||||
|
"authRequired": false,
|
||||||
|
"loginRequired": true,
|
||||||
|
"status": {
|
||||||
|
"isUsed": false,
|
||||||
|
"isPlaceholder": false
|
||||||
|
},
|
||||||
|
"headers": [
|
||||||
|
{
|
||||||
|
"name": "Authorization",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "Bearer token"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "cart_code",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货车条码/编码"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"response": [
|
||||||
|
{
|
||||||
|
"name": "cart_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货车ID"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "warehouse_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "仓库ID"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cart_code",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货车编码"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cart_name",
|
||||||
|
"type": "string",
|
||||||
|
"required": false,
|
||||||
|
"description": "拣货车名称"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "status",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货车状态:0-停用 1-启用"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "current_task_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": false,
|
||||||
|
"description": "当前绑定任务ID,无绑定时为 null"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "current_task_no",
|
||||||
|
"type": "string",
|
||||||
|
"required": false,
|
||||||
|
"description": "当前绑定任务编号,无绑定时为 null"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"method": "pickCart.bindTaskCart",
|
||||||
|
"title": "绑定拣货任务与拣货车。支持传 cart_id 或 cart_code;若任务已绑定其他拣货车则自动改绑,若目标拣货车已绑定其他活动任务则返回冲突。",
|
||||||
|
"description": "绑定拣货任务与拣货车。支持传 cart_id 或 cart_code;若任务已绑定其他拣货车则自动改绑,若目标拣货车已绑定其他活动任务则返回冲突。",
|
||||||
|
"endpoint": "/system",
|
||||||
|
"authRequired": false,
|
||||||
|
"loginRequired": true,
|
||||||
|
"status": {
|
||||||
|
"isUsed": false,
|
||||||
|
"isPlaceholder": false
|
||||||
|
},
|
||||||
|
"headers": [
|
||||||
|
{
|
||||||
|
"name": "Authorization",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "Bearer token"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "task_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货任务ID"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cart_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": false,
|
||||||
|
"description": "拣货车ID,和 cart_code 二选一即可"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cart_code",
|
||||||
|
"type": "string",
|
||||||
|
"required": false,
|
||||||
|
"description": "拣货车编码,和 cart_id 二选一即可"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"response": [
|
||||||
|
{
|
||||||
|
"name": "task_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货任务ID"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "task_no",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货任务编号"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cart",
|
||||||
|
"type": "object",
|
||||||
|
"required": true,
|
||||||
|
"description": "绑定后的拣货车信息"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"method": "pickCart.create",
|
||||||
|
"title": "创建拣货车。拣货车编码在当前仓库内不可重复。",
|
||||||
|
"description": "创建拣货车。拣货车编码在当前仓库内不可重复。",
|
||||||
|
"endpoint": "/system",
|
||||||
|
"authRequired": false,
|
||||||
|
"loginRequired": true,
|
||||||
|
"status": {
|
||||||
|
"isUsed": false,
|
||||||
|
"isPlaceholder": false
|
||||||
|
},
|
||||||
|
"headers": [
|
||||||
|
{
|
||||||
|
"name": "Authorization",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "Bearer token"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "cart_code",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货车编码,当前仓库内唯一"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cart_name",
|
||||||
|
"type": "string",
|
||||||
|
"required": false,
|
||||||
|
"description": "拣货车名称"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "status",
|
||||||
|
"type": "number",
|
||||||
|
"required": false,
|
||||||
|
"description": "状态:0-停用 1-启用,默认 1"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"response": [
|
||||||
|
{
|
||||||
|
"name": "cart_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货车ID"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cart_code",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货车编码"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cart_name",
|
||||||
|
"type": "string",
|
||||||
|
"required": false,
|
||||||
|
"description": "拣货车名称"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "status",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "状态:0-停用 1-启用"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"method": "pickCart.update",
|
||||||
|
"title": "更新拣货车。支持修改编码、名称、状态;若修改后的编码与当前仓库内其他拣货车重复则拦截。",
|
||||||
|
"description": "更新拣货车。支持修改编码、名称、状态;若修改后的编码与当前仓库内其他拣货车重复则拦截。",
|
||||||
|
"endpoint": "/system",
|
||||||
|
"authRequired": false,
|
||||||
|
"loginRequired": true,
|
||||||
|
"status": {
|
||||||
|
"isUsed": false,
|
||||||
|
"isPlaceholder": false
|
||||||
|
},
|
||||||
|
"headers": [
|
||||||
|
{
|
||||||
|
"name": "Authorization",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "Bearer token"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "cart_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货车ID"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cart_code",
|
||||||
|
"type": "string",
|
||||||
|
"required": false,
|
||||||
|
"description": "新的拣货车编码"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cart_name",
|
||||||
|
"type": "string",
|
||||||
|
"required": false,
|
||||||
|
"description": "新的拣货车名称"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "status",
|
||||||
|
"type": "number",
|
||||||
|
"required": false,
|
||||||
|
"description": "新的状态:0-停用 1-启用"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"response": [
|
||||||
|
{
|
||||||
|
"name": "cart_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货车ID"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cart_code",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货车编码"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cart_name",
|
||||||
|
"type": "string",
|
||||||
|
"required": false,
|
||||||
|
"description": "拣货车名称"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "status",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "状态:0-停用 1-启用"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"method": "pickCart.delete",
|
||||||
|
"title": "删除拣货车。若拣货车当前已绑定任务或存在有效绑定记录,则不允许删除。",
|
||||||
|
"description": "删除拣货车。若拣货车当前已绑定任务或存在有效绑定记录,则不允许删除。",
|
||||||
|
"endpoint": "/system",
|
||||||
|
"authRequired": false,
|
||||||
|
"loginRequired": true,
|
||||||
|
"status": {
|
||||||
|
"isUsed": false,
|
||||||
|
"isPlaceholder": false
|
||||||
|
},
|
||||||
|
"headers": [
|
||||||
|
{
|
||||||
|
"name": "Authorization",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "Bearer token"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "cart_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货车ID"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"response": [
|
||||||
|
{
|
||||||
|
"name": "cart_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "被删除的拣货车ID"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "deleted",
|
||||||
|
"type": "boolean",
|
||||||
|
"required": true,
|
||||||
|
"description": "是否删除成功,固定为 true"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"method": "pickCart.detail",
|
||||||
|
"title": "查询拣货车详情。",
|
||||||
|
"description": "查询拣货车详情。",
|
||||||
|
"endpoint": "/system",
|
||||||
|
"authRequired": false,
|
||||||
|
"loginRequired": true,
|
||||||
|
"status": {
|
||||||
|
"isUsed": false,
|
||||||
|
"isPlaceholder": false
|
||||||
|
},
|
||||||
|
"headers": [
|
||||||
|
{
|
||||||
|
"name": "Authorization",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "Bearer token"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "cart_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货车ID"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"response": [
|
||||||
|
{
|
||||||
|
"name": "cart_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货车ID"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "warehouse_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "仓库ID"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cart_code",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货车编码"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cart_name",
|
||||||
|
"type": "string",
|
||||||
|
"required": false,
|
||||||
|
"description": "拣货车名称"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "status",
|
||||||
|
"type": "number",
|
||||||
|
"required": true,
|
||||||
|
"description": "状态:0-停用 1-启用"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "current_task_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": false,
|
||||||
|
"description": "当前绑定任务ID,无绑定时为 null"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "current_task_no",
|
||||||
|
"type": "string",
|
||||||
|
"required": false,
|
||||||
|
"description": "当前绑定任务编号,无绑定时为 null"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"method": "pickCart.list",
|
||||||
|
"title": "分页查询拣货车列表。支持按关键字、状态、当前绑定任务筛选。",
|
||||||
|
"description": "分页查询拣货车列表。支持按关键字、状态、当前绑定任务筛选。",
|
||||||
|
"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,默认 1/20"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "where",
|
||||||
|
"type": "object",
|
||||||
|
"required": false,
|
||||||
|
"description": "筛选条件,支持 keyword、status、current_task_id"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"response": [
|
||||||
|
{
|
||||||
|
"name": "list",
|
||||||
|
"type": "array",
|
||||||
|
"required": true,
|
||||||
|
"description": "拣货车列表,元素结构同 pickCart.detail 返回"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "pagination",
|
||||||
|
"type": "object",
|
||||||
|
"required": true,
|
||||||
|
"description": "分页信息,包含 page、pageSize、total、totalPages"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"method": "pickCart.codeDuplicateCheck",
|
||||||
|
"title": "拣货车编码查重。支持传 exclude_cart_id 排除自身,用于编辑场景判断是否与其他车重复。",
|
||||||
|
"description": "拣货车编码查重。支持传 exclude_cart_id 排除自身,用于编辑场景判断是否与其他车重复。",
|
||||||
|
"endpoint": "/system",
|
||||||
|
"authRequired": false,
|
||||||
|
"loginRequired": true,
|
||||||
|
"status": {
|
||||||
|
"isUsed": false,
|
||||||
|
"isPlaceholder": false
|
||||||
|
},
|
||||||
|
"headers": [
|
||||||
|
{
|
||||||
|
"name": "Authorization",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "Bearer token"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "cart_code",
|
||||||
|
"type": "string",
|
||||||
|
"required": true,
|
||||||
|
"description": "待校验的拣货车编码"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "exclude_cart_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": false,
|
||||||
|
"description": "需排除的拣货车ID,通常为当前编辑记录自身ID"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"response": [
|
||||||
|
{
|
||||||
|
"name": "duplicated",
|
||||||
|
"type": "boolean",
|
||||||
|
"required": true,
|
||||||
|
"description": "是否存在重复编码"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cart_id",
|
||||||
|
"type": "number",
|
||||||
|
"required": false,
|
||||||
|
"description": "命中的重复拣货车ID,无重复时为 null"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cart_code",
|
||||||
|
"type": "string",
|
||||||
|
"required": false,
|
||||||
|
"description": "命中的重复编码,无重复时为 null"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cart_name",
|
||||||
|
"type": "string",
|
||||||
|
"required": false,
|
||||||
|
"description": "命中的重复拣货车名称,无重复时为 null"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "status",
|
||||||
|
"type": "number",
|
||||||
|
"required": false,
|
||||||
|
"description": "命中的重复拣货车状态,无重复时为 null"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-17 19:37:49",
|
"createdAt": "2026-04-17 19:37:49",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-17 20:21:27",
|
"createdAt": "2026-04-17 20:21:27",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-05-29 09:07:53",
|
"createdAt": "2026-05-29 09:07:53",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-05-29 09:07:53",
|
"createdAt": "2026-05-29 09:07:53",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-17 19:16:50",
|
"createdAt": "2026-04-17 19:16:50",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-05-04 09:11:04",
|
"createdAt": "2026-05-04 09:11:04",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-05-25 17:05:16",
|
"createdAt": "2026-05-25 17:05:16",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-05-15 17:32:36",
|
"createdAt": "2026-05-15 17:32:36",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": "2026-04-17 19:16:50"
|
"restoredAt": "2026-04-17 19:16:50"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-06-02 13:57:54",
|
"updatedAt": "2026-06-03 17:54:37",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-06-02 13:57:54",
|
"generatedAt": "2026-06-03 17:54:37",
|
||||||
"generatedAtLocal": "2026-06-02 13:57:54",
|
"generatedAtLocal": "2026-06-03 17:54:37",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user