4月21
This commit is contained in:
parent
411df459f5
commit
7a428fbdf3
@ -20,6 +20,10 @@ export type ExpectionOrderListParams = {
|
||||
sort?: OrderSort
|
||||
}
|
||||
|
||||
export type ExpectionOrderResolveExceptionParams = {
|
||||
ids: number[]
|
||||
}
|
||||
|
||||
export function orderExpectionOrderList(data: ExpectionOrderListParams = {}): Promise<any> {
|
||||
return request({
|
||||
url: '/system',
|
||||
@ -34,6 +38,23 @@ export function orderExpectionOrderList(data: ExpectionOrderListParams = {}): Pr
|
||||
} as any)
|
||||
}
|
||||
|
||||
export const orderExpectionOrder = {
|
||||
list: orderExpectionOrderList
|
||||
export function orderExpectionOrderResolveException(
|
||||
data: ExpectionOrderResolveExceptionParams
|
||||
): Promise<any> {
|
||||
return request({
|
||||
url: '/system',
|
||||
method: 'post',
|
||||
params: {
|
||||
method: 'order.expectionOrder.resolveException',
|
||||
v,
|
||||
timestamp: Date.now()
|
||||
},
|
||||
data,
|
||||
isSystemApi: true
|
||||
} as any)
|
||||
}
|
||||
|
||||
export const orderExpectionOrder = {
|
||||
list: orderExpectionOrderList,
|
||||
resolveException: orderExpectionOrderResolveException
|
||||
}
|
||||
|
||||
@ -27,6 +27,12 @@ export type ManualOutboundParams = {
|
||||
executionTimeoutMs?: number
|
||||
}
|
||||
|
||||
export type QueryOrderLogsParams = {
|
||||
id: string
|
||||
page?: number
|
||||
pageSize?: number
|
||||
}
|
||||
|
||||
export function orderList(data: OrderListParams = {}): Promise<any> {
|
||||
return request({
|
||||
url: '/system',
|
||||
@ -69,6 +75,20 @@ export function orderBadgeCount(): Promise<any> {
|
||||
} as any)
|
||||
}
|
||||
|
||||
export function orderQueryOrderLogs(data: QueryOrderLogsParams): Promise<any> {
|
||||
return request({
|
||||
url: '/system',
|
||||
method: 'post',
|
||||
params: {
|
||||
method: 'order.queryOrderLogs',
|
||||
v,
|
||||
timestamp: new Date().getTime()
|
||||
},
|
||||
data,
|
||||
isSystemApi: true
|
||||
} as any)
|
||||
}
|
||||
|
||||
/** 订单明细行(历史接口 order.detail,未纳入远端 module 清单) */
|
||||
export function orderDetail(data: Record<string, any> = {}): Promise<any> {
|
||||
return request({
|
||||
@ -88,5 +108,6 @@ export const order = {
|
||||
list: orderList,
|
||||
manualOutboundOrder: orderManualOutboundOrder,
|
||||
badgeCount: orderBadgeCount,
|
||||
queryOrderLogs: orderQueryOrderLogs,
|
||||
detail: orderDetail
|
||||
}
|
||||
|
||||
@ -1,155 +1,299 @@
|
||||
import request from '@/utils/request'
|
||||
import request from "@/utils/request";
|
||||
|
||||
const v = '1.0'
|
||||
const v = "1.0";
|
||||
|
||||
export type OrderWhere = Record<string, any>
|
||||
// 啊大王大大
|
||||
|
||||
export type OrderWhere = Record<string, any>;
|
||||
export type OrderSort = {
|
||||
sortField?: string
|
||||
sortOrder?: 'asc' | 'desc' | 'ASC' | 'DESC'
|
||||
field?: string
|
||||
order?: 'asc' | 'desc' | 'ASC' | 'DESC'
|
||||
}
|
||||
sortField?: string;
|
||||
sortOrder?: "asc" | "desc" | "ASC" | "DESC";
|
||||
field?: string;
|
||||
order?: "asc" | "desc" | "ASC" | "DESC";
|
||||
};
|
||||
export type OrderPagination = {
|
||||
page?: number
|
||||
pageSize?: number
|
||||
}
|
||||
page?: number;
|
||||
pageSize?: number;
|
||||
};
|
||||
|
||||
export type PendingOrderListParams = {
|
||||
pagination?: OrderPagination
|
||||
where?: OrderWhere
|
||||
sort?: OrderSort
|
||||
}
|
||||
pagination?: OrderPagination;
|
||||
where?: OrderWhere;
|
||||
sort?: OrderSort;
|
||||
};
|
||||
|
||||
/** markPendingOutboundOrder / cancelOrder:文档要求订单 ID 正整数数组,不支持单 id 或逗号字符串 */
|
||||
export type PendingOrderIdsParams = {
|
||||
ids: Array<number | string>
|
||||
}
|
||||
ids: number[];
|
||||
};
|
||||
|
||||
export type PendingOrderReverseReviewParams = {
|
||||
ids?: Array<number | string>
|
||||
id?: number | string
|
||||
order_id?: number | string
|
||||
}
|
||||
ids: number[];
|
||||
};
|
||||
|
||||
export type PendingOrderAllocateExpressCodeParams = {
|
||||
orders: Array<Record<string, any>>
|
||||
}
|
||||
orders: Array<Record<string, any>>;
|
||||
};
|
||||
|
||||
export type PendingOrderUpdateOrderPlatformParams = {
|
||||
order_ids: number[];
|
||||
code: string;
|
||||
};
|
||||
|
||||
export type PendingOrderUpdateOrderExpressParams = {
|
||||
order_ids: number[];
|
||||
express_code: string;
|
||||
};
|
||||
|
||||
export type PendingOrderCloneOrderParams = {
|
||||
order_id: number;
|
||||
};
|
||||
|
||||
export type PendingOrderCreateOrderItem = {
|
||||
item_code: string;
|
||||
plan_qty: number;
|
||||
item_name?: string;
|
||||
order_line_no?: string;
|
||||
actual_price?: number;
|
||||
};
|
||||
|
||||
export type PendingOrderCreateOrderParams = {
|
||||
store_id: number;
|
||||
name: string;
|
||||
mobile?: string;
|
||||
tel?: string;
|
||||
detail_address: string;
|
||||
province?: string;
|
||||
city?: string;
|
||||
area?: string;
|
||||
town?: string;
|
||||
zip_code?: string;
|
||||
items: PendingOrderCreateOrderItem[];
|
||||
delivery_order_code?: string;
|
||||
logistics_code?: string;
|
||||
logistics_name?: string;
|
||||
sys_platform_code?: string;
|
||||
source_platform_code?: string;
|
||||
source_order_codes?: string;
|
||||
order_type?: string;
|
||||
is_urgency?: string;
|
||||
invoice_flag?: string;
|
||||
};
|
||||
|
||||
export type PendingOrderImportOrdersFromExcelParams = {
|
||||
file_base64: string;
|
||||
};
|
||||
|
||||
/** 与文档 Params 别名对齐;不再传 warehouse_id(由登录上下文决定仓库) */
|
||||
export type PendingOrderAllocateStorageParams = {
|
||||
allow_storage_location?: boolean
|
||||
allowStorageLocation?: boolean
|
||||
is_allow_storage?: boolean
|
||||
isAllowStorage?: boolean
|
||||
order_ids?: Array<number | string> | string | number
|
||||
orderIds?: Array<number | string> | string | number
|
||||
ids?: Array<number | string> | string | number
|
||||
order_id?: number | string
|
||||
orderId?: number | string
|
||||
id?: number | string
|
||||
}
|
||||
allow_storage_location?: boolean;
|
||||
allowStorageLocation?: boolean;
|
||||
is_allow_storage?: boolean;
|
||||
isAllowStorage?: boolean;
|
||||
order_ids?: Array<number | string> | string | number;
|
||||
orderIds?: Array<number | string> | string | number;
|
||||
ids?: Array<number | string> | string | number;
|
||||
order_id?: number | string;
|
||||
orderId?: number | string;
|
||||
id?: number | string;
|
||||
};
|
||||
|
||||
export function orderPendingOrderList(data: PendingOrderListParams = {}): Promise<any> {
|
||||
return request({
|
||||
url: '/system',
|
||||
method: 'post',
|
||||
url: "/system",
|
||||
method: "post",
|
||||
params: {
|
||||
method: 'order.pendingOrder.list',
|
||||
method: "order.pendingOrder.list",
|
||||
v,
|
||||
timestamp: Date.now()
|
||||
timestamp: Date.now(),
|
||||
},
|
||||
data,
|
||||
isSystemApi: true
|
||||
} as any)
|
||||
isSystemApi: true,
|
||||
} as any);
|
||||
}
|
||||
|
||||
export function orderPendingOrderReverseReviewOrder(data: PendingOrderReverseReviewParams): Promise<any> {
|
||||
export function orderPendingOrderReverseReviewOrder(
|
||||
data: PendingOrderReverseReviewParams,
|
||||
): Promise<any> {
|
||||
return request({
|
||||
url: '/system',
|
||||
method: 'post',
|
||||
url: "/system",
|
||||
method: "post",
|
||||
params: {
|
||||
method: 'order.pendingOrder.reverseReviewOrder',
|
||||
method: "order.pendingOrder.reverseReviewOrder",
|
||||
v,
|
||||
timestamp: Date.now()
|
||||
timestamp: Date.now(),
|
||||
},
|
||||
data,
|
||||
isSystemApi: true
|
||||
} as any)
|
||||
isSystemApi: true,
|
||||
} as any);
|
||||
}
|
||||
|
||||
export function orderPendingOrderMarkPendingOutboundOrder(data: PendingOrderIdsParams): Promise<any> {
|
||||
export function orderPendingOrderMarkPendingOutboundOrder(
|
||||
data: PendingOrderIdsParams,
|
||||
): Promise<any> {
|
||||
return request({
|
||||
url: '/system',
|
||||
method: 'post',
|
||||
url: "/system",
|
||||
method: "post",
|
||||
params: {
|
||||
method: 'order.pendingOrder.markPendingOutboundOrder',
|
||||
method: "order.pendingOrder.markPendingOutboundOrder",
|
||||
v,
|
||||
timestamp: Date.now()
|
||||
timestamp: Date.now(),
|
||||
},
|
||||
data,
|
||||
isSystemApi: true
|
||||
} as any)
|
||||
isSystemApi: true,
|
||||
} as any);
|
||||
}
|
||||
|
||||
export function orderPendingOrderCancelOrder(data: PendingOrderIdsParams): Promise<any> {
|
||||
return request({
|
||||
url: '/system',
|
||||
method: 'post',
|
||||
url: "/system",
|
||||
method: "post",
|
||||
params: {
|
||||
method: 'order.pendingOrder.cancelOrder',
|
||||
method: "order.pendingOrder.cancelOrder",
|
||||
v,
|
||||
timestamp: Date.now()
|
||||
timestamp: Date.now(),
|
||||
},
|
||||
data,
|
||||
isSystemApi: true
|
||||
} as any)
|
||||
isSystemApi: true,
|
||||
} as any);
|
||||
}
|
||||
|
||||
export function orderPendingOrderAllocateExpressCode(
|
||||
data: PendingOrderAllocateExpressCodeParams
|
||||
data: PendingOrderAllocateExpressCodeParams,
|
||||
): Promise<any> {
|
||||
return request({
|
||||
url: '/system',
|
||||
method: 'post',
|
||||
url: "/system",
|
||||
method: "post",
|
||||
params: {
|
||||
method: 'order.pendingOrder.allocateExpressCode',
|
||||
method: "order.pendingOrder.allocateExpressCode",
|
||||
v,
|
||||
timestamp: Date.now()
|
||||
timestamp: Date.now(),
|
||||
},
|
||||
data,
|
||||
isSystemApi: true
|
||||
} as any)
|
||||
isSystemApi: true,
|
||||
} as any);
|
||||
}
|
||||
|
||||
export function orderPendingOrderAllocateStorage(
|
||||
data: PendingOrderAllocateStorageParams
|
||||
data: PendingOrderAllocateStorageParams,
|
||||
): Promise<any> {
|
||||
return request({
|
||||
url: '/system',
|
||||
method: 'post',
|
||||
url: "/system",
|
||||
method: "post",
|
||||
params: {
|
||||
method: 'order.pendingOrder.allocateStorage',
|
||||
method: "order.pendingOrder.allocateStorage",
|
||||
v,
|
||||
timestamp: Date.now()
|
||||
timestamp: Date.now(),
|
||||
},
|
||||
data,
|
||||
isSystemApi: true
|
||||
} as any)
|
||||
isSystemApi: true,
|
||||
} as any);
|
||||
}
|
||||
|
||||
export function orderPendingOrderCancelAllocateStorage(
|
||||
data: PendingOrderAllocateStorageParams
|
||||
data: PendingOrderAllocateStorageParams,
|
||||
): Promise<any> {
|
||||
return request({
|
||||
url: '/system',
|
||||
method: 'post',
|
||||
url: "/system",
|
||||
method: "post",
|
||||
params: {
|
||||
method: 'order.pendingOrder.cancelAllocateStorage',
|
||||
method: "order.pendingOrder.cancelAllocateStorage",
|
||||
v,
|
||||
timestamp: Date.now()
|
||||
timestamp: Date.now(),
|
||||
},
|
||||
data,
|
||||
isSystemApi: true
|
||||
} as any)
|
||||
isSystemApi: true,
|
||||
} as any);
|
||||
}
|
||||
|
||||
export function orderPendingOrderUpdateOrderPlatform(
|
||||
data: PendingOrderUpdateOrderPlatformParams,
|
||||
): Promise<any> {
|
||||
return request({
|
||||
url: "/system",
|
||||
method: "post",
|
||||
params: {
|
||||
method: "order.pendingOrder.updateOrderPlatform",
|
||||
v,
|
||||
timestamp: Date.now(),
|
||||
},
|
||||
data,
|
||||
isSystemApi: true,
|
||||
} as any);
|
||||
}
|
||||
|
||||
export function orderPendingOrderUpdateOrderExpress(
|
||||
data: PendingOrderUpdateOrderExpressParams,
|
||||
): Promise<any> {
|
||||
return request({
|
||||
url: "/system",
|
||||
method: "post",
|
||||
params: {
|
||||
method: "order.pendingOrder.updateOrderExpress",
|
||||
v,
|
||||
timestamp: Date.now(),
|
||||
},
|
||||
data,
|
||||
isSystemApi: true,
|
||||
} as any);
|
||||
}
|
||||
|
||||
export function orderPendingOrderCloneOrder(data: PendingOrderCloneOrderParams): Promise<any> {
|
||||
return request({
|
||||
url: "/system",
|
||||
method: "post",
|
||||
params: {
|
||||
method: "order.pendingOrder.cloneOrder",
|
||||
v,
|
||||
timestamp: Date.now(),
|
||||
},
|
||||
data,
|
||||
isSystemApi: true,
|
||||
} as any);
|
||||
}
|
||||
|
||||
export function orderPendingOrderCreateOrder(data: PendingOrderCreateOrderParams): Promise<any> {
|
||||
return request({
|
||||
url: "/system",
|
||||
method: "post",
|
||||
params: {
|
||||
method: "order.pendingOrder.createOrder",
|
||||
v,
|
||||
timestamp: Date.now(),
|
||||
},
|
||||
data,
|
||||
isSystemApi: true,
|
||||
} as any);
|
||||
}
|
||||
|
||||
export function orderPendingOrderDownloadCreateTemplate(): Promise<any> {
|
||||
return request({
|
||||
url: "/system",
|
||||
method: "post",
|
||||
params: {
|
||||
method: "order.pendingOrder.downloadCreateTemplate",
|
||||
v,
|
||||
timestamp: Date.now(),
|
||||
},
|
||||
data: {},
|
||||
isSystemApi: true,
|
||||
} as any);
|
||||
}
|
||||
|
||||
export function orderPendingOrderImportOrdersFromExcel(
|
||||
data: PendingOrderImportOrdersFromExcelParams,
|
||||
): Promise<any> {
|
||||
return request({
|
||||
url: "/system",
|
||||
method: "post",
|
||||
params: {
|
||||
method: "order.pendingOrder.importOrdersFromExcel",
|
||||
v,
|
||||
timestamp: Date.now(),
|
||||
},
|
||||
data,
|
||||
isSystemApi: true,
|
||||
} as any);
|
||||
}
|
||||
|
||||
export const orderPendingOrder = {
|
||||
@ -159,5 +303,11 @@ export const orderPendingOrder = {
|
||||
cancelOrder: orderPendingOrderCancelOrder,
|
||||
allocateExpressCode: orderPendingOrderAllocateExpressCode,
|
||||
allocateStorage: orderPendingOrderAllocateStorage,
|
||||
cancelAllocateStorage: orderPendingOrderCancelAllocateStorage
|
||||
}
|
||||
cancelAllocateStorage: orderPendingOrderCancelAllocateStorage,
|
||||
updateOrderPlatform: orderPendingOrderUpdateOrderPlatform,
|
||||
updateOrderExpress: orderPendingOrderUpdateOrderExpress,
|
||||
cloneOrder: orderPendingOrderCloneOrder,
|
||||
createOrder: orderPendingOrderCreateOrder,
|
||||
downloadCreateTemplate: orderPendingOrderDownloadCreateTemplate,
|
||||
importOrdersFromExcel: orderPendingOrderImportOrdersFromExcel,
|
||||
};
|
||||
|
||||
59
src/test.txt
59
src/test.txt
@ -1,59 +0,0 @@
|
||||
接口文档更新:
|
||||
[
|
||||
{
|
||||
"version": "2026.04.12-system-01",
|
||||
"date": "2026-04-12",
|
||||
"summary": "新增订单工作台各分组 list 接口文档,说明 where 透传与分页上限(pageSize\u003C=200)",
|
||||
"methods": [
|
||||
"order.list",
|
||||
"order.reviewOrder.list",
|
||||
"order.reviewOrder.reviewOrder",
|
||||
"order.pendingOrder.list",
|
||||
"order.expectionOrder.list",
|
||||
"order.entrustOrder.list",
|
||||
"order.deliveryOrder.list",
|
||||
"order.deliveryExpectionOrder.list",
|
||||
"order.archiveOrder.list"
|
||||
],
|
||||
"notes": [
|
||||
"补充 order 工作台分组 list 接口,并说明所有 list 接口支持 pagination、where、sort;服务端对 pagination.pageSize 做上限截断(MAX=200)。",
|
||||
"说明 where 参数会被 normalize 并交给解析器 parseWhereConditions,再与模块默认条件合并后用于底层查询;示例:reviewOrder 模块默认 step=0,pendingOrder 默认 step in [1,2],deliveryOrder 默认 dispatch_lane=m4 等。",
|
||||
"补充待审核模块的审核提交接口 order.reviewOrder.reviewOrder,说明其用于更新订单审核状态/step,并保留 id、review_status、inspection_status、order_id 等兼容字段说明。",
|
||||
"兼容入口(如 getreviewOrderlist / getdeliveryOrderlist 等)作为历史兼容保留,在文档中标为兼容说明,不作为主入口推荐。"
|
||||
],
|
||||
"type": "added",
|
||||
"module": "order"
|
||||
},
|
||||
{
|
||||
"version": "2026.04.13-system-01",
|
||||
"date": "2026-04-13",
|
||||
"summary": "新增待处理订单取消接口 order.pendingOrder.cancelOrder(ids-only)",
|
||||
"methods": [
|
||||
"order.pendingOrder.cancelOrder"
|
||||
],
|
||||
"notes": [
|
||||
"新增接口 order.pendingOrder.cancelOrder:用于批量取消待处理订单,接口仅接受 ids 数组入参(number[] 或 string[]),不再兼容 id/order_id/逗号字符串等兼容写法。",
|
||||
"严格同仓校验:仓库上下文由当前登录用户的 store_id 决定,禁止传入 warehouse_id / warehouseId。",
|
||||
"状态限制:仅允许 step ∈ [1,2] 且 outbound_status != 'padding' 的订单被取消;已取消或已完成的订单不可取消,状态不满足时返回 404/400。",
|
||||
"取消后语义:接口将把订单表的 status 字段设为 'cancel' 并更新 updated_at;返回首个被取消的订单 id、status、updated_at、updated_count 与 ids 列表。",
|
||||
"入参/响应契约已按代码侧约定(ids-only、同仓校验、允许状态集合、取消后语义)同步到 methods/system.json。"
|
||||
],
|
||||
"type": "added",
|
||||
"module": "order"
|
||||
},
|
||||
{
|
||||
"version": "2026.04.13-system-02",
|
||||
"date": "2026-04-13",
|
||||
"summary": "新增订单工作台角标聚合接口 order.badgeCount",
|
||||
"methods": [
|
||||
"order.badgeCount"
|
||||
],
|
||||
"notes": [
|
||||
"聚合返回 8 个订单工作台标签的展示值(用于前端 badge)。",
|
||||
"按当前登录用户的 store_id 维度做短缓存;5 个模块查表统计数量,≥100 返回 '99+',否则返回实际数字(0..99)。",
|
||||
"deliveryOrder、deliveryExpectionOrder、archiveOrder 三个字段固定返回 '99+'(不查表)。"
|
||||
],
|
||||
"type": "added",
|
||||
"module": "order"
|
||||
}
|
||||
]
|
||||
@ -44,13 +44,13 @@
|
||||
@selection-change="onSelectionChange"
|
||||
>
|
||||
<template #column-order_status="{ row }">
|
||||
<el-tag :type="getStatusType(row.order_status)" size="small">
|
||||
<el-tag :type="getTagType('order_status', row.order_status)" size="small">
|
||||
{{ translateOrderField('order_status', row.order_status) }}
|
||||
</el-tag>
|
||||
</template>
|
||||
|
||||
<template #column-status="{ row }">
|
||||
<el-tag :type="row.status === 'finished' ? 'success' : 'info'" size="small">
|
||||
<el-tag :type="getTagType('status', row.status)" size="small">
|
||||
{{ translateOrderField('status', row.status) }}
|
||||
</el-tag>
|
||||
</template>
|
||||
@ -73,7 +73,7 @@
|
||||
<div class="detail-container">
|
||||
<KeepAlive>
|
||||
<div v-if="activeTab === 'details'">
|
||||
<detail :data="selectedRow" :config="archiveOrderDetail" :column="3" />
|
||||
<order-detail-panel :data="selectedRow" :config="archiveOrderDetail" :column="3" />
|
||||
</div>
|
||||
<div v-else-if="activeTab === 'fulfillment'">
|
||||
<p>履约历程加载中...</p>
|
||||
@ -106,9 +106,10 @@ import {
|
||||
archiveAvailableFields,
|
||||
archiveColumns,
|
||||
archiveOrderDetail,
|
||||
translateOrderField
|
||||
translateOrderField,
|
||||
getTagType
|
||||
} from './config/order-common-config'
|
||||
import detail from './component/detail.vue'
|
||||
import OrderDetailPanel from './component/OrderDetailPanel.vue'
|
||||
import log from './component/log.vue'
|
||||
import { exportUpperTableRows } from './utils/export'
|
||||
|
||||
@ -149,10 +150,6 @@ function translateField(fieldValue: string, value: any) {
|
||||
return value
|
||||
}
|
||||
|
||||
function getStatusType(status: string) {
|
||||
return 'info'
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
loadData()
|
||||
loadFilterData()
|
||||
|
||||
@ -0,0 +1,97 @@
|
||||
<template>
|
||||
<div class="order-detail-view">
|
||||
<el-descriptions :column="column || 3" border>
|
||||
<el-descriptions-item
|
||||
v-for="item in config"
|
||||
:key="item.prop"
|
||||
:label="item.label"
|
||||
:span="item.span || 1"
|
||||
>
|
||||
<template v-if="item.prop === 'items'">
|
||||
<div v-if="displayValue(item.prop) !== '-'">
|
||||
{{ displayValue(item.prop) }}
|
||||
</div>
|
||||
<span v-else>-</span>
|
||||
</template>
|
||||
<template v-else>
|
||||
{{ displayValue(item.prop) }}
|
||||
</template>
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import {
|
||||
ORDER_DETAIL_TIME_FIELDS,
|
||||
formatOrderTime,
|
||||
translateOrderField
|
||||
} from '../config/order-common-config'
|
||||
|
||||
interface ConfigItem {
|
||||
label: string
|
||||
prop: string
|
||||
span?: number
|
||||
}
|
||||
|
||||
const props = defineProps<{
|
||||
data: any
|
||||
config: ConfigItem[]
|
||||
column?: number
|
||||
}>()
|
||||
|
||||
const needTranslateFields = new Set([
|
||||
'status',
|
||||
'inspection_status',
|
||||
'is_urgency',
|
||||
'sync_status',
|
||||
'invoice_flag',
|
||||
'post_status',
|
||||
'storage_status',
|
||||
'pick_status',
|
||||
'print_status',
|
||||
'order_status',
|
||||
'intercept_status',
|
||||
'source_platform_code'
|
||||
])
|
||||
|
||||
function displayValue(prop: string) {
|
||||
if (!props.data) return '-'
|
||||
|
||||
if (prop === 'full_address') {
|
||||
const address = [
|
||||
props.data.province,
|
||||
props.data.city,
|
||||
props.data.area,
|
||||
props.data.town,
|
||||
props.data.detail_address
|
||||
]
|
||||
.filter((part: any) => part !== undefined && part !== null && `${part}`.trim() !== '')
|
||||
.join(' ')
|
||||
return address || '-'
|
||||
}
|
||||
|
||||
const raw = props.data[prop]
|
||||
if (raw === undefined || raw === null || raw === '') {
|
||||
return '-'
|
||||
}
|
||||
|
||||
if (needTranslateFields.has(prop)) {
|
||||
return translateOrderField(prop, raw)
|
||||
}
|
||||
|
||||
if (ORDER_DETAIL_TIME_FIELDS.has(prop)) {
|
||||
return formatOrderTime(raw)
|
||||
}
|
||||
|
||||
return raw
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.order-detail-view {
|
||||
padding: 10px;
|
||||
height: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
</style>
|
||||
@ -41,7 +41,7 @@
|
||||
<script setup lang="ts">
|
||||
import { reactive, ref } from 'vue'
|
||||
import { ElMessage } from 'element-plus'
|
||||
import { orderOutboundOrder } from '@/api/order.outboundOrder/orderoutboundOrder'
|
||||
import { orderOutboundOrder } from '@/api/order.outboundorder/orderoutboundOrder'
|
||||
|
||||
const emit = defineEmits<{
|
||||
(e: 'success', data: any): void
|
||||
|
||||
@ -1,28 +1,9 @@
|
||||
<template>
|
||||
<div class="order-detail-view">
|
||||
<el-descriptions :column="column || 3" border>
|
||||
<el-descriptions-item
|
||||
v-for="item in config"
|
||||
:key="item.prop"
|
||||
:label="item.label"
|
||||
:span="item.span || 1"
|
||||
>
|
||||
<template v-if="item.prop === 'items'">
|
||||
<div v-if="displayValue(item.prop) !== '-'">
|
||||
{{ displayValue(item.prop) }}
|
||||
</div>
|
||||
<span v-else>-</span>
|
||||
</template>
|
||||
<template v-else>
|
||||
{{ displayValue(item.prop) }}
|
||||
</template>
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
</div>
|
||||
<order-detail-panel :data="data" :config="config" :column="column" />
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { translateOrderField } from '../config/order-common-config'
|
||||
import OrderDetailPanel from './OrderDetailPanel.vue'
|
||||
|
||||
interface ConfigItem {
|
||||
label: string
|
||||
@ -30,60 +11,9 @@ interface ConfigItem {
|
||||
span?: number
|
||||
}
|
||||
|
||||
const props = defineProps<{
|
||||
defineProps<{
|
||||
data: any
|
||||
config: ConfigItem[]
|
||||
column?: number
|
||||
}>()
|
||||
|
||||
const needTranslateFields = new Set([
|
||||
'status',
|
||||
'inspection_status',
|
||||
'is_urgency',
|
||||
'sync_status',
|
||||
'invoice_flag',
|
||||
'post_status',
|
||||
'storage_status',
|
||||
'pick_status',
|
||||
'print_status',
|
||||
'order_status',
|
||||
'intercept_status',
|
||||
'source_platform_code'
|
||||
])
|
||||
|
||||
function displayValue(prop: string) {
|
||||
if (!props.data) return '-'
|
||||
|
||||
if (prop === 'full_address') {
|
||||
const address = [
|
||||
props.data.province,
|
||||
props.data.city,
|
||||
props.data.area,
|
||||
props.data.town,
|
||||
props.data.detail_address
|
||||
]
|
||||
.filter((part: any) => part !== undefined && part !== null && `${part}`.trim() !== '')
|
||||
.join(' ')
|
||||
return address || '-'
|
||||
}
|
||||
|
||||
const raw = props.data[prop]
|
||||
if (raw === undefined || raw === null || raw === '') {
|
||||
return '-'
|
||||
}
|
||||
|
||||
if (needTranslateFields.has(prop)) {
|
||||
return translateOrderField(prop, raw)
|
||||
}
|
||||
|
||||
return raw
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.order-detail-view {
|
||||
padding: 10px;
|
||||
height: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -1,13 +1,224 @@
|
||||
<template>
|
||||
<div class="order-log-view">日志</div>
|
||||
<div class="log-container">
|
||||
<el-button-group class="toolbar-btn-group">
|
||||
<el-button
|
||||
type="primary"
|
||||
size="small"
|
||||
:icon="Refresh"
|
||||
title="刷新"
|
||||
:loading="loading"
|
||||
class="toolbar-btn"
|
||||
:disabled="!orderId"
|
||||
@click="fetchLogs"
|
||||
>
|
||||
刷新
|
||||
</el-button>
|
||||
</el-button-group>
|
||||
|
||||
<el-table
|
||||
:data="tableData"
|
||||
border
|
||||
stripe
|
||||
style="width: 100%; height: 100%"
|
||||
height="100%"
|
||||
v-loading="loading"
|
||||
>
|
||||
<el-table-column prop="created_at" label="时间" width="250" />
|
||||
<el-table-column prop="operator_name" label="操作人" width="120" />
|
||||
<el-table-column prop="operation_name" label="操作名称" />
|
||||
<el-table-column prop="platform_name" label="操作平台" />
|
||||
|
||||
<el-table-column label="操作" width="120">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
v-if="scope.row.external_log_id"
|
||||
type="primary"
|
||||
link
|
||||
size="small"
|
||||
@click="viewData(scope.row)"
|
||||
>
|
||||
查看报文
|
||||
</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
||||
<div class="pagination-container">
|
||||
<el-pagination
|
||||
v-model:current-page="pagination.page"
|
||||
v-model:page-size="pagination.pageSize"
|
||||
:page-sizes="[10, 20, 50, 100]"
|
||||
:total="pagination.total"
|
||||
layout="total, sizes, prev, pager, next, jumper"
|
||||
background
|
||||
size="small"
|
||||
@size-change="handlePageSizeChange"
|
||||
@current-change="handlePageChange"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<el-drawer
|
||||
v-model="showRequestData"
|
||||
direction="rtl"
|
||||
:with-header="false"
|
||||
size="800px"
|
||||
class="el-drawers"
|
||||
>
|
||||
<RequestData
|
||||
v-if="showRequestData"
|
||||
:id="requestId"
|
||||
:type="requestType"
|
||||
/>
|
||||
</el-drawer>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts"></script>
|
||||
<script setup lang="ts">
|
||||
import { computed, onMounted, reactive, ref, watch } from 'vue'
|
||||
import { ElMessage } from 'element-plus'
|
||||
import { Refresh } from '@element-plus/icons-vue'
|
||||
import { orderQueryOrderLogs } from '@/api/order.index/orderindex'
|
||||
import RequestData from '@/components/RequestData/index.vue'
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.order-log-view {
|
||||
padding: 10px;
|
||||
const props = defineProps<{
|
||||
/** 当前选中订单行(与其它订单页一致) */
|
||||
data?: Record<string, any> | null
|
||||
}>()
|
||||
|
||||
const loading = ref(false)
|
||||
const tableData = ref<any[]>([])
|
||||
const showRequestData = ref(false)
|
||||
const requestId = ref(0)
|
||||
const requestType = ref('')
|
||||
|
||||
const pagination = reactive({
|
||||
page: 1,
|
||||
pageSize: 20,
|
||||
total: 0
|
||||
})
|
||||
|
||||
const orderId = computed(() => {
|
||||
const id = props.data?.id
|
||||
if (id === undefined || id === null || id === '') return ''
|
||||
return String(id)
|
||||
})
|
||||
|
||||
watch(
|
||||
() => orderId.value,
|
||||
(newVal) => {
|
||||
if (newVal) {
|
||||
pagination.page = 1
|
||||
fetchLogs()
|
||||
} else {
|
||||
tableData.value = []
|
||||
pagination.total = 0
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
onMounted(() => {
|
||||
if (orderId.value) {
|
||||
fetchLogs()
|
||||
}
|
||||
})
|
||||
|
||||
async function handlePageChange(page: number) {
|
||||
pagination.page = page
|
||||
await fetchLogs()
|
||||
}
|
||||
|
||||
async function handlePageSizeChange(pageSize: number) {
|
||||
pagination.pageSize = pageSize
|
||||
pagination.page = 1
|
||||
await fetchLogs()
|
||||
}
|
||||
|
||||
async function fetchLogs() {
|
||||
if (!orderId.value) return
|
||||
|
||||
loading.value = true
|
||||
try {
|
||||
const response: any = await orderQueryOrderLogs({
|
||||
id: orderId.value,
|
||||
page: pagination.page,
|
||||
pageSize: pagination.pageSize
|
||||
})
|
||||
if (!response || ![1, 200].includes(response.code)) {
|
||||
throw new Error(response?.message || '请求失败')
|
||||
}
|
||||
const d = response.data || {}
|
||||
tableData.value = d.list || []
|
||||
pagination.total = d.pagination?.total ?? d.total ?? 0
|
||||
} catch (error: any) {
|
||||
console.error('order.queryOrderLogs:', error)
|
||||
ElMessage.error(error?.message || '获取订单操作日志失败')
|
||||
} finally {
|
||||
loading.value = false
|
||||
}
|
||||
}
|
||||
|
||||
function viewData(row: any) {
|
||||
const raw = row.external_log_id
|
||||
const n = typeof raw === 'number' ? raw : Number(raw)
|
||||
requestId.value = Number.isFinite(n) ? n : 0
|
||||
requestType.value = row.external_log_type || ''
|
||||
showRequestData.value = true
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.log-container {
|
||||
height: 100%;
|
||||
padding: 8px 10px;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
</style>
|
||||
|
||||
.toolbar-btn-group {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.el-table {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.pagination-container {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
padding: 5px 10px;
|
||||
border-top: 1px solid #e8e8e8;
|
||||
background: #fff;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.pagination-container :deep(.el-pagination) {
|
||||
--el-pagination-button-width: 28px;
|
||||
--el-pagination-button-height: 28px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.pagination-container :deep(.el-pagination .el-select .el-input__wrapper) {
|
||||
min-height: 24px;
|
||||
}
|
||||
|
||||
.pagination-container :deep(.btn-prev),
|
||||
.pagination-container :deep(.btn-next),
|
||||
.pagination-container :deep(.el-pager li) {
|
||||
border-radius: 4px;
|
||||
color: #606266;
|
||||
}
|
||||
|
||||
.pagination-container :deep(.el-pager li.is-active) {
|
||||
color: #409eff;
|
||||
font-weight: 600;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
:deep(.el-drawer__body) {
|
||||
height: 100%;
|
||||
padding: 0;
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -90,6 +90,95 @@ export const COMMON_TRANSLATIONS: Record<string, Record<string, string>> = {
|
||||
}
|
||||
}
|
||||
|
||||
// 通用标签类型映射
|
||||
export const COMMON_TAG_TYPES: Record<string, Record<string, string>> = {
|
||||
is_urgency: {
|
||||
'Y': 'danger',
|
||||
'N': 'info'
|
||||
},
|
||||
status: {
|
||||
'pedding': 'warning',
|
||||
'pending': 'warning',
|
||||
'created': 'success',
|
||||
'cancel': 'danger',
|
||||
'cancelled': 'danger',
|
||||
'error': 'danger',
|
||||
'after-sales-error': 'danger',
|
||||
'finished': 'success',
|
||||
'archived': 'info'
|
||||
},
|
||||
sync_status: {
|
||||
'padding': 'warning',
|
||||
'pending': 'warning',
|
||||
'fin': 'success',
|
||||
'error': 'danger',
|
||||
'none': 'info'
|
||||
},
|
||||
order_status: {
|
||||
'WAIT_AUDIT': 'warning',
|
||||
'AUDITED': 'success'
|
||||
},
|
||||
storage_status: {
|
||||
'none': 'info',
|
||||
'padding': 'warning',
|
||||
'pending': 'warning',
|
||||
'fin': 'success'
|
||||
},
|
||||
print_status: {
|
||||
'none': 'info',
|
||||
'padding': 'warning',
|
||||
'pending': 'warning',
|
||||
'fin': 'success'
|
||||
},
|
||||
pick_status: {
|
||||
'none': 'info',
|
||||
'padding': 'warning',
|
||||
'pending': 'warning',
|
||||
'fin': 'success'
|
||||
},
|
||||
pack_status: {
|
||||
'none': 'info',
|
||||
'padding': 'warning',
|
||||
'pending': 'warning',
|
||||
'fin': 'success'
|
||||
},
|
||||
post_status: {
|
||||
'padding': 'warning',
|
||||
'pending': 'warning',
|
||||
'fin': 'success',
|
||||
'timeout': 'danger',
|
||||
'error': 'danger',
|
||||
'none': 'info'
|
||||
},
|
||||
outbound_status: {
|
||||
'none': 'info',
|
||||
'padding': 'warning',
|
||||
'pending': 'warning',
|
||||
'pedding': 'warning',
|
||||
'processing': 'warning',
|
||||
'fin': 'success',
|
||||
'done': 'success',
|
||||
'finished': 'success',
|
||||
'error': 'danger',
|
||||
'failed': 'danger'
|
||||
},
|
||||
inspection_status: {
|
||||
'none': 'info',
|
||||
'pending': 'warning',
|
||||
'padding': 'warning',
|
||||
'fin': 'success',
|
||||
'reject': 'danger',
|
||||
'error': 'danger'
|
||||
}
|
||||
}
|
||||
|
||||
export function getTagType(field: string, value: any) {
|
||||
if (COMMON_TAG_TYPES[field] && COMMON_TAG_TYPES[field][value] !== undefined) {
|
||||
return COMMON_TAG_TYPES[field][value]
|
||||
}
|
||||
return 'info'
|
||||
}
|
||||
|
||||
export function translateOrderField(field: string, value: any) {
|
||||
if (COMMON_TRANSLATIONS[field] && COMMON_TRANSLATIONS[field][value] !== undefined) {
|
||||
return COMMON_TRANSLATIONS[field][value]
|
||||
@ -128,6 +217,49 @@ function orderTimeFormatter(_row: any, _column: any, cellValue: unknown) {
|
||||
return formatOrderTime(cellValue)
|
||||
}
|
||||
|
||||
function waybillCodesFormatter(_row: any, _column: any, cellValue: unknown) {
|
||||
if (cellValue === undefined || cellValue === null || cellValue === '') return '-'
|
||||
|
||||
const normalizeList = (list: any[]) =>
|
||||
list
|
||||
.map((item) => String(item ?? '').trim())
|
||||
.filter((item) => item.length > 0)
|
||||
.join(', ')
|
||||
|
||||
if (Array.isArray(cellValue)) {
|
||||
const text = normalizeList(cellValue)
|
||||
return text || '-'
|
||||
}
|
||||
|
||||
const text = String(cellValue).trim()
|
||||
if (!text) return '-'
|
||||
|
||||
// 兼容后端返回 JSON 字符串:["776..."] / ["A","B"]
|
||||
if (text.startsWith('[') && text.endsWith(']')) {
|
||||
try {
|
||||
const parsed = JSON.parse(text)
|
||||
if (Array.isArray(parsed)) {
|
||||
const normalized = normalizeList(parsed)
|
||||
return normalized || '-'
|
||||
}
|
||||
} catch {
|
||||
// 非法 JSON 时回退原文
|
||||
}
|
||||
}
|
||||
|
||||
return text
|
||||
}
|
||||
|
||||
/** 订单详情 descriptions 中需格式化为本地时间的字段(与列表 formatter 一致) */
|
||||
export const ORDER_DETAIL_TIME_FIELDS = new Set([
|
||||
'place_order_time',
|
||||
'pay_time',
|
||||
'create_at',
|
||||
'created_at',
|
||||
'updated_at',
|
||||
'operate_time'
|
||||
])
|
||||
|
||||
// deliveryOrder相关配置
|
||||
export const deliveryAvailableFields = [
|
||||
{ label: '货主', value: 'store_id', type: 'select', options: [] },
|
||||
@ -137,7 +269,7 @@ export const deliveryAvailableFields = [
|
||||
{ label: '收货人', value: 'name', type: 'text' },
|
||||
{ label: '手机号', value: 'mobile', type: 'text' },
|
||||
{ label: '物流公司', value: 'logistics_name', type: 'text' },
|
||||
{ label: '物流单号', value: 'express_code', type: 'text' },
|
||||
{ label: '物流单号', value: 'waybill_codes', type: 'text' },
|
||||
{ label: '紧急订单', value: 'is_urgency', type: 'select', options: [
|
||||
{ label: '是', value: 'Y' },
|
||||
{ label: '否', value: 'N' },
|
||||
@ -170,7 +302,7 @@ export const deliveryColumns = [
|
||||
{ prop: 'pick_status', label: '拣货', width: '100' },
|
||||
{ prop: 'pack_status', label: '打包', width: '100' },
|
||||
{ prop: 'logistics_name', label: '物流公司', width: '120' },
|
||||
{ prop: 'express_code', label: '物流单号', width: '160' },
|
||||
{ prop: 'waybill_codes', label: '物流单号', width: '160', formatter: waybillCodesFormatter },
|
||||
{ prop: 'is_urgency', label: '紧急', width: '80' },
|
||||
{ prop: 'dispatch_lane', label: '道口', width: '80' },
|
||||
{ prop: 'items_count', label: '商品种类', width: '100' },
|
||||
@ -318,7 +450,7 @@ export const pendingAvailableFields = [
|
||||
{ label: '店铺名称', value: 'shop_nick', type: 'text' },
|
||||
{ label: '来源平台', value: 'source_platform_name', type: 'text' },
|
||||
{ label: '物流公司', value: 'logistics_name', type: 'text' },
|
||||
{ label: '物流单号', value: 'express_code', type: 'text' },
|
||||
{ label: '物流单号', value: 'waybill_codes', type: 'text' },
|
||||
{ label: '收货人', value: 'name', type: 'text' },
|
||||
{ label: '手机号', value: 'mobile', type: 'text' },
|
||||
{ label: '省/市/区', value: 'province_city_area', type: 'text' },
|
||||
@ -341,7 +473,7 @@ export const pendingCloums = [
|
||||
{ prop: 'pick_status', label: '拣货状态', width: '100' },
|
||||
{ prop: 'pack_status', label: '打包状态', width: '100' },
|
||||
{ prop: 'logistics_name', label: '物流公司', width: '120' },
|
||||
{ prop: 'express_code', label: '物流单号', width: '160' },
|
||||
{ prop: 'waybill_codes', label: '物流单号', width: '160', formatter: waybillCodesFormatter },
|
||||
{ prop: 'is_urgency', label: '紧急', width: '80' },
|
||||
{ prop: 'total_amount', label: '订单金额', width: '110' },
|
||||
{ prop: 'items_count', label: '商品种类', width: '100' },
|
||||
@ -475,7 +607,7 @@ export const workbenchColumns = [
|
||||
{ prop: 'inspection_status', label: '审核状态', minWidth: 110 },
|
||||
{ prop: 'outbound_status', label: '出库状态', minWidth: 120 },
|
||||
{ prop: 'logistics_name', label: '物流公司', minWidth: 120 },
|
||||
{ prop: 'express_code', label: '物流单号', minWidth: 140 },
|
||||
{ prop: 'waybill_codes', label: '物流单号', minWidth: 140, formatter: waybillCodesFormatter },
|
||||
{ prop: 'items_total', label: '商品总数', minWidth: 100 },
|
||||
{ prop: 'total_amount', label: '订单金额', minWidth: 110 },
|
||||
{ prop: 'create_at', label: '创建时间', minWidth: 170, formatter: orderTimeFormatter },
|
||||
|
||||
@ -44,13 +44,13 @@
|
||||
@selection-change="onSelectionChange"
|
||||
>
|
||||
<template #column-order_status="{ row }">
|
||||
<el-tag :type="getStatusType(row.order_status)" size="small">
|
||||
<el-tag :type="getTagType('order_status', row.order_status)" size="small">
|
||||
{{ translateOrderField('order_status', row.order_status) }}
|
||||
</el-tag>
|
||||
</template>
|
||||
|
||||
<template #column-status="{ row }">
|
||||
<el-tag :type="row.status === 'finished' ? 'success' : 'info'" size="small">
|
||||
<el-tag :type="getTagType('status', row.status)" size="small">
|
||||
{{ translateOrderField('status', row.status) }}
|
||||
</el-tag>
|
||||
</template>
|
||||
@ -73,7 +73,7 @@
|
||||
<div class="detail-container">
|
||||
<KeepAlive>
|
||||
<div v-if="activeTab === 'details'">
|
||||
<detail :data="selectedRow" :config="archiveOrderDetail" :column="3" />
|
||||
<order-detail-panel :data="selectedRow" :config="archiveOrderDetail" :column="3" />
|
||||
</div>
|
||||
<div v-else-if="activeTab === 'fulfillment'">
|
||||
<p>履约历程加载中...</p>
|
||||
@ -106,9 +106,10 @@ import {
|
||||
archiveAvailableFields,
|
||||
archiveColumns,
|
||||
archiveOrderDetail,
|
||||
translateOrderField
|
||||
translateOrderField,
|
||||
getTagType
|
||||
} from './config/order-common-config'
|
||||
import detail from './component/detail.vue'
|
||||
import OrderDetailPanel from './component/OrderDetailPanel.vue'
|
||||
import log from './component/log.vue'
|
||||
import { exportUpperTableRows } from './utils/export'
|
||||
|
||||
@ -149,10 +150,6 @@ function translateField(fieldValue: string, value: any) {
|
||||
return value
|
||||
}
|
||||
|
||||
function getStatusType(status: string) {
|
||||
return 'info'
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
loadData()
|
||||
loadFilterData()
|
||||
|
||||
@ -54,45 +54,55 @@
|
||||
</template>
|
||||
|
||||
<template #column-status="{ row }">
|
||||
<el-tag :type="row.status === 'pedding' ? 'warning' : row.status === 'created' ? 'success' : 'danger'" size="small">
|
||||
<el-tag :type="getTagType('status', row.status)" size="small">
|
||||
{{ translateOrderField('status', row.status) }}
|
||||
</el-tag>
|
||||
</template>
|
||||
|
||||
<template #column-is_urgency="{ row }">
|
||||
<el-tag :type="row.is_urgency === 'Y' ? 'danger' : 'info'" size="small">
|
||||
<el-tag :type="getTagType('is_urgency', row.is_urgency)" size="small">
|
||||
{{ translateOrderField('is_urgency', row.is_urgency) }}
|
||||
</el-tag>
|
||||
</template>
|
||||
|
||||
<template #column-post_status="{ row }">
|
||||
{{ translateOrderField('post_status', row.post_status) }}
|
||||
<el-tag :type="getTagType('post_status', row.post_status)" size="small">
|
||||
{{ translateOrderField('post_status', row.post_status) }}
|
||||
</el-tag>
|
||||
</template>
|
||||
|
||||
<template #column-storage_status="{ row }">
|
||||
{{ translateOrderField('storage_status', row.storage_status) }}
|
||||
<el-tag :type="getTagType('storage_status', row.storage_status)" size="small">
|
||||
{{ translateOrderField('storage_status', row.storage_status) }}
|
||||
</el-tag>
|
||||
</template>
|
||||
|
||||
<template #column-print_status="{ row }">
|
||||
{{ translateOrderField('print_status', row.print_status) }}
|
||||
<el-tag :type="getTagType('print_status', row.print_status)" size="small">
|
||||
{{ translateOrderField('print_status', row.print_status) }}
|
||||
</el-tag>
|
||||
</template>
|
||||
|
||||
<template #column-pick_status="{ row }">
|
||||
{{ translateOrderField('pick_status', row.pick_status) }}
|
||||
<el-tag :type="getTagType('pick_status', row.pick_status)" size="small">
|
||||
{{ translateOrderField('pick_status', row.pick_status) }}
|
||||
</el-tag>
|
||||
</template>
|
||||
|
||||
<template #column-pack_status="{ row }">
|
||||
{{ translateOrderField('pack_status', row.pack_status) }}
|
||||
<el-tag :type="getTagType('pack_status', row.pack_status)" size="small">
|
||||
{{ translateOrderField('pack_status', row.pack_status) }}
|
||||
</el-tag>
|
||||
</template>
|
||||
|
||||
<template #column-sync_status="{ row }">
|
||||
<el-tag :type="row.sync_status === 'fin' ? 'success' : row.sync_status === 'error' ? 'danger' : 'info'" size="small">
|
||||
<el-tag :type="getTagType('sync_status', row.sync_status)" size="small">
|
||||
{{ translateOrderField('sync_status', row.sync_status) }}
|
||||
</el-tag>
|
||||
</template>
|
||||
|
||||
<template #column-outbound_status="{ row }">
|
||||
<el-tag :type="row.outbound_status === 'fin' ? 'success' : row.outbound_status === 'padding' ? 'warning' : 'info'" size="small">
|
||||
<el-tag :type="getTagType('outbound_status', row.outbound_status)" size="small">
|
||||
{{ translateOrderField('outbound_status', row.outbound_status) || row.outbound_status || '-' }}
|
||||
</el-tag>
|
||||
</template>
|
||||
@ -115,7 +125,7 @@
|
||||
<div class="detail-container">
|
||||
<KeepAlive>
|
||||
<div v-if="activeTab === 'details'">
|
||||
<detail :data="selectedRow" :config="pendingOrderDetail" :column="3" />
|
||||
<order-detail-panel :data="selectedRow" :config="pendingOrderDetail" :column="3" />
|
||||
</div>
|
||||
<div v-else-if="activeTab === 'items'">
|
||||
<el-table :data="detailItemRows" border stripe size="small" class="detail-items-table">
|
||||
@ -144,15 +154,16 @@ import { ref, reactive, onMounted, computed } from 'vue'
|
||||
import { ElMessage } from 'element-plus'
|
||||
import ScanBox from '@/components/ScanBox/index.vue'
|
||||
import UpperTable from '@/components/UpperTable/index.vue'
|
||||
import { orderDeliveryOrder } from '@/api/order.deliveryOrder/orderdeliveryOrder'
|
||||
import { orderDeliveryOrder } from '@/api/order.deliveryorder/orderdeliveryOrder'
|
||||
|
||||
import {
|
||||
deliveryAvailableFields,
|
||||
deliveryColumns,
|
||||
pendingOrderDetail,
|
||||
translateOrderField
|
||||
translateOrderField,
|
||||
getTagType
|
||||
} from './config/order-common-config'
|
||||
import detail from './component/detail.vue'
|
||||
import OrderDetailPanel from './component/OrderDetailPanel.vue'
|
||||
import log from './component/log.vue'
|
||||
import { exportUpperTableRows } from './utils/export'
|
||||
|
||||
|
||||
@ -44,13 +44,13 @@
|
||||
@selection-change="onSelectionChange"
|
||||
>
|
||||
<template #column-order_status="{ row }">
|
||||
<el-tag :type="getStatusType(row.order_status)" size="small">
|
||||
<el-tag :type="getTagType('order_status', row.order_status)" size="small">
|
||||
{{ translateOrderField('order_status', row.order_status) }}
|
||||
</el-tag>
|
||||
</template>
|
||||
|
||||
<template #column-status="{ row }">
|
||||
<el-tag :type="row.status === 'finished' ? 'success' : 'info'" size="small">
|
||||
<el-tag :type="getTagType('status', row.status)" size="small">
|
||||
{{ translateOrderField('status', row.status) }}
|
||||
</el-tag>
|
||||
</template>
|
||||
@ -73,7 +73,7 @@
|
||||
<div class="detail-container">
|
||||
<KeepAlive>
|
||||
<div v-if="activeTab === 'details'">
|
||||
<detail :data="selectedRow" :config="archiveOrderDetail" :column="3" />
|
||||
<order-detail-panel :data="selectedRow" :config="archiveOrderDetail" :column="3" />
|
||||
</div>
|
||||
<div v-else-if="activeTab === 'fulfillment'">
|
||||
<p>履约历程加载中...</p>
|
||||
@ -106,9 +106,10 @@ import {
|
||||
archiveAvailableFields,
|
||||
archiveColumns,
|
||||
archiveOrderDetail,
|
||||
translateOrderField
|
||||
translateOrderField,
|
||||
getTagType
|
||||
} from './config/order-common-config'
|
||||
import detail from './component/detail.vue'
|
||||
import OrderDetailPanel from './component/OrderDetailPanel.vue'
|
||||
import log from './component/log.vue'
|
||||
import { exportUpperTableRows } from './utils/export'
|
||||
|
||||
@ -149,10 +150,6 @@ function translateField(fieldValue: string, value: any) {
|
||||
return value
|
||||
}
|
||||
|
||||
function getStatusType(status: string) {
|
||||
return 'info'
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
loadData()
|
||||
loadFilterData()
|
||||
|
||||
@ -71,7 +71,15 @@
|
||||
</el-button>
|
||||
</template>
|
||||
|
||||
<el-button size="small" type="warning" :disabled="!hasSelection" @click="handleBatchFix">批量重置状态</el-button>
|
||||
<el-button
|
||||
size="small"
|
||||
type="warning"
|
||||
:disabled="!hasSelection"
|
||||
:loading="resolveExceptionLoading"
|
||||
@click="openResolveExceptionDialog"
|
||||
>
|
||||
处理异常订单
|
||||
</el-button>
|
||||
</div>
|
||||
|
||||
<div class="toolbar-right">
|
||||
@ -99,13 +107,13 @@
|
||||
@selection-change="onSelectionChange"
|
||||
>
|
||||
<template #column-order_status="{ row }">
|
||||
<el-tag :type="getStatusType(row.order_status)" size="small">
|
||||
<el-tag :type="getTagType('order_status', row.order_status)" size="small">
|
||||
{{ translateOrderField('order_status', row.order_status) }}
|
||||
</el-tag>
|
||||
</template>
|
||||
|
||||
<template #column-status="{ row }">
|
||||
<el-tag :type="row.status === 'error' ? 'danger' : 'warning'" size="small">
|
||||
<el-tag :type="getTagType('status', row.status)" size="small">
|
||||
{{ translateOrderField('status', row.status) }}
|
||||
</el-tag>
|
||||
</template>
|
||||
@ -147,7 +155,7 @@
|
||||
<div class="detail-container">
|
||||
<KeepAlive>
|
||||
<div v-if="activeTab === 'details'">
|
||||
<detail :data="selectedRow" :config="expectionOrderDetail" :column="3" />
|
||||
<order-detail-panel :data="selectedRow" :config="expectionOrderDetail" :column="3" />
|
||||
</div>
|
||||
<div v-else-if="activeTab === 'exceptions'">
|
||||
<el-alert title="系统异常" type="error" :closable="false" description="库存不足或物流接口调用失败。" />
|
||||
@ -205,19 +213,49 @@
|
||||
</el-button>
|
||||
</template>
|
||||
</el-dialog>
|
||||
|
||||
<el-dialog
|
||||
v-model="resolveExceptionDialogVisible"
|
||||
title="异常订单处理"
|
||||
width="520px"
|
||||
align-center
|
||||
destroy-on-close
|
||||
@closed="resetResolveExceptionDialog"
|
||||
>
|
||||
<el-alert
|
||||
type="warning"
|
||||
:closable="false"
|
||||
show-icon
|
||||
title="该操作会将异常订单恢复为正常待处理状态(step: 3 -> 2)。"
|
||||
/>
|
||||
<el-form label-width="120px" class="resolve-exception-form">
|
||||
<el-form-item label="已选订单数">
|
||||
<span>{{ resolveExceptionOrderIds.length }} 条</span>
|
||||
</el-form-item>
|
||||
<el-form-item label="订单ID">
|
||||
<div class="resolve-exception-ids">{{ resolveExceptionOrderIds.join(', ') }}</div>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<template #footer>
|
||||
<el-button @click="resolveExceptionDialogVisible = false">取消</el-button>
|
||||
<el-button type="primary" :loading="resolveExceptionLoading" @click="submitResolveException">
|
||||
确认处理
|
||||
</el-button>
|
||||
</template>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, reactive, onMounted, computed } from 'vue'
|
||||
import { ElMessage } from 'element-plus'
|
||||
import { ElMessage, ElMessageBox } from 'element-plus'
|
||||
import { ArrowDown } from '@element-plus/icons-vue'
|
||||
import ScanBox from '@/components/ScanBox/index.vue'
|
||||
import UpperTable from '@/components/UpperTable/index.vue'
|
||||
import * as indexApi from '@/api/index/index'
|
||||
import { orderExpectionOrder } from '@/api/order.expectionorder/orderexpectionorder'
|
||||
import { orderPendingOrder } from '@/api/order.pendingOrder/orderpendingOrder'
|
||||
import { orderPendingOrder } from '@/api/order.pendingorder/orderpendingOrder'
|
||||
|
||||
import {
|
||||
expectionColumns,
|
||||
@ -225,7 +263,8 @@ import {
|
||||
expectionOrderAvailableFields,
|
||||
expectionOrderbuttonList,
|
||||
translateOrderField,
|
||||
formatOrderTime
|
||||
formatOrderTime,
|
||||
getTagType
|
||||
} from './config/order-common-config'
|
||||
|
||||
const EXPORT_TIME_PROPS = new Set([
|
||||
@ -236,7 +275,7 @@ const EXPORT_TIME_PROPS = new Set([
|
||||
'operate_time',
|
||||
'delivery_time'
|
||||
])
|
||||
import detail from './component/detail.vue'
|
||||
import OrderDetailPanel from './component/OrderDetailPanel.vue'
|
||||
import { exportUpperTableRows } from './utils/export'
|
||||
|
||||
const scanBox = ref<any>(null)
|
||||
@ -262,6 +301,9 @@ const storagePendingOrderIds = ref<Array<number | string>>([])
|
||||
const storageForm = reactive<{ allowStorageLocation: boolean }>({
|
||||
allowStorageLocation: false
|
||||
})
|
||||
const resolveExceptionDialogVisible = ref(false)
|
||||
const resolveExceptionLoading = ref(false)
|
||||
const resolveExceptionOrderIds = ref<number[]>([])
|
||||
|
||||
const pagination = reactive({ currentPage: 1, pageSize: 20, total: 0 })
|
||||
const tableSize = ref('small')
|
||||
@ -287,10 +329,6 @@ function translateField(fieldValue: string, value: any) {
|
||||
return value
|
||||
}
|
||||
|
||||
function getStatusType(status: string) {
|
||||
return 'danger'
|
||||
}
|
||||
|
||||
function orderFlagFullText(row: any): string {
|
||||
const v = row?.order_flag
|
||||
if (v == null) return ''
|
||||
@ -336,10 +374,20 @@ async function copyOrderFlag(row: any) {
|
||||
}
|
||||
}
|
||||
|
||||
function getSelectedIds() {
|
||||
return selectionRows.value
|
||||
.map((item: any) => item?.id)
|
||||
.filter((id: any) => id !== undefined && id !== null)
|
||||
function normalizePositiveIntId(raw: unknown): number | null {
|
||||
if (raw === undefined || raw === null || raw === '') return null
|
||||
const n = typeof raw === 'number' ? raw : Number(raw)
|
||||
if (!Number.isInteger(n) || n <= 0) return null
|
||||
return n
|
||||
}
|
||||
|
||||
function getSelectedIds(): number[] {
|
||||
const ids: number[] = []
|
||||
for (const item of selectionRows.value) {
|
||||
const id = normalizePositiveIntId(item?.id)
|
||||
if (id !== null) ids.push(id)
|
||||
}
|
||||
return ids
|
||||
}
|
||||
|
||||
function openStorageAllocateDialog() {
|
||||
@ -600,8 +648,61 @@ function onQuickSearch() {
|
||||
loadData()
|
||||
}
|
||||
|
||||
function handleBatchFix() {
|
||||
ElMessage.warning(`正在修复 ${selectionRows.value.length} 个订单的状态`)
|
||||
function openResolveExceptionDialog() {
|
||||
if (!selectionRows.value.length) {
|
||||
ElMessage.warning('请先勾选需要处理的异常订单')
|
||||
return
|
||||
}
|
||||
const ids = getSelectedIds()
|
||||
if (!ids.length) {
|
||||
ElMessage.error('选中行缺少有效订单 id,请刷新后重试')
|
||||
return
|
||||
}
|
||||
resolveExceptionOrderIds.value = [...ids]
|
||||
resolveExceptionDialogVisible.value = true
|
||||
}
|
||||
|
||||
function resetResolveExceptionDialog() {
|
||||
resolveExceptionOrderIds.value = []
|
||||
}
|
||||
|
||||
async function submitResolveException() {
|
||||
if (resolveExceptionLoading.value) return
|
||||
const ids = [...resolveExceptionOrderIds.value]
|
||||
if (!ids.length) {
|
||||
ElMessage.warning('没有可处理的异常订单')
|
||||
return
|
||||
}
|
||||
try {
|
||||
await ElMessageBox.confirm(
|
||||
`确定将选中的 ${ids.length} 条异常订单恢复为待处理状态吗?`,
|
||||
'确认处理',
|
||||
{ type: 'warning' }
|
||||
)
|
||||
} catch {
|
||||
return
|
||||
}
|
||||
|
||||
resolveExceptionLoading.value = true
|
||||
try {
|
||||
const res = await orderExpectionOrder.resolveException({ ids })
|
||||
const ok = res && (res.code === 1 || res.code === 200 || res.flag === 'success')
|
||||
if (!ok) {
|
||||
ElMessage.error(res?.message || '异常处理失败')
|
||||
return
|
||||
}
|
||||
const updatedCount = Number(res?.data?.updated_count ?? ids.length) || 0
|
||||
ElMessage.success(`异常处理成功 ${updatedCount} 条`)
|
||||
resolveExceptionDialogVisible.value = false
|
||||
upperTable.value?.clearSelection?.()
|
||||
selectionRows.value = []
|
||||
hasSelection.value = false
|
||||
await loadData()
|
||||
} catch {
|
||||
ElMessage.error('异常处理失败')
|
||||
} finally {
|
||||
resolveExceptionLoading.value = false
|
||||
}
|
||||
}
|
||||
|
||||
// 统一执行命令
|
||||
@ -689,5 +790,17 @@ async function handleExport() {
|
||||
.storage-allocate-form {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.resolve-exception-form {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.resolve-exception-ids {
|
||||
max-height: 96px;
|
||||
overflow-y: auto;
|
||||
color: #606266;
|
||||
line-height: 1.6;
|
||||
word-break: break-all;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
@ -243,8 +243,11 @@ const handleTabClick = (tab: any) => {
|
||||
|
||||
.tabs-header-action {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
top: 0;
|
||||
right: 16px;
|
||||
height: 42px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
@ -258,6 +261,54 @@ const handleTabClick = (tab: any) => {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
:deep(.el-tabs__header.is-top) {
|
||||
padding: 4px 12px 0;
|
||||
background: #f8fbff;
|
||||
border-bottom: 1px solid #e8eef7;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
:deep(.el-tabs__nav-wrap::after) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
:deep(.el-tabs__item.is-top) {
|
||||
height: 38px;
|
||||
line-height: 38px;
|
||||
padding: 0 20px;
|
||||
border-radius: 6px 6px 0 0;
|
||||
color: #606266;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
||||
border: 1px solid transparent;
|
||||
border-bottom: none;
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
:deep(.el-tabs__item.is-top:hover) {
|
||||
color: #409eff;
|
||||
background-color: rgba(64, 158, 255, 0.05);
|
||||
}
|
||||
|
||||
:deep(.el-tabs__item.is-top.is-active) {
|
||||
color: #409eff;
|
||||
font-weight: 600;
|
||||
background: #ffffff;
|
||||
border-color: #e8eef7;
|
||||
border-bottom: 2px solid #ffffff;
|
||||
margin-bottom: -1px;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
:deep(.el-tabs__active-bar) {
|
||||
height: 2px;
|
||||
border-radius: 2px;
|
||||
background-color: #409eff;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
:deep(.el-tabs__content) {
|
||||
flex: 1;
|
||||
overflow: auto;
|
||||
|
||||
@ -56,31 +56,31 @@
|
||||
@refresh="loadWorkbenchData"
|
||||
>
|
||||
<template #column-sync_status="{ row }">
|
||||
<el-tag :type="getSyncStatusTagType(row.sync_status)" size="small">
|
||||
<el-tag :type="getTagType('sync_status', row.sync_status)" size="small">
|
||||
{{ translateOrderField('sync_status', row.sync_status) || row.sync_status || '-' }}
|
||||
</el-tag>
|
||||
</template>
|
||||
|
||||
<template #column-inspection_status="{ row }">
|
||||
<el-tag :type="getInspectionStatusTagType(row.inspection_status)" size="small">
|
||||
<el-tag :type="getTagType('inspection_status', row.inspection_status)" size="small">
|
||||
{{ translateOrderField('inspection_status', row.inspection_status) || row.inspection_status || '-' }}
|
||||
</el-tag>
|
||||
</template>
|
||||
|
||||
<template #column-status="{ row }">
|
||||
<el-tag :type="getStatusTagType(row.status)" size="small">
|
||||
<el-tag :type="getTagType('status', row.status)" size="small">
|
||||
{{ translateOrderField('status', row.status) || row.status }}
|
||||
</el-tag>
|
||||
</template>
|
||||
|
||||
<template #column-is_urgency="{ row }">
|
||||
<span :class="{ 'urgency-yes': row.is_urgency === 'Y' }">
|
||||
<el-tag :type="getTagType('is_urgency', row.is_urgency)" size="small">
|
||||
{{ translateOrderField('is_urgency', row.is_urgency) || row.is_urgency || '-' }}
|
||||
</span>
|
||||
</el-tag>
|
||||
</template>
|
||||
|
||||
<template #column-outbound_status="{ row }">
|
||||
<el-tag :type="getOutboundTagType(row.outbound_status)" size="small">
|
||||
<el-tag :type="getTagType('outbound_status', row.outbound_status)" size="small">
|
||||
{{ translateOrderField('outbound_status', row.outbound_status) || row.outbound_status || '-' }}
|
||||
</el-tag>
|
||||
</template>
|
||||
@ -107,14 +107,19 @@
|
||||
<div class="detail-header">
|
||||
<el-tabs v-model="activeTab" class="detail-tab">
|
||||
<el-tab-pane label="订单明细" name="orderDetail" />
|
||||
<el-tab-pane label="日志" name="logs" />
|
||||
<el-tab-pane label="手动出库迁移" name="manualOutbound" />
|
||||
</el-tabs>
|
||||
</div>
|
||||
<div class="detail-container">
|
||||
<div v-show="activeTab === 'orderDetail'" class="detail-page order-detail-wrapper">
|
||||
<detail v-if="selectedRow" :data="selectedRow" :config="workbenchDetailConfig" :column="3" />
|
||||
<order-detail-panel v-if="selectedRow" :data="selectedRow" :config="workbenchDetailConfig" :column="3" />
|
||||
<div v-else class="no-selection-tip">请从上方列表中选择一项查看订单明细</div>
|
||||
</div>
|
||||
<div v-show="activeTab === 'logs'" class="detail-page order-log-wrapper">
|
||||
<log v-if="selectedRow" :data="selectedRow" />
|
||||
<div v-else class="no-selection-tip">请从上方列表中选择一项查看日志</div>
|
||||
</div>
|
||||
<div v-show="activeTab === 'manualOutbound'" class="detail-page manual-outbound-wrapper">
|
||||
<keep-alive>
|
||||
<component :is="activeComponent" @refresh-data="loadWorkbenchData" />
|
||||
@ -132,10 +137,12 @@ import { ElMessage } from 'element-plus'
|
||||
import ScanBox from '@/components/ScanBox/index.vue'
|
||||
import UpperTable from '@/components/UpperTable/index.vue'
|
||||
import ManualOutboundPanel from './component/ManualOutboundPanel.vue'
|
||||
import detail from './component/detail.vue'
|
||||
import OrderDetailPanel from './component/OrderDetailPanel.vue'
|
||||
import log from './component/log.vue'
|
||||
import { orderBadgeCount, orderList } from '@/api/order.index/orderindex'
|
||||
import {
|
||||
formatOrderTime,
|
||||
getTagType,
|
||||
pendingOrderDetail,
|
||||
translateOrderField,
|
||||
workbenchAvailableFields,
|
||||
@ -221,35 +228,6 @@ function buildWhere() {
|
||||
return where
|
||||
}
|
||||
|
||||
function getStatusTagType(status: string) {
|
||||
if (status === 'error') return 'danger'
|
||||
if (status === 'pedding' || status === 'pending') return 'warning'
|
||||
if (status === 'fin' || status === 'finished') return 'success'
|
||||
return 'info'
|
||||
}
|
||||
|
||||
function getSyncStatusTagType(syncStatus: string) {
|
||||
if (syncStatus === 'fin') return 'success'
|
||||
if (syncStatus === 'error') return 'danger'
|
||||
if (syncStatus === 'padding' || syncStatus === 'pending') return 'warning'
|
||||
return 'info'
|
||||
}
|
||||
|
||||
function getInspectionStatusTagType(inspectionStatus: string) {
|
||||
if (inspectionStatus === 'fin') return 'success'
|
||||
if (inspectionStatus === 'error' || inspectionStatus === 'reject') return 'danger'
|
||||
if (inspectionStatus === 'padding' || inspectionStatus === 'pending') return 'warning'
|
||||
return 'info'
|
||||
}
|
||||
|
||||
function getOutboundTagType(outboundStatus: string) {
|
||||
if (!outboundStatus) return 'info'
|
||||
if (['done', 'finished', 'fin'].includes(outboundStatus)) return 'success'
|
||||
if (['error', 'failed'].includes(outboundStatus)) return 'danger'
|
||||
if (['pending', 'pedding', 'processing'].includes(outboundStatus)) return 'warning'
|
||||
return 'info'
|
||||
}
|
||||
|
||||
function formatDisplayTime(value: unknown) {
|
||||
return formatOrderTime(value)
|
||||
}
|
||||
@ -371,7 +349,7 @@ onMounted(() => {
|
||||
|
||||
.workbench-container .main-content {
|
||||
.toolbar {
|
||||
margin-bottom: 6px;
|
||||
margin-bottom: 3px;
|
||||
padding: 6px 10px;
|
||||
|
||||
.toolbar-left {
|
||||
@ -434,6 +412,7 @@ onMounted(() => {
|
||||
|
||||
.detail-header {
|
||||
background-color: #fafafa;
|
||||
border-bottom: 1px solid #ebeef5;
|
||||
}
|
||||
|
||||
.detail-container {
|
||||
@ -453,6 +432,11 @@ onMounted(() => {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.order-log-wrapper {
|
||||
height: 100%;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.manual-outbound-wrapper {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
@ -52,7 +52,7 @@
|
||||
@selection-change="onSelectionChange"
|
||||
>
|
||||
<template #column-status="{ row }">
|
||||
<el-tag :type="row.status === 'pedding' ? 'warning' : row.status === 'cancel' ? 'danger' : 'info'" size="small">
|
||||
<el-tag :type="getTagType('status', row.status)" size="small">
|
||||
{{ translateOrderField('status', row.status) }}
|
||||
</el-tag>
|
||||
</template>
|
||||
@ -62,39 +62,49 @@
|
||||
</template>
|
||||
|
||||
<template #column-post_status="{ row }">
|
||||
{{ translateOrderField('post_status', row.post_status) }}
|
||||
<el-tag :type="getTagType('post_status', row.post_status)" size="small">
|
||||
{{ translateOrderField('post_status', row.post_status) }}
|
||||
</el-tag>
|
||||
</template>
|
||||
|
||||
<template #column-storage_status="{ row }">
|
||||
{{ translateOrderField('storage_status', row.storage_status) }}
|
||||
<el-tag :type="getTagType('storage_status', row.storage_status)" size="small">
|
||||
{{ translateOrderField('storage_status', row.storage_status) }}
|
||||
</el-tag>
|
||||
</template>
|
||||
|
||||
<template #column-print_status="{ row }">
|
||||
{{ translateOrderField('print_status', row.print_status) }}
|
||||
<el-tag :type="getTagType('print_status', row.print_status)" size="small">
|
||||
{{ translateOrderField('print_status', row.print_status) }}
|
||||
</el-tag>
|
||||
</template>
|
||||
|
||||
<template #column-pick_status="{ row }">
|
||||
{{ translateOrderField('pick_status', row.pick_status) }}
|
||||
<el-tag :type="getTagType('pick_status', row.pick_status)" size="small">
|
||||
{{ translateOrderField('pick_status', row.pick_status) }}
|
||||
</el-tag>
|
||||
</template>
|
||||
|
||||
<template #column-pack_status="{ row }">
|
||||
{{ translateOrderField('pack_status', row.pack_status) }}
|
||||
<el-tag :type="getTagType('pack_status', row.pack_status)" size="small">
|
||||
{{ translateOrderField('pack_status', row.pack_status) }}
|
||||
</el-tag>
|
||||
</template>
|
||||
|
||||
<template #column-sync_status="{ row }">
|
||||
<el-tag :type="row.sync_status === 'fin' ? 'success' : row.sync_status === 'error' ? 'danger' : 'info'" size="small">
|
||||
<el-tag :type="getTagType('sync_status', row.sync_status)" size="small">
|
||||
{{ translateOrderField('sync_status', row.sync_status) }}
|
||||
</el-tag>
|
||||
</template>
|
||||
|
||||
<template #column-is_urgency="{ row }">
|
||||
<el-tag :type="row.is_urgency === 'Y' ? 'danger' : 'info'" size="small">
|
||||
<el-tag :type="getTagType('is_urgency', row.is_urgency)" size="small">
|
||||
{{ translateOrderField('is_urgency', row.is_urgency) }}
|
||||
</el-tag>
|
||||
</template>
|
||||
|
||||
<template #column-outbound_status="{ row }">
|
||||
<el-tag :type="row.outbound_status === 'fin' ? 'success' : row.outbound_status === 'padding' ? 'warning' : 'info'" size="small">
|
||||
<el-tag :type="getTagType('outbound_status', row.outbound_status)" size="small">
|
||||
{{ translateOrderField('outbound_status', row.outbound_status) || row.outbound_status || 'none' }}
|
||||
</el-tag>
|
||||
</template>
|
||||
@ -148,14 +158,15 @@ import { computed, nextTick, onMounted, reactive, ref } from 'vue'
|
||||
import { ElMessage } from 'element-plus'
|
||||
import ScanBox from '@/components/ScanBox/index.vue'
|
||||
import UpperTable from '@/components/UpperTable/index.vue'
|
||||
import { orderOutboundOrder } from '@/api/order.outboundOrder/orderoutboundOrder'
|
||||
import { orderOutboundOrder } from '@/api/order.outboundorder/orderoutboundOrder'
|
||||
import {
|
||||
outboundAvailableFields,
|
||||
outboundColumns,
|
||||
pendingOrderDetail,
|
||||
translateOrderField
|
||||
translateOrderField,
|
||||
getTagType
|
||||
} from './config/order-common-config'
|
||||
import detail from './component/detail.vue'
|
||||
import OrderDetailPanel from './component/OrderDetailPanel.vue'
|
||||
import log from './component/log.vue'
|
||||
import orderdetail from './component/orderdetail.vue'
|
||||
import OutboundManualOutboundForm from './component/OutboundManualOutboundForm.vue'
|
||||
@ -186,8 +197,16 @@ const selectedRow = computed(() => {
|
||||
return list.value.find((item: any) => item.id === selectedOrderId.value) || null
|
||||
})
|
||||
|
||||
/** order.outboundOrder.list:where 禁止传入 warehouse_id / warehouseId */
|
||||
function sanitizeOutboundListWhere(where: Record<string, any>) {
|
||||
const w = { ...where }
|
||||
delete w.warehouse_id
|
||||
delete w.warehouseId
|
||||
return w
|
||||
}
|
||||
|
||||
const componentMap: Record<string, any> = {
|
||||
details: detail,
|
||||
details: OrderDetailPanel,
|
||||
items: orderdetail,
|
||||
logs: log,
|
||||
manualOutbound: OutboundManualOutboundForm
|
||||
@ -196,7 +215,7 @@ const componentMap: Record<string, any> = {
|
||||
const activeComponent = computed(() => componentMap[activeTab.value] || componentMap.details)
|
||||
|
||||
function buildWhere() {
|
||||
const where = buildWhereConditions(scanBox.value?.getConditions?.() || {})
|
||||
let where = buildWhereConditions(scanBox.value?.getConditions?.() || {})
|
||||
if (quickSearch.value) {
|
||||
where.delivery_order_code = {
|
||||
operator: 'like',
|
||||
@ -204,7 +223,7 @@ function buildWhere() {
|
||||
type: 'text'
|
||||
}
|
||||
}
|
||||
return where
|
||||
return sanitizeOutboundListWhere(where)
|
||||
}
|
||||
|
||||
function buildWhereConditions(rawConditions: Record<string, any>) {
|
||||
@ -244,7 +263,7 @@ async function loadData() {
|
||||
})
|
||||
if (res && (res.code === 1 || res.code === 200) && res.data) {
|
||||
list.value = res.data.list || []
|
||||
pagination.total = res.data.pagination?.total || 0
|
||||
pagination.total = res.data.pagination?.total ?? res.data.total ?? 0
|
||||
} else {
|
||||
list.value = []
|
||||
pagination.total = 0
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -50,19 +50,19 @@
|
||||
</template>
|
||||
|
||||
<template #column-status="{ row }">
|
||||
<el-tag :type="row.status === 'pedding' ? 'warning' : 'info'" size="small">
|
||||
<el-tag :type="getTagType('status', row.status)" size="small">
|
||||
{{ translateOrderField('status', row.status) }}
|
||||
</el-tag>
|
||||
</template>
|
||||
|
||||
<template #column-order_status="{ row }">
|
||||
<el-tag :type="getStatusType(row.order_status)" size="small">
|
||||
<el-tag :type="getTagType('order_status', row.order_status)" size="small">
|
||||
{{ translateOrderField('order_status', row.order_status) }}
|
||||
</el-tag>
|
||||
</template>
|
||||
|
||||
<template #column-is_urgency="{ row }">
|
||||
<el-tag :type="row.is_urgency === 'Y' ? 'danger' : 'info'" size="small">
|
||||
<el-tag :type="getTagType('is_urgency', row.is_urgency)" size="small">
|
||||
{{ translateOrderField('is_urgency', row.is_urgency) }}
|
||||
</el-tag>
|
||||
</template>
|
||||
@ -86,7 +86,7 @@
|
||||
<div class="detail-container">
|
||||
<KeepAlive>
|
||||
<div v-if="activeTab === 'details'">
|
||||
<detail :data="selectedRow" :config="reviewOrderDetail" :column="3" />
|
||||
<order-detail-panel :data="selectedRow" :config="reviewOrderDetail" :column="3" />
|
||||
</div>
|
||||
<div v-else-if="activeTab === 'receiver'">
|
||||
<el-descriptions :column="2" border>
|
||||
@ -128,9 +128,10 @@ import {
|
||||
reviewAvailableFields,
|
||||
reviewColums,
|
||||
reviewOrderDetail,
|
||||
translateOrderField
|
||||
translateOrderField,
|
||||
getTagType
|
||||
} from './config/order-common-config'
|
||||
import detail from './component/detail.vue'
|
||||
import OrderDetailPanel from './component/OrderDetailPanel.vue'
|
||||
import log from './component/log.vue'
|
||||
import { exportUpperTableRows } from './utils/export'
|
||||
|
||||
@ -163,10 +164,6 @@ const selectedRow = computed(() => {
|
||||
return list.value.find((i: any) => i.id === selectedOrderId.value) || null
|
||||
})
|
||||
|
||||
function getStatusType(status: string) {
|
||||
return status === 'AUDITED' ? 'success' : 'warning'
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
loadData()
|
||||
})
|
||||
|
||||
@ -12,19 +12,30 @@
|
||||
overflow: hidden;
|
||||
|
||||
.toolbar {
|
||||
padding: 10px;
|
||||
margin-bottom: 10px;
|
||||
margin-bottom: 3px;
|
||||
padding: 6px 10px;
|
||||
border: 1px solid #ebeef5;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.toolbar-right {
|
||||
display: flex;
|
||||
gap: 15px;
|
||||
align-items: center;
|
||||
.toolbar-left {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.toolbar-right {
|
||||
flex: 0 0 auto;
|
||||
margin-left: 10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
gap: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.upper-wrapper {
|
||||
@ -51,7 +62,8 @@
|
||||
}
|
||||
|
||||
.lower-level {
|
||||
height: 40%;
|
||||
flex: 0 0 38%;
|
||||
height: 38%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border-top: 1px solid #ebeef5;
|
||||
@ -59,24 +71,28 @@
|
||||
background-color: #fff;
|
||||
|
||||
.detail-header {
|
||||
padding: 0 10px;
|
||||
background-color: #fafafa;
|
||||
border-bottom: 1px solid #ebeef5;
|
||||
.detail-tab { margin-bottom: -1px; }
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.detail-container {
|
||||
flex: 1;
|
||||
overflow: auto;
|
||||
padding: 0;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
.no-selection {
|
||||
flex: 1;
|
||||
flex: 0 0 38%;
|
||||
height: 38%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: #909399;
|
||||
background-color: #fff;
|
||||
border-top: 1px solid #ebeef5;
|
||||
.empty-tip { text-align: center; }
|
||||
}
|
||||
}
|
||||
|
||||
@ -382,64 +382,72 @@
|
||||
|
||||
<!-- 结构化策略配置表单 -->
|
||||
<template v-if="policyDialog.fields.length > 0">
|
||||
<el-form :model="policyDialog.formData" label-width="140px" size="small" style="margin-top:4px">
|
||||
<el-row :gutter="16">
|
||||
<el-col v-for="field in policyDialog.fields" :key="field.key" :span="24">
|
||||
<el-form-item>
|
||||
<template #label>
|
||||
<span>{{ field.name }}</span>
|
||||
<el-tooltip v-if="field.description" :content="field.description" placement="top">
|
||||
<el-icon style="margin-left:4px;cursor:pointer;color:#999;vertical-align:middle"><QuestionFilled /></el-icon>
|
||||
</el-tooltip>
|
||||
</template>
|
||||
<!-- enum 类型 -->
|
||||
<el-select v-if="field.type === 'enum'" v-model="policyDialog.formData[field.key]" clearable style="width:220px">
|
||||
<template v-if="field.key === 'receive_mode'">
|
||||
<el-option label="标准模式" value="standard" />
|
||||
<el-option label="严格模式" value="strict" />
|
||||
<el-option label="手动模式" value="manual" />
|
||||
<div class="policy-form-scroll">
|
||||
<el-form :model="policyDialog.formData" label-width="140px" size="small" style="margin-top:4px">
|
||||
<el-row :gutter="16">
|
||||
<el-col v-for="field in policyDialog.fields" :key="field.key" :span="24">
|
||||
<el-form-item>
|
||||
<template #label>
|
||||
<span>{{ field.name }}</span>
|
||||
<el-tooltip v-if="field.description" :content="field.description" placement="top">
|
||||
<el-icon style="margin-left:4px;cursor:pointer;color:#999;vertical-align:middle"><QuestionFilled /></el-icon>
|
||||
</el-tooltip>
|
||||
</template>
|
||||
<template v-else-if="field.key === 'sku_visibility'">
|
||||
<el-option label="全部可见" value="all" />
|
||||
<el-option label="白名单" value="whitelist" />
|
||||
<el-option label="黑名单" value="blacklist" />
|
||||
</template>
|
||||
<el-option v-for="opt in field.options" v-else :key="opt" :label="opt" :value="opt" />
|
||||
</el-select>
|
||||
<!-- flag 类型 -->
|
||||
<el-switch
|
||||
v-else-if="field.type === 'flag'"
|
||||
v-model="policyDialog.formData[field.key]"
|
||||
:active-value="1"
|
||||
:inactive-value="0"
|
||||
active-text="是"
|
||||
inactive-text="否"
|
||||
/>
|
||||
<!-- integer 类型 (支持可选小数精度) -->
|
||||
<el-input-number
|
||||
v-else-if="field.type === 'integer'"
|
||||
v-model="policyDialog.formData[field.key]"
|
||||
:min="field.min ?? 0"
|
||||
:max="field.max ?? 1000000"
|
||||
:precision="field.precision ?? 0"
|
||||
:step="field.step ?? (field.precision ? 0.01 : 1)"
|
||||
style="width:200px"
|
||||
/>
|
||||
<!-- string / 其他类型 -->
|
||||
<el-input
|
||||
v-else
|
||||
v-model="policyDialog.formData[field.key]"
|
||||
:maxlength="field.maxLength"
|
||||
show-word-limit
|
||||
type="input"
|
||||
:rows="2"
|
||||
:placeholder="field.description || ''"
|
||||
style="width:100%"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-form>
|
||||
<!-- enum 类型 -->
|
||||
<el-select v-if="field.type === 'enum'" v-model="policyDialog.formData[field.key]" clearable style="width:220px">
|
||||
<template v-if="field.key === 'receive_mode'">
|
||||
<el-option label="标准模式" value="standard" />
|
||||
<el-option label="严格模式" value="strict" />
|
||||
<el-option label="手动模式" value="manual" />
|
||||
</template>
|
||||
<template v-else-if="field.key === 'sku_visibility'">
|
||||
<el-option label="全部可见" value="all" />
|
||||
<el-option label="白名单" value="whitelist" />
|
||||
<el-option label="黑名单" value="blacklist" />
|
||||
</template>
|
||||
<el-option
|
||||
v-for="opt in field.options"
|
||||
v-else
|
||||
:key="getEnumOptionValue(opt)"
|
||||
:label="getEnumOptionLabel(opt)"
|
||||
:value="getEnumOptionValue(opt)"
|
||||
/>
|
||||
</el-select>
|
||||
<!-- flag 类型 -->
|
||||
<el-switch
|
||||
v-else-if="field.type === 'flag'"
|
||||
v-model="policyDialog.formData[field.key]"
|
||||
:active-value="1"
|
||||
:inactive-value="0"
|
||||
active-text="是"
|
||||
inactive-text="否"
|
||||
/>
|
||||
<!-- integer 类型 (支持可选小数精度) -->
|
||||
<el-input-number
|
||||
v-else-if="field.type === 'integer'"
|
||||
v-model="policyDialog.formData[field.key]"
|
||||
:min="field.min ?? 0"
|
||||
:max="field.max ?? 1000000"
|
||||
:precision="field.precision ?? 0"
|
||||
:step="field.step ?? (field.precision ? 0.01 : 1)"
|
||||
style="width:200px"
|
||||
/>
|
||||
<!-- string / 其他类型 -->
|
||||
<el-input
|
||||
v-else
|
||||
v-model="policyDialog.formData[field.key]"
|
||||
:maxlength="field.maxLength"
|
||||
show-word-limit
|
||||
type="input"
|
||||
:rows="2"
|
||||
:placeholder="field.description || ''"
|
||||
style="width:100%"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-form>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<!-- 降级:字段元信息加载失败时显示 JSON 编辑器 -->
|
||||
@ -732,7 +740,11 @@
|
||||
import { ref, reactive, onMounted, computed } from 'vue'
|
||||
import { ElMessage, ElMessageBox } from 'element-plus'
|
||||
import { Search, Plus, Refresh, QuestionFilled } from '@element-plus/icons-vue'
|
||||
import { storeWarehouseList, storeWarehouseSign, storeWarehouseUnbind, storeWarehouseRename, storeWarehouseGetPolicyConfig, storeWarehouseGetPolicyConfigFields, storeWarehouseSavePolicyConfig, saveApiConfig, storeWarehouseDeleteQimenConfig, storeWarehouseAdjustPrintQuantity, listApiConfig } from '@/api/storeWarehouse.store/storeWarehouse'
|
||||
import { storeWarehouseList, storeWarehouseSign, storeWarehouseUnbind,
|
||||
storeWarehouseRename, storeWarehouseGetPolicyConfig, storeWarehouseGetPolicyConfigFields,
|
||||
storeWarehouseSavePolicyConfig, saveApiConfig, storeWarehouseDeleteQimenConfig,
|
||||
storeWarehouseAdjustPrintQuantity, listApiConfig
|
||||
} from '@/api/storewarehouse.store/storeWarehouse'
|
||||
import { listInterfaceTypes } from '@/api/index/index'
|
||||
import ScanBox from '@/components/ScanBox/index.vue'
|
||||
import UpperTable from '@/components/UpperTable/index.vue'
|
||||
@ -1025,6 +1037,42 @@ const policyDialog = reactive({
|
||||
jsonError: ''
|
||||
})
|
||||
|
||||
function normalizePolicyConfig(source: Record<string, any>, fields: any[] = []) {
|
||||
const normalized: Record<string, any> = {}
|
||||
const allowAllKeys = fields.length === 0
|
||||
const fieldMap = new Map<string, any>(fields.map((f: any) => [f.key, f]))
|
||||
Object.keys(source || {}).forEach((key) => {
|
||||
if (!allowAllKeys && !fieldMap.has(key)) return
|
||||
const field = fieldMap.get(key)
|
||||
const value = source[key]
|
||||
if (value === undefined || value === null || value === '') return
|
||||
if (
|
||||
field?.type === 'flag' ||
|
||||
[
|
||||
'auto_allocate_bin',
|
||||
'allow_mix_batch',
|
||||
'allow_temp_storage',
|
||||
'storage_separation'
|
||||
].includes(key)
|
||||
) {
|
||||
normalized[key] = Number(value) ? 1 : 0
|
||||
return
|
||||
}
|
||||
if (field?.type === 'integer' || key === 'max_daily_inbound') {
|
||||
const n = Number(value)
|
||||
if (!Number.isNaN(n)) normalized[key] = Math.max(0, Math.trunc(n))
|
||||
return
|
||||
}
|
||||
if ((field?.type === 'number' && field?.precision === 2) || key === 'print_recharge_price') {
|
||||
const n = Number(value)
|
||||
if (!Number.isNaN(n)) normalized[key] = Number(n.toFixed(2))
|
||||
return
|
||||
}
|
||||
normalized[key] = value
|
||||
})
|
||||
return normalized
|
||||
}
|
||||
|
||||
function resetPolicyDialog() {
|
||||
policyDialog.contractRow = null
|
||||
policyDialog.fields = []
|
||||
@ -1053,6 +1101,20 @@ function validatePolicyJson(): boolean {
|
||||
}
|
||||
}
|
||||
|
||||
function getEnumOptionValue(option: any) {
|
||||
if (option && typeof option === 'object') {
|
||||
return option.value ?? option.label ?? ''
|
||||
}
|
||||
return option
|
||||
}
|
||||
|
||||
function getEnumOptionLabel(option: any) {
|
||||
if (option && typeof option === 'object') {
|
||||
return option.label ?? option.value ?? ''
|
||||
}
|
||||
return option
|
||||
}
|
||||
|
||||
async function openPolicyDialog(row: any) {
|
||||
policyDialog.contractRow = row
|
||||
policyDialog.fields = []
|
||||
@ -1089,7 +1151,7 @@ async function openPolicyDialog(row: any) {
|
||||
async function submitPolicyConfig() {
|
||||
policyDialog.saving = true
|
||||
try {
|
||||
let policy_config: Record<string, any> | null = null
|
||||
let policy_config: Record<string, any> = {}
|
||||
if (policyDialog.fields.length > 0) {
|
||||
// 结构化表单模式:直接取 formData
|
||||
const data: Record<string, any> = {}
|
||||
@ -1097,12 +1159,12 @@ async function submitPolicyConfig() {
|
||||
const v = policyDialog.formData[f.key]
|
||||
if (v !== undefined && v !== '') data[f.key] = v
|
||||
})
|
||||
policy_config = Object.keys(data).length > 0 ? data : null
|
||||
policy_config = normalizePolicyConfig(data, policyDialog.fields)
|
||||
} else {
|
||||
// fallback JSON 模式
|
||||
if (!validatePolicyJson()) { policyDialog.saving = false; return }
|
||||
const text = policyDialog.jsonText.trim()
|
||||
policy_config = text ? JSON.parse(text) : null
|
||||
policy_config = text ? normalizePolicyConfig(JSON.parse(text), policyDialog.fields) : {}
|
||||
}
|
||||
const res = await storeWarehouseSavePolicyConfig({
|
||||
id: policyDialog.contractRow?.id,
|
||||
@ -1492,6 +1554,13 @@ onMounted(loadList)
|
||||
}
|
||||
}
|
||||
|
||||
.policy-form-scroll {
|
||||
max-height: 48vh;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
padding-right: 8px;
|
||||
}
|
||||
|
||||
.policy-json-editor {
|
||||
.policy-json-label {
|
||||
display: flex;
|
||||
|
||||
@ -271,7 +271,7 @@ import {
|
||||
expressInterfaceList,
|
||||
expressInterfaceListByWarehousePlatformCode,
|
||||
expressInterfaceUpdate
|
||||
} from '@/api/setting.expressInterface/expressInterface'
|
||||
} from '@/api/setting.expressinterface/expressInterface'
|
||||
import { useUserStore } from '@/stores/modules/user'
|
||||
|
||||
type ExpressOption = { code: string; name: string; label?: string }
|
||||
|
||||
@ -3,251 +3,592 @@
|
||||
{
|
||||
"接口": "user.login",
|
||||
"data": {
|
||||
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywidXNlcm5hbWUiOiJ5am0iLCJyZWFsX25hbWUiOiJ5aW4iLCJwbGF0Zm9ybV9jb2RlIjoid2ViIiwiY3VycmVudF9yb2xlX2lkIjozMSwiY3VycmVudF9zdG9yZV9pZCI6MTAwMDAwLCJpYXQiOjE3NzY1OTIwMzYsImV4cCI6MTc3NjYwNjQzNn0.J360T9CB8fcLMeMguHsVdix1aXI4uGA4RE7PvVAKkxQ"
|
||||
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywidXNlcm5hbWUiOiJ5am0iLCJyZWFsX25hbWUiOiJ5aW4iLCJwbGF0Zm9ybV9jb2RlIjoid2ViIiwiY3VycmVudF9yb2xlX2lkIjozMSwiY3VycmVudF9zdG9yZV9pZCI6MTAwMDAwLCJpYXQiOjE3NzY3NjUzMDIsImV4cCI6MTc3Njc3OTcwMn0.E8KxAMaM_5HjwVyobYZuZgsQySriqHdOHgj0klZLkmA"
|
||||
}
|
||||
},
|
||||
{
|
||||
"接口": "index.getPlatformList",
|
||||
"接口": "index.fastWhereTree",
|
||||
"data": null
|
||||
},
|
||||
{
|
||||
"接口": "index.loadStores",
|
||||
"data": null
|
||||
},
|
||||
{
|
||||
"接口": "index.getCOSUploadConfig",
|
||||
"data": null
|
||||
},
|
||||
{
|
||||
"接口": "index.getImages",
|
||||
"data": null
|
||||
},
|
||||
{
|
||||
"接口": "index.uploadSuccessNotify",
|
||||
"data": {
|
||||
"code": 1001,
|
||||
"message": "文件已存在(唯一约束冲突)",
|
||||
"data": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"接口": "index.ReferenceFile",
|
||||
"data": null
|
||||
},
|
||||
{
|
||||
"接口": "index.getMessageDetail",
|
||||
"data": null
|
||||
},
|
||||
{
|
||||
"接口": "index.recognizeLicensePlate",
|
||||
"data": null
|
||||
},
|
||||
{
|
||||
"接口": "index.getI18nMessage",
|
||||
"data": {
|
||||
"success": true,
|
||||
"messages": {
|
||||
"common": {
|
||||
"language": "语言",
|
||||
"refresh": "刷新",
|
||||
"Close": "关闭",
|
||||
"Close Other": "关闭其他",
|
||||
"Close All": "关闭所有",
|
||||
"add": "新增",
|
||||
"edit": "编辑",
|
||||
"delete": "删除",
|
||||
"search": "搜索",
|
||||
"export": "导出"
|
||||
},
|
||||
"menu": {
|
||||
"1": "menu.1",
|
||||
"Dashboard": "控制台",
|
||||
"Download": "下载",
|
||||
"System": "系统",
|
||||
"OrderManagement": "订单管理",
|
||||
"DeliverOrder": "配送订单",
|
||||
"OrderSetting": "订单设置",
|
||||
"Stock Info": "商品明细",
|
||||
"Store Stock": "货主商品",
|
||||
"Combo Stock": "组合商品",
|
||||
"Stock Storage": "商品库存",
|
||||
"Receiving": "收货单",
|
||||
"Entry Order": "入库单",
|
||||
"Stock out": "出库单",
|
||||
"Inventory": "库存",
|
||||
"Log": "日志",
|
||||
"Exception": "异常处理",
|
||||
"Material Info": "物料明细",
|
||||
"Storage": "库存",
|
||||
"Bill": "余额",
|
||||
"Daily": "流水",
|
||||
"Account": "账户",
|
||||
"Statistics": "统计",
|
||||
"Valuation": "定价",
|
||||
"Receivable": "应收",
|
||||
"Encoding": "编码",
|
||||
"Open": "开放平台",
|
||||
"BasicManagement": "基础设置",
|
||||
"Order": "订单",
|
||||
"Stock": "商品",
|
||||
"Material": "耗材",
|
||||
"Finance": "财务",
|
||||
"Warehouse": "仓库",
|
||||
"Store": "货主",
|
||||
"Express": "快递",
|
||||
"Data": "数据",
|
||||
"Video": "录像",
|
||||
"Message": "消息",
|
||||
"PrintTemplate": "打印模板",
|
||||
"TestComponents": "menu.TestComponents",
|
||||
"StorageReceivingTest": "menu.StorageReceivingTest",
|
||||
"StorageReceivingTest2": "menu.StorageReceivingTest2",
|
||||
"Receiving Test": "menu.Receiving Test",
|
||||
"Receiving1": "menu.Receiving1",
|
||||
"Commodity Inbound and Outbound Log": "出入库记录",
|
||||
"materialStorage": "耗材库存",
|
||||
"Encoding2": "编码设置",
|
||||
"StoreManagement": "货主管理",
|
||||
"Setting": "设置",
|
||||
"WarehouseZone": "库位管理",
|
||||
"userAccount": "用户管理",
|
||||
"PrintStation": "打印台管理",
|
||||
"商品资料": "商品资料",
|
||||
"收货列表": "收货列表",
|
||||
"打印台管理": "打印台管理",
|
||||
"货主商品": "货主商品",
|
||||
"第三方开发接口": "menu.第三方开发接口",
|
||||
"波次管理": "menu.波次管理",
|
||||
"订单策略设置": "menu.订单策略设置",
|
||||
"Permission": "menu.Permission",
|
||||
"Role": "menu.Role",
|
||||
"StoreIndex": "menu.StoreIndex",
|
||||
"stores": "menu.stores",
|
||||
"Validity period": "menu.Validity period",
|
||||
"expressinterface": "menu.expressinterface"
|
||||
},
|
||||
"login": {
|
||||
"title": "登录",
|
||||
"password": "密码",
|
||||
"logIn": "登录",
|
||||
"correctUsernameTip": "请输入用户名",
|
||||
"email": "login.email",
|
||||
"emailPlaceholder": "login.emailPlaceholder",
|
||||
"realNamePlaceholder": "login.realNamePlaceholder"
|
||||
},
|
||||
"ORDER": "订单模板",
|
||||
"EXPRESS": "快递模板",
|
||||
"LABEL": "标签模板",
|
||||
"REPORT": "REPORT",
|
||||
"INVOICE": "INVOICE",
|
||||
"PICKING": "PICKING",
|
||||
"DELIVERY": "DELIVERY",
|
||||
"RETURN": "RETURN",
|
||||
"RECEIPT": "收货单",
|
||||
"TRANSFER": "TRANSFER",
|
||||
"INVENTORY": "INVENTORY",
|
||||
"QUALITY": "QUALITY",
|
||||
"STOCK": "商品标签",
|
||||
"商品标签40*30": "商品标签40*30",
|
||||
"商品标签40mm*30mm": "商品标签40mm*30mm",
|
||||
"商品标签40mm*30mm(undefinedmmxundefinedmm)": "商品标签40mm*30mm(undefinedmmxundefinedmm)",
|
||||
"商品标签(undefinedmmxundefinedmm)": "商品标签(undefinedmmxundefinedmm)",
|
||||
"商品标签(40mmx30mm)": "商品标签(40mmx30mm)",
|
||||
"商品标签(70mmx20mm)": "商品标签(70mmx20mm)",
|
||||
"商品标签(75mmx129mm)": "商品标签(75mmx129mm)",
|
||||
"商品标签(200mmx140mm)": "商品标签(200mmx140mm)",
|
||||
"商品标签": "商品标签",
|
||||
"undefined(40mmx30mm)": "undefined(40mmx30mm)",
|
||||
"undefined(70mmx20mm)": "undefined(70mmx20mm)",
|
||||
"undefined(75mmx129mm)": "undefined(75mmx129mm)",
|
||||
"undefined(200mmx140mm)": "undefined(200mmx140mm)",
|
||||
"商品标签(400mmx300mm)": "商品标签(400mmx300mm)",
|
||||
"product_base_info": "商品基础信息",
|
||||
"receipt_no_group": "receipt_no_group",
|
||||
"receipt_time_group": "receipt_time_group",
|
||||
"receipt_logistics_group": "receipt_logistics_group",
|
||||
"receipt_quantity_group": "receipt_quantity_group",
|
||||
"receipt_warehouse_group": "receipt_warehouse_group",
|
||||
"receipt_person_group": "receipt_person_group",
|
||||
"receipt_remark_group": "receipt_remark_group",
|
||||
"receipt_product_group": "货物明细1",
|
||||
"receipt_detail_quantity_group": "receipt_detail_quantity_group",
|
||||
"receipt_batch_group": "receipt_batch_group",
|
||||
"receipt_status_group": "receipt_status_group",
|
||||
"receipt_spec_group": "receipt_spec_group",
|
||||
"receipt_space_group": "receipt_space_group",
|
||||
"receipt_detail_remark_group": "receipt_detail_remark_group",
|
||||
"商品标签(210mmx297mm)": "商品标签(210mmx297mm)",
|
||||
"receipt_info_group": "入库单明细",
|
||||
"dashboard": {
|
||||
"dashboardSettings": "dashboard.dashboardSettings",
|
||||
"warehouseStatistics": "dashboard.warehouseStatistics",
|
||||
"storeStatistics": "dashboard.storeStatistics",
|
||||
"orderTrend": "dashboard.orderTrend",
|
||||
"platformDistribution": "dashboard.platformDistribution",
|
||||
"hotOrderRank": "dashboard.hotOrderRank",
|
||||
"expressRatio": "dashboard.expressRatio",
|
||||
"view": "dashboard.view",
|
||||
"layoutMode": "dashboard.layoutMode",
|
||||
"editMode": "dashboard.editMode",
|
||||
"unlocked": "dashboard.unlocked",
|
||||
"locked": "dashboard.locked",
|
||||
"unlockHint": "dashboard.unlockHint",
|
||||
"widgets": "dashboard.widgets",
|
||||
"collapse": "dashboard.collapse",
|
||||
"layoutSidebar": "dashboard.layoutSidebar",
|
||||
"layoutTopBottom": "dashboard.layoutTopBottom",
|
||||
"todayOrders": "dashboard.todayOrders",
|
||||
"vsYesterday": "dashboard.vsYesterday",
|
||||
"unassignedExpress": "dashboard.unassignedExpress",
|
||||
"unprinted": "dashboard.unprinted",
|
||||
"unpicked": "dashboard.unpicked",
|
||||
"pendingShipment": "dashboard.pendingShipment",
|
||||
"todayOutbound": "dashboard.todayOutbound",
|
||||
"completionRate": "dashboard.completionRate",
|
||||
"interceptedOrders": "dashboard.interceptedOrders",
|
||||
"exceptionOrders": "dashboard.exceptionOrders",
|
||||
"today": "dashboard.today",
|
||||
"thisWeek": "dashboard.thisWeek",
|
||||
"thisMonth": "dashboard.thisMonth",
|
||||
"toBeAssigned": "dashboard.toBeAssigned",
|
||||
"toBePrinted": "dashboard.toBePrinted",
|
||||
"needTimelyProcessing": "dashboard.needTimelyProcessing",
|
||||
"orderVolume": "dashboard.orderVolume",
|
||||
"shipmentVolume": "dashboard.shipmentVolume",
|
||||
"appDownload": "dashboard.appDownload"
|
||||
},
|
||||
"商品标签(230mmx300mm)": "商品标签(230mmx300mm)",
|
||||
"商品标签(210mmx298mm)": "商品标签(210mmx298mm)",
|
||||
"autotest_template_1774432301527(100mmx180mm)": "autotest_template_1774432301527(100mmx180mm)",
|
||||
"inventory": {
|
||||
"sku": "商品SKU",
|
||||
"batch_no": "批次号",
|
||||
"quantity": "库存数量",
|
||||
"locked_qty": "锁定数量",
|
||||
"safety_stock": "安全库存"
|
||||
},
|
||||
"order": {
|
||||
"order_no": "订单编号",
|
||||
"customer": "客户名称",
|
||||
"status": "订单状态",
|
||||
"create_time": "创建时间",
|
||||
"total_amount": "订单金额"
|
||||
},
|
||||
"shipment": {
|
||||
"ship_no": "出库单号",
|
||||
"ship_type": "出库类型",
|
||||
"express_no": "快递单号",
|
||||
"ship_time": "出库时间"
|
||||
},
|
||||
"user": {
|
||||
"username": "用户名",
|
||||
"role": "用户角色",
|
||||
"permission": "用户权限",
|
||||
"login_time": "登录时间"
|
||||
},
|
||||
"warehouse": {
|
||||
"name": "仓库名称",
|
||||
"code": "仓库编码",
|
||||
"type": "仓库类型",
|
||||
"status": "仓库状态",
|
||||
"address": "仓库地址"
|
||||
}
|
||||
},
|
||||
"stats": {
|
||||
"language": "zh-CN",
|
||||
"total": 226,
|
||||
"translated": 188,
|
||||
"untranslated": 38,
|
||||
"progress": 83,
|
||||
"timestamp": "2026-04-21T09:55:13.072Z"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"接口": "index.putI18nCollect",
|
||||
"data": {
|
||||
"success": true,
|
||||
"processed": 0,
|
||||
"stats": {
|
||||
"totalKeys": 226,
|
||||
"totalTranslations": 188,
|
||||
"newKeys": 0,
|
||||
"newTranslations": 0
|
||||
},
|
||||
"details": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"接口": "index.tryAutoTranslateNewKeys",
|
||||
"data": null
|
||||
},
|
||||
{
|
||||
"接口": "index.searchSpace",
|
||||
"data": [
|
||||
{
|
||||
"code": "1688",
|
||||
"name": "阿里巴巴",
|
||||
"default_express_interface": "cainiao",
|
||||
"value": "1688",
|
||||
"label": "阿里巴巴",
|
||||
"platform_code": "1688",
|
||||
"platform_name": "阿里巴巴",
|
||||
"is_system_setting": false
|
||||
"id": 10565,
|
||||
"space_code": "E3-05-05-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"code": "DW",
|
||||
"name": "得物",
|
||||
"default_express_interface": "polyapi",
|
||||
"value": "DW",
|
||||
"label": "得物",
|
||||
"platform_code": "DW",
|
||||
"platform_name": "得物",
|
||||
"is_system_setting": false
|
||||
"id": 10564,
|
||||
"space_code": "E3-05-05-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"code": "DYCS",
|
||||
"name": "抖音超市",
|
||||
"default_express_interface": "polyapi",
|
||||
"value": "DYCS",
|
||||
"label": "抖音超市",
|
||||
"platform_code": "DYCS",
|
||||
"platform_name": "抖音超市",
|
||||
"is_system_setting": false
|
||||
"id": 10563,
|
||||
"space_code": "E3-05-04-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"code": "DYGX",
|
||||
"name": "抖音供销",
|
||||
"default_express_interface": "polyapi",
|
||||
"value": "DYGX",
|
||||
"label": "抖音供销",
|
||||
"platform_code": "DYGX",
|
||||
"platform_name": "抖音供销",
|
||||
"is_system_setting": false
|
||||
"id": 10562,
|
||||
"space_code": "E3-05-04-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"code": "DYXD",
|
||||
"name": "抖音小店",
|
||||
"default_express_interface": "polyapi",
|
||||
"value": "DYXD",
|
||||
"label": "抖音小店",
|
||||
"platform_code": "DYXD",
|
||||
"platform_name": "抖音小店",
|
||||
"is_system_setting": false
|
||||
"id": 10561,
|
||||
"space_code": "E3-05-03-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"code": "JD",
|
||||
"name": "京东",
|
||||
"default_express_interface": "polyapi",
|
||||
"value": "JD",
|
||||
"label": "京东",
|
||||
"platform_code": "JD",
|
||||
"platform_name": "京东",
|
||||
"is_system_setting": false
|
||||
"id": 10560,
|
||||
"space_code": "E3-05-03-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"code": "KS",
|
||||
"name": "快手",
|
||||
"default_express_interface": "polyapi",
|
||||
"value": "KS",
|
||||
"label": "快手",
|
||||
"platform_code": "KS",
|
||||
"platform_name": "快手",
|
||||
"is_system_setting": false
|
||||
"id": 10559,
|
||||
"space_code": "E3-05-02-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"code": "MAOCHAO",
|
||||
"name": "天猫超市",
|
||||
"default_express_interface": "cainiao",
|
||||
"value": "MAOCHAO",
|
||||
"label": "天猫超市",
|
||||
"platform_code": "MAOCHAO",
|
||||
"platform_name": "天猫超市",
|
||||
"is_system_setting": false
|
||||
"id": 10558,
|
||||
"space_code": "E3-05-02-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"code": "OFFLINE",
|
||||
"name": "线下",
|
||||
"default_express_interface": "cainiao",
|
||||
"value": "OFFLINE",
|
||||
"label": "线下",
|
||||
"platform_code": "OFFLINE",
|
||||
"platform_name": "线下",
|
||||
"is_system_setting": false
|
||||
"id": 10557,
|
||||
"space_code": "E3-05-01-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"code": "OTHER",
|
||||
"name": "其他",
|
||||
"default_express_interface": "cainiao",
|
||||
"value": "OTHER",
|
||||
"label": "其他",
|
||||
"platform_code": "OTHER",
|
||||
"platform_name": "其他",
|
||||
"is_system_setting": false
|
||||
"id": 10556,
|
||||
"space_code": "E3-05-01-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"code": "PDD",
|
||||
"name": "拼多多",
|
||||
"default_express_interface": "pdd",
|
||||
"value": "PDD",
|
||||
"label": "拼多多",
|
||||
"platform_code": "PDD",
|
||||
"platform_name": "拼多多",
|
||||
"is_system_setting": false
|
||||
"id": 10555,
|
||||
"space_code": "E3-04-05-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"code": "SPH",
|
||||
"name": "视频号",
|
||||
"default_express_interface": "polyapi",
|
||||
"value": "SPH",
|
||||
"label": "视频号",
|
||||
"platform_code": "SPH",
|
||||
"platform_name": "视频号",
|
||||
"is_system_setting": false
|
||||
"id": 10554,
|
||||
"space_code": "E3-04-05-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"code": "TB",
|
||||
"name": "淘宝",
|
||||
"default_express_interface": "cainiao",
|
||||
"value": "TB",
|
||||
"label": "淘宝",
|
||||
"platform_code": "TB",
|
||||
"platform_name": "淘宝",
|
||||
"is_system_setting": false
|
||||
"id": 10553,
|
||||
"space_code": "E3-04-04-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"code": "TGC",
|
||||
"name": "淘工厂",
|
||||
"default_express_interface": "cainiao",
|
||||
"value": "TGC",
|
||||
"label": "淘工厂",
|
||||
"platform_code": "TGC",
|
||||
"platform_name": "淘工厂",
|
||||
"is_system_setting": false
|
||||
"id": 10552,
|
||||
"space_code": "E3-04-04-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"code": "TM",
|
||||
"name": "天猫",
|
||||
"default_express_interface": "cainiao",
|
||||
"value": "TM",
|
||||
"label": "天猫",
|
||||
"platform_code": "TM",
|
||||
"platform_name": "天猫",
|
||||
"is_system_setting": false
|
||||
"id": 10551,
|
||||
"space_code": "E3-04-03-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"code": "XHS",
|
||||
"name": "小红书",
|
||||
"default_express_interface": "polyapi",
|
||||
"value": "XHS",
|
||||
"label": "小红书",
|
||||
"platform_code": "XHS",
|
||||
"platform_name": "小红书",
|
||||
"is_system_setting": false
|
||||
"id": 10550,
|
||||
"space_code": "E3-04-03-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"code": "DY",
|
||||
"name": "DY (抖音小店)",
|
||||
"value": "DY",
|
||||
"label": "DY (抖音小店)",
|
||||
"is_system_setting": true,
|
||||
"id": 2,
|
||||
"alias": "",
|
||||
"platform_code": "DYXD",
|
||||
"platform_name": "抖音小店",
|
||||
"default_express_interface": "polyapi"
|
||||
"id": 10549,
|
||||
"space_code": "E3-04-02-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10548,
|
||||
"space_code": "E3-04-02-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10547,
|
||||
"space_code": "E3-04-01-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10546,
|
||||
"space_code": "E3-04-01-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10545,
|
||||
"space_code": "E3-03-05-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10544,
|
||||
"space_code": "E3-03-05-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10543,
|
||||
"space_code": "E3-03-04-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10542,
|
||||
"space_code": "E3-03-04-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10541,
|
||||
"space_code": "E3-03-03-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10540,
|
||||
"space_code": "E3-03-03-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10539,
|
||||
"space_code": "E3-03-02-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10538,
|
||||
"space_code": "E3-03-02-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10537,
|
||||
"space_code": "E3-03-01-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10536,
|
||||
"space_code": "E3-03-01-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10535,
|
||||
"space_code": "E3-02-05-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10534,
|
||||
"space_code": "E3-02-05-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10533,
|
||||
"space_code": "E3-02-04-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10532,
|
||||
"space_code": "E3-02-04-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10531,
|
||||
"space_code": "E3-02-03-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10530,
|
||||
"space_code": "E3-02-03-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10529,
|
||||
"space_code": "E3-02-02-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10528,
|
||||
"space_code": "E3-02-02-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10527,
|
||||
"space_code": "E3-02-01-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10526,
|
||||
"space_code": "E3-02-01-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10525,
|
||||
"space_code": "E3-01-05-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10524,
|
||||
"space_code": "E3-01-05-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10523,
|
||||
"space_code": "E3-01-04-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10522,
|
||||
"space_code": "E3-01-04-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10521,
|
||||
"space_code": "E3-01-03-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10520,
|
||||
"space_code": "E3-01-03-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10519,
|
||||
"space_code": "E3-01-02-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10518,
|
||||
"space_code": "E3-01-02-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10517,
|
||||
"space_code": "E3-01-01-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10516,
|
||||
"space_code": "E3-01-01-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"接口": "setting.platform.list",
|
||||
"data": {
|
||||
"list": [
|
||||
{
|
||||
"id": 3,
|
||||
"code": "OTHER",
|
||||
"name": "线下单(仓管家映射)",
|
||||
"platform_code": "OFFLINE",
|
||||
"warehouse_id": 100000,
|
||||
"label": "OTHER (线下)",
|
||||
"platform_name": "线下",
|
||||
"platform_label": "OTHER (线下)",
|
||||
"platform": {
|
||||
"code": "OFFLINE",
|
||||
"name": "线下",
|
||||
"platform_code": "cainiao"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"code": "DY",
|
||||
"name": "抖音(仓管家映射)",
|
||||
"platform_code": "DYXD",
|
||||
"warehouse_id": 100000,
|
||||
"label": "DY (抖音小店)",
|
||||
"platform_name": "抖音小店",
|
||||
"platform_label": "DY (抖音小店)",
|
||||
"platform": {
|
||||
"code": "DYXD",
|
||||
"name": "抖音小店",
|
||||
"platform_code": "polyapi"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 1,
|
||||
"code": "1688",
|
||||
"name": "阿里巴巴",
|
||||
"platform_code": "1688",
|
||||
"warehouse_id": 100000,
|
||||
"label": "1688 (阿里巴巴)",
|
||||
"platform_name": "阿里巴巴",
|
||||
"platform_label": "1688 (阿里巴巴)",
|
||||
"platform": {
|
||||
"code": "1688",
|
||||
"name": "阿里巴巴",
|
||||
"platform_code": "cainiao"
|
||||
}
|
||||
}
|
||||
],
|
||||
"total": 3,
|
||||
"page": 1,
|
||||
"page_size": 20
|
||||
}
|
||||
},
|
||||
{
|
||||
"接口": "setting.platform.create",
|
||||
"data": null
|
||||
},
|
||||
{
|
||||
"接口": "setting.platform.update",
|
||||
"data": null
|
||||
},
|
||||
{
|
||||
"接口": "setting.platform.delete",
|
||||
"接口": "index.listInterfaceTypes",
|
||||
"data": null
|
||||
}
|
||||
]
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
# 接口
|
||||
|
||||
- 更新时间: 2026-04-19 11:10:05
|
||||
- 更新时间: 2026-04-21 17:52:52
|
||||
- 扫描目录: `src\api`
|
||||
- 模块数: 30
|
||||
- API 文件数: 30
|
||||
- 接口数: 218
|
||||
- 已启用: 201
|
||||
- 接口数: 227
|
||||
- 已启用: 199
|
||||
- 占位接口: 2
|
||||
|
||||
## 模块统计
|
||||
@ -19,13 +19,13 @@
|
||||
| order.deliveryexpectionorder | 1 | 1 | 1 | 0 |
|
||||
| order.deliveryorder | 1 | 1 | 1 | 0 |
|
||||
| order.entrustorder | 1 | 1 | 1 | 0 |
|
||||
| order.expectionorder | 1 | 1 | 1 | 0 |
|
||||
| order.index | 1 | 4 | 3 | 0 |
|
||||
| order.expectionorder | 1 | 2 | 2 | 0 |
|
||||
| order.index | 1 | 5 | 4 | 0 |
|
||||
| order.outboundorder | 1 | 2 | 2 | 0 |
|
||||
| order.pendingorder | 1 | 6 | 6 | 0 |
|
||||
| order.pendingorder | 1 | 13 | 13 | 0 |
|
||||
| order.revieworder | 1 | 2 | 2 | 0 |
|
||||
| print | 1 | 13 | 13 | 1 |
|
||||
| printer.station | 1 | 11 | 11 | 0 |
|
||||
| print | 1 | 13 | 12 | 1 |
|
||||
| printer.station | 1 | 11 | 1 | 0 |
|
||||
| setting.account | 1 | 7 | 7 | 0 |
|
||||
| setting.express | 1 | 7 | 7 | 0 |
|
||||
| setting.expressinterface | 1 | 5 | 5 | 0 |
|
||||
@ -75,23 +75,32 @@
|
||||
| order.deliveryorder | orderDeliveryOrderList | order.deliveryOrder.list | POST | 是 | 否 | order.deliveryorder/orderdeliveryOrder.ts | |
|
||||
| order.entrustorder | orderEntrustOrderList | order.entrustOrder.list | POST | 是 | 否 | order.entrustorder/orderentrustorder.ts | |
|
||||
| order.expectionorder | orderExpectionOrderList | order.expectionOrder.list | POST | 是 | 否 | order.expectionorder/orderexpectionorder.ts | |
|
||||
| order.expectionorder | orderExpectionOrderResolveException | order.expectionOrder.resolveException | POST | 是 | 否 | order.expectionorder/orderexpectionorder.ts | |
|
||||
| order.index | orderBadgeCount | order.badgeCount | POST | 是 | 否 | order.index/orderindex.ts | |
|
||||
| order.index | orderDetail | order.detail | POST | 否 | 否 | order.index/orderindex.ts | |
|
||||
| order.index | orderList | order.list | POST | 是 | 否 | order.index/orderindex.ts | |
|
||||
| order.index | orderManualOutboundOrder | order.manualOutboundOrder | POST | 是 | 否 | order.index/orderindex.ts | |
|
||||
| order.index | orderQueryOrderLogs | order.queryOrderLogs | POST | 是 | 否 | order.index/orderindex.ts | |
|
||||
| order.outboundorder | orderOutboundOrderList | order.outboundOrder.list | POST | 是 | 否 | order.outboundorder/orderoutboundOrder.ts | |
|
||||
| order.outboundorder | orderOutboundOrderManualOutboundOrder | order.outboundOrder.manualOutboundOrder | POST | 是 | 否 | order.outboundorder/orderoutboundOrder.ts | |
|
||||
| order.pendingorder | orderPendingOrderAllocateExpressCode | order.pendingOrder.allocateExpressCode | POST | 是 | 否 | order.pendingorder/orderpendingOrder.ts | |
|
||||
| order.pendingorder | orderPendingOrderAllocateStorage | order.pendingOrder.allocateStorage | POST | 是 | 否 | order.pendingorder/orderpendingOrder.ts | |
|
||||
| order.pendingorder | orderPendingOrderCancelAllocateStorage | order.pendingOrder.cancelAllocateStorage | POST | 是 | 否 | order.pendingorder/orderpendingOrder.ts | |
|
||||
| order.pendingorder | orderPendingOrderCancelOrder | order.pendingOrder.cancelOrder | POST | 是 | 否 | order.pendingorder/orderpendingOrder.ts | |
|
||||
| order.pendingorder | orderPendingOrderCloneOrder | order.pendingOrder.cloneOrder | POST | 是 | 否 | order.pendingorder/orderpendingOrder.ts | |
|
||||
| order.pendingorder | orderPendingOrderCreateOrder | order.pendingOrder.createOrder | POST | 是 | 否 | order.pendingorder/orderpendingOrder.ts | |
|
||||
| order.pendingorder | orderPendingOrderDownloadCreateTemplate | order.pendingOrder.downloadCreateTemplate | POST | 是 | 否 | order.pendingorder/orderpendingOrder.ts | |
|
||||
| order.pendingorder | orderPendingOrderImportOrdersFromExcel | order.pendingOrder.importOrdersFromExcel | POST | 是 | 否 | order.pendingorder/orderpendingOrder.ts | |
|
||||
| order.pendingorder | orderPendingOrderList | order.pendingOrder.list | POST | 是 | 否 | order.pendingorder/orderpendingOrder.ts | |
|
||||
| order.pendingorder | orderPendingOrderMarkPendingOutboundOrder | order.pendingOrder.markPendingOutboundOrder | POST | 是 | 否 | order.pendingorder/orderpendingOrder.ts | |
|
||||
| order.pendingorder | orderPendingOrderReverseReviewOrder | order.pendingOrder.reverseReviewOrder | POST | 是 | 否 | order.pendingorder/orderpendingOrder.ts | |
|
||||
| order.pendingorder | orderPendingOrderUpdateOrderExpress | order.pendingOrder.updateOrderExpress | POST | 是 | 否 | order.pendingorder/orderpendingOrder.ts | |
|
||||
| order.pendingorder | orderPendingOrderUpdateOrderPlatform | order.pendingOrder.updateOrderPlatform | POST | 是 | 否 | order.pendingorder/orderpendingOrder.ts | |
|
||||
| order.revieworder | orderReviewOrderList | order.reviewOrder.list | POST | 是 | 否 | order.revieworder/orderreviewOrder.ts | |
|
||||
| order.revieworder | orderReviewOrderReviewOrder | order.reviewOrder.reviewOrder | POST | 是 | 否 | order.revieworder/orderreviewOrder.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 | delItem | print.del | POST | 是 | 否 | print/print.ts | |
|
||||
| print | delItems | print.del | POST | 是 | 否 | print/print.ts | |
|
||||
| print | getComputer | print.getComputer | POST | 是 | 否 | print/print.ts | |
|
||||
| print | getComputerPrinter | print.getComputerPrinter | POST | 是 | 否 | print/print.ts | |
|
||||
| print | getItem | print.getItem | POST | 是 | 否 | print/print.ts | |
|
||||
@ -102,17 +111,17 @@
|
||||
| print | savePrinters | print.savePrinters | POST | 是 | 否 | print/print.ts | |
|
||||
| print | sendPrint | print.send | POST | 是 | 否 | print/print.ts | |
|
||||
| print | updateItem | print.updateItem | POST | 是 | 否 | print/print.ts | |
|
||||
| printer.station | createPrintComputer | printer.computer.create | POST | 是 | 否 | printer.station/printerstation.ts | |
|
||||
| printer.station | deletePrintComputer | printer.computer.delete | POST | 是 | 否 | printer.station/printerstation.ts | |
|
||||
| printer.station | listPrintComputers | printer.computer.list | POST | 是 | 否 | printer.station/printerstation.ts | |
|
||||
| printer.station | updatePrintComputer | printer.computer.update | POST | 是 | 否 | printer.station/printerstation.ts | |
|
||||
| printer.station | listPrinters | printer.device.list | POST | 是 | 否 | printer.station/printerstation.ts | |
|
||||
| printer.station | bindPrinterToStation | printer.station.bind | POST | 是 | 否 | printer.station/printerstation.ts | |
|
||||
| printer.station | createPrintStation | printer.station.create | POST | 是 | 否 | printer.station/printerstation.ts | |
|
||||
| printer.station | deletePrintStation | printer.station.delete | POST | 是 | 否 | printer.station/printerstation.ts | |
|
||||
| printer.station | listPrintStations | printer.station.list | POST | 是 | 否 | printer.station/printerstation.ts | |
|
||||
| printer.station | unbindPrinterFromStation | printer.station.unbind | POST | 是 | 否 | printer.station/printerstation.ts | |
|
||||
| printer.station | updatePrintStation | printer.station.update | POST | 是 | 否 | printer.station/printerstation.ts | |
|
||||
| printer.station | createPrintComputer | printer.computer.create | POST | 否 | 否 | printer.station/printerstation.ts | |
|
||||
| printer.station | deletePrintComputer | printer.computer.delete | POST | 否 | 否 | printer.station/printerstation.ts | |
|
||||
| printer.station | listPrintComputers | printer.computer.list | POST | 否 | 否 | printer.station/printerstation.ts | |
|
||||
| printer.station | updatePrintComputer | printer.computer.update | POST | 否 | 否 | printer.station/printerstation.ts | |
|
||||
| printer.station | listPrinters | printer.device.list | POST | 否 | 否 | printer.station/printerstation.ts | |
|
||||
| printer.station | bindPrinterToStation | printer.station.bind | POST | 否 | 否 | printer.station/printerstation.ts | |
|
||||
| printer.station | createPrintStation | printer.station.create | POST | 否 | 否 | printer.station/printerstation.ts | |
|
||||
| printer.station | deletePrintStation | printer.station.delete | POST | 否 | 否 | printer.station/printerstation.ts | |
|
||||
| printer.station | printerStationList | printer.station.list | POST | 是 | 否 | printer.station/printerstation.ts | |
|
||||
| printer.station | unbindPrinterFromStation | printer.station.unbind | POST | 否 | 否 | printer.station/printerstation.ts | |
|
||||
| printer.station | updatePrintStation | printer.station.update | POST | 否 | 否 | printer.station/printerstation.ts | |
|
||||
| setting.account | accountAdd | setting.account.add | POST | 是 | 否 | setting.account/account.ts | |
|
||||
| setting.account | accountdelete | setting.account.delete | POST | 是 | 否 | setting.account/account.ts | |
|
||||
| setting.account | getBindWechatCode | setting.account.getBindWechatCode | POST | 是 | 否 | setting.account/account.ts | |
|
||||
|
||||
@ -8,23 +8,55 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"method": "index.getPlatformList",
|
||||
"method": "index.fastWhereTree",
|
||||
"body": {}
|
||||
},
|
||||
{
|
||||
"method": "setting.platform.list",
|
||||
"method": "index.loadStores",
|
||||
"body": {}
|
||||
},
|
||||
{
|
||||
"method": "setting.platform.create",
|
||||
"method": "index.getCOSUploadConfig",
|
||||
"body": {}
|
||||
},
|
||||
{
|
||||
"method": "setting.platform.update",
|
||||
"method": "index.getImages",
|
||||
"body": {}
|
||||
},
|
||||
{
|
||||
"method": "setting.platform.delete",
|
||||
"method": "index.uploadSuccessNotify",
|
||||
"body": {}
|
||||
},
|
||||
{
|
||||
"method": "index.ReferenceFile",
|
||||
"body": {}
|
||||
},
|
||||
{
|
||||
"method": "index.getMessageDetail",
|
||||
"body": {}
|
||||
},
|
||||
{
|
||||
"method": "index.recognizeLicensePlate",
|
||||
"body": {}
|
||||
},
|
||||
{
|
||||
"method": "index.getI18nMessage",
|
||||
"body": {}
|
||||
},
|
||||
{
|
||||
"method": "index.putI18nCollect",
|
||||
"body": {}
|
||||
},
|
||||
{
|
||||
"method": "index.tryAutoTranslateNewKeys",
|
||||
"body": {}
|
||||
},
|
||||
{
|
||||
"method": "index.searchSpace",
|
||||
"body": {}
|
||||
},
|
||||
{
|
||||
"method": "index.listInterfaceTypes",
|
||||
"body": {}
|
||||
}
|
||||
],
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
{
|
||||
"数据一览": {
|
||||
"当前请求数": 6,
|
||||
"成功数": 3,
|
||||
"全部请求数": 6,
|
||||
"成功数与全部请求数": "3/6",
|
||||
"当前请求数": 14,
|
||||
"成功数": 8,
|
||||
"全部请求数": 14,
|
||||
"成功数与全部请求数": "8/14",
|
||||
"成功判定名单": [
|
||||
"ok",
|
||||
"成功",
|
||||
@ -12,49 +12,98 @@
|
||||
],
|
||||
"失败接口": [
|
||||
{
|
||||
"接口": "setting.platform.create",
|
||||
"message": "code 参数不能为空",
|
||||
"code": 400,
|
||||
"模块目录": "setting.platform",
|
||||
"接口": "index.fastWhereTree",
|
||||
"message": "接口错误: WHERE parameter \"type\" has invalid \"undefined\" value",
|
||||
"code": 500,
|
||||
"模块目录": "index",
|
||||
"api封装": [
|
||||
{
|
||||
"文件": "src/api/setting.platform/platform.ts",
|
||||
"方法名": "settingPlatformCreate"
|
||||
"文件": "src/api/index/index.ts",
|
||||
"方法名": "fastWhereTree"
|
||||
}
|
||||
],
|
||||
"引用页面": [
|
||||
"src/views/system/setting/encoding/components/PlatformCodeManagement.vue"
|
||||
"src/views/stock/stock/index.vue",
|
||||
"src/views/storage/entry/index.vue",
|
||||
"src/views/storage/inventory/index.vue",
|
||||
"src/views/storage/log/index.vue",
|
||||
"src/views/storage/receiving/index.vue",
|
||||
"src/views/storage/stockout/index.vue",
|
||||
"src/views/storage/validityperiod/index.vue"
|
||||
]
|
||||
},
|
||||
{
|
||||
"接口": "setting.platform.update",
|
||||
"message": "id 参数不能为空",
|
||||
"code": 400,
|
||||
"模块目录": "setting.platform",
|
||||
"接口": "index.getCOSUploadConfig",
|
||||
"message": "接口错误: Cannot destructure property 'fileName' of 'fileInfo' as it is undefined.",
|
||||
"code": 500,
|
||||
"模块目录": "index",
|
||||
"api封装": [
|
||||
{
|
||||
"文件": "src/api/setting.platform/platform.ts",
|
||||
"方法名": "settingPlatformUpdate"
|
||||
"文件": "src/api/index/index.ts",
|
||||
"方法名": "getCOSUploadConfig"
|
||||
}
|
||||
],
|
||||
"引用页面": [
|
||||
"src/views/system/setting/encoding/components/PlatformCodeManagement.vue"
|
||||
"src/components/ImagesUpload/index.vue"
|
||||
]
|
||||
},
|
||||
{
|
||||
"接口": "setting.platform.delete",
|
||||
"message": "ids 参数不能为空",
|
||||
"code": 400,
|
||||
"模块目录": "setting.platform",
|
||||
"接口": "index.getImages",
|
||||
"message": "接口错误: WHERE parameter \"business_type\" has invalid \"undefined\" value",
|
||||
"code": 500,
|
||||
"模块目录": "index",
|
||||
"api封装": [
|
||||
{
|
||||
"文件": "src/api/setting.platform/platform.ts",
|
||||
"方法名": "settingPlatformDelete"
|
||||
"文件": "src/api/index/index.ts",
|
||||
"方法名": "getImages"
|
||||
}
|
||||
],
|
||||
"引用页面": [
|
||||
"src/views/system/setting/encoding/components/PlatformCodeManagement.vue"
|
||||
"src/components/ImagesUpload/index.vue"
|
||||
]
|
||||
},
|
||||
{
|
||||
"接口": "index.ReferenceFile",
|
||||
"message": "接口错误: WHERE parameter \"business_type\" has invalid \"undefined\" value",
|
||||
"code": 500,
|
||||
"模块目录": "index",
|
||||
"api封装": [
|
||||
{
|
||||
"文件": "src/api/index/index.ts",
|
||||
"方法名": "ReferenceFile"
|
||||
}
|
||||
],
|
||||
"引用页面": [
|
||||
"src/components/ImagesUpload/index.vue"
|
||||
]
|
||||
},
|
||||
{
|
||||
"接口": "index.getMessageDetail",
|
||||
"message": "接口错误: 不支持的日志类型: undefined",
|
||||
"code": 500,
|
||||
"模块目录": "index",
|
||||
"api封装": [
|
||||
{
|
||||
"文件": "src/api/index/index.ts",
|
||||
"方法名": "getMessageDetail"
|
||||
}
|
||||
],
|
||||
"引用页面": [
|
||||
"src/components/RequestData/index.vue"
|
||||
]
|
||||
},
|
||||
{
|
||||
"接口": "index.recognizeLicensePlate",
|
||||
"message": "base64 图片不能为空",
|
||||
"code": 400,
|
||||
"模块目录": "index",
|
||||
"api封装": [
|
||||
{
|
||||
"文件": "src/api/index/index.ts",
|
||||
"方法名": "recognizeLicensePlate"
|
||||
}
|
||||
],
|
||||
"引用页面": []
|
||||
}
|
||||
],
|
||||
"空数据接口": []
|
||||
@ -65,261 +114,618 @@
|
||||
"message": "登录成功",
|
||||
"code": 200,
|
||||
"data": {
|
||||
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywidXNlcm5hbWUiOiJ5am0iLCJyZWFsX25hbWUiOiJ5aW4iLCJwbGF0Zm9ybV9jb2RlIjoid2ViIiwiY3VycmVudF9yb2xlX2lkIjozMSwiY3VycmVudF9zdG9yZV9pZCI6MTAwMDAwLCJpYXQiOjE3NzY1OTIwMzYsImV4cCI6MTc3NjYwNjQzNn0.J360T9CB8fcLMeMguHsVdix1aXI4uGA4RE7PvVAKkxQ"
|
||||
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywidXNlcm5hbWUiOiJ5am0iLCJyZWFsX25hbWUiOiJ5aW4iLCJwbGF0Zm9ybV9jb2RlIjoid2ViIiwiY3VycmVudF9yb2xlX2lkIjozMSwiY3VycmVudF9zdG9yZV9pZCI6MTAwMDAwLCJpYXQiOjE3NzY3NjUzMDIsImV4cCI6MTc3Njc3OTcwMn0.E8KxAMaM_5HjwVyobYZuZgsQySriqHdOHgj0klZLkmA"
|
||||
}
|
||||
},
|
||||
{
|
||||
"接口": "index.getPlatformList",
|
||||
"接口": "index.fastWhereTree",
|
||||
"message": "接口错误: WHERE parameter \"type\" has invalid \"undefined\" value",
|
||||
"code": 500,
|
||||
"data": null
|
||||
},
|
||||
{
|
||||
"接口": "index.loadStores",
|
||||
"message": "ok",
|
||||
"code": 200,
|
||||
"data": null
|
||||
},
|
||||
{
|
||||
"接口": "index.getCOSUploadConfig",
|
||||
"message": "接口错误: Cannot destructure property 'fileName' of 'fileInfo' as it is undefined.",
|
||||
"code": 500,
|
||||
"data": null
|
||||
},
|
||||
{
|
||||
"接口": "index.getImages",
|
||||
"message": "接口错误: WHERE parameter \"business_type\" has invalid \"undefined\" value",
|
||||
"code": 500,
|
||||
"data": null
|
||||
},
|
||||
{
|
||||
"接口": "index.uploadSuccessNotify",
|
||||
"message": "ok",
|
||||
"code": 200,
|
||||
"data": {
|
||||
"code": 1001,
|
||||
"message": "文件已存在(唯一约束冲突)",
|
||||
"data": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"接口": "index.ReferenceFile",
|
||||
"message": "接口错误: WHERE parameter \"business_type\" has invalid \"undefined\" value",
|
||||
"code": 500,
|
||||
"data": null
|
||||
},
|
||||
{
|
||||
"接口": "index.getMessageDetail",
|
||||
"message": "接口错误: 不支持的日志类型: undefined",
|
||||
"code": 500,
|
||||
"data": null
|
||||
},
|
||||
{
|
||||
"接口": "index.recognizeLicensePlate",
|
||||
"message": "base64 图片不能为空",
|
||||
"code": 400,
|
||||
"data": null
|
||||
},
|
||||
{
|
||||
"接口": "index.getI18nMessage",
|
||||
"message": "ok",
|
||||
"code": 200,
|
||||
"data": {
|
||||
"success": true,
|
||||
"messages": {
|
||||
"common": {
|
||||
"language": "语言",
|
||||
"refresh": "刷新",
|
||||
"Close": "关闭",
|
||||
"Close Other": "关闭其他",
|
||||
"Close All": "关闭所有",
|
||||
"add": "新增",
|
||||
"edit": "编辑",
|
||||
"delete": "删除",
|
||||
"search": "搜索",
|
||||
"export": "导出"
|
||||
},
|
||||
"menu": {
|
||||
"1": "menu.1",
|
||||
"Dashboard": "控制台",
|
||||
"Download": "下载",
|
||||
"System": "系统",
|
||||
"OrderManagement": "订单管理",
|
||||
"DeliverOrder": "配送订单",
|
||||
"OrderSetting": "订单设置",
|
||||
"Stock Info": "商品明细",
|
||||
"Store Stock": "货主商品",
|
||||
"Combo Stock": "组合商品",
|
||||
"Stock Storage": "商品库存",
|
||||
"Receiving": "收货单",
|
||||
"Entry Order": "入库单",
|
||||
"Stock out": "出库单",
|
||||
"Inventory": "库存",
|
||||
"Log": "日志",
|
||||
"Exception": "异常处理",
|
||||
"Material Info": "物料明细",
|
||||
"Storage": "库存",
|
||||
"Bill": "余额",
|
||||
"Daily": "流水",
|
||||
"Account": "账户",
|
||||
"Statistics": "统计",
|
||||
"Valuation": "定价",
|
||||
"Receivable": "应收",
|
||||
"Encoding": "编码",
|
||||
"Open": "开放平台",
|
||||
"BasicManagement": "基础设置",
|
||||
"Order": "订单",
|
||||
"Stock": "商品",
|
||||
"Material": "耗材",
|
||||
"Finance": "财务",
|
||||
"Warehouse": "仓库",
|
||||
"Store": "货主",
|
||||
"Express": "快递",
|
||||
"Data": "数据",
|
||||
"Video": "录像",
|
||||
"Message": "消息",
|
||||
"PrintTemplate": "打印模板",
|
||||
"TestComponents": "menu.TestComponents",
|
||||
"StorageReceivingTest": "menu.StorageReceivingTest",
|
||||
"StorageReceivingTest2": "menu.StorageReceivingTest2",
|
||||
"Receiving Test": "menu.Receiving Test",
|
||||
"Receiving1": "menu.Receiving1",
|
||||
"Commodity Inbound and Outbound Log": "出入库记录",
|
||||
"materialStorage": "耗材库存",
|
||||
"Encoding2": "编码设置",
|
||||
"StoreManagement": "货主管理",
|
||||
"Setting": "设置",
|
||||
"WarehouseZone": "库位管理",
|
||||
"userAccount": "用户管理",
|
||||
"PrintStation": "打印台管理",
|
||||
"商品资料": "商品资料",
|
||||
"收货列表": "收货列表",
|
||||
"打印台管理": "打印台管理",
|
||||
"货主商品": "货主商品",
|
||||
"第三方开发接口": "menu.第三方开发接口",
|
||||
"波次管理": "menu.波次管理",
|
||||
"订单策略设置": "menu.订单策略设置",
|
||||
"Permission": "menu.Permission",
|
||||
"Role": "menu.Role",
|
||||
"StoreIndex": "menu.StoreIndex",
|
||||
"stores": "menu.stores",
|
||||
"Validity period": "menu.Validity period",
|
||||
"expressinterface": "menu.expressinterface"
|
||||
},
|
||||
"login": {
|
||||
"title": "登录",
|
||||
"password": "密码",
|
||||
"logIn": "登录",
|
||||
"correctUsernameTip": "请输入用户名",
|
||||
"email": "login.email",
|
||||
"emailPlaceholder": "login.emailPlaceholder",
|
||||
"realNamePlaceholder": "login.realNamePlaceholder"
|
||||
},
|
||||
"ORDER": "订单模板",
|
||||
"EXPRESS": "快递模板",
|
||||
"LABEL": "标签模板",
|
||||
"REPORT": "REPORT",
|
||||
"INVOICE": "INVOICE",
|
||||
"PICKING": "PICKING",
|
||||
"DELIVERY": "DELIVERY",
|
||||
"RETURN": "RETURN",
|
||||
"RECEIPT": "收货单",
|
||||
"TRANSFER": "TRANSFER",
|
||||
"INVENTORY": "INVENTORY",
|
||||
"QUALITY": "QUALITY",
|
||||
"STOCK": "商品标签",
|
||||
"商品标签40*30": "商品标签40*30",
|
||||
"商品标签40mm*30mm": "商品标签40mm*30mm",
|
||||
"商品标签40mm*30mm(undefinedmmxundefinedmm)": "商品标签40mm*30mm(undefinedmmxundefinedmm)",
|
||||
"商品标签(undefinedmmxundefinedmm)": "商品标签(undefinedmmxundefinedmm)",
|
||||
"商品标签(40mmx30mm)": "商品标签(40mmx30mm)",
|
||||
"商品标签(70mmx20mm)": "商品标签(70mmx20mm)",
|
||||
"商品标签(75mmx129mm)": "商品标签(75mmx129mm)",
|
||||
"商品标签(200mmx140mm)": "商品标签(200mmx140mm)",
|
||||
"商品标签": "商品标签",
|
||||
"undefined(40mmx30mm)": "undefined(40mmx30mm)",
|
||||
"undefined(70mmx20mm)": "undefined(70mmx20mm)",
|
||||
"undefined(75mmx129mm)": "undefined(75mmx129mm)",
|
||||
"undefined(200mmx140mm)": "undefined(200mmx140mm)",
|
||||
"商品标签(400mmx300mm)": "商品标签(400mmx300mm)",
|
||||
"product_base_info": "商品基础信息",
|
||||
"receipt_no_group": "receipt_no_group",
|
||||
"receipt_time_group": "receipt_time_group",
|
||||
"receipt_logistics_group": "receipt_logistics_group",
|
||||
"receipt_quantity_group": "receipt_quantity_group",
|
||||
"receipt_warehouse_group": "receipt_warehouse_group",
|
||||
"receipt_person_group": "receipt_person_group",
|
||||
"receipt_remark_group": "receipt_remark_group",
|
||||
"receipt_product_group": "货物明细1",
|
||||
"receipt_detail_quantity_group": "receipt_detail_quantity_group",
|
||||
"receipt_batch_group": "receipt_batch_group",
|
||||
"receipt_status_group": "receipt_status_group",
|
||||
"receipt_spec_group": "receipt_spec_group",
|
||||
"receipt_space_group": "receipt_space_group",
|
||||
"receipt_detail_remark_group": "receipt_detail_remark_group",
|
||||
"商品标签(210mmx297mm)": "商品标签(210mmx297mm)",
|
||||
"receipt_info_group": "入库单明细",
|
||||
"dashboard": {
|
||||
"dashboardSettings": "dashboard.dashboardSettings",
|
||||
"warehouseStatistics": "dashboard.warehouseStatistics",
|
||||
"storeStatistics": "dashboard.storeStatistics",
|
||||
"orderTrend": "dashboard.orderTrend",
|
||||
"platformDistribution": "dashboard.platformDistribution",
|
||||
"hotOrderRank": "dashboard.hotOrderRank",
|
||||
"expressRatio": "dashboard.expressRatio",
|
||||
"view": "dashboard.view",
|
||||
"layoutMode": "dashboard.layoutMode",
|
||||
"editMode": "dashboard.editMode",
|
||||
"unlocked": "dashboard.unlocked",
|
||||
"locked": "dashboard.locked",
|
||||
"unlockHint": "dashboard.unlockHint",
|
||||
"widgets": "dashboard.widgets",
|
||||
"collapse": "dashboard.collapse",
|
||||
"layoutSidebar": "dashboard.layoutSidebar",
|
||||
"layoutTopBottom": "dashboard.layoutTopBottom",
|
||||
"todayOrders": "dashboard.todayOrders",
|
||||
"vsYesterday": "dashboard.vsYesterday",
|
||||
"unassignedExpress": "dashboard.unassignedExpress",
|
||||
"unprinted": "dashboard.unprinted",
|
||||
"unpicked": "dashboard.unpicked",
|
||||
"pendingShipment": "dashboard.pendingShipment",
|
||||
"todayOutbound": "dashboard.todayOutbound",
|
||||
"completionRate": "dashboard.completionRate",
|
||||
"interceptedOrders": "dashboard.interceptedOrders",
|
||||
"exceptionOrders": "dashboard.exceptionOrders",
|
||||
"today": "dashboard.today",
|
||||
"thisWeek": "dashboard.thisWeek",
|
||||
"thisMonth": "dashboard.thisMonth",
|
||||
"toBeAssigned": "dashboard.toBeAssigned",
|
||||
"toBePrinted": "dashboard.toBePrinted",
|
||||
"needTimelyProcessing": "dashboard.needTimelyProcessing",
|
||||
"orderVolume": "dashboard.orderVolume",
|
||||
"shipmentVolume": "dashboard.shipmentVolume",
|
||||
"appDownload": "dashboard.appDownload"
|
||||
},
|
||||
"商品标签(230mmx300mm)": "商品标签(230mmx300mm)",
|
||||
"商品标签(210mmx298mm)": "商品标签(210mmx298mm)",
|
||||
"autotest_template_1774432301527(100mmx180mm)": "autotest_template_1774432301527(100mmx180mm)",
|
||||
"inventory": {
|
||||
"sku": "商品SKU",
|
||||
"batch_no": "批次号",
|
||||
"quantity": "库存数量",
|
||||
"locked_qty": "锁定数量",
|
||||
"safety_stock": "安全库存"
|
||||
},
|
||||
"order": {
|
||||
"order_no": "订单编号",
|
||||
"customer": "客户名称",
|
||||
"status": "订单状态",
|
||||
"create_time": "创建时间",
|
||||
"total_amount": "订单金额"
|
||||
},
|
||||
"shipment": {
|
||||
"ship_no": "出库单号",
|
||||
"ship_type": "出库类型",
|
||||
"express_no": "快递单号",
|
||||
"ship_time": "出库时间"
|
||||
},
|
||||
"user": {
|
||||
"username": "用户名",
|
||||
"role": "用户角色",
|
||||
"permission": "用户权限",
|
||||
"login_time": "登录时间"
|
||||
},
|
||||
"warehouse": {
|
||||
"name": "仓库名称",
|
||||
"code": "仓库编码",
|
||||
"type": "仓库类型",
|
||||
"status": "仓库状态",
|
||||
"address": "仓库地址"
|
||||
}
|
||||
},
|
||||
"stats": {
|
||||
"language": "zh-CN",
|
||||
"total": 226,
|
||||
"translated": 188,
|
||||
"untranslated": 38,
|
||||
"progress": 83,
|
||||
"timestamp": "2026-04-21T09:55:13.072Z"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"接口": "index.putI18nCollect",
|
||||
"message": "ok",
|
||||
"code": 200,
|
||||
"data": {
|
||||
"success": true,
|
||||
"processed": 0,
|
||||
"stats": {
|
||||
"totalKeys": 226,
|
||||
"totalTranslations": 188,
|
||||
"newKeys": 0,
|
||||
"newTranslations": 0
|
||||
},
|
||||
"details": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"接口": "index.tryAutoTranslateNewKeys",
|
||||
"message": "ok",
|
||||
"code": 1,
|
||||
"data": null
|
||||
},
|
||||
{
|
||||
"接口": "index.searchSpace",
|
||||
"message": "ok",
|
||||
"code": 200,
|
||||
"data": [
|
||||
{
|
||||
"code": "1688",
|
||||
"name": "阿里巴巴",
|
||||
"default_express_interface": "cainiao",
|
||||
"value": "1688",
|
||||
"label": "阿里巴巴",
|
||||
"platform_code": "1688",
|
||||
"platform_name": "阿里巴巴",
|
||||
"is_system_setting": false
|
||||
"id": 10565,
|
||||
"space_code": "E3-05-05-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"code": "DW",
|
||||
"name": "得物",
|
||||
"default_express_interface": "polyapi",
|
||||
"value": "DW",
|
||||
"label": "得物",
|
||||
"platform_code": "DW",
|
||||
"platform_name": "得物",
|
||||
"is_system_setting": false
|
||||
"id": 10564,
|
||||
"space_code": "E3-05-05-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"code": "DYCS",
|
||||
"name": "抖音超市",
|
||||
"default_express_interface": "polyapi",
|
||||
"value": "DYCS",
|
||||
"label": "抖音超市",
|
||||
"platform_code": "DYCS",
|
||||
"platform_name": "抖音超市",
|
||||
"is_system_setting": false
|
||||
"id": 10563,
|
||||
"space_code": "E3-05-04-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"code": "DYGX",
|
||||
"name": "抖音供销",
|
||||
"default_express_interface": "polyapi",
|
||||
"value": "DYGX",
|
||||
"label": "抖音供销",
|
||||
"platform_code": "DYGX",
|
||||
"platform_name": "抖音供销",
|
||||
"is_system_setting": false
|
||||
"id": 10562,
|
||||
"space_code": "E3-05-04-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"code": "DYXD",
|
||||
"name": "抖音小店",
|
||||
"default_express_interface": "polyapi",
|
||||
"value": "DYXD",
|
||||
"label": "抖音小店",
|
||||
"platform_code": "DYXD",
|
||||
"platform_name": "抖音小店",
|
||||
"is_system_setting": false
|
||||
"id": 10561,
|
||||
"space_code": "E3-05-03-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"code": "JD",
|
||||
"name": "京东",
|
||||
"default_express_interface": "polyapi",
|
||||
"value": "JD",
|
||||
"label": "京东",
|
||||
"platform_code": "JD",
|
||||
"platform_name": "京东",
|
||||
"is_system_setting": false
|
||||
"id": 10560,
|
||||
"space_code": "E3-05-03-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"code": "KS",
|
||||
"name": "快手",
|
||||
"default_express_interface": "polyapi",
|
||||
"value": "KS",
|
||||
"label": "快手",
|
||||
"platform_code": "KS",
|
||||
"platform_name": "快手",
|
||||
"is_system_setting": false
|
||||
"id": 10559,
|
||||
"space_code": "E3-05-02-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"code": "MAOCHAO",
|
||||
"name": "天猫超市",
|
||||
"default_express_interface": "cainiao",
|
||||
"value": "MAOCHAO",
|
||||
"label": "天猫超市",
|
||||
"platform_code": "MAOCHAO",
|
||||
"platform_name": "天猫超市",
|
||||
"is_system_setting": false
|
||||
"id": 10558,
|
||||
"space_code": "E3-05-02-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"code": "OFFLINE",
|
||||
"name": "线下",
|
||||
"default_express_interface": "cainiao",
|
||||
"value": "OFFLINE",
|
||||
"label": "线下",
|
||||
"platform_code": "OFFLINE",
|
||||
"platform_name": "线下",
|
||||
"is_system_setting": false
|
||||
"id": 10557,
|
||||
"space_code": "E3-05-01-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"code": "OTHER",
|
||||
"name": "其他",
|
||||
"default_express_interface": "cainiao",
|
||||
"value": "OTHER",
|
||||
"label": "其他",
|
||||
"platform_code": "OTHER",
|
||||
"platform_name": "其他",
|
||||
"is_system_setting": false
|
||||
"id": 10556,
|
||||
"space_code": "E3-05-01-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"code": "PDD",
|
||||
"name": "拼多多",
|
||||
"default_express_interface": "pdd",
|
||||
"value": "PDD",
|
||||
"label": "拼多多",
|
||||
"platform_code": "PDD",
|
||||
"platform_name": "拼多多",
|
||||
"is_system_setting": false
|
||||
"id": 10555,
|
||||
"space_code": "E3-04-05-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"code": "SPH",
|
||||
"name": "视频号",
|
||||
"default_express_interface": "polyapi",
|
||||
"value": "SPH",
|
||||
"label": "视频号",
|
||||
"platform_code": "SPH",
|
||||
"platform_name": "视频号",
|
||||
"is_system_setting": false
|
||||
"id": 10554,
|
||||
"space_code": "E3-04-05-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"code": "TB",
|
||||
"name": "淘宝",
|
||||
"default_express_interface": "cainiao",
|
||||
"value": "TB",
|
||||
"label": "淘宝",
|
||||
"platform_code": "TB",
|
||||
"platform_name": "淘宝",
|
||||
"is_system_setting": false
|
||||
"id": 10553,
|
||||
"space_code": "E3-04-04-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"code": "TGC",
|
||||
"name": "淘工厂",
|
||||
"default_express_interface": "cainiao",
|
||||
"value": "TGC",
|
||||
"label": "淘工厂",
|
||||
"platform_code": "TGC",
|
||||
"platform_name": "淘工厂",
|
||||
"is_system_setting": false
|
||||
"id": 10552,
|
||||
"space_code": "E3-04-04-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"code": "TM",
|
||||
"name": "天猫",
|
||||
"default_express_interface": "cainiao",
|
||||
"value": "TM",
|
||||
"label": "天猫",
|
||||
"platform_code": "TM",
|
||||
"platform_name": "天猫",
|
||||
"is_system_setting": false
|
||||
"id": 10551,
|
||||
"space_code": "E3-04-03-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"code": "XHS",
|
||||
"name": "小红书",
|
||||
"default_express_interface": "polyapi",
|
||||
"value": "XHS",
|
||||
"label": "小红书",
|
||||
"platform_code": "XHS",
|
||||
"platform_name": "小红书",
|
||||
"is_system_setting": false
|
||||
"id": 10550,
|
||||
"space_code": "E3-04-03-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"code": "DY",
|
||||
"name": "DY (抖音小店)",
|
||||
"value": "DY",
|
||||
"label": "DY (抖音小店)",
|
||||
"is_system_setting": true,
|
||||
"id": 2,
|
||||
"alias": "",
|
||||
"platform_code": "DYXD",
|
||||
"platform_name": "抖音小店",
|
||||
"default_express_interface": "polyapi"
|
||||
"id": 10549,
|
||||
"space_code": "E3-04-02-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10548,
|
||||
"space_code": "E3-04-02-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10547,
|
||||
"space_code": "E3-04-01-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10546,
|
||||
"space_code": "E3-04-01-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10545,
|
||||
"space_code": "E3-03-05-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10544,
|
||||
"space_code": "E3-03-05-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10543,
|
||||
"space_code": "E3-03-04-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10542,
|
||||
"space_code": "E3-03-04-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10541,
|
||||
"space_code": "E3-03-03-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10540,
|
||||
"space_code": "E3-03-03-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10539,
|
||||
"space_code": "E3-03-02-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10538,
|
||||
"space_code": "E3-03-02-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10537,
|
||||
"space_code": "E3-03-01-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10536,
|
||||
"space_code": "E3-03-01-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10535,
|
||||
"space_code": "E3-02-05-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10534,
|
||||
"space_code": "E3-02-05-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10533,
|
||||
"space_code": "E3-02-04-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10532,
|
||||
"space_code": "E3-02-04-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10531,
|
||||
"space_code": "E3-02-03-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10530,
|
||||
"space_code": "E3-02-03-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10529,
|
||||
"space_code": "E3-02-02-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10528,
|
||||
"space_code": "E3-02-02-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10527,
|
||||
"space_code": "E3-02-01-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10526,
|
||||
"space_code": "E3-02-01-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10525,
|
||||
"space_code": "E3-01-05-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10524,
|
||||
"space_code": "E3-01-05-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10523,
|
||||
"space_code": "E3-01-04-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10522,
|
||||
"space_code": "E3-01-04-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10521,
|
||||
"space_code": "E3-01-03-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10520,
|
||||
"space_code": "E3-01-03-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10519,
|
||||
"space_code": "E3-01-02-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10518,
|
||||
"space_code": "E3-01-02-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10517,
|
||||
"space_code": "E3-01-01-02",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
},
|
||||
{
|
||||
"id": 10516,
|
||||
"space_code": "E3-01-01-01",
|
||||
"custom_barcode": null,
|
||||
"custom_name": null
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"接口": "setting.platform.list",
|
||||
"接口": "index.listInterfaceTypes",
|
||||
"message": "ok",
|
||||
"code": 200,
|
||||
"data": {
|
||||
"list": [
|
||||
{
|
||||
"id": 3,
|
||||
"code": "OTHER",
|
||||
"name": "线下单(仓管家映射)",
|
||||
"platform_code": "OFFLINE",
|
||||
"warehouse_id": 100000,
|
||||
"label": "OTHER (线下)",
|
||||
"platform_name": "线下",
|
||||
"platform_label": "OTHER (线下)",
|
||||
"platform": {
|
||||
"code": "OFFLINE",
|
||||
"name": "线下",
|
||||
"platform_code": "cainiao"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"code": "DY",
|
||||
"name": "抖音(仓管家映射)",
|
||||
"platform_code": "DYXD",
|
||||
"warehouse_id": 100000,
|
||||
"label": "DY (抖音小店)",
|
||||
"platform_name": "抖音小店",
|
||||
"platform_label": "DY (抖音小店)",
|
||||
"platform": {
|
||||
"code": "DYXD",
|
||||
"name": "抖音小店",
|
||||
"platform_code": "polyapi"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 1,
|
||||
"code": "1688",
|
||||
"name": "阿里巴巴",
|
||||
"platform_code": "1688",
|
||||
"warehouse_id": 100000,
|
||||
"label": "1688 (阿里巴巴)",
|
||||
"platform_name": "阿里巴巴",
|
||||
"platform_label": "1688 (阿里巴巴)",
|
||||
"platform": {
|
||||
"code": "1688",
|
||||
"name": "阿里巴巴",
|
||||
"platform_code": "cainiao"
|
||||
}
|
||||
}
|
||||
],
|
||||
"total": 3,
|
||||
"page": 1,
|
||||
"page_size": 20
|
||||
}
|
||||
},
|
||||
{
|
||||
"接口": "setting.platform.create",
|
||||
"message": "code 参数不能为空",
|
||||
"code": 400,
|
||||
"data": null
|
||||
},
|
||||
{
|
||||
"接口": "setting.platform.update",
|
||||
"message": "id 参数不能为空",
|
||||
"code": 400,
|
||||
"data": null
|
||||
},
|
||||
{
|
||||
"接口": "setting.platform.delete",
|
||||
"message": "ids 参数不能为空",
|
||||
"code": 400,
|
||||
"data": null
|
||||
}
|
||||
]
|
||||
|
||||
@ -89,6 +89,23 @@ function resolveMaxRetries({ rawConfig, quickCheck, cliMaxRetries = null }) {
|
||||
return quickCheck ? CRAWLER_CONFIG.quickMaxRetries : CRAWLER_CONFIG.defaultMaxRetries;
|
||||
}
|
||||
|
||||
/**
|
||||
* 连续超时熔断阈值,默认 5(表示连续 5 个接口超时即中止抓取)。
|
||||
* 可通过 apidata/config.json 根级 maxConsecutiveTimeouts 或 CLI --timeout-streak 覆盖。
|
||||
* @param {{ rawConfig: object, cliTimeoutStreak?: number | null }} args
|
||||
*/
|
||||
function resolveMaxConsecutiveTimeouts({ rawConfig, cliTimeoutStreak = null }) {
|
||||
const clampMinOne = (n) => Math.max(1, clampNonNegativeInt(n));
|
||||
if (Number.isFinite(cliTimeoutStreak) && cliTimeoutStreak > 0) {
|
||||
return clampMinOne(cliTimeoutStreak);
|
||||
}
|
||||
const v = Number(rawConfig?.maxConsecutiveTimeouts);
|
||||
if (Number.isFinite(v) && v > 0) {
|
||||
return clampMinOne(v);
|
||||
}
|
||||
return 5;
|
||||
}
|
||||
|
||||
function sleepMs(ms) {
|
||||
if (!Number.isFinite(ms) || ms <= 0) {
|
||||
return Promise.resolve();
|
||||
@ -113,6 +130,18 @@ function isRetryableStatus(status) {
|
||||
return status === 0 || status === 408 || status === 425 || status === 429 || (status >= 500 && status <= 599);
|
||||
}
|
||||
|
||||
/**
|
||||
* 仅把“请求超时”归入连续超时计数,普通网络错误不计入。
|
||||
* @param {{ status: number, error?: string }} result
|
||||
*/
|
||||
function isTimeoutFailureResult(result) {
|
||||
const errMsg = String(result?.error ?? "");
|
||||
if (/timeout|timed out|请求超时/i.test(errMsg)) {
|
||||
return true;
|
||||
}
|
||||
return Number(result?.status) === 408;
|
||||
}
|
||||
|
||||
function backoffDelayMs(attempt) {
|
||||
const base = CRAWLER_CONFIG.retryBackoffMsBase;
|
||||
const max = CRAWLER_CONFIG.retryBackoffMsMax;
|
||||
@ -317,6 +346,7 @@ apidata — 按 config.json 请求远端并写入 apidata/data.json;默认同
|
||||
成功判定: 响应 message 与「成功判定名单」某项在 trim 且英文忽略大小写后一致即成功(默认含 ok、成功、登录成功)。
|
||||
可在 apidata/config.json 根级设置 successMessages 数组覆盖默认名单。
|
||||
可在同文件根级设置 requestTimeoutMs(数字,毫秒)覆盖单次 fetch 超时;未设置时 --quick 默认单接口 ${CRAWLER_CONFIG.quickModeTimeoutMs}ms,普通模式 ${CRAWLER_CONFIG.timeoutMs}ms。
|
||||
可在同文件根级设置 maxConsecutiveTimeouts(数字,默认 5)控制连续超时熔断阈值。
|
||||
|
||||
失败接口: 默认在每条失败记录上附加「模块目录」(来自 data/module-list/module-list.json)、
|
||||
「api封装」(在 src/api 中匹配到的 export)及「引用页面」(扫描 src/views、src/components、src/layout 下 .vue/.ts/.tsx 的引用路径,相对仓库根)。
|
||||
@ -337,6 +367,7 @@ apidata — 按 config.json 请求远端并写入 apidata/data.json;默认同
|
||||
--timeout=<ms> 覆盖单次 fetch 超时;优先级高于 config.requestTimeoutMs
|
||||
--delay=<ms> 请求间隔;优先级高于 config.requestDelayMs(--quick 默认 ${CRAWLER_CONFIG.quickDelayMs}ms)
|
||||
--retries=<n> 单请求失败重试次数(不含首次);优先级高于 config.maxRetries(--quick 默认 ${CRAWLER_CONFIG.quickMaxRetries})
|
||||
--timeout-streak=<n> 连续超时熔断阈值(默认 5);达到阈值后终止后续请求
|
||||
-h, --help 显示本说明
|
||||
|
||||
模块名:
|
||||
@ -358,8 +389,8 @@ apidata — 按 config.json 请求远端并写入 apidata/data.json;默认同
|
||||
*/
|
||||
export function parseApidataCli(argv) {
|
||||
const flags = { clear: false, noClear: false, help: false, quickCheck: false };
|
||||
/** @type {{ delayMs: number | null, maxRetries: number | null, timeoutMs: number | null }} */
|
||||
const tune = { delayMs: null, maxRetries: null, timeoutMs: null };
|
||||
/** @type {{ delayMs: number | null, maxRetries: number | null, timeoutMs: number | null, timeoutStreak: number | null }} */
|
||||
const tune = { delayMs: null, maxRetries: null, timeoutMs: null, timeoutStreak: null };
|
||||
const positionals = [];
|
||||
|
||||
/** @param {string} raw */
|
||||
@ -403,6 +434,10 @@ export function parseApidataCli(argv) {
|
||||
tune.timeoutMs = parseIntOpt(arg.slice("--timeout=".length));
|
||||
continue;
|
||||
}
|
||||
if (arg.startsWith("--timeout-streak=")) {
|
||||
tune.timeoutStreak = parseIntOpt(arg.slice("--timeout-streak=".length));
|
||||
continue;
|
||||
}
|
||||
if (arg.startsWith("-")) {
|
||||
throw new Error(`未知参数: ${arg}(使用 --help 查看说明)`);
|
||||
}
|
||||
@ -594,6 +629,10 @@ async function buildAndWriteConfig(opts) {
|
||||
if (Number.isFinite(prevRt) && prevRt > 0) {
|
||||
out.requestTimeoutMs = clampRequestTimeoutMs(prevRt);
|
||||
}
|
||||
const prevTimeoutStreak = Number(existingRaw?.maxConsecutiveTimeouts);
|
||||
if (Number.isFinite(prevTimeoutStreak) && prevTimeoutStreak > 0) {
|
||||
out.maxConsecutiveTimeouts = Math.max(1, clampNonNegativeInt(prevTimeoutStreak));
|
||||
}
|
||||
|
||||
await writeJson(APIDATA_CONFIG_FILE, out);
|
||||
console.log(`已更新 ${APIDATA_CONFIG_FILE}(共 ${out.requests.length} 条请求)`);
|
||||
@ -746,10 +785,15 @@ function extractWrappersFromApiSource(content, methodStr) {
|
||||
/** @type {any[]} */
|
||||
const wrappers = [];
|
||||
for (const fnName of fnNames) {
|
||||
wrappers.push({ kind: "function", exportName: fnName });
|
||||
for (const { objectName, propName } of findObjectPropertyAliases(content, fnName)) {
|
||||
wrappers.push({ kind: "objectProperty", objectName, propName });
|
||||
const aliases = findObjectPropertyAliases(content, fnName);
|
||||
// 若已发现聚合对象对外导出,优先展示该调用形态,避免同一接口重复显示“函数 + 对象属性”两条封装。
|
||||
if (aliases.length > 0) {
|
||||
for (const { objectName, propName } of aliases) {
|
||||
wrappers.push({ kind: "objectProperty", objectName, propName });
|
||||
}
|
||||
continue;
|
||||
}
|
||||
wrappers.push({ kind: "function", exportName: fnName });
|
||||
}
|
||||
return wrappers;
|
||||
}
|
||||
@ -780,7 +824,7 @@ function findObjectPropertyAliases(content, fnName) {
|
||||
* @param {string} importPath
|
||||
*/
|
||||
function importsFromPath(content, importPath) {
|
||||
return new RegExp(`from\\s*['"]${escapeRegex(importPath)}['"]`).test(content);
|
||||
return new RegExp(`from\\s*['"]${escapeRegex(importPath)}['"]`, "i").test(content);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -791,7 +835,7 @@ function namedImportDeclaresSymbol(content, importPath, symbol) {
|
||||
return false;
|
||||
}
|
||||
const ep = escapeRegex(importPath);
|
||||
const blocks = [...content.matchAll(new RegExp(`import\\s*\\{([\\s\\S]*?)\\}\\s*from\\s*['"]${ep}['"]`, "g"))];
|
||||
const blocks = [...content.matchAll(new RegExp(`import\\s*\\{([\\s\\S]*?)\\}\\s*from\\s*['"]${ep}['"]`, "gi"))];
|
||||
for (const b of blocks) {
|
||||
if (new RegExp(`\\b${escapeRegex(symbol)}\\b`).test(b[1])) {
|
||||
return true;
|
||||
@ -802,7 +846,7 @@ function namedImportDeclaresSymbol(content, importPath, symbol) {
|
||||
|
||||
function namespaceAlias(content, importPath) {
|
||||
const ep = escapeRegex(importPath);
|
||||
const m = content.match(new RegExp(`import\\s*\\*\\s*as\\s+(\\w+)\\s+from\\s*['"]${ep}['"]`));
|
||||
const m = content.match(new RegExp(`import\\s*\\*\\s*as\\s+(\\w+)\\s+from\\s*['"]${ep}['"]`, "i"));
|
||||
return m ? m[1] : null;
|
||||
}
|
||||
|
||||
@ -1000,8 +1044,12 @@ async function runCrawlFromConfigFile(opts = {}) {
|
||||
quickCheck,
|
||||
cliMaxRetries: tune.maxRetries ?? null,
|
||||
});
|
||||
const maxConsecutiveTimeouts = resolveMaxConsecutiveTimeouts({
|
||||
rawConfig,
|
||||
cliTimeoutStreak: tune.timeoutStreak ?? null,
|
||||
});
|
||||
console.log(
|
||||
`apidata 抓取参数: 超时=${crawlTimeoutMs}ms 间隔=${requestDelayMs}ms 重试=${maxRetries}${quickCheck ? "(快速检查)" : ""}`,
|
||||
`apidata 抓取参数: 超时=${crawlTimeoutMs}ms 间隔=${requestDelayMs}ms 重试=${maxRetries} 连续超时熔断=${maxConsecutiveTimeouts}${quickCheck ? "(快速检查)" : ""}`,
|
||||
);
|
||||
|
||||
const rows = [];
|
||||
@ -1009,6 +1057,7 @@ async function runCrawlFromConfigFile(opts = {}) {
|
||||
const total = config.requests.length;
|
||||
let idx = 0;
|
||||
const networkErrors = [];
|
||||
let consecutiveTimeoutCount = 0;
|
||||
|
||||
for (const req of config.requests) {
|
||||
idx += 1;
|
||||
@ -1055,6 +1104,17 @@ async function runCrawlFromConfigFile(opts = {}) {
|
||||
}
|
||||
}
|
||||
|
||||
if (isTimeoutFailureResult(result)) {
|
||||
consecutiveTimeoutCount += 1;
|
||||
if (consecutiveTimeoutCount >= maxConsecutiveTimeouts) {
|
||||
throw new Error(
|
||||
`检测到连续 ${consecutiveTimeoutCount} 个接口请求超时(阈值=${maxConsecutiveTimeouts}),疑似后端异常,已终止后续请求`,
|
||||
);
|
||||
}
|
||||
} else {
|
||||
consecutiveTimeoutCount = 0;
|
||||
}
|
||||
|
||||
if (requestDelayMs > 0 && idx < total) {
|
||||
await sleepMs(requestDelayMs);
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-04-19 09:32:24",
|
||||
"generatedAtLocal": "2026-04-19 09:32:24",
|
||||
"generatedAt": "2026-04-21 17:41:22",
|
||||
"generatedAtLocal": "2026-04-21 17:41:22",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
@ -12,13 +12,13 @@
|
||||
"label": "全部"
|
||||
}
|
||||
},
|
||||
"totalInterfaceCount": 186,
|
||||
"totalInterfaceCount": 195,
|
||||
"changes": {
|
||||
"summary": {
|
||||
"moduleAdded": 0,
|
||||
"moduleDeleted": 0,
|
||||
"moduleUpdated": 0,
|
||||
"interfaceAdded": 0,
|
||||
"moduleUpdated": 1,
|
||||
"interfaceAdded": 2,
|
||||
"interfaceDeleted": 0,
|
||||
"interfaceParamsUpdated": 0,
|
||||
"interfaceResponseUpdated": 0
|
||||
@ -26,10 +26,40 @@
|
||||
"moduleUpdates": {
|
||||
"added": [],
|
||||
"deleted": [],
|
||||
"updated": []
|
||||
"updated": [
|
||||
{
|
||||
"moduleName": "待处理订单模块",
|
||||
"moduleKey": "order.pendingOrder",
|
||||
"folder": "order.pendingorder",
|
||||
"previousModuleName": "待处理订单模块",
|
||||
"previousModuleKey": "order.pendingOrder",
|
||||
"interfaceChanges": {
|
||||
"addedMethods": [
|
||||
"order.pendingOrder.downloadCreateTemplate",
|
||||
"order.pendingOrder.importOrdersFromExcel"
|
||||
],
|
||||
"deletedMethods": [],
|
||||
"paramsUpdatedMethods": [],
|
||||
"responseUpdatedMethods": []
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"interfaceUpdates": {
|
||||
"added": [],
|
||||
"added": [
|
||||
{
|
||||
"moduleName": "待处理订单模块",
|
||||
"moduleKey": "order.pendingOrder",
|
||||
"folder": "order.pendingorder",
|
||||
"method": "order.pendingOrder.downloadCreateTemplate"
|
||||
},
|
||||
{
|
||||
"moduleName": "待处理订单模块",
|
||||
"moduleKey": "order.pendingOrder",
|
||||
"folder": "order.pendingorder",
|
||||
"method": "order.pendingOrder.importOrdersFromExcel"
|
||||
}
|
||||
],
|
||||
"deleted": [],
|
||||
"paramsUpdated": [],
|
||||
"responseUpdated": []
|
||||
@ -1020,6 +1050,51 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"moduleName": "订单异常模块",
|
||||
"moduleKey": "order.expectionOrder",
|
||||
"moduleFolder": "order.expectionorder",
|
||||
"method": "order.expectionOrder.resolveException",
|
||||
"title": "将待处理异常订单转回正常待处理状态(step 3 → 2)。只操作当前仓库的当前订单表,且仅对 step=3 的订单生效。",
|
||||
"description": "将待处理异常订单转回正常待处理状态(step 3 → 2)。只操作当前仓库的当前订单表,且仅对 step=3 的订单生效。",
|
||||
"endpoint": "/system",
|
||||
"authRequired": true,
|
||||
"loginRequired": true,
|
||||
"status": {
|
||||
"isUsed": false,
|
||||
"isPlaceholder": false
|
||||
},
|
||||
"headers": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "Bearer token"
|
||||
}
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "ids",
|
||||
"type": "number[]",
|
||||
"required": true,
|
||||
"description": "订单ID 正整数数组,不能为空"
|
||||
}
|
||||
],
|
||||
"response": [
|
||||
{
|
||||
"name": "updated_count",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "实际更新行数"
|
||||
},
|
||||
{
|
||||
"name": "ids",
|
||||
"type": "number[]",
|
||||
"required": true,
|
||||
"description": "本次操作的订单ID 列表"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"moduleName": "订单工作台入口模块",
|
||||
"moduleKey": "order.index",
|
||||
@ -1333,7 +1408,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"moduleName": "订单待处理模块",
|
||||
"moduleName": "待处理订单模块",
|
||||
"moduleKey": "order.pendingOrder",
|
||||
"moduleFolder": "order.pendingorder",
|
||||
"method": "order.pendingOrder.allocateExpressCode",
|
||||
@ -1390,7 +1465,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"moduleName": "订单待处理模块",
|
||||
"moduleName": "待处理订单模块",
|
||||
"moduleKey": "order.pendingOrder",
|
||||
"moduleFolder": "order.pendingorder",
|
||||
"method": "order.pendingOrder.allocateStorage",
|
||||
@ -1453,7 +1528,64 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"moduleName": "订单待处理模块",
|
||||
"moduleName": "待处理订单模块",
|
||||
"moduleKey": "order.pendingOrder",
|
||||
"moduleFolder": "order.pendingorder",
|
||||
"method": "order.pendingOrder.cancelAllocateStorage",
|
||||
"title": "待处理模块的取消分配储位入口,直接对接 system service 的 cancelAllocateStorage。仅接受订单ID(order_ids)作为入参,不接受 allow_storage_location 或 warehouse_id/warehouseId;仓库上下文来自当前登录用户的 store_id。",
|
||||
"description": "待处理模块的取消分配储位入口,直接对接 system service 的 cancelAllocateStorage。仅接受订单ID(order_ids)作为入参,不接受 allow_storage_location 或 warehouse_id/warehouseId;仓库上下文来自当前登录用户的 store_id。",
|
||||
"endpoint": "/system",
|
||||
"authRequired": false,
|
||||
"loginRequired": true,
|
||||
"status": {
|
||||
"isUsed": false,
|
||||
"isPlaceholder": false
|
||||
},
|
||||
"headers": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "Bearer token"
|
||||
}
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "order_ids / orderIds / ids / order_id / orderId / id",
|
||||
"type": "array|string|number",
|
||||
"required": true,
|
||||
"description": "订单 ID 列表;支持数组、逗号字符串或单个 ID(兼容多种别名)。"
|
||||
}
|
||||
],
|
||||
"response": [
|
||||
{
|
||||
"name": "flag",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "全局调用结果标识,成功为 success"
|
||||
},
|
||||
{
|
||||
"name": "code",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "业务状态码,200 表示成功"
|
||||
},
|
||||
{
|
||||
"name": "message",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "返回信息,成功或部分成功时给出摘要"
|
||||
},
|
||||
{
|
||||
"name": "data",
|
||||
"type": "object",
|
||||
"required": false,
|
||||
"description": "取消分配汇总结果,包含下列字段"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"moduleName": "待处理订单模块",
|
||||
"moduleKey": "order.pendingOrder",
|
||||
"moduleFolder": "order.pendingorder",
|
||||
"method": "order.pendingOrder.cancelOrder",
|
||||
@ -1522,7 +1654,342 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"moduleName": "订单待处理模块",
|
||||
"moduleName": "待处理订单模块",
|
||||
"moduleKey": "order.pendingOrder",
|
||||
"moduleFolder": "order.pendingorder",
|
||||
"method": "order.pendingOrder.cloneOrder",
|
||||
"title": "克隆待处理订单。完整流程:1. 查找原订单,校验可取消状态(step 0/1/2/3);2. 若原订单已分配储位(storage_status='fin'),先清除已分配库存;3. 取消原订单(step→9, status→cancel),记录克隆日志;4. 以原订单业务数据创建新订单,所有流程状态字段重置为初始落库状态;5. 克隆订单明细(含 stock_id),重置 order_id 为新订单 ID;6. 对新订单记录克隆创建日志。",
|
||||
"description": "克隆待处理订单。完整流程:1. 查找原订单,校验可取消状态(step 0/1/2/3);2. 若原订单已分配储位(storage_status='fin'),先清除已分配库存;3. 取消原订单(step→9, status→cancel),记录克隆日志;4. 以原订单业务数据创建新订单,所有流程状态字段重置为初始落库状态;5. 克隆订单明细(含 stock_id),重置 order_id 为新订单 ID;6. 对新订单记录克隆创建日志。",
|
||||
"endpoint": "/system",
|
||||
"authRequired": true,
|
||||
"loginRequired": true,
|
||||
"status": {
|
||||
"isUsed": false,
|
||||
"isPlaceholder": false
|
||||
},
|
||||
"headers": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "Bearer token"
|
||||
}
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "order_id",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "原订单ID,正整数"
|
||||
}
|
||||
],
|
||||
"response": [
|
||||
{
|
||||
"name": "source_order_id",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "原订单ID(已取消)"
|
||||
},
|
||||
{
|
||||
"name": "new_order_id",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "新订单ID(克隆生成)"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"moduleName": "待处理订单模块",
|
||||
"moduleKey": "order.pendingOrder",
|
||||
"moduleFolder": "order.pendingorder",
|
||||
"method": "order.pendingOrder.createOrder",
|
||||
"title": "手动创建待处理订单。根据货主策略(need_order_approval)决定初始步骤:need_order_approval=1 进待审核(step=0),need_order_approval=0 直接进待处理(step=1)。",
|
||||
"description": "手动创建待处理订单。根据货主策略(need_order_approval)决定初始步骤:need_order_approval=1 进待审核(step=0),need_order_approval=0 直接进待处理(step=1)。",
|
||||
"endpoint": "/system",
|
||||
"authRequired": false,
|
||||
"loginRequired": true,
|
||||
"status": {
|
||||
"isUsed": false,
|
||||
"isPlaceholder": false
|
||||
},
|
||||
"headers": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "Bearer token"
|
||||
}
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "store_id",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "货主ID(正整数)"
|
||||
},
|
||||
{
|
||||
"name": "name",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "收件人姓名"
|
||||
},
|
||||
{
|
||||
"name": "mobile",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "收件人手机号,mobile 与 tel 至少填一项"
|
||||
},
|
||||
{
|
||||
"name": "tel",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "收件人电话,mobile 与 tel 至少填一项"
|
||||
},
|
||||
{
|
||||
"name": "detail_address",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "详细地址"
|
||||
},
|
||||
{
|
||||
"name": "province",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "省份"
|
||||
},
|
||||
{
|
||||
"name": "city",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "城市"
|
||||
},
|
||||
{
|
||||
"name": "area",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "区/县"
|
||||
},
|
||||
{
|
||||
"name": "town",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "镇/街道"
|
||||
},
|
||||
{
|
||||
"name": "zip_code",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "邮编"
|
||||
},
|
||||
{
|
||||
"name": "items",
|
||||
"type": "array",
|
||||
"required": true,
|
||||
"description": "订单明细数组,每项含 item_code(商品编码)和 plan_qty(计划数量,正整数);item_name、order_line_no、actual_price 为可选"
|
||||
},
|
||||
{
|
||||
"name": "delivery_order_code",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "订单号,不填则自动生成(SYS + 时间戳 + 随机4位)"
|
||||
},
|
||||
{
|
||||
"name": "logistics_code",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "快递编码,不填则读货主默认快递策略(policy_config.default_express_code)"
|
||||
},
|
||||
{
|
||||
"name": "logistics_name",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "快递名称"
|
||||
},
|
||||
{
|
||||
"name": "sys_platform_code",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "系统平台编码,不填则读货主默认平台策略(policy_config.default_platform_code)"
|
||||
},
|
||||
{
|
||||
"name": "source_platform_code",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "来源平台编码"
|
||||
},
|
||||
{
|
||||
"name": "source_order_codes",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "来源订单号"
|
||||
},
|
||||
{
|
||||
"name": "order_type",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "订单类型"
|
||||
},
|
||||
{
|
||||
"name": "is_urgency",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "是否紧急:Y/N,默认 N"
|
||||
},
|
||||
{
|
||||
"name": "invoice_flag",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "是否需要发票:Y/N,默认 N"
|
||||
}
|
||||
],
|
||||
"response": [
|
||||
{
|
||||
"name": "order_id",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "新创建的订单 ID"
|
||||
},
|
||||
{
|
||||
"name": "delivery_order_code",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "订单号(传入值或自动生成值)"
|
||||
},
|
||||
{
|
||||
"name": "step",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "初始步骤:0=待审核,1=待处理"
|
||||
},
|
||||
{
|
||||
"name": "step_label",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "步骤说明:待审核 / 待处理"
|
||||
},
|
||||
{
|
||||
"name": "items_count",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "商品种类数"
|
||||
},
|
||||
{
|
||||
"name": "items_total",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "商品总件数"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"moduleName": "待处理订单模块",
|
||||
"moduleKey": "order.pendingOrder",
|
||||
"moduleFolder": "order.pendingorder",
|
||||
"method": "order.pendingOrder.downloadCreateTemplate",
|
||||
"title": "下载创建订单的 Excel 导入模板。返回 base64 编码的 xlsx 文件,前端解码后作为附件下载。表头中标注 * 的列为必填项,多行相同订单号的行组成一个完整订单。",
|
||||
"description": "下载创建订单的 Excel 导入模板。返回 base64 编码的 xlsx 文件,前端解码后作为附件下载。表头中标注 * 的列为必填项,多行相同订单号的行组成一个完整订单。",
|
||||
"endpoint": "/system",
|
||||
"authRequired": false,
|
||||
"loginRequired": true,
|
||||
"status": {
|
||||
"isUsed": false,
|
||||
"isPlaceholder": false
|
||||
},
|
||||
"headers": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "Bearer token"
|
||||
}
|
||||
],
|
||||
"params": [],
|
||||
"response": [
|
||||
{
|
||||
"name": "base64",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "base64 编码的 xlsx 文件内容"
|
||||
},
|
||||
{
|
||||
"name": "filename",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "建议保存的文件名"
|
||||
},
|
||||
{
|
||||
"name": "mime",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "文件 MIME 类型"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"moduleName": "待处理订单模块",
|
||||
"moduleKey": "order.pendingOrder",
|
||||
"moduleFolder": "order.pendingorder",
|
||||
"method": "order.pendingOrder.importOrdersFromExcel",
|
||||
"title": "通过 Excel 文件批量创建订单。接受 base64 编码的 xlsx 内容,按订单号分组,每组创建一个订单(step 由货主策略决定)。每行代表一条商品明细;同一订单号的多行组成一个完整订单,头信息取每组第一行。",
|
||||
"description": "通过 Excel 文件批量创建订单。接受 base64 编码的 xlsx 内容,按订单号分组,每组创建一个订单(step 由货主策略决定)。每行代表一条商品明细;同一订单号的多行组成一个完整订单,头信息取每组第一行。",
|
||||
"endpoint": "/system",
|
||||
"authRequired": false,
|
||||
"loginRequired": true,
|
||||
"status": {
|
||||
"isUsed": false,
|
||||
"isPlaceholder": false
|
||||
},
|
||||
"headers": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "Bearer token"
|
||||
}
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "file_base64",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "base64 编码的 .xlsx 文件内容"
|
||||
}
|
||||
],
|
||||
"response": [
|
||||
{
|
||||
"name": "total",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "解析到的订单总数"
|
||||
},
|
||||
{
|
||||
"name": "success_count",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "创建成功的订单数"
|
||||
},
|
||||
{
|
||||
"name": "fail_count",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "创建失败的订单数"
|
||||
},
|
||||
{
|
||||
"name": "success_orders",
|
||||
"type": "array",
|
||||
"required": true,
|
||||
"description": "成功订单列表,每项含 delivery_order_code、order_id、step、step_label"
|
||||
},
|
||||
{
|
||||
"name": "fail_orders",
|
||||
"type": "array",
|
||||
"required": true,
|
||||
"description": "失败订单列表,每项含 delivery_order_code、error(失败原因)"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"moduleName": "待处理订单模块",
|
||||
"moduleKey": "order.pendingOrder",
|
||||
"moduleFolder": "order.pendingorder",
|
||||
"method": "order.pendingOrder.list",
|
||||
@ -1579,7 +2046,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"moduleName": "订单待处理模块",
|
||||
"moduleName": "待处理订单模块",
|
||||
"moduleKey": "order.pendingOrder",
|
||||
"moduleFolder": "order.pendingorder",
|
||||
"method": "order.pendingOrder.markPendingOutboundOrder",
|
||||
@ -1642,7 +2109,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"moduleName": "订单待处理模块",
|
||||
"moduleName": "待处理订单模块",
|
||||
"moduleKey": "order.pendingOrder",
|
||||
"moduleFolder": "order.pendingorder",
|
||||
"method": "order.pendingOrder.reverseReviewOrder",
|
||||
@ -1722,6 +2189,189 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"moduleName": "待处理订单模块",
|
||||
"moduleKey": "order.pendingOrder",
|
||||
"moduleFolder": "order.pendingorder",
|
||||
"method": "order.pendingOrder.updateOrderExpress",
|
||||
"title": "批量修改待处理订单的快递信息。用 express_code 从当前仓库快递列表(带缓存)中查找对应项:若为自定义映射(is_system_setting=true),sys_logistics_code/name 写系统快递编码和名称,logistics_code/name 写自定义编码和名称;若为系统快递(is_system_setting=false),四个字段均写系统快递的 code/name;未找到则报错。只操作当前仓库的当前订单表,不处理其他订单表。",
|
||||
"description": "批量修改待处理订单的快递信息。用 express_code 从当前仓库快递列表(带缓存)中查找对应项:若为自定义映射(is_system_setting=true),sys_logistics_code/name 写系统快递编码和名称,logistics_code/name 写自定义编码和名称;若为系统快递(is_system_setting=false),四个字段均写系统快递的 code/name;未找到则报错。只操作当前仓库的当前订单表,不处理其他订单表。",
|
||||
"endpoint": "/system",
|
||||
"authRequired": true,
|
||||
"loginRequired": true,
|
||||
"status": {
|
||||
"isUsed": false,
|
||||
"isPlaceholder": false
|
||||
},
|
||||
"headers": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "Bearer token"
|
||||
}
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "order_ids",
|
||||
"type": "number[]",
|
||||
"required": true,
|
||||
"description": "订单ID 正整数数组,不能为空"
|
||||
},
|
||||
{
|
||||
"name": "express_code",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "快递编码,可为系统编码或仓库自定义编码"
|
||||
}
|
||||
],
|
||||
"response": [
|
||||
{
|
||||
"name": "updated_count",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "实际更新行数"
|
||||
},
|
||||
{
|
||||
"name": "sys_logistics_code",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "写入的系统快递编码"
|
||||
},
|
||||
{
|
||||
"name": "sys_logistics_name",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "写入的系统快递名称"
|
||||
},
|
||||
{
|
||||
"name": "logistics_code",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "写入的快递编码(自定义或系统)"
|
||||
},
|
||||
{
|
||||
"name": "logistics_name",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "写入的快递名称(自定义或系统)"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"moduleName": "待处理订单模块",
|
||||
"moduleKey": "order.pendingOrder",
|
||||
"moduleFolder": "order.pendingorder",
|
||||
"method": "order.pendingOrder.updateOrderPlatform",
|
||||
"title": "批量修改待处理订单的平台信息。用 code 查找 wms_platform 表,若平台存在则将订单的 sys_platform_code 和 sys_platform_name 更新为该平台的 code/name;若平台不存在则返回错误。只操作当前仓库的当前订单表,不处理其他订单表。",
|
||||
"description": "批量修改待处理订单的平台信息。用 code 查找 wms_platform 表,若平台存在则将订单的 sys_platform_code 和 sys_platform_name 更新为该平台的 code/name;若平台不存在则返回错误。只操作当前仓库的当前订单表,不处理其他订单表。",
|
||||
"endpoint": "/system",
|
||||
"authRequired": true,
|
||||
"loginRequired": true,
|
||||
"status": {
|
||||
"isUsed": false,
|
||||
"isPlaceholder": false
|
||||
},
|
||||
"headers": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "Bearer token"
|
||||
}
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "order_ids",
|
||||
"type": "number[]",
|
||||
"required": true,
|
||||
"description": "订单ID 正整数数组,不能为空"
|
||||
},
|
||||
{
|
||||
"name": "code",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "平台编码,对应 wms_platform.code"
|
||||
}
|
||||
],
|
||||
"response": [
|
||||
{
|
||||
"name": "updated_count",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "实际更新行数"
|
||||
},
|
||||
{
|
||||
"name": "sys_platform_code",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "更新后的平台编码"
|
||||
},
|
||||
{
|
||||
"name": "sys_platform_name",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "更新后的平台名称"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"moduleName": "订单工作台入口模块",
|
||||
"moduleKey": "order.index",
|
||||
"moduleFolder": "order.index",
|
||||
"method": "order.queryOrderLogs",
|
||||
"title": "查询当前仓库下订单操作日志,底层复用通用日志查询分页结构,按订单ID筛选。",
|
||||
"description": "查询当前仓库下订单操作日志,底层复用通用日志查询分页结构,按订单ID筛选。",
|
||||
"endpoint": "/system",
|
||||
"authRequired": false,
|
||||
"loginRequired": true,
|
||||
"status": {
|
||||
"isUsed": false,
|
||||
"isPlaceholder": false
|
||||
},
|
||||
"headers": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "Bearer token"
|
||||
}
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "id",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "订单ID"
|
||||
},
|
||||
{
|
||||
"name": "page",
|
||||
"type": "number",
|
||||
"required": false,
|
||||
"description": "页码"
|
||||
},
|
||||
{
|
||||
"name": "pageSize",
|
||||
"type": "number",
|
||||
"required": false,
|
||||
"description": "每页数量"
|
||||
}
|
||||
],
|
||||
"response": [
|
||||
{
|
||||
"name": "list",
|
||||
"type": "array",
|
||||
"required": true,
|
||||
"description": "日志列表,字段与 stock.warehouse.queryStockLogs 保持一致"
|
||||
},
|
||||
{
|
||||
"name": "pagination",
|
||||
"type": "object",
|
||||
"required": true,
|
||||
"description": "分页信息,包含 page、pageSize、total、totalPages"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"moduleName": "订单待审核模块",
|
||||
"moduleKey": "order.reviewOrder",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-04-19 09:32:24",
|
||||
"generatedAtLocal": "2026-04-19 09:32:24",
|
||||
"generatedAt": "2026-04-21 17:41:22",
|
||||
"generatedAtLocal": "2026-04-21 17:41:22",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
@ -13,13 +13,13 @@
|
||||
}
|
||||
},
|
||||
"moduleCount": 30,
|
||||
"totalInterfaceCount": 186,
|
||||
"totalInterfaceCount": 195,
|
||||
"changes": {
|
||||
"summary": {
|
||||
"moduleAdded": 0,
|
||||
"moduleDeleted": 0,
|
||||
"moduleUpdated": 0,
|
||||
"interfaceAdded": 0,
|
||||
"moduleUpdated": 1,
|
||||
"interfaceAdded": 2,
|
||||
"interfaceDeleted": 0,
|
||||
"interfaceParamsUpdated": 0,
|
||||
"interfaceResponseUpdated": 0
|
||||
@ -27,10 +27,40 @@
|
||||
"moduleUpdates": {
|
||||
"added": [],
|
||||
"deleted": [],
|
||||
"updated": []
|
||||
"updated": [
|
||||
{
|
||||
"moduleName": "待处理订单模块",
|
||||
"moduleKey": "order.pendingOrder",
|
||||
"folder": "order.pendingorder",
|
||||
"previousModuleName": "待处理订单模块",
|
||||
"previousModuleKey": "order.pendingOrder",
|
||||
"interfaceChanges": {
|
||||
"addedMethods": [
|
||||
"order.pendingOrder.downloadCreateTemplate",
|
||||
"order.pendingOrder.importOrdersFromExcel"
|
||||
],
|
||||
"deletedMethods": [],
|
||||
"paramsUpdatedMethods": [],
|
||||
"responseUpdatedMethods": []
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"interfaceUpdates": {
|
||||
"added": [],
|
||||
"added": [
|
||||
{
|
||||
"moduleName": "待处理订单模块",
|
||||
"moduleKey": "order.pendingOrder",
|
||||
"folder": "order.pendingorder",
|
||||
"method": "order.pendingOrder.downloadCreateTemplate"
|
||||
},
|
||||
{
|
||||
"moduleName": "待处理订单模块",
|
||||
"moduleKey": "order.pendingOrder",
|
||||
"folder": "order.pendingorder",
|
||||
"method": "order.pendingOrder.importOrdersFromExcel"
|
||||
}
|
||||
],
|
||||
"deleted": [],
|
||||
"paramsUpdated": [],
|
||||
"responseUpdated": []
|
||||
@ -201,24 +231,10 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"moduleName": "订单待出库模块",
|
||||
"moduleKey": "order.outboundOrder",
|
||||
"folder": "order.outboundorder",
|
||||
"interfaceCount": 2,
|
||||
"interfaces": [
|
||||
{
|
||||
"method": "order.outboundOrder.list"
|
||||
},
|
||||
{
|
||||
"method": "order.outboundOrder.manualOutboundOrder"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"moduleName": "订单待处理模块",
|
||||
"moduleName": "待处理订单模块",
|
||||
"moduleKey": "order.pendingOrder",
|
||||
"folder": "order.pendingorder",
|
||||
"interfaceCount": 6,
|
||||
"interfaceCount": 13,
|
||||
"interfaces": [
|
||||
{
|
||||
"method": "order.pendingOrder.list"
|
||||
@ -237,6 +253,41 @@
|
||||
},
|
||||
{
|
||||
"method": "order.pendingOrder.allocateStorage"
|
||||
},
|
||||
{
|
||||
"method": "order.pendingOrder.cancelAllocateStorage"
|
||||
},
|
||||
{
|
||||
"method": "order.pendingOrder.updateOrderPlatform"
|
||||
},
|
||||
{
|
||||
"method": "order.pendingOrder.updateOrderExpress"
|
||||
},
|
||||
{
|
||||
"method": "order.pendingOrder.cloneOrder"
|
||||
},
|
||||
{
|
||||
"method": "order.pendingOrder.createOrder"
|
||||
},
|
||||
{
|
||||
"method": "order.pendingOrder.downloadCreateTemplate"
|
||||
},
|
||||
{
|
||||
"method": "order.pendingOrder.importOrdersFromExcel"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"moduleName": "订单待出库模块",
|
||||
"moduleKey": "order.outboundOrder",
|
||||
"folder": "order.outboundorder",
|
||||
"interfaceCount": 2,
|
||||
"interfaces": [
|
||||
{
|
||||
"method": "order.outboundOrder.list"
|
||||
},
|
||||
{
|
||||
"method": "order.outboundOrder.manualOutboundOrder"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -258,7 +309,7 @@
|
||||
"moduleName": "订单工作台入口模块",
|
||||
"moduleKey": "order.index",
|
||||
"folder": "order.index",
|
||||
"interfaceCount": 3,
|
||||
"interfaceCount": 4,
|
||||
"interfaces": [
|
||||
{
|
||||
"method": "order.list"
|
||||
@ -268,6 +319,9 @@
|
||||
},
|
||||
{
|
||||
"method": "order.badgeCount"
|
||||
},
|
||||
{
|
||||
"method": "order.queryOrderLogs"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -319,10 +373,13 @@
|
||||
"moduleName": "订单异常模块",
|
||||
"moduleKey": "order.expectionOrder",
|
||||
"folder": "order.expectionorder",
|
||||
"interfaceCount": 1,
|
||||
"interfaceCount": 2,
|
||||
"interfaces": [
|
||||
{
|
||||
"method": "order.expectionOrder.list"
|
||||
},
|
||||
{
|
||||
"method": "order.expectionOrder.resolveException"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-04-19 09:32:24",
|
||||
"updatedAt": "2026-04-21 17:41:22",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-04-19 09:32:24",
|
||||
"generatedAtLocal": "2026-04-19 09:32:24",
|
||||
"generatedAt": "2026-04-21 17:41:22",
|
||||
"generatedAtLocal": "2026-04-21 17:41:22",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-04-19 09:32:24",
|
||||
"updatedAt": "2026-04-21 17:41:22",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-04-19 09:32:24",
|
||||
"generatedAtLocal": "2026-04-19 09:32:24",
|
||||
"generatedAt": "2026-04-21 17:41:22",
|
||||
"generatedAtLocal": "2026-04-21 17:41:22",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-04-19 09:32:24",
|
||||
"updatedAt": "2026-04-21 17:41:22",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-04-19 09:32:24",
|
||||
"generatedAtLocal": "2026-04-19 09:32:24",
|
||||
"generatedAt": "2026-04-21 17:41:22",
|
||||
"generatedAtLocal": "2026-04-21 17:41:22",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-04-19 09:32:24",
|
||||
"updatedAt": "2026-04-21 17:41:22",
|
||||
"deletedAt": null,
|
||||
"restoredAt": "2026-04-17 19:16:50"
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-04-19 09:32:24",
|
||||
"generatedAtLocal": "2026-04-19 09:32:24",
|
||||
"generatedAt": "2026-04-21 17:41:22",
|
||||
"generatedAtLocal": "2026-04-21 17:41:22",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-04-19 09:32:24",
|
||||
"updatedAt": "2026-04-21 17:41:22",
|
||||
"deletedAt": null,
|
||||
"restoredAt": "2026-04-17 19:16:50"
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-04-19 09:32:24",
|
||||
"generatedAtLocal": "2026-04-19 09:32:24",
|
||||
"generatedAt": "2026-04-21 17:41:22",
|
||||
"generatedAtLocal": "2026-04-21 17:41:22",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-04-19 09:32:24",
|
||||
"updatedAt": "2026-04-21 17:41:22",
|
||||
"deletedAt": null,
|
||||
"restoredAt": "2026-04-17 19:16:50"
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-04-19 09:32:24",
|
||||
"generatedAtLocal": "2026-04-19 09:32:24",
|
||||
"generatedAt": "2026-04-21 17:41:22",
|
||||
"generatedAtLocal": "2026-04-21 17:41:22",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-04-19 09:32:24",
|
||||
"updatedAt": "2026-04-21 17:41:22",
|
||||
"deletedAt": null,
|
||||
"restoredAt": "2026-04-17 19:16:50"
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-04-19 09:32:24",
|
||||
"generatedAtLocal": "2026-04-19 09:32:24",
|
||||
"generatedAt": "2026-04-21 17:41:22",
|
||||
"generatedAtLocal": "2026-04-21 17:41:22",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-04-19 09:32:24",
|
||||
"updatedAt": "2026-04-21 17:41:22",
|
||||
"deletedAt": null,
|
||||
"restoredAt": "2026-04-17 19:16:50"
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-04-19 09:32:24",
|
||||
"generatedAtLocal": "2026-04-19 09:32:24",
|
||||
"generatedAt": "2026-04-21 17:41:22",
|
||||
"generatedAtLocal": "2026-04-21 17:41:22",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
@ -16,7 +16,7 @@
|
||||
"name": "订单异常模块",
|
||||
"key": "order.expectionOrder",
|
||||
"folder": "order.expectionorder",
|
||||
"interfaceCount": 1
|
||||
"interfaceCount": 2
|
||||
},
|
||||
"changes": {
|
||||
"fromPreviousSnapshot": {
|
||||
@ -84,6 +84,48 @@
|
||||
"description": "分页信息"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"method": "order.expectionOrder.resolveException",
|
||||
"title": "将待处理异常订单转回正常待处理状态(step 3 → 2)。只操作当前仓库的当前订单表,且仅对 step=3 的订单生效。",
|
||||
"description": "将待处理异常订单转回正常待处理状态(step 3 → 2)。只操作当前仓库的当前订单表,且仅对 step=3 的订单生效。",
|
||||
"endpoint": "/system",
|
||||
"authRequired": true,
|
||||
"loginRequired": true,
|
||||
"status": {
|
||||
"isUsed": false,
|
||||
"isPlaceholder": false
|
||||
},
|
||||
"headers": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "Bearer token"
|
||||
}
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "ids",
|
||||
"type": "number[]",
|
||||
"required": true,
|
||||
"description": "订单ID 正整数数组,不能为空"
|
||||
}
|
||||
],
|
||||
"response": [
|
||||
{
|
||||
"name": "updated_count",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "实际更新行数"
|
||||
},
|
||||
{
|
||||
"name": "ids",
|
||||
"type": "number[]",
|
||||
"required": true,
|
||||
"description": "本次操作的订单ID 列表"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-04-19 09:32:24",
|
||||
"updatedAt": "2026-04-21 17:41:22",
|
||||
"deletedAt": null,
|
||||
"restoredAt": "2026-04-17 19:16:50"
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-04-19 09:32:24",
|
||||
"generatedAtLocal": "2026-04-19 09:32:24",
|
||||
"generatedAt": "2026-04-21 17:41:22",
|
||||
"generatedAtLocal": "2026-04-21 17:41:22",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
@ -16,7 +16,7 @@
|
||||
"name": "订单工作台入口模块",
|
||||
"key": "order.index",
|
||||
"folder": "order.index",
|
||||
"interfaceCount": 3
|
||||
"interfaceCount": 4
|
||||
},
|
||||
"changes": {
|
||||
"fromPreviousSnapshot": {
|
||||
@ -251,6 +251,60 @@
|
||||
"description": "归档角标,固定返回 99+"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"method": "order.queryOrderLogs",
|
||||
"title": "查询当前仓库下订单操作日志,底层复用通用日志查询分页结构,按订单ID筛选。",
|
||||
"description": "查询当前仓库下订单操作日志,底层复用通用日志查询分页结构,按订单ID筛选。",
|
||||
"endpoint": "/system",
|
||||
"authRequired": false,
|
||||
"loginRequired": true,
|
||||
"status": {
|
||||
"isUsed": false,
|
||||
"isPlaceholder": false
|
||||
},
|
||||
"headers": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "Bearer token"
|
||||
}
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "id",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "订单ID"
|
||||
},
|
||||
{
|
||||
"name": "page",
|
||||
"type": "number",
|
||||
"required": false,
|
||||
"description": "页码"
|
||||
},
|
||||
{
|
||||
"name": "pageSize",
|
||||
"type": "number",
|
||||
"required": false,
|
||||
"description": "每页数量"
|
||||
}
|
||||
],
|
||||
"response": [
|
||||
{
|
||||
"name": "list",
|
||||
"type": "array",
|
||||
"required": true,
|
||||
"description": "日志列表,字段与 stock.warehouse.queryStockLogs 保持一致"
|
||||
},
|
||||
{
|
||||
"name": "pagination",
|
||||
"type": "object",
|
||||
"required": true,
|
||||
"description": "分页信息,包含 page、pageSize、total、totalPages"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-04-19 09:32:24",
|
||||
"updatedAt": "2026-04-21 17:41:22",
|
||||
"deletedAt": null,
|
||||
"restoredAt": "2026-04-17 19:16:50"
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-04-19 09:32:24",
|
||||
"generatedAtLocal": "2026-04-19 09:32:24",
|
||||
"generatedAt": "2026-04-21 17:41:22",
|
||||
"generatedAtLocal": "2026-04-21 17:41:22",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -1,12 +1,12 @@
|
||||
{
|
||||
"module": {
|
||||
"name": "订单待处理模块",
|
||||
"name": "待处理订单模块",
|
||||
"key": "order.pendingOrder",
|
||||
"folder": "order.pendingorder"
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-04-19 09:32:24",
|
||||
"updatedAt": "2026-04-21 17:41:22",
|
||||
"deletedAt": null,
|
||||
"restoredAt": "2026-04-17 19:16:50"
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-04-19 09:32:24",
|
||||
"generatedAtLocal": "2026-04-19 09:32:24",
|
||||
"generatedAt": "2026-04-21 17:41:22",
|
||||
"generatedAtLocal": "2026-04-21 17:41:22",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
@ -13,17 +13,20 @@
|
||||
}
|
||||
},
|
||||
"module": {
|
||||
"name": "订单待处理模块",
|
||||
"name": "待处理订单模块",
|
||||
"key": "order.pendingOrder",
|
||||
"folder": "order.pendingorder",
|
||||
"interfaceCount": 6
|
||||
"interfaceCount": 13
|
||||
},
|
||||
"changes": {
|
||||
"fromPreviousSnapshot": {
|
||||
"moduleAdded": false,
|
||||
"moduleRenamed": false,
|
||||
"interfaceChanges": {
|
||||
"addedMethods": [],
|
||||
"addedMethods": [
|
||||
"order.pendingOrder.downloadCreateTemplate",
|
||||
"order.pendingOrder.importOrdersFromExcel"
|
||||
],
|
||||
"deletedMethods": [],
|
||||
"paramsUpdatedMethods": [],
|
||||
"responseUpdatedMethods": []
|
||||
@ -402,6 +405,503 @@
|
||||
"description": "分配结果汇总对象,包含以下字段"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"method": "order.pendingOrder.cancelAllocateStorage",
|
||||
"title": "待处理模块的取消分配储位入口,直接对接 system service 的 cancelAllocateStorage。仅接受订单ID(order_ids)作为入参,不接受 allow_storage_location 或 warehouse_id/warehouseId;仓库上下文来自当前登录用户的 store_id。",
|
||||
"description": "待处理模块的取消分配储位入口,直接对接 system service 的 cancelAllocateStorage。仅接受订单ID(order_ids)作为入参,不接受 allow_storage_location 或 warehouse_id/warehouseId;仓库上下文来自当前登录用户的 store_id。",
|
||||
"endpoint": "/system",
|
||||
"authRequired": false,
|
||||
"loginRequired": true,
|
||||
"status": {
|
||||
"isUsed": false,
|
||||
"isPlaceholder": false
|
||||
},
|
||||
"headers": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "Bearer token"
|
||||
}
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "order_ids / orderIds / ids / order_id / orderId / id",
|
||||
"type": "array|string|number",
|
||||
"required": true,
|
||||
"description": "订单 ID 列表;支持数组、逗号字符串或单个 ID(兼容多种别名)。"
|
||||
}
|
||||
],
|
||||
"response": [
|
||||
{
|
||||
"name": "flag",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "全局调用结果标识,成功为 success"
|
||||
},
|
||||
{
|
||||
"name": "code",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "业务状态码,200 表示成功"
|
||||
},
|
||||
{
|
||||
"name": "message",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "返回信息,成功或部分成功时给出摘要"
|
||||
},
|
||||
{
|
||||
"name": "data",
|
||||
"type": "object",
|
||||
"required": false,
|
||||
"description": "取消分配汇总结果,包含下列字段"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"method": "order.pendingOrder.updateOrderPlatform",
|
||||
"title": "批量修改待处理订单的平台信息。用 code 查找 wms_platform 表,若平台存在则将订单的 sys_platform_code 和 sys_platform_name 更新为该平台的 code/name;若平台不存在则返回错误。只操作当前仓库的当前订单表,不处理其他订单表。",
|
||||
"description": "批量修改待处理订单的平台信息。用 code 查找 wms_platform 表,若平台存在则将订单的 sys_platform_code 和 sys_platform_name 更新为该平台的 code/name;若平台不存在则返回错误。只操作当前仓库的当前订单表,不处理其他订单表。",
|
||||
"endpoint": "/system",
|
||||
"authRequired": true,
|
||||
"loginRequired": true,
|
||||
"status": {
|
||||
"isUsed": false,
|
||||
"isPlaceholder": false
|
||||
},
|
||||
"headers": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "Bearer token"
|
||||
}
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "order_ids",
|
||||
"type": "number[]",
|
||||
"required": true,
|
||||
"description": "订单ID 正整数数组,不能为空"
|
||||
},
|
||||
{
|
||||
"name": "code",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "平台编码,对应 wms_platform.code"
|
||||
}
|
||||
],
|
||||
"response": [
|
||||
{
|
||||
"name": "updated_count",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "实际更新行数"
|
||||
},
|
||||
{
|
||||
"name": "sys_platform_code",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "更新后的平台编码"
|
||||
},
|
||||
{
|
||||
"name": "sys_platform_name",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "更新后的平台名称"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"method": "order.pendingOrder.updateOrderExpress",
|
||||
"title": "批量修改待处理订单的快递信息。用 express_code 从当前仓库快递列表(带缓存)中查找对应项:若为自定义映射(is_system_setting=true),sys_logistics_code/name 写系统快递编码和名称,logistics_code/name 写自定义编码和名称;若为系统快递(is_system_setting=false),四个字段均写系统快递的 code/name;未找到则报错。只操作当前仓库的当前订单表,不处理其他订单表。",
|
||||
"description": "批量修改待处理订单的快递信息。用 express_code 从当前仓库快递列表(带缓存)中查找对应项:若为自定义映射(is_system_setting=true),sys_logistics_code/name 写系统快递编码和名称,logistics_code/name 写自定义编码和名称;若为系统快递(is_system_setting=false),四个字段均写系统快递的 code/name;未找到则报错。只操作当前仓库的当前订单表,不处理其他订单表。",
|
||||
"endpoint": "/system",
|
||||
"authRequired": true,
|
||||
"loginRequired": true,
|
||||
"status": {
|
||||
"isUsed": false,
|
||||
"isPlaceholder": false
|
||||
},
|
||||
"headers": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "Bearer token"
|
||||
}
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "order_ids",
|
||||
"type": "number[]",
|
||||
"required": true,
|
||||
"description": "订单ID 正整数数组,不能为空"
|
||||
},
|
||||
{
|
||||
"name": "express_code",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "快递编码,可为系统编码或仓库自定义编码"
|
||||
}
|
||||
],
|
||||
"response": [
|
||||
{
|
||||
"name": "updated_count",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "实际更新行数"
|
||||
},
|
||||
{
|
||||
"name": "sys_logistics_code",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "写入的系统快递编码"
|
||||
},
|
||||
{
|
||||
"name": "sys_logistics_name",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "写入的系统快递名称"
|
||||
},
|
||||
{
|
||||
"name": "logistics_code",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "写入的快递编码(自定义或系统)"
|
||||
},
|
||||
{
|
||||
"name": "logistics_name",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "写入的快递名称(自定义或系统)"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"method": "order.pendingOrder.cloneOrder",
|
||||
"title": "克隆待处理订单。完整流程:1. 查找原订单,校验可取消状态(step 0/1/2/3);2. 若原订单已分配储位(storage_status='fin'),先清除已分配库存;3. 取消原订单(step→9, status→cancel),记录克隆日志;4. 以原订单业务数据创建新订单,所有流程状态字段重置为初始落库状态;5. 克隆订单明细(含 stock_id),重置 order_id 为新订单 ID;6. 对新订单记录克隆创建日志。",
|
||||
"description": "克隆待处理订单。完整流程:1. 查找原订单,校验可取消状态(step 0/1/2/3);2. 若原订单已分配储位(storage_status='fin'),先清除已分配库存;3. 取消原订单(step→9, status→cancel),记录克隆日志;4. 以原订单业务数据创建新订单,所有流程状态字段重置为初始落库状态;5. 克隆订单明细(含 stock_id),重置 order_id 为新订单 ID;6. 对新订单记录克隆创建日志。",
|
||||
"endpoint": "/system",
|
||||
"authRequired": true,
|
||||
"loginRequired": true,
|
||||
"status": {
|
||||
"isUsed": false,
|
||||
"isPlaceholder": false
|
||||
},
|
||||
"headers": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "Bearer token"
|
||||
}
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "order_id",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "原订单ID,正整数"
|
||||
}
|
||||
],
|
||||
"response": [
|
||||
{
|
||||
"name": "source_order_id",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "原订单ID(已取消)"
|
||||
},
|
||||
{
|
||||
"name": "new_order_id",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "新订单ID(克隆生成)"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"method": "order.pendingOrder.createOrder",
|
||||
"title": "手动创建待处理订单。根据货主策略(need_order_approval)决定初始步骤:need_order_approval=1 进待审核(step=0),need_order_approval=0 直接进待处理(step=1)。",
|
||||
"description": "手动创建待处理订单。根据货主策略(need_order_approval)决定初始步骤:need_order_approval=1 进待审核(step=0),need_order_approval=0 直接进待处理(step=1)。",
|
||||
"endpoint": "/system",
|
||||
"authRequired": false,
|
||||
"loginRequired": true,
|
||||
"status": {
|
||||
"isUsed": false,
|
||||
"isPlaceholder": false
|
||||
},
|
||||
"headers": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "Bearer token"
|
||||
}
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "store_id",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "货主ID(正整数)"
|
||||
},
|
||||
{
|
||||
"name": "name",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "收件人姓名"
|
||||
},
|
||||
{
|
||||
"name": "mobile",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "收件人手机号,mobile 与 tel 至少填一项"
|
||||
},
|
||||
{
|
||||
"name": "tel",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "收件人电话,mobile 与 tel 至少填一项"
|
||||
},
|
||||
{
|
||||
"name": "detail_address",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "详细地址"
|
||||
},
|
||||
{
|
||||
"name": "province",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "省份"
|
||||
},
|
||||
{
|
||||
"name": "city",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "城市"
|
||||
},
|
||||
{
|
||||
"name": "area",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "区/县"
|
||||
},
|
||||
{
|
||||
"name": "town",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "镇/街道"
|
||||
},
|
||||
{
|
||||
"name": "zip_code",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "邮编"
|
||||
},
|
||||
{
|
||||
"name": "items",
|
||||
"type": "array",
|
||||
"required": true,
|
||||
"description": "订单明细数组,每项含 item_code(商品编码)和 plan_qty(计划数量,正整数);item_name、order_line_no、actual_price 为可选"
|
||||
},
|
||||
{
|
||||
"name": "delivery_order_code",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "订单号,不填则自动生成(SYS + 时间戳 + 随机4位)"
|
||||
},
|
||||
{
|
||||
"name": "logistics_code",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "快递编码,不填则读货主默认快递策略(policy_config.default_express_code)"
|
||||
},
|
||||
{
|
||||
"name": "logistics_name",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "快递名称"
|
||||
},
|
||||
{
|
||||
"name": "sys_platform_code",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "系统平台编码,不填则读货主默认平台策略(policy_config.default_platform_code)"
|
||||
},
|
||||
{
|
||||
"name": "source_platform_code",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "来源平台编码"
|
||||
},
|
||||
{
|
||||
"name": "source_order_codes",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "来源订单号"
|
||||
},
|
||||
{
|
||||
"name": "order_type",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "订单类型"
|
||||
},
|
||||
{
|
||||
"name": "is_urgency",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "是否紧急:Y/N,默认 N"
|
||||
},
|
||||
{
|
||||
"name": "invoice_flag",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "是否需要发票:Y/N,默认 N"
|
||||
}
|
||||
],
|
||||
"response": [
|
||||
{
|
||||
"name": "order_id",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "新创建的订单 ID"
|
||||
},
|
||||
{
|
||||
"name": "delivery_order_code",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "订单号(传入值或自动生成值)"
|
||||
},
|
||||
{
|
||||
"name": "step",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "初始步骤:0=待审核,1=待处理"
|
||||
},
|
||||
{
|
||||
"name": "step_label",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "步骤说明:待审核 / 待处理"
|
||||
},
|
||||
{
|
||||
"name": "items_count",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "商品种类数"
|
||||
},
|
||||
{
|
||||
"name": "items_total",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "商品总件数"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"method": "order.pendingOrder.downloadCreateTemplate",
|
||||
"title": "下载创建订单的 Excel 导入模板。返回 base64 编码的 xlsx 文件,前端解码后作为附件下载。表头中标注 * 的列为必填项,多行相同订单号的行组成一个完整订单。",
|
||||
"description": "下载创建订单的 Excel 导入模板。返回 base64 编码的 xlsx 文件,前端解码后作为附件下载。表头中标注 * 的列为必填项,多行相同订单号的行组成一个完整订单。",
|
||||
"endpoint": "/system",
|
||||
"authRequired": false,
|
||||
"loginRequired": true,
|
||||
"status": {
|
||||
"isUsed": false,
|
||||
"isPlaceholder": false
|
||||
},
|
||||
"headers": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "Bearer token"
|
||||
}
|
||||
],
|
||||
"params": [],
|
||||
"response": [
|
||||
{
|
||||
"name": "base64",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "base64 编码的 xlsx 文件内容"
|
||||
},
|
||||
{
|
||||
"name": "filename",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "建议保存的文件名"
|
||||
},
|
||||
{
|
||||
"name": "mime",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "文件 MIME 类型"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"method": "order.pendingOrder.importOrdersFromExcel",
|
||||
"title": "通过 Excel 文件批量创建订单。接受 base64 编码的 xlsx 内容,按订单号分组,每组创建一个订单(step 由货主策略决定)。每行代表一条商品明细;同一订单号的多行组成一个完整订单,头信息取每组第一行。",
|
||||
"description": "通过 Excel 文件批量创建订单。接受 base64 编码的 xlsx 内容,按订单号分组,每组创建一个订单(step 由货主策略决定)。每行代表一条商品明细;同一订单号的多行组成一个完整订单,头信息取每组第一行。",
|
||||
"endpoint": "/system",
|
||||
"authRequired": false,
|
||||
"loginRequired": true,
|
||||
"status": {
|
||||
"isUsed": false,
|
||||
"isPlaceholder": false
|
||||
},
|
||||
"headers": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "Bearer token"
|
||||
}
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "file_base64",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "base64 编码的 .xlsx 文件内容"
|
||||
}
|
||||
],
|
||||
"response": [
|
||||
{
|
||||
"name": "total",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "解析到的订单总数"
|
||||
},
|
||||
{
|
||||
"name": "success_count",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "创建成功的订单数"
|
||||
},
|
||||
{
|
||||
"name": "fail_count",
|
||||
"type": "number",
|
||||
"required": true,
|
||||
"description": "创建失败的订单数"
|
||||
},
|
||||
{
|
||||
"name": "success_orders",
|
||||
"type": "array",
|
||||
"required": true,
|
||||
"description": "成功订单列表,每项含 delivery_order_code、order_id、step、step_label"
|
||||
},
|
||||
{
|
||||
"name": "fail_orders",
|
||||
"type": "array",
|
||||
"required": true,
|
||||
"description": "失败订单列表,每项含 delivery_order_code、error(失败原因)"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-04-19 09:32:24",
|
||||
"updatedAt": "2026-04-21 17:41:22",
|
||||
"deletedAt": null,
|
||||
"restoredAt": "2026-04-17 19:16:50"
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-04-19 09:32:24",
|
||||
"generatedAtLocal": "2026-04-19 09:32:24",
|
||||
"generatedAt": "2026-04-21 17:41:22",
|
||||
"generatedAtLocal": "2026-04-21 17:41:22",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-04-19 09:32:24",
|
||||
"updatedAt": "2026-04-21 17:41:22",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-04-19 09:32:24",
|
||||
"generatedAtLocal": "2026-04-19 09:32:24",
|
||||
"generatedAt": "2026-04-21 17:41:22",
|
||||
"generatedAtLocal": "2026-04-21 17:41:22",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-04-19 09:32:24",
|
||||
"updatedAt": "2026-04-21 17:41:22",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-04-19 09:32:24",
|
||||
"generatedAtLocal": "2026-04-19 09:32:24",
|
||||
"generatedAt": "2026-04-21 17:41:22",
|
||||
"generatedAtLocal": "2026-04-21 17:41:22",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-04-19 09:32:24",
|
||||
"updatedAt": "2026-04-21 17:41:22",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-04-19 09:32:24",
|
||||
"generatedAtLocal": "2026-04-19 09:32:24",
|
||||
"generatedAt": "2026-04-21 17:41:22",
|
||||
"generatedAtLocal": "2026-04-21 17:41:22",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-17 19:37:49",
|
||||
"updatedAt": "2026-04-19 09:32:24",
|
||||
"updatedAt": "2026-04-21 17:41:22",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-04-19 09:32:24",
|
||||
"generatedAtLocal": "2026-04-19 09:32:24",
|
||||
"generatedAt": "2026-04-21 17:41:22",
|
||||
"generatedAtLocal": "2026-04-21 17:41:22",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-17 20:21:27",
|
||||
"updatedAt": "2026-04-19 09:32:24",
|
||||
"updatedAt": "2026-04-21 17:41:22",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-04-19 09:32:24",
|
||||
"generatedAtLocal": "2026-04-19 09:32:24",
|
||||
"generatedAt": "2026-04-21 17:41:22",
|
||||
"generatedAtLocal": "2026-04-21 17:41:22",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-04-19 09:32:24",
|
||||
"updatedAt": "2026-04-21 17:41:22",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-04-19 09:32:24",
|
||||
"generatedAtLocal": "2026-04-19 09:32:24",
|
||||
"generatedAt": "2026-04-21 17:41:22",
|
||||
"generatedAtLocal": "2026-04-21 17:41:22",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-17 19:16:50",
|
||||
"updatedAt": "2026-04-19 09:32:24",
|
||||
"updatedAt": "2026-04-21 17:41:22",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-04-19 09:32:24",
|
||||
"generatedAtLocal": "2026-04-19 09:32:24",
|
||||
"generatedAt": "2026-04-21 17:41:22",
|
||||
"generatedAtLocal": "2026-04-21 17:41:22",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-04-19 09:32:24",
|
||||
"updatedAt": "2026-04-21 17:41:22",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-04-19 09:32:24",
|
||||
"generatedAtLocal": "2026-04-19 09:32:24",
|
||||
"generatedAt": "2026-04-21 17:41:22",
|
||||
"generatedAtLocal": "2026-04-21 17:41:22",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-04-19 09:32:24",
|
||||
"updatedAt": "2026-04-21 17:41:22",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-04-19 09:32:24",
|
||||
"generatedAtLocal": "2026-04-19 09:32:24",
|
||||
"generatedAt": "2026-04-21 17:41:22",
|
||||
"generatedAtLocal": "2026-04-21 17:41:22",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-04-19 09:32:24",
|
||||
"updatedAt": "2026-04-21 17:41:22",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-04-19 09:32:24",
|
||||
"generatedAtLocal": "2026-04-19 09:32:24",
|
||||
"generatedAt": "2026-04-21 17:41:22",
|
||||
"generatedAtLocal": "2026-04-21 17:41:22",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-04-19 09:32:24",
|
||||
"updatedAt": "2026-04-21 17:41:22",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-04-19 09:32:24",
|
||||
"generatedAtLocal": "2026-04-19 09:32:24",
|
||||
"generatedAt": "2026-04-21 17:41:22",
|
||||
"generatedAtLocal": "2026-04-21 17:41:22",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-04-19 09:32:24",
|
||||
"updatedAt": "2026-04-21 17:41:22",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-04-19 09:32:24",
|
||||
"generatedAtLocal": "2026-04-19 09:32:24",
|
||||
"generatedAt": "2026-04-21 17:41:22",
|
||||
"generatedAtLocal": "2026-04-21 17:41:22",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-04-19 09:32:24",
|
||||
"updatedAt": "2026-04-21 17:41:22",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-04-19 09:32:24",
|
||||
"generatedAtLocal": "2026-04-19 09:32:24",
|
||||
"generatedAt": "2026-04-21 17:41:22",
|
||||
"generatedAtLocal": "2026-04-21 17:41:22",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-04-19 09:32:24",
|
||||
"updatedAt": "2026-04-21 17:41:22",
|
||||
"deletedAt": null,
|
||||
"restoredAt": "2026-04-17 19:16:50"
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-04-19 09:32:24",
|
||||
"generatedAtLocal": "2026-04-19 09:32:24",
|
||||
"generatedAt": "2026-04-21 17:41:22",
|
||||
"generatedAtLocal": "2026-04-21 17:41:22",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-04-19 09:32:24",
|
||||
"updatedAt": "2026-04-21 17:41:22",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-04-19 09:32:24",
|
||||
"generatedAtLocal": "2026-04-19 09:32:24",
|
||||
"generatedAt": "2026-04-21 17:41:22",
|
||||
"generatedAtLocal": "2026-04-21 17:41:22",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-04-19 09:32:24",
|
||||
"updatedAt": "2026-04-21 17:41:22",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-04-19 09:32:24",
|
||||
"generatedAtLocal": "2026-04-19 09:32:24",
|
||||
"generatedAt": "2026-04-21 17:41:22",
|
||||
"generatedAtLocal": "2026-04-21 17:41:22",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-04-19 09:32:24",
|
||||
"updatedAt": "2026-04-21 17:41:22",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-04-19 09:32:24",
|
||||
"generatedAtLocal": "2026-04-19 09:32:24",
|
||||
"generatedAt": "2026-04-21 17:41:22",
|
||||
"generatedAtLocal": "2026-04-21 17:41:22",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-04-19 09:32:24",
|
||||
"updatedAt": "2026-04-21 17:41:22",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-04-19 09:32:24",
|
||||
"generatedAtLocal": "2026-04-19 09:32:24",
|
||||
"generatedAt": "2026-04-21 17:41:22",
|
||||
"generatedAtLocal": "2026-04-21 17:41:22",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user