66
This commit is contained in:
parent
c131d72b6f
commit
b7054d2ca3
BIN
dist.tar.gz
BIN
dist.tar.gz
Binary file not shown.
@ -2,6 +2,8 @@ import request from '@/utils/request'
|
||||
|
||||
const v = '1.0'
|
||||
|
||||
export type { OrderWorkbenchListResponse, OrderListPagination } from '@/api/order.index/orderindex'
|
||||
|
||||
export type OrderWhere = Record<string, any>
|
||||
export type OrderSort = {
|
||||
sortField?: string
|
||||
|
||||
@ -2,6 +2,8 @@ import request from '@/utils/request'
|
||||
|
||||
const v = '1.0'
|
||||
|
||||
export type { OrderWorkbenchListResponse, OrderListPagination } from '@/api/order.index/orderindex'
|
||||
|
||||
export type OrderWhere = Record<string, any>
|
||||
export type OrderSort = {
|
||||
sortField?: string
|
||||
|
||||
@ -2,6 +2,8 @@ import request from '@/utils/request'
|
||||
|
||||
const v = '1.0'
|
||||
|
||||
export type { OrderWorkbenchListResponse, OrderListPagination } from '@/api/order.index/orderindex'
|
||||
|
||||
export type OrderWhere = Record<string, any>
|
||||
export type OrderSort = {
|
||||
sortField?: string
|
||||
|
||||
@ -2,6 +2,8 @@ import request from '@/utils/request'
|
||||
|
||||
const v = '1.0'
|
||||
|
||||
export type { OrderWorkbenchListResponse, OrderListPagination } from '@/api/order.index/orderindex'
|
||||
|
||||
export type OrderWhere = Record<string, any>
|
||||
export type OrderSort = {
|
||||
sortField?: string
|
||||
|
||||
@ -2,6 +2,8 @@ import request from '@/utils/request'
|
||||
|
||||
const v = '1.0'
|
||||
|
||||
export type { OrderWorkbenchListResponse, OrderListPagination } from '@/api/order.index/orderindex'
|
||||
|
||||
export type OrderWhere = Record<string, any>
|
||||
export type OrderSort = {
|
||||
sortField?: string
|
||||
|
||||
@ -19,6 +19,23 @@ export type OrderListParams = {
|
||||
}
|
||||
}
|
||||
|
||||
export type OrderListPagination = {
|
||||
page?: number
|
||||
pageSize?: number
|
||||
total?: number
|
||||
totalPages?: number
|
||||
hasPrevious?: boolean
|
||||
hasNext?: boolean
|
||||
}
|
||||
|
||||
/** order.list 响应 data 结构 */
|
||||
export type OrderWorkbenchListResponse = {
|
||||
list: any[]
|
||||
pagination: OrderListPagination
|
||||
/** 复核状态:none=未复核,fin=已复核 */
|
||||
recheck_status?: string
|
||||
}
|
||||
|
||||
export type ManualOutboundParams = {
|
||||
warehouseId?: number
|
||||
warehouse_id?: number
|
||||
|
||||
@ -2,6 +2,8 @@ import request from '@/utils/request'
|
||||
|
||||
const v = '1.0'
|
||||
|
||||
export type { OrderWorkbenchListResponse, OrderListPagination } from '@/api/order.index/orderindex'
|
||||
|
||||
export type OrderWhere = Record<string, any>
|
||||
export type OrderSort = {
|
||||
sortField?: string
|
||||
|
||||
@ -2,6 +2,8 @@ import request from "@/utils/request";
|
||||
|
||||
const v = "1.0";
|
||||
|
||||
export type { OrderWorkbenchListResponse, OrderListPagination } from '@/api/order.index/orderindex'
|
||||
|
||||
// 啊大王大大
|
||||
|
||||
export type OrderWhere = Record<string, any>;
|
||||
|
||||
@ -2,6 +2,8 @@ import request from '@/utils/request'
|
||||
|
||||
const v = '1.0'
|
||||
|
||||
export type { OrderWorkbenchListResponse, OrderListPagination } from '@/api/order.index/orderindex'
|
||||
|
||||
export type OrderWhere = Record<string, any>
|
||||
export type OrderSort = {
|
||||
sortField?: string
|
||||
|
||||
@ -89,7 +89,14 @@ export function expressInterfaceCreate(data: ExpressInterfaceCreateParams) {
|
||||
})
|
||||
}
|
||||
|
||||
export function expressInterfaceUpdate(data: Record<string, any>) {
|
||||
export type ExpressInterfaceUpdateParams = {
|
||||
id: number
|
||||
shop_id?: number
|
||||
/** 发件人详细地址,使用 index.getShopExpressList 返回的 detail 字段值 */
|
||||
address?: string
|
||||
}
|
||||
|
||||
export function expressInterfaceUpdate(data: ExpressInterfaceUpdateParams & Record<string, any>) {
|
||||
return request({
|
||||
url: '/system',
|
||||
method: 'post',
|
||||
|
||||
@ -150,6 +150,7 @@ import OrderItemsDetailPanel from './component/OrderItemsDetailPanel.vue'
|
||||
import log from './component/log.vue'
|
||||
import OrderExportProgressDialog from './component/OrderExportProgressDialog.vue'
|
||||
import { createOrderPageExport } from './utils/order-page-export'
|
||||
import { parseOrderListResponse } from './utils/order-index-helpers'
|
||||
import { useVerticalSplitPane } from '@/composables/useVerticalSplitPane'
|
||||
import { createSimpleListToolbarController } from './utils/toolbar-actions'
|
||||
import { safeInvoke } from '@/utils/safe-invoke'
|
||||
@ -245,9 +246,9 @@ async function loadData() {
|
||||
}
|
||||
const res: any = await orderArchiveOrder.list(params)
|
||||
if (res && (res.code === 200 || res.code === 1)) {
|
||||
const responseData = res.data || {}
|
||||
list.value = responseData.list || []
|
||||
pagination.total = responseData.pagination?.total ?? 0
|
||||
const data = parseOrderListResponse(res)
|
||||
list.value = data.list
|
||||
pagination.total = data.total
|
||||
} else {
|
||||
list.value = []
|
||||
pagination.total = 0
|
||||
|
||||
@ -20,8 +20,8 @@
|
||||
</el-tag>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="复核">
|
||||
<el-tag :type="getTagType('inspection_status', detail.inspection_status)" size="small">
|
||||
{{ translateOrderField('inspection_status', detail.inspection_status) }}
|
||||
<el-tag :type="getTagType('recheck_status', resolveOrderRecheckStatus(detail))" size="small">
|
||||
{{ translateOrderField('recheck_status', resolveOrderRecheckStatus(detail)) }}
|
||||
</el-tag>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="分配状态">
|
||||
@ -87,6 +87,7 @@ import { ref, watch } from 'vue'
|
||||
import { ElMessage } from 'element-plus'
|
||||
import { orderPendingOrder } from '@/api/order.pendingorder/orderpendingOrder'
|
||||
import { getTagType, translateOrderField } from '../config/order-common-config'
|
||||
import { resolveOrderRecheckStatus } from '../utils/order-index-helpers'
|
||||
|
||||
const props = defineProps<{
|
||||
row: Record<string, any> | null
|
||||
|
||||
@ -97,6 +97,10 @@ export const COMMON_TRANSLATIONS: Record<string, Record<string, string>> = {
|
||||
'fin': '审核通过',
|
||||
'reject': '审核驳回',
|
||||
'error': '审核异常'
|
||||
},
|
||||
recheck_status: {
|
||||
'none': '未复核',
|
||||
'fin': '已复核'
|
||||
}
|
||||
}
|
||||
|
||||
@ -181,6 +185,10 @@ export const COMMON_TAG_TYPES: Record<string, Record<string, string>> = {
|
||||
'fin': 'success',
|
||||
'reject': 'danger',
|
||||
'error': 'danger'
|
||||
},
|
||||
recheck_status: {
|
||||
'none': 'info',
|
||||
'fin': 'success'
|
||||
}
|
||||
}
|
||||
|
||||
@ -643,6 +651,11 @@ export const deliveryOrderToolbarButtons = simpleListToolbarButtons
|
||||
|
||||
|
||||
|
||||
export const recheckStatusFilterOptions = [
|
||||
{ label: '未复核', value: 'none' },
|
||||
{ label: '已复核', value: 'fin' }
|
||||
]
|
||||
|
||||
// revieworder相关配置
|
||||
export const reviewAvailableFields = [
|
||||
{ label: '货主', value: 'store_id', type: 'select', multiple: true, options: [] },
|
||||
@ -657,6 +670,7 @@ export const reviewAvailableFields = [
|
||||
{ label: '订单状态', value: 'status', type: 'select', options: [ { label: '待审核', value: 'pedding' }, { label: '已创建', value: 'created' }, { label: '错误', value: 'error' } ] },
|
||||
{ label: '是否紧急', value: 'is_urgency', type: 'select', options: [ { label: '是', value: 'Y' }, { label: '否', value: 'N' } ] },
|
||||
{ label: '同步状态', value: 'sync_status', type: 'select', options: [ { label: '待同步', value: 'padding' }, { label: '已完成', value: 'fin' }, { label: '错误', value: 'error' }, { label: '未同步', value: 'none' } ] },
|
||||
{ label: '复核状态', value: 'recheck_status', type: 'select', options: recheckStatusFilterOptions },
|
||||
{ label: '创建时间', value: 'create_at', type: 'daterange' },
|
||||
]
|
||||
|
||||
@ -670,7 +684,7 @@ export const reviewColums = [
|
||||
{ prop: 'mobile', label: '手机号', width: '120' },
|
||||
{ prop: 'status', label: '订单状态', width: '100' },
|
||||
{ prop: 'sync_status', label: '同步状态', width: '100' },
|
||||
{ prop: 'inspection_status', label: '复核', width: '100' },
|
||||
{ prop: 'recheck_status', label: '复核', width: '100' },
|
||||
{ prop: 'is_urgency', label: '紧急', width: '80' },
|
||||
{ prop: 'logistics_name', label: '物流公司', width: '120' },
|
||||
{ prop: 'items_total', label: '商品总数', width: '100' },
|
||||
@ -836,6 +850,7 @@ export const pendingAvailableFields = [
|
||||
{ label: '已同步', value: 'fin' },
|
||||
{ label: '错误', value: 'error' }
|
||||
] },
|
||||
{ label: '复核状态', value: 'recheck_status', type: 'select', options: recheckStatusFilterOptions },
|
||||
{ label: '收货人', value: 'name', type: 'text' },
|
||||
{ label: '手机号', value: 'mobile', type: 'text' },
|
||||
{ label: '省份', value: 'province', type: 'text' },
|
||||
|
||||
@ -150,6 +150,7 @@ import OrderItemsDetailPanel from './component/OrderItemsDetailPanel.vue'
|
||||
import log from './component/log.vue'
|
||||
import OrderExportProgressDialog from './component/OrderExportProgressDialog.vue'
|
||||
import { createOrderPageExport } from './utils/order-page-export'
|
||||
import { parseOrderListResponse } from './utils/order-index-helpers'
|
||||
import { useVerticalSplitPane } from '@/composables/useVerticalSplitPane'
|
||||
import { createSimpleListToolbarController } from './utils/toolbar-actions'
|
||||
import { safeInvoke } from '@/utils/safe-invoke'
|
||||
@ -245,9 +246,9 @@ async function loadData() {
|
||||
}
|
||||
const res: any = await orderDeliveryExpectionOrder.list(params)
|
||||
if (res && (res.code === 200 || res.code === 1)) {
|
||||
const responseData = res.data || {}
|
||||
list.value = responseData.list || []
|
||||
pagination.total = responseData.pagination?.total || responseData.total || (responseData.list ? responseData.list.length : 0)
|
||||
const data = parseOrderListResponse(res)
|
||||
list.value = data.list
|
||||
pagination.total = data.total
|
||||
} else {
|
||||
list.value = []
|
||||
pagination.total = 0
|
||||
|
||||
@ -197,6 +197,7 @@ import OrderItemsDetailPanel from './component/OrderItemsDetailPanel.vue'
|
||||
import log from './component/log.vue'
|
||||
import OrderExportProgressDialog from './component/OrderExportProgressDialog.vue'
|
||||
import { createOrderPageExport } from './utils/order-page-export'
|
||||
import { parseOrderListResponse } from './utils/order-index-helpers'
|
||||
import { useVerticalSplitPane } from '@/composables/useVerticalSplitPane'
|
||||
import { createSimpleListToolbarController } from './utils/toolbar-actions'
|
||||
import { safeInvoke } from '@/utils/safe-invoke'
|
||||
@ -337,9 +338,9 @@ async function loadData() {
|
||||
}
|
||||
const res: any = await orderDeliveryOrder.list(params)
|
||||
if (res && (res.code === 200 || res.code === 1)) {
|
||||
const responseData = res.data || {}
|
||||
list.value = responseData.list || []
|
||||
pagination.total = responseData.pagination?.total || responseData.total || (responseData.list ? responseData.list.length : 0)
|
||||
const data = parseOrderListResponse(res)
|
||||
list.value = data.list
|
||||
pagination.total = data.total
|
||||
} else {
|
||||
list.value = []
|
||||
pagination.total = 0
|
||||
|
||||
@ -150,6 +150,7 @@ import OrderItemsDetailPanel from './component/OrderItemsDetailPanel.vue'
|
||||
import log from './component/log.vue'
|
||||
import OrderExportProgressDialog from './component/OrderExportProgressDialog.vue'
|
||||
import { createOrderPageExport } from './utils/order-page-export'
|
||||
import { parseOrderListResponse } from './utils/order-index-helpers'
|
||||
import { useVerticalSplitPane } from '@/composables/useVerticalSplitPane'
|
||||
import { createSimpleListToolbarController } from './utils/toolbar-actions'
|
||||
import { safeInvoke } from '@/utils/safe-invoke'
|
||||
@ -245,9 +246,9 @@ async function loadData() {
|
||||
}
|
||||
const res: any = await orderEntrustOrder.list(params)
|
||||
if (res && (res.code === 200 || res.code === 1)) {
|
||||
const responseData = res.data || {}
|
||||
list.value = responseData.list || []
|
||||
pagination.total = responseData.pagination?.total || responseData.total || (responseData.list ? responseData.list.length : 0)
|
||||
const data = parseOrderListResponse(res)
|
||||
list.value = data.list
|
||||
pagination.total = data.total
|
||||
} else {
|
||||
list.value = []
|
||||
pagination.total = 0
|
||||
|
||||
@ -374,6 +374,7 @@ import UpdateOrderMetaForm from './form/UpdateOrderMetaForm.vue'
|
||||
import CloneOrderForm from './form/CloneOrderForm.vue'
|
||||
import OrderExportProgressDialog from './component/OrderExportProgressDialog.vue'
|
||||
import { createOrderPageExport } from './utils/order-page-export'
|
||||
import { parseOrderListResponse } from './utils/order-index-helpers'
|
||||
import { useVerticalSplitPane } from '@/composables/useVerticalSplitPane'
|
||||
import { createPendingToolbarController } from './utils/toolbar-actions'
|
||||
import { safeInvoke } from '@/utils/safe-invoke'
|
||||
@ -613,9 +614,9 @@ async function loadData() {
|
||||
}
|
||||
const res: any = await orderExpectionOrder.list(params)
|
||||
if (res && (res.code === 200 || res.code === 1)) {
|
||||
const responseData = res.data || {}
|
||||
list.value = responseData.list || []
|
||||
pagination.total = responseData.pagination?.total || responseData.total || (responseData.list ? responseData.list.length : 0)
|
||||
const data = parseOrderListResponse(res)
|
||||
list.value = data.list
|
||||
pagination.total = data.total
|
||||
} else {
|
||||
list.value = []
|
||||
pagination.total = 0
|
||||
|
||||
@ -210,6 +210,7 @@ import OutboundManualOutboundForm from './component/OutboundManualOutboundForm.v
|
||||
import ExpressWaybillPanel from './component/ExpressWaybillPanel.vue'
|
||||
import OrderExportProgressDialog from './component/OrderExportProgressDialog.vue'
|
||||
import { createOrderPageExport } from './utils/order-page-export'
|
||||
import { parseOrderListResponse } from './utils/order-index-helpers'
|
||||
import { useVerticalSplitPane } from '@/composables/useVerticalSplitPane'
|
||||
import { createSimpleListToolbarController } from './utils/toolbar-actions'
|
||||
import { safeInvoke } from '@/utils/safe-invoke'
|
||||
@ -345,9 +346,10 @@ async function loadData() {
|
||||
sortOrder: 'DESC'
|
||||
}
|
||||
})
|
||||
if (res && (res.code === 1 || res.code === 200) && res.data) {
|
||||
list.value = res.data.list || []
|
||||
pagination.total = res.data.pagination?.total ?? res.data.total ?? 0
|
||||
if (res && (res.code === 1 || res.code === 200)) {
|
||||
const data = parseOrderListResponse(res)
|
||||
list.value = data.list
|
||||
pagination.total = data.total
|
||||
} else {
|
||||
list.value = []
|
||||
pagination.total = 0
|
||||
|
||||
@ -149,9 +149,9 @@
|
||||
</el-tag>
|
||||
</template>
|
||||
|
||||
<template #column-inspection_status="{ row }">
|
||||
<el-tag :type="getTagType('inspection_status', row.inspection_status)" size="small">
|
||||
{{ translateOrderField('inspection_status', row.inspection_status) }}
|
||||
<template #column-recheck_status="{ row }">
|
||||
<el-tag :type="getTagType('recheck_status', resolveOrderRecheckStatus(row))" size="small">
|
||||
{{ translateOrderField('recheck_status', resolveOrderRecheckStatus(row)) }}
|
||||
</el-tag>
|
||||
</template>
|
||||
|
||||
@ -313,6 +313,7 @@ import SyncOrderIdsForm from './form/SyncOrderIdsForm.vue'
|
||||
import ExpressWaybillPanel from './component/ExpressWaybillPanel.vue'
|
||||
import OrderExportProgressDialog from './component/OrderExportProgressDialog.vue'
|
||||
import { createOrderPageExport } from './utils/order-page-export'
|
||||
import { parseOrderListResponse, resolveOrderRecheckStatus } from './utils/order-index-helpers'
|
||||
import { useVerticalSplitPane } from '@/composables/useVerticalSplitPane'
|
||||
import { createPendingToolbarController } from './utils/toolbar-actions'
|
||||
import { safeInvoke } from '@/utils/safe-invoke'
|
||||
@ -347,13 +348,13 @@ const tableSize = ref('small')
|
||||
|
||||
const buildPendingColumns = () => {
|
||||
const source = Array.isArray(pendingCloums) ? [...pendingCloums] : []
|
||||
const inspectionColumn = { prop: 'inspection_status', label: '复核', width: '100' }
|
||||
if (!source.some((col: any) => String(col?.prop || '') === 'inspection_status')) {
|
||||
const recheckColumn = { prop: 'recheck_status', label: '复核', width: '100' }
|
||||
if (!source.some((col: any) => String(col?.prop || '') === 'recheck_status')) {
|
||||
const insertAfterIndex = source.findIndex((col: any) => String(col?.prop || '') === 'sync_status')
|
||||
if (insertAfterIndex >= 0) {
|
||||
source.splice(insertAfterIndex + 1, 0, inspectionColumn)
|
||||
source.splice(insertAfterIndex + 1, 0, recheckColumn)
|
||||
} else {
|
||||
source.push(inspectionColumn)
|
||||
source.push(recheckColumn)
|
||||
}
|
||||
}
|
||||
if (source.some((col: any) => String(col?.prop || '') === 'print_status')) {
|
||||
@ -479,9 +480,10 @@ async function loadData() {
|
||||
|
||||
try {
|
||||
const res = await orderPendingOrder.list(queryParams)
|
||||
if (res && (res.code === 1 || res.code === 200) && res.data) {
|
||||
list.value = res.data.list || []
|
||||
pagination.total = res.data.pagination?.total || res.data.total || 0
|
||||
if (res && (res.code === 1 || res.code === 200)) {
|
||||
const data = parseOrderListResponse(res)
|
||||
list.value = data.list
|
||||
pagination.total = data.total
|
||||
} else {
|
||||
list.value = []
|
||||
pagination.total = 0
|
||||
|
||||
@ -74,9 +74,9 @@
|
||||
</el-tag>
|
||||
</template>
|
||||
|
||||
<template #column-inspection_status="{ row }">
|
||||
<el-tag :type="getTagType('inspection_status', row.inspection_status)" size="small">
|
||||
{{ translateOrderField('inspection_status', row.inspection_status) }}
|
||||
<template #column-recheck_status="{ row }">
|
||||
<el-tag :type="getTagType('recheck_status', resolveOrderRecheckStatus(row))" size="small">
|
||||
{{ translateOrderField('recheck_status', resolveOrderRecheckStatus(row)) }}
|
||||
</el-tag>
|
||||
</template>
|
||||
|
||||
@ -185,6 +185,7 @@ import CreatePendingOrderDialog from './component/CreatePendingOrderDialog.vue'
|
||||
import log from './component/log.vue'
|
||||
import OrderExportProgressDialog from './component/OrderExportProgressDialog.vue'
|
||||
import { createOrderPageExport } from './utils/order-page-export'
|
||||
import { parseOrderListResponse, resolveOrderRecheckStatus } from './utils/order-index-helpers'
|
||||
import { useVerticalSplitPane } from '@/composables/useVerticalSplitPane'
|
||||
import { createReviewToolbarController } from './utils/toolbar-actions'
|
||||
import { safeInvoke } from '@/utils/safe-invoke'
|
||||
@ -312,9 +313,10 @@ async function loadData() {
|
||||
|
||||
try {
|
||||
const res = await orderReviewOrder.list(queryParams)
|
||||
if (res && (res.code === 1 || res.code === 200) && res.data) {
|
||||
list.value = res.data.list || []
|
||||
pagination.total = res.data.pagination?.total || res.data.total || 0
|
||||
if (res && (res.code === 1 || res.code === 200)) {
|
||||
const data = parseOrderListResponse(res)
|
||||
list.value = data.list
|
||||
pagination.total = data.total
|
||||
} else {
|
||||
list.value = []
|
||||
pagination.total = 0
|
||||
|
||||
@ -5,6 +5,31 @@ export type OrderExportScope = {
|
||||
module_name?: string
|
||||
}
|
||||
|
||||
export type OrderListPagination = {
|
||||
page?: number
|
||||
pageSize?: number
|
||||
total?: number
|
||||
totalPages?: number
|
||||
hasPrevious?: boolean
|
||||
hasNext?: boolean
|
||||
}
|
||||
|
||||
/** order.list 及各子模块 list 接口统一响应结构 */
|
||||
export type OrderWorkbenchListData = {
|
||||
list: any[]
|
||||
pagination: OrderListPagination
|
||||
/** 复核状态:none=未复核,fin=已复核 */
|
||||
recheck_status?: string
|
||||
}
|
||||
|
||||
export type ParsedOrderListResponse = {
|
||||
list: any[]
|
||||
total: number
|
||||
page: number
|
||||
pageSize: number
|
||||
recheck_status?: string
|
||||
}
|
||||
|
||||
/** 各订单子页与 order.export 入参映射 */
|
||||
export const ORDER_INDEX_EXPORT_SCOPES: Record<string, OrderExportScope> = {
|
||||
reviewOrder: { table_type: 'revieworder', module: 'reviewOrder' },
|
||||
@ -21,15 +46,10 @@ export function isOrderIndexApiSuccess(res: any) {
|
||||
return !!res && [0, 1, 200, 20000].includes(res.code)
|
||||
}
|
||||
|
||||
export function parseOrderListResponse(res: any): {
|
||||
list: any[]
|
||||
total: number
|
||||
page: number
|
||||
pageSize: number
|
||||
} {
|
||||
export function parseOrderListResponse(res: any): ParsedOrderListResponse {
|
||||
const pick = (obj: any) => {
|
||||
if (!obj || typeof obj !== 'object') {
|
||||
return { list: [] as any[], total: 0, page: 1, pageSize: 20 }
|
||||
return { list: [] as any[], total: 0, page: 1, pageSize: 20, recheck_status: undefined as string | undefined }
|
||||
}
|
||||
const list = Array.isArray(obj.list)
|
||||
? obj.list
|
||||
@ -40,11 +60,17 @@ export function parseOrderListResponse(res: any): {
|
||||
const total = Number(pagination.total ?? obj.total ?? obj.count ?? list.length)
|
||||
const page = Number(pagination.page ?? obj.page ?? 1)
|
||||
const pageSize = Number(pagination.pageSize ?? obj.page_size ?? 20)
|
||||
const recheckStatusRaw = obj.recheck_status ?? obj.recheckStatus
|
||||
const recheck_status =
|
||||
recheckStatusRaw === undefined || recheckStatusRaw === null || recheckStatusRaw === ''
|
||||
? undefined
|
||||
: String(recheckStatusRaw)
|
||||
return {
|
||||
list,
|
||||
total: Number.isFinite(total) ? total : list.length,
|
||||
page: Number.isFinite(page) && page > 0 ? page : 1,
|
||||
pageSize: Number.isFinite(pageSize) && pageSize > 0 ? pageSize : 20
|
||||
pageSize: Number.isFinite(pageSize) && pageSize > 0 ? pageSize : 20,
|
||||
recheck_status
|
||||
}
|
||||
}
|
||||
|
||||
@ -141,6 +167,13 @@ export function sanitizeOrderListWhere(where: Record<string, unknown>) {
|
||||
return next
|
||||
}
|
||||
|
||||
/** 行级复核状态(优先 recheck_status,兼容历史 inspection_status) */
|
||||
export function resolveOrderRecheckStatus(row?: Record<string, any> | null): string {
|
||||
if (!row || typeof row !== 'object') return ''
|
||||
const value = row.recheck_status ?? row.recheckStatus ?? row.inspection_status
|
||||
return value === undefined || value === null ? '' : String(value)
|
||||
}
|
||||
|
||||
export function buildOrderWhereConditions(rawConditions: Record<string, any>) {
|
||||
const where: Record<string, any> = {}
|
||||
Object.keys(rawConditions || {}).forEach((key) => {
|
||||
|
||||
@ -88,6 +88,7 @@ import * as inventoryApi from '@/api/storage.inventory/inventory'
|
||||
import * as warehouseApi from '@/api/warehouse/warehouse'
|
||||
import * as indexApi from '@/api/index/index'
|
||||
import { ElMessage } from 'element-plus'
|
||||
import { formatInventorySpaceLabel } from '../inventory-config'
|
||||
|
||||
type TransferMode = 'location' | 'product'
|
||||
|
||||
@ -356,7 +357,7 @@ watch(targetSpace, (val) => {
|
||||
if (data) {
|
||||
const item = Array.isArray(data) ? (data[0] || null) : data
|
||||
if (item) {
|
||||
spaceName.value = item.custom_name || item.space_code || item.name || ''
|
||||
spaceName.value = formatInventorySpaceLabel(item)
|
||||
targetSpaceError.value = ''
|
||||
} else {
|
||||
spaceName.value = ''
|
||||
|
||||
@ -165,6 +165,7 @@ import * as inventoryApi from '@/api/storage.inventory/inventory'
|
||||
|
||||
import {
|
||||
availableFields,
|
||||
formatInventorySpaceLabel,
|
||||
productstockColums,
|
||||
} from './inventory-config'
|
||||
|
||||
@ -321,8 +322,8 @@ async function loadData() {
|
||||
sale_ban_period: mockShelf?.sale_ban_period ?? '',
|
||||
expiry_remaining_days: item.expiry_remaining_days,
|
||||
is_shelf_life_warning_triggered: Boolean(item.is_shelf_life_warning_triggered),
|
||||
space_code: item.space?.space_code || item.space?.custom_name || '',
|
||||
store_name: item.store?.company_name || item.store_id || '',
|
||||
space_code: formatInventorySpaceLabel(item.space),
|
||||
store_name: item.store_name || item.store?.store_remask || item.store?.store_name || '',
|
||||
inventory_type: item.inventory_type,
|
||||
quantity: item.quantity,
|
||||
available_quantity: item.available_quantity,
|
||||
|
||||
@ -16,6 +16,17 @@ export const availableFields = [
|
||||
{ label: '创建日期', value: 'created_at', type: 'daterange' }
|
||||
]
|
||||
|
||||
/** 库位展示名:优先 custom_name,其次 space_code */
|
||||
export function formatInventorySpaceLabel(space?: Record<string, any> | null, fallback = ''): string {
|
||||
if (!space || typeof space !== 'object') return fallback
|
||||
const customName = String(space.custom_name ?? '').trim()
|
||||
if (customName) return customName
|
||||
const spaceCode = String(space.space_code ?? '').trim()
|
||||
if (spaceCode) return spaceCode
|
||||
const name = String(space.name ?? '').trim()
|
||||
return name || fallback
|
||||
}
|
||||
|
||||
export const productstockColums = [
|
||||
{ prop: 'stock_id', label: '商品ID', width: '100' },
|
||||
{ prop: 'item_code', label: '商品编码', width: '150' },
|
||||
|
||||
@ -4,6 +4,15 @@
|
||||
<div class="left-actions">
|
||||
<el-button size="small" type="primary" @click="openAddItemDialog">新增商品</el-button>
|
||||
<el-button size="small" @click="openBatchImportDialog">批量导入商品</el-button>
|
||||
<el-button
|
||||
size="small"
|
||||
type="danger"
|
||||
:disabled="!canBatchDelete"
|
||||
:loading="batchDeletingDetails"
|
||||
@click="confirmBatchDeleteDetails"
|
||||
>
|
||||
批量删除
|
||||
</el-button>
|
||||
<el-button size="small" @click="loadProductData">刷新</el-button>
|
||||
<el-radio-group v-model="matchFilter" size="small" class="match-filter-group">
|
||||
<el-radio-button value="all">全部</el-radio-button>
|
||||
@ -24,6 +33,7 @@
|
||||
:data="filteredTableData"
|
||||
:columns="productquick"
|
||||
:show-selection="true"
|
||||
:selectable="canDeleteDetailRow"
|
||||
:pagination="pagination"
|
||||
:query-time="queryTime"
|
||||
@selection-change="handleSelectionChange"
|
||||
@ -689,6 +699,80 @@ const isDeletingRow = (row?: any) => {
|
||||
return deletingDetailId.value === detailId
|
||||
}
|
||||
|
||||
const confirmBatchDeleteDetails = async () => {
|
||||
if (isReceivingDocumentReadOnly.value) {
|
||||
showReadOnlyTip()
|
||||
return
|
||||
}
|
||||
|
||||
const rowsToDelete = multipleSelection.value.filter((row) => canDeleteDetailRow(row))
|
||||
if (!rowsToDelete.length) {
|
||||
ElMessage.warning('请先选择可删除的未入库明细')
|
||||
return
|
||||
}
|
||||
|
||||
const detailIds = rowsToDelete
|
||||
.map((row) => getDetailIdFromRow(row))
|
||||
.filter((id): id is number => id !== undefined)
|
||||
|
||||
if (!detailIds.length) {
|
||||
ElMessage.warning('缺少有效的收货明细ID')
|
||||
return
|
||||
}
|
||||
|
||||
try {
|
||||
await ElMessageBox.confirm(
|
||||
`确认删除选中的 ${detailIds.length} 条收货明细吗?删除后将回算统计数据。`,
|
||||
'批量删除确认',
|
||||
{
|
||||
type: 'warning',
|
||||
confirmButtonText: '确认删除',
|
||||
cancelButtonText: '取消'
|
||||
}
|
||||
)
|
||||
} catch {
|
||||
return
|
||||
}
|
||||
|
||||
batchDeletingDetails.value = true
|
||||
let successCount = 0
|
||||
let failCount = 0
|
||||
let lastError = ''
|
||||
|
||||
try {
|
||||
for (const detailId of detailIds) {
|
||||
try {
|
||||
const res: any = await receivingApi.deleteDetail({ detail_id: detailId })
|
||||
if (res && (res.code === 200 || res.flag === 'success')) {
|
||||
successCount += 1
|
||||
} else {
|
||||
failCount += 1
|
||||
lastError = res?.message || '删除失败'
|
||||
}
|
||||
} catch (error) {
|
||||
failCount += 1
|
||||
lastError = '删除失败'
|
||||
console.error('批量删除收货明细失败', error)
|
||||
}
|
||||
}
|
||||
|
||||
if (successCount > 0) {
|
||||
multipleSelection.value = []
|
||||
loadProductData()
|
||||
}
|
||||
|
||||
if (failCount === 0) {
|
||||
ElMessage.success(`已成功删除 ${successCount} 条明细`)
|
||||
} else if (successCount === 0) {
|
||||
ElMessage.error(lastError || `删除失败,共 ${failCount} 条`)
|
||||
} else {
|
||||
ElMessage.warning(`删除完成:成功 ${successCount} 条,失败 ${failCount} 条`)
|
||||
}
|
||||
} finally {
|
||||
batchDeletingDetails.value = false
|
||||
}
|
||||
}
|
||||
|
||||
const confirmDeleteDetail = async (row: any) => {
|
||||
if (isRowReadOnly(row)) {
|
||||
showReadOnlyTip()
|
||||
@ -894,6 +978,12 @@ const batchImportEditingRow = ref<any>(null)
|
||||
const batchImportPickerMode = ref<'space' | 'sku' | ''>('')
|
||||
const batchRetryFailedLoading = ref(false)
|
||||
const deletingDetailId = ref<number | null>(null)
|
||||
const batchDeletingDetails = ref(false)
|
||||
|
||||
const canBatchDelete = computed(() => {
|
||||
if (isReceivingDocumentReadOnly.value) return false
|
||||
return multipleSelection.value.some((row) => canDeleteDetailRow(row))
|
||||
})
|
||||
|
||||
const spaceDisplayName = computed(() => {
|
||||
return String(editForm.space_display_name || '').trim() || (String(editForm.space_id || '').trim() ? `ID ${editForm.space_id}` : '')
|
||||
@ -1432,10 +1522,33 @@ const normalizeQuantityByTotalAndSpec = (itemPayload: any) => {
|
||||
itemPayload.box_remainder = safeTotal % safeSpec
|
||||
}
|
||||
|
||||
const buildSystemProductSearchParams = (keyword: string, storeId?: number) => {
|
||||
const params: Record<string, any> = {}
|
||||
|
||||
if (Number.isFinite(storeId) && (storeId as number) > 0) {
|
||||
params.store_id = { operator: 'eq', value: storeId }
|
||||
}
|
||||
|
||||
const text = String(keyword || '').trim()
|
||||
if (!text) return params
|
||||
|
||||
if (/^\d{6,}$/.test(text)) {
|
||||
params.barcode = { operator: 'contains', value: text, type: 'text' }
|
||||
} else if (/^\d+$/.test(text)) {
|
||||
params.id = { operator: 'eq', value: Number(text), type: 'number' }
|
||||
} else {
|
||||
params.item_name = { operator: 'contains', value: text, type: 'text' }
|
||||
}
|
||||
|
||||
return params
|
||||
}
|
||||
|
||||
const querySystemProductById = async (skuId: number) => {
|
||||
if (!Number.isFinite(skuId) || skuId <= 0) return null
|
||||
try {
|
||||
const where = buildStockQuery({ id: skuId })
|
||||
const where = buildStockQuery({
|
||||
id: { operator: 'eq', value: skuId, type: 'number' }
|
||||
})
|
||||
const res: any = await stockApi.stockWarehouse({ page: 1, pageSize: 1 }, where)
|
||||
const list = res?.data?.list || []
|
||||
return list[0] || null
|
||||
@ -1834,25 +1947,12 @@ const querySystemProducts = async (page = 1) => {
|
||||
systemProductLoading.value = true
|
||||
try {
|
||||
const paginationParam = { page, pageSize: systemProductPagination.pageSize }
|
||||
const params: any = {}
|
||||
|
||||
if (boundStoreId.value) {
|
||||
params.store_id = boundStoreId.value
|
||||
}
|
||||
|
||||
const keyword = String(systemProductKeyword.value || '').trim()
|
||||
if (keyword) {
|
||||
if (/^\d{6,}$/.test(keyword)) {
|
||||
params.barcodes = { operator: 'like', value: keyword }
|
||||
} else {
|
||||
params.item_name = { operator: 'like', value: keyword }
|
||||
}
|
||||
}
|
||||
|
||||
const where = buildStockQuery(params)
|
||||
const where = buildStockQuery(
|
||||
buildSystemProductSearchParams(systemProductKeyword.value, boundStoreId.value)
|
||||
)
|
||||
const res: any = await stockApi.stockWarehouse(paginationParam, where)
|
||||
|
||||
if (res && res.data) {
|
||||
if (res && (res.code === 200 || res.flag === 'success') && res.data) {
|
||||
systemProductResults.value = res.data.list || []
|
||||
systemProductPagination.total = res.data.pagination?.total || res.data.total || systemProductResults.value.length
|
||||
systemProductPagination.page = page
|
||||
@ -1860,6 +1960,9 @@ const querySystemProducts = async (page = 1) => {
|
||||
systemProductResults.value = []
|
||||
systemProductPagination.total = 0
|
||||
systemProductPagination.page = page
|
||||
if (res?.message) {
|
||||
ElMessage.error(res.message)
|
||||
}
|
||||
}
|
||||
} catch (error) {
|
||||
console.error('查询系统商品失败', error)
|
||||
|
||||
@ -1,5 +1,8 @@
|
||||
import pcasCodeData from 'china-division/dist/pcas-code.json'
|
||||
import type { ExpressInterfaceCreateParams } from '@/api/setting.expressinterface/expressInterface'
|
||||
import type {
|
||||
ExpressInterfaceCreateParams,
|
||||
ExpressInterfaceUpdateParams
|
||||
} from '@/api/setting.expressinterface/expressInterface'
|
||||
|
||||
/** setting.expressInterface.list 单条记录字段顺序(与接口返回一致) */
|
||||
export const expressInterfaceListFieldOrder = [
|
||||
@ -370,10 +373,29 @@ export function formatExpressInterfaceData(list: Record<string, any>[] = []) {
|
||||
return (list || []).map((item) => ({
|
||||
...item,
|
||||
express_name: item.express?.name || '',
|
||||
express_platform_label: item.express?.platform ?? ''
|
||||
express_platform_label: item.express?.platform ?? '',
|
||||
shop_name: item.shop_name || item.shop?.custom_name || item.shop?.shop_name || ''
|
||||
}))
|
||||
}
|
||||
|
||||
/** 解析 setting.expressInterface.listByWarehousePlatformCode 响应列表 */
|
||||
export function parseExpressInterfaceWarehouseListResponse(res: any): Record<string, any>[] {
|
||||
const level1 = res?.data
|
||||
if (!level1) return []
|
||||
|
||||
if (Array.isArray(level1)) return level1
|
||||
if (Array.isArray(level1.list)) return level1.list
|
||||
if (Array.isArray(level1.data)) return level1.data
|
||||
|
||||
const level2 = level1.data
|
||||
if (level2 && typeof level2 === 'object') {
|
||||
if (Array.isArray(level2.list)) return level2.list
|
||||
if (Array.isArray(level2.data)) return level2.data
|
||||
}
|
||||
|
||||
return []
|
||||
}
|
||||
|
||||
/** 中国省市区(与 CreatePendingOrderDialog 一致,数据来自 china-division) */
|
||||
export type RegionNode = { code: string; name: string; children?: RegionNode[] }
|
||||
|
||||
@ -602,6 +624,31 @@ function omitOptionalNumber(val: unknown): number | undefined {
|
||||
return Number.isFinite(n) ? n : undefined
|
||||
}
|
||||
|
||||
/** UI 展示/地址匹配(含 full_address) */
|
||||
export const expressInterfaceAddressDisplayKeys = [
|
||||
'full_address',
|
||||
'detail',
|
||||
'address',
|
||||
'send_address'
|
||||
] as const
|
||||
|
||||
/** API 入参 address 取值优先级(文档要求 detail,非 full_address) */
|
||||
export const expressInterfaceAddressApiKeys = ['detail', 'address', 'send_address'] as const
|
||||
|
||||
export function resolveExpressInterfaceAddress(
|
||||
raw?: Record<string, any>,
|
||||
fallback = ''
|
||||
): string {
|
||||
if (!raw || typeof raw !== 'object') {
|
||||
return fallback
|
||||
}
|
||||
for (const key of expressInterfaceAddressApiKeys) {
|
||||
const val = String(raw[key] ?? '').trim()
|
||||
if (val) return val
|
||||
}
|
||||
return fallback
|
||||
}
|
||||
|
||||
/** setting.expressInterface.create 请求体(禁止 warehouse_id) */
|
||||
export function buildExpressInterfaceCreatePayload(
|
||||
form: Record<string, any>
|
||||
@ -640,7 +687,10 @@ export function buildExpressInterfaceCreatePayload(
|
||||
'shop_name'
|
||||
] as const
|
||||
for (const key of optionalStrings) {
|
||||
const v = omitEmptyString(form[key])
|
||||
const v =
|
||||
key === 'address'
|
||||
? omitEmptyString(resolveExpressInterfaceAddress(form, String(form.address ?? '').trim()))
|
||||
: omitEmptyString(form[key])
|
||||
if (v !== undefined) payload[key] = v
|
||||
}
|
||||
|
||||
@ -677,12 +727,14 @@ export function buildExpressInterfaceCreatePayload(
|
||||
return payload
|
||||
}
|
||||
|
||||
/** setting.expressInterface.update 请求体 */
|
||||
export function buildExpressInterfaceUpdatePayload(form: Record<string, any>): Record<string, any> {
|
||||
/** setting.expressInterface.update 请求体(文档核心字段:id、shop_id、address) */
|
||||
export function buildExpressInterfaceUpdatePayload(
|
||||
form: Record<string, any>
|
||||
): ExpressInterfaceUpdateParams & ExpressInterfaceCreateParams {
|
||||
const basePayload = buildExpressInterfaceCreatePayload(form)
|
||||
|
||||
return {
|
||||
...basePayload,
|
||||
id: form.id
|
||||
id: Number(form.id)
|
||||
}
|
||||
}
|
||||
|
||||
@ -507,12 +507,15 @@ import {
|
||||
formatExpressInterfaceCell,
|
||||
formatExpressInterfaceData,
|
||||
formatExpressInterfaceNumber,
|
||||
parseExpressInterfaceWarehouseListResponse,
|
||||
normalizeScanConditionToWhere,
|
||||
defaultExpressInterfaceForm,
|
||||
applyExpressInterfaceRowToForm,
|
||||
formatExpressInterfaceFormDisplayValue,
|
||||
buildExpressInterfaceCreatePayload,
|
||||
buildExpressInterfaceUpdatePayload
|
||||
buildExpressInterfaceUpdatePayload,
|
||||
expressInterfaceAddressDisplayKeys,
|
||||
resolveExpressInterfaceAddress
|
||||
} from './express-interface-config'
|
||||
|
||||
type ExpressOption = { code: string; name: string; label?: string; sysExpressCode?: string; providerid?: string }
|
||||
@ -969,8 +972,8 @@ async function loadWarehouseList(where: Record<string, unknown>) {
|
||||
pagination.total = 0
|
||||
return
|
||||
}
|
||||
const data = res?.data || {}
|
||||
list.value = formatExpressInterfaceData(data.list || [])
|
||||
const rawList = parseExpressInterfaceWarehouseListResponse(res)
|
||||
list.value = formatExpressInterfaceData(rawList)
|
||||
pagination.total = list.value.length
|
||||
}
|
||||
|
||||
@ -1299,7 +1302,7 @@ async function loadShopExpressOptions(shopId: string | number) {
|
||||
branch_code: acc?.branch_code,
|
||||
branch_name: acc?.branch_name
|
||||
}
|
||||
const addrText = pickFirstExistingString(raw, addressFieldKeys) || `地址${adx + 1}`
|
||||
const addrText = pickFirstExistingString(raw, addressDisplayFieldKeys) || `地址${adx + 1}`
|
||||
return {
|
||||
key: `${String(acc?.branch_code || acc?.branch_name || 'addr')}-${adx}`,
|
||||
label: addrText,
|
||||
@ -1426,7 +1429,7 @@ async function loadShopExpressOptions(shopId: string | number) {
|
||||
}
|
||||
}
|
||||
|
||||
const addressFieldKeys = ['full_address', 'detail', 'address', 'send_address']
|
||||
const addressDisplayFieldKeys = [...expressInterfaceAddressDisplayKeys]
|
||||
|
||||
function applyAddressRaw(raw?: Record<string, any>) {
|
||||
if (!raw) {
|
||||
@ -1446,7 +1449,7 @@ function applyAddressRaw(raw?: Record<string, any>) {
|
||||
formData.province_name = String(raw?.province || '').trim()
|
||||
formData.city_name = String(raw?.city || '').trim()
|
||||
formData.district_name = String(raw?.district || '').trim()
|
||||
formData.address = pickFirstExistingString(raw, addressFieldKeys)
|
||||
formData.address = resolveExpressInterfaceAddress(raw)
|
||||
}
|
||||
|
||||
function handleSiteChange(value: string) {
|
||||
@ -1482,7 +1485,7 @@ function initializeAddressSelection(preferredAddress?: string) {
|
||||
const compactPreferredAddress = normalizedPreferredAddress.replace(/\s+/g, '')
|
||||
const matchedAddress = normalizedPreferredAddress
|
||||
? addresses.find((item) => {
|
||||
const text = pickFirstExistingString(item.raw, addressFieldKeys)
|
||||
const text = pickFirstExistingString(item.raw, addressDisplayFieldKeys)
|
||||
const normalizedText = String(text || '').trim()
|
||||
const compactText = normalizedText.replace(/\s+/g, '')
|
||||
return (
|
||||
@ -1544,7 +1547,7 @@ function initializeSiteSelection(
|
||||
? sites.find((site) => {
|
||||
const addresses = Array.isArray(site.addresses) ? site.addresses : []
|
||||
return addresses.some((addr) => {
|
||||
const text = pickFirstExistingString(addr.raw, addressFieldKeys)
|
||||
const text = pickFirstExistingString(addr.raw, addressDisplayFieldKeys)
|
||||
const compactText = String(text || '').trim().replace(/\s+/g, '')
|
||||
return (
|
||||
compactText === compactPreferredAddress ||
|
||||
|
||||
@ -20,7 +20,10 @@
|
||||
<el-button size="small" @click="openScanDialog">扫码查询</el-button>
|
||||
<el-tag size="small" type="info">共 {{ pagination.total }} 条</el-tag>
|
||||
</div>
|
||||
<el-button type="success" size="small" @click="openCreate">新增拣货车</el-button>
|
||||
<el-button-group>
|
||||
<el-button type="success" size="small" @click="openCreate">新增拣货车</el-button>
|
||||
<el-button type="success" size="small" plain @click="openBatchCreate">批量新增</el-button>
|
||||
</el-button-group>
|
||||
</div>
|
||||
|
||||
<div class="upper-wrapper">
|
||||
@ -164,6 +167,116 @@
|
||||
</template>
|
||||
</el-dialog>
|
||||
|
||||
<!-- 批量新增 -->
|
||||
<el-dialog
|
||||
v-model="batchDialogVisible"
|
||||
title="批量新增拣货车"
|
||||
width="760px"
|
||||
align-center
|
||||
@close="resetBatchForm"
|
||||
>
|
||||
<el-form ref="batchFormRef" :model="batchForm" :rules="batchRules" label-width="110px">
|
||||
<div class="batch-section-title">拣货车编码</div>
|
||||
<el-form-item label="编码前缀" prop="code.prefix">
|
||||
<el-input v-model="batchForm.code.prefix" placeholder="如 CART-" maxlength="32" show-word-limit />
|
||||
</el-form-item>
|
||||
<el-form-item label="数字范围" required>
|
||||
<div class="batch-range-row">
|
||||
<el-form-item prop="code.start_num" class="batch-range-item">
|
||||
<el-input-number v-model="batchForm.code.start_num" :min="0" :max="999999" controls-position="right" />
|
||||
</el-form-item>
|
||||
<span class="batch-range-sep">至</span>
|
||||
<el-form-item prop="code.end_num" class="batch-range-item">
|
||||
<el-input-number v-model="batchForm.code.end_num" :min="0" :max="999999" controls-position="right" />
|
||||
</el-form-item>
|
||||
</div>
|
||||
</el-form-item>
|
||||
<el-form-item label="数字补零">
|
||||
<el-switch v-model="batchForm.code.pad_zero" />
|
||||
<el-input-number
|
||||
v-if="batchForm.code.pad_zero"
|
||||
v-model="batchForm.code.pad_width"
|
||||
:min="1"
|
||||
:max="8"
|
||||
controls-position="right"
|
||||
class="batch-pad-width"
|
||||
/>
|
||||
<el-text v-if="batchForm.code.pad_zero" type="info" size="small" class="batch-pad-hint">
|
||||
位数 {{ batchForm.code.pad_width }},不足时左侧补 0
|
||||
</el-text>
|
||||
</el-form-item>
|
||||
|
||||
<el-divider />
|
||||
|
||||
<div class="batch-section-title">拣货车名称</div>
|
||||
<el-form-item label="名称前缀" prop="name.prefix">
|
||||
<el-input v-model="batchForm.name.prefix" placeholder="留空则不生成名称" maxlength="64" show-word-limit />
|
||||
</el-form-item>
|
||||
<template v-if="batchForm.name.prefix.trim()">
|
||||
<el-form-item label="数字范围" required>
|
||||
<div class="batch-range-row">
|
||||
<el-form-item prop="name.start_num" class="batch-range-item">
|
||||
<el-input-number v-model="batchForm.name.start_num" :min="0" :max="999999" controls-position="right" />
|
||||
</el-form-item>
|
||||
<span class="batch-range-sep">至</span>
|
||||
<el-form-item prop="name.end_num" class="batch-range-item">
|
||||
<el-input-number v-model="batchForm.name.end_num" :min="0" :max="999999" controls-position="right" />
|
||||
</el-form-item>
|
||||
</div>
|
||||
</el-form-item>
|
||||
<el-form-item label="数字补零">
|
||||
<el-switch v-model="batchForm.name.pad_zero" />
|
||||
<el-input-number
|
||||
v-if="batchForm.name.pad_zero"
|
||||
v-model="batchForm.name.pad_width"
|
||||
:min="1"
|
||||
:max="8"
|
||||
controls-position="right"
|
||||
class="batch-pad-width"
|
||||
/>
|
||||
<el-text v-if="batchForm.name.pad_zero" type="info" size="small" class="batch-pad-hint">
|
||||
位数 {{ batchForm.name.pad_width }},不足时左侧补 0
|
||||
</el-text>
|
||||
</el-form-item>
|
||||
<el-form-item v-if="batchNameRangeMismatch">
|
||||
<el-text type="danger" size="small">名称数量需与编码数量一致(当前编码 {{ codeBatchCount }} 条,名称 {{ nameBatchCount }} 条)</el-text>
|
||||
</el-form-item>
|
||||
</template>
|
||||
|
||||
<el-divider />
|
||||
|
||||
<el-form-item label="状态" prop="status">
|
||||
<el-radio-group v-model="batchForm.status">
|
||||
<el-radio :label="1">启用</el-radio>
|
||||
<el-radio :label="0">停用</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
<el-form-item label="生成预览">
|
||||
<div class="batch-preview">
|
||||
<div>将生成 <strong>{{ batchPreviewCount }}</strong> 条拣货车</div>
|
||||
<el-table
|
||||
v-if="batchPreviewItems.length"
|
||||
:data="batchPreviewTableRows"
|
||||
size="small"
|
||||
border
|
||||
class="batch-preview-table"
|
||||
>
|
||||
<el-table-column prop="index" label="序号" width="70" align="center" />
|
||||
<el-table-column prop="cart_code" label="拣货车编码" min-width="160" show-overflow-tooltip />
|
||||
<el-table-column prop="cart_name" label="拣货车名称" min-width="160" show-overflow-tooltip />
|
||||
</el-table>
|
||||
<el-text v-else type="warning" size="small">请完善编码前缀与数字范围</el-text>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<template #footer>
|
||||
<el-button @click="batchDialogVisible = false">取消</el-button>
|
||||
<el-button type="primary" :loading="batchSaving" :disabled="batchPreviewCount <= 0" @click="submitBatchCreate">
|
||||
确认新增
|
||||
</el-button>
|
||||
</template>
|
||||
</el-dialog>
|
||||
|
||||
<!-- 绑定任务 -->
|
||||
<el-dialog
|
||||
v-model="bindDialogVisible"
|
||||
@ -194,7 +307,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { computed, onMounted, reactive, ref } from 'vue'
|
||||
import { computed, onMounted, reactive, ref, watch } from 'vue'
|
||||
import { ElMessage, ElMessageBox } from 'element-plus'
|
||||
import type { FormInstance, FormRules } from 'element-plus'
|
||||
import ScanBox from '@/components/ScanBox/index.vue'
|
||||
@ -212,9 +325,13 @@ import {
|
||||
} from '@/api/pickcart/pickcart'
|
||||
import { useSettingsStore } from '@/stores/modules/settings'
|
||||
import {
|
||||
buildPickCartBatchItems,
|
||||
buildPickCartListPayload,
|
||||
formatPickCartStatus,
|
||||
getDefaultPickCartBatchPadWidth,
|
||||
getPickCartBatchRangeCount,
|
||||
normalizePickCartScanConditionToWhere,
|
||||
PICK_CART_BATCH_CREATE_MAX,
|
||||
pickCartColumns,
|
||||
pickCartScanFields,
|
||||
type PickCartRecord
|
||||
@ -282,6 +399,129 @@ const bindRules: FormRules = {
|
||||
task_id: [{ required: true, message: '请输入任务ID', trigger: 'blur' }]
|
||||
}
|
||||
|
||||
const batchDialogVisible = ref(false)
|
||||
const batchSaving = ref(false)
|
||||
const batchFormRef = ref<FormInstance>()
|
||||
|
||||
function createDefaultBatchNumberRule(start = 1, end = 10) {
|
||||
return {
|
||||
prefix: '',
|
||||
start_num: start,
|
||||
end_num: end,
|
||||
pad_zero: true,
|
||||
pad_width: getDefaultPickCartBatchPadWidth(start, end)
|
||||
}
|
||||
}
|
||||
|
||||
const batchForm = reactive({
|
||||
code: createDefaultBatchNumberRule(),
|
||||
name: {
|
||||
...createDefaultBatchNumberRule(),
|
||||
prefix: '拣货车'
|
||||
},
|
||||
status: 1
|
||||
})
|
||||
|
||||
function createBatchRangeValidator(section: 'code' | 'name') {
|
||||
return (_rule: unknown, _value: unknown, callback: (error?: Error) => void) => {
|
||||
const rule = batchForm[section]
|
||||
const count = getPickCartBatchRangeCount(rule.start_num, rule.end_num)
|
||||
if (count <= 0) {
|
||||
callback(new Error('请输入有效的数字范围'))
|
||||
return
|
||||
}
|
||||
if (section === 'code' && count > PICK_CART_BATCH_CREATE_MAX) {
|
||||
callback(new Error(`单次最多新增 ${PICK_CART_BATCH_CREATE_MAX} 条`))
|
||||
return
|
||||
}
|
||||
callback()
|
||||
}
|
||||
}
|
||||
|
||||
const validateBatchNameRange = (_rule: unknown, _value: unknown, callback: (error?: Error) => void) => {
|
||||
if (!batchForm.name.prefix.trim()) {
|
||||
callback()
|
||||
return
|
||||
}
|
||||
const nameCount = getPickCartBatchRangeCount(batchForm.name.start_num, batchForm.name.end_num)
|
||||
if (nameCount <= 0) {
|
||||
callback(new Error('请输入有效的名称数字范围'))
|
||||
return
|
||||
}
|
||||
if (nameCount !== codeBatchCount.value) {
|
||||
callback(new Error('名称数量需与编码数量一致'))
|
||||
return
|
||||
}
|
||||
callback()
|
||||
}
|
||||
|
||||
const batchRules: FormRules = {
|
||||
'code.prefix': [{ required: true, message: '请输入编码前缀', trigger: 'blur' }],
|
||||
'code.start_num': [{ validator: createBatchRangeValidator('code'), trigger: 'change' }],
|
||||
'code.end_num': [{ validator: createBatchRangeValidator('code'), trigger: 'change' }],
|
||||
'name.start_num': [{ validator: validateBatchNameRange, trigger: 'change' }],
|
||||
'name.end_num': [{ validator: validateBatchNameRange, trigger: 'change' }],
|
||||
status: [{ required: true, message: '请选择状态', trigger: 'change' }]
|
||||
}
|
||||
|
||||
const codeBatchCount = computed(() =>
|
||||
getPickCartBatchRangeCount(batchForm.code.start_num, batchForm.code.end_num)
|
||||
)
|
||||
|
||||
const nameBatchCount = computed(() =>
|
||||
batchForm.name.prefix.trim()
|
||||
? getPickCartBatchRangeCount(batchForm.name.start_num, batchForm.name.end_num)
|
||||
: 0
|
||||
)
|
||||
|
||||
const batchNameRangeMismatch = computed(() => {
|
||||
if (!batchForm.name.prefix.trim()) return false
|
||||
return nameBatchCount.value > 0 && nameBatchCount.value !== codeBatchCount.value
|
||||
})
|
||||
|
||||
const batchPreviewItems = computed(() => {
|
||||
try {
|
||||
if (!batchForm.code.prefix.trim() || codeBatchCount.value <= 0) return []
|
||||
if (codeBatchCount.value > PICK_CART_BATCH_CREATE_MAX) return []
|
||||
if (batchNameRangeMismatch.value) return []
|
||||
return buildPickCartBatchItems(batchForm)
|
||||
} catch {
|
||||
return []
|
||||
}
|
||||
})
|
||||
|
||||
const batchPreviewCount = computed(() => batchPreviewItems.value.length)
|
||||
|
||||
const batchPreviewTableRows = computed(() =>
|
||||
batchPreviewItems.value.slice(0, 5).map((item, index) => ({
|
||||
index: index + 1,
|
||||
cart_code: item.cart_code,
|
||||
cart_name: item.cart_name || '--'
|
||||
}))
|
||||
)
|
||||
|
||||
watch(
|
||||
() => [batchForm.code.start_num, batchForm.code.end_num, batchForm.code.pad_zero] as const,
|
||||
() => {
|
||||
if (!batchForm.code.pad_zero) return
|
||||
batchForm.code.pad_width = getDefaultPickCartBatchPadWidth(
|
||||
batchForm.code.start_num,
|
||||
batchForm.code.end_num
|
||||
)
|
||||
}
|
||||
)
|
||||
|
||||
watch(
|
||||
() => [batchForm.name.start_num, batchForm.name.end_num, batchForm.name.pad_zero] as const,
|
||||
() => {
|
||||
if (!batchForm.name.pad_zero) return
|
||||
batchForm.name.pad_width = getDefaultPickCartBatchPadWidth(
|
||||
batchForm.name.start_num,
|
||||
batchForm.name.end_num
|
||||
)
|
||||
}
|
||||
)
|
||||
|
||||
const isSuccess = (res: any) => res && [0, 1, 200].includes(res.code)
|
||||
|
||||
async function loadList() {
|
||||
@ -370,6 +610,94 @@ function openCreate() {
|
||||
resetForm()
|
||||
}
|
||||
|
||||
function resetBatchForm() {
|
||||
batchForm.code = {
|
||||
prefix: 'CART-',
|
||||
start_num: 1,
|
||||
end_num: 10,
|
||||
pad_zero: true,
|
||||
pad_width: 2
|
||||
}
|
||||
batchForm.name = {
|
||||
prefix: '拣货车',
|
||||
start_num: 1,
|
||||
end_num: 10,
|
||||
pad_zero: false,
|
||||
pad_width: 1
|
||||
}
|
||||
batchForm.status = 1
|
||||
batchFormRef.value?.clearValidate()
|
||||
}
|
||||
|
||||
function openBatchCreate() {
|
||||
batchDialogVisible.value = true
|
||||
resetBatchForm()
|
||||
}
|
||||
|
||||
async function submitBatchCreate() {
|
||||
if (!batchFormRef.value || batchSaving.value) return
|
||||
const valid = await batchFormRef.value.validate().catch(() => false)
|
||||
if (!valid) return
|
||||
|
||||
const items = buildPickCartBatchItems(batchForm)
|
||||
if (!items.length) {
|
||||
ElMessage.warning('没有可新增的拣货车')
|
||||
return
|
||||
}
|
||||
|
||||
try {
|
||||
await ElMessageBox.confirm(
|
||||
`确认批量新增 ${items.length} 辆拣货车吗?`,
|
||||
'批量新增确认',
|
||||
{ type: 'warning' }
|
||||
)
|
||||
} catch {
|
||||
return
|
||||
}
|
||||
|
||||
batchSaving.value = true
|
||||
let successCount = 0
|
||||
let failCount = 0
|
||||
let lastError = ''
|
||||
|
||||
try {
|
||||
for (const item of items) {
|
||||
try {
|
||||
const payload: { cart_code: string; cart_name?: string; status: number } = {
|
||||
cart_code: item.cart_code,
|
||||
status: batchForm.status
|
||||
}
|
||||
if (item.cart_name) {
|
||||
payload.cart_name = item.cart_name
|
||||
}
|
||||
const res: any = await pickCartCreate(payload)
|
||||
if (isSuccess(res)) {
|
||||
successCount += 1
|
||||
} else {
|
||||
failCount += 1
|
||||
lastError = res?.message || '新增失败'
|
||||
}
|
||||
} catch {
|
||||
failCount += 1
|
||||
lastError = '新增失败'
|
||||
}
|
||||
}
|
||||
|
||||
if (failCount === 0) {
|
||||
ElMessage.success(`批量新增成功,共 ${successCount} 条`)
|
||||
batchDialogVisible.value = false
|
||||
loadList()
|
||||
} else if (successCount === 0) {
|
||||
ElMessage.error(lastError || `批量新增失败,共 ${failCount} 条`)
|
||||
} else {
|
||||
ElMessage.warning(`批量新增完成:成功 ${successCount} 条,失败 ${failCount} 条`)
|
||||
loadList()
|
||||
}
|
||||
} finally {
|
||||
batchSaving.value = false
|
||||
}
|
||||
}
|
||||
|
||||
function openEdit(row: PickCartRecord) {
|
||||
if (!row.cart_id) return
|
||||
dialogMode.value = 'edit'
|
||||
@ -638,4 +966,47 @@ onMounted(() => {
|
||||
.scan-result {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.batch-range-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.batch-range-item {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.batch-range-sep {
|
||||
color: #606266;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.batch-pad-width {
|
||||
margin-left: 12px;
|
||||
width: 120px;
|
||||
}
|
||||
|
||||
.batch-pad-hint {
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
.batch-section-title {
|
||||
margin: 4px 0 10px;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
color: #303133;
|
||||
}
|
||||
|
||||
.batch-preview {
|
||||
width: 100%;
|
||||
font-size: 13px;
|
||||
color: #606266;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.batch-preview-table {
|
||||
margin-top: 8px;
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -121,3 +121,96 @@ export function buildPickCartListPayload(options: {
|
||||
}
|
||||
return payload
|
||||
}
|
||||
|
||||
export const PICK_CART_BATCH_CREATE_MAX = 200
|
||||
|
||||
export type PickCartBatchNumberRule = {
|
||||
prefix: string
|
||||
start_num: number
|
||||
end_num: number
|
||||
pad_zero: boolean
|
||||
pad_width: number
|
||||
}
|
||||
|
||||
export type PickCartBatchCreateForm = {
|
||||
code: PickCartBatchNumberRule
|
||||
name: PickCartBatchNumberRule
|
||||
status: number
|
||||
}
|
||||
|
||||
export type PickCartBatchCreateItem = {
|
||||
cart_code: string
|
||||
cart_name?: string
|
||||
}
|
||||
|
||||
/** 按配置格式化批量序号,支持可选前导零 */
|
||||
export function formatPickCartBatchNumber(
|
||||
num: number,
|
||||
options: { pad_zero: boolean; pad_width: number }
|
||||
): string {
|
||||
const text = String(num)
|
||||
if (!options.pad_zero) return text
|
||||
const width = Math.max(Math.floor(options.pad_width) || 0, text.length)
|
||||
return text.padStart(width, '0')
|
||||
}
|
||||
|
||||
export function getDefaultPickCartBatchPadWidth(start: number, end: number) {
|
||||
return Math.max(String(Math.floor(start)).length, String(Math.floor(end)).length, 1)
|
||||
}
|
||||
|
||||
function resolvePickCartBatchPadWidth(rule: PickCartBatchNumberRule) {
|
||||
if (!rule.pad_zero) return 0
|
||||
return Math.max(
|
||||
Math.floor(Number(rule.pad_width) || 0),
|
||||
getDefaultPickCartBatchPadWidth(rule.start_num, rule.end_num)
|
||||
)
|
||||
}
|
||||
|
||||
function buildPickCartBatchValue(rule: PickCartBatchNumberRule, num: number) {
|
||||
const prefix = String(rule.prefix ?? '').trim()
|
||||
const suffix = formatPickCartBatchNumber(num, {
|
||||
pad_zero: rule.pad_zero,
|
||||
pad_width: resolvePickCartBatchPadWidth(rule)
|
||||
})
|
||||
return `${prefix}${suffix}`
|
||||
}
|
||||
|
||||
export function getPickCartBatchRangeCount(start: number, end: number) {
|
||||
const safeStart = Math.floor(Number(start))
|
||||
const safeEnd = Math.floor(Number(end))
|
||||
if (!Number.isFinite(safeStart) || !Number.isFinite(safeEnd) || safeStart > safeEnd) {
|
||||
return 0
|
||||
}
|
||||
return safeEnd - safeStart + 1
|
||||
}
|
||||
|
||||
/** 编码与名称分别按各自前缀、范围和补零规则生成,再按序号一一对应 */
|
||||
export function buildPickCartBatchItems(form: PickCartBatchCreateForm): PickCartBatchCreateItem[] {
|
||||
const codeStart = Math.floor(Number(form.code.start_num))
|
||||
const codeEnd = Math.floor(Number(form.code.end_num))
|
||||
const codePrefix = String(form.code.prefix ?? '').trim()
|
||||
const namePrefix = String(form.name.prefix ?? '').trim()
|
||||
const codeCount = getPickCartBatchRangeCount(codeStart, codeEnd)
|
||||
|
||||
if (!codePrefix || codeCount <= 0) return []
|
||||
|
||||
const nameCount = namePrefix
|
||||
? getPickCartBatchRangeCount(form.name.start_num, form.name.end_num)
|
||||
: 0
|
||||
|
||||
if (namePrefix && nameCount !== codeCount) return []
|
||||
|
||||
const items: PickCartBatchCreateItem[] = []
|
||||
for (let i = 0; i < codeCount; i += 1) {
|
||||
const cart_code = buildPickCartBatchValue(form.code, codeStart + i)
|
||||
const item: PickCartBatchCreateItem = { cart_code }
|
||||
|
||||
if (namePrefix) {
|
||||
const nameStart = Math.floor(Number(form.name.start_num))
|
||||
item.cart_name = buildPickCartBatchValue(form.name, nameStart + i)
|
||||
}
|
||||
|
||||
items.push(item)
|
||||
}
|
||||
return items
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -8,17 +8,9 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"method": "order.pendingOrder.list",
|
||||
"method": "setting.expressInterface.listByWarehousePlatformCode",
|
||||
"body": {
|
||||
"pagination": {
|
||||
"page": 1,
|
||||
"pageSize": 20
|
||||
},
|
||||
"where": {},
|
||||
"sort": {
|
||||
"sortField": "updated_at",
|
||||
"sortOrder": "DESC"
|
||||
}
|
||||
"platform_code": "JD"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-06-05 17:45:07",
|
||||
"generatedAtLocal": "2026-06-05 17:45:07",
|
||||
"generatedAt": "2026-06-06 17:48:06",
|
||||
"generatedAtLocal": "2026-06-06 17:48:06",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
@ -17,74 +17,22 @@
|
||||
"summary": {
|
||||
"moduleAdded": 0,
|
||||
"moduleDeleted": 0,
|
||||
"moduleUpdated": 2,
|
||||
"moduleUpdated": 0,
|
||||
"interfaceAdded": 0,
|
||||
"interfaceDeleted": 0,
|
||||
"interfaceParamsUpdated": 2,
|
||||
"interfaceResponseUpdated": 1
|
||||
"interfaceParamsUpdated": 0,
|
||||
"interfaceResponseUpdated": 0
|
||||
},
|
||||
"moduleUpdates": {
|
||||
"added": [],
|
||||
"deleted": [],
|
||||
"updated": [
|
||||
{
|
||||
"moduleName": "订单待处理模块",
|
||||
"moduleKey": "order.pendingOrder",
|
||||
"folder": "order.pendingorder",
|
||||
"previousModuleName": "订单待处理模块",
|
||||
"previousModuleKey": "order.pendingOrder",
|
||||
"interfaceChanges": {
|
||||
"addedMethods": [],
|
||||
"deletedMethods": [],
|
||||
"paramsUpdatedMethods": [],
|
||||
"responseUpdatedMethods": [
|
||||
"order.pendingOrder.parseAddress"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"moduleName": "订单波次模块",
|
||||
"moduleKey": "order.wave",
|
||||
"folder": "order.wave",
|
||||
"previousModuleName": "订单波次模块",
|
||||
"previousModuleKey": "order.wave",
|
||||
"interfaceChanges": {
|
||||
"addedMethods": [],
|
||||
"deletedMethods": [],
|
||||
"paramsUpdatedMethods": [
|
||||
"order.wave.waveStrategyCreate",
|
||||
"order.wave.waveStrategyUpdate"
|
||||
],
|
||||
"responseUpdatedMethods": []
|
||||
}
|
||||
}
|
||||
]
|
||||
"updated": []
|
||||
},
|
||||
"interfaceUpdates": {
|
||||
"added": [],
|
||||
"deleted": [],
|
||||
"paramsUpdated": [
|
||||
{
|
||||
"moduleName": "订单波次模块",
|
||||
"moduleKey": "order.wave",
|
||||
"folder": "order.wave",
|
||||
"method": "order.wave.waveStrategyCreate"
|
||||
},
|
||||
{
|
||||
"moduleName": "订单波次模块",
|
||||
"moduleKey": "order.wave",
|
||||
"folder": "order.wave",
|
||||
"method": "order.wave.waveStrategyUpdate"
|
||||
}
|
||||
],
|
||||
"responseUpdated": [
|
||||
{
|
||||
"moduleName": "订单待处理模块",
|
||||
"moduleKey": "order.pendingOrder",
|
||||
"folder": "order.pendingorder",
|
||||
"method": "order.pendingOrder.parseAddress"
|
||||
}
|
||||
]
|
||||
"paramsUpdated": [],
|
||||
"responseUpdated": []
|
||||
}
|
||||
},
|
||||
"interfaces": [
|
||||
@ -1479,6 +1427,12 @@
|
||||
"type": "object",
|
||||
"required": true,
|
||||
"description": "分页信息"
|
||||
},
|
||||
{
|
||||
"name": "recheck_status",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "复核状态:none=未复核,fin=已复核"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -1754,6 +1708,12 @@
|
||||
"type": "object",
|
||||
"required": true,
|
||||
"description": "分页信息"
|
||||
},
|
||||
{
|
||||
"name": "recheck_status",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "复核状态:none=未复核,fin=已复核"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -1880,6 +1840,12 @@
|
||||
"type": "object",
|
||||
"required": true,
|
||||
"description": "分页信息"
|
||||
},
|
||||
{
|
||||
"name": "recheck_status",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "复核状态:none=未复核,fin=已复核"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -2075,6 +2041,12 @@
|
||||
"type": "object",
|
||||
"required": true,
|
||||
"description": "分页信息"
|
||||
},
|
||||
{
|
||||
"name": "recheck_status",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "复核状态:none=未复核,fin=已复核"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -2201,6 +2173,12 @@
|
||||
"type": "object",
|
||||
"required": true,
|
||||
"description": "分页信息"
|
||||
},
|
||||
{
|
||||
"name": "recheck_status",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "复核状态:none=未复核,fin=已复核"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -2495,6 +2473,12 @@
|
||||
"type": "object",
|
||||
"required": true,
|
||||
"description": "分页信息(page、pageSize、total、totalPages、hasPrevious、hasNext)"
|
||||
},
|
||||
{
|
||||
"name": "recheck_status",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "复核状态:none=未复核,fin=已复核"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -2720,6 +2704,12 @@
|
||||
"type": "object",
|
||||
"required": true,
|
||||
"description": "分页信息"
|
||||
},
|
||||
{
|
||||
"name": "recheck_status",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "复核状态:none=未复核,fin=已复核"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -3595,6 +3585,12 @@
|
||||
"type": "object",
|
||||
"required": true,
|
||||
"description": "分页信息"
|
||||
},
|
||||
{
|
||||
"name": "recheck_status",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "复核状态:none=未复核,fin=已复核"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -4641,6 +4637,12 @@
|
||||
"type": "object",
|
||||
"required": true,
|
||||
"description": "分页信息"
|
||||
},
|
||||
{
|
||||
"name": "recheck_status",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "复核状态:none=未复核,fin=已复核"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -9743,6 +9745,12 @@
|
||||
"type": "number",
|
||||
"required": false,
|
||||
"description": "店铺 ID(支持 shopId),正整数,可空;未传或空值按 null 处理"
|
||||
},
|
||||
{
|
||||
"name": "address",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "发件人详细地址(可选),使用 index.getShopExpressList 返回的 detail 字段值,非 full_address"
|
||||
}
|
||||
],
|
||||
"response": [
|
||||
@ -9947,6 +9955,12 @@
|
||||
"type": "number",
|
||||
"required": false,
|
||||
"description": "shop_id"
|
||||
},
|
||||
{
|
||||
"name": "address",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "发件人详细地址(可选),使用 index.getShopExpressList 返回的 detail 字段值,非 full_address"
|
||||
}
|
||||
],
|
||||
"response": [
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-06-05 17:45:07",
|
||||
"generatedAtLocal": "2026-06-05 17:45:07",
|
||||
"generatedAt": "2026-06-06 17:48:06",
|
||||
"generatedAtLocal": "2026-06-06 17:48:06",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
@ -18,74 +18,22 @@
|
||||
"summary": {
|
||||
"moduleAdded": 0,
|
||||
"moduleDeleted": 0,
|
||||
"moduleUpdated": 2,
|
||||
"moduleUpdated": 0,
|
||||
"interfaceAdded": 0,
|
||||
"interfaceDeleted": 0,
|
||||
"interfaceParamsUpdated": 2,
|
||||
"interfaceResponseUpdated": 1
|
||||
"interfaceParamsUpdated": 0,
|
||||
"interfaceResponseUpdated": 0
|
||||
},
|
||||
"moduleUpdates": {
|
||||
"added": [],
|
||||
"deleted": [],
|
||||
"updated": [
|
||||
{
|
||||
"moduleName": "订单待处理模块",
|
||||
"moduleKey": "order.pendingOrder",
|
||||
"folder": "order.pendingorder",
|
||||
"previousModuleName": "订单待处理模块",
|
||||
"previousModuleKey": "order.pendingOrder",
|
||||
"interfaceChanges": {
|
||||
"addedMethods": [],
|
||||
"deletedMethods": [],
|
||||
"paramsUpdatedMethods": [],
|
||||
"responseUpdatedMethods": [
|
||||
"order.pendingOrder.parseAddress"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"moduleName": "订单波次模块",
|
||||
"moduleKey": "order.wave",
|
||||
"folder": "order.wave",
|
||||
"previousModuleName": "订单波次模块",
|
||||
"previousModuleKey": "order.wave",
|
||||
"interfaceChanges": {
|
||||
"addedMethods": [],
|
||||
"deletedMethods": [],
|
||||
"paramsUpdatedMethods": [
|
||||
"order.wave.waveStrategyCreate",
|
||||
"order.wave.waveStrategyUpdate"
|
||||
],
|
||||
"responseUpdatedMethods": []
|
||||
}
|
||||
}
|
||||
]
|
||||
"updated": []
|
||||
},
|
||||
"interfaceUpdates": {
|
||||
"added": [],
|
||||
"deleted": [],
|
||||
"paramsUpdated": [
|
||||
{
|
||||
"moduleName": "订单波次模块",
|
||||
"moduleKey": "order.wave",
|
||||
"folder": "order.wave",
|
||||
"method": "order.wave.waveStrategyCreate"
|
||||
},
|
||||
{
|
||||
"moduleName": "订单波次模块",
|
||||
"moduleKey": "order.wave",
|
||||
"folder": "order.wave",
|
||||
"method": "order.wave.waveStrategyUpdate"
|
||||
}
|
||||
],
|
||||
"responseUpdated": [
|
||||
{
|
||||
"moduleName": "订单待处理模块",
|
||||
"moduleKey": "order.pendingOrder",
|
||||
"folder": "order.pendingorder",
|
||||
"method": "order.pendingOrder.parseAddress"
|
||||
}
|
||||
]
|
||||
"paramsUpdated": [],
|
||||
"responseUpdated": []
|
||||
}
|
||||
},
|
||||
"modules": [
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-06-05 17:45:07",
|
||||
"updatedAt": "2026-06-06 17:48:06",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-06-05 17:45:07",
|
||||
"generatedAtLocal": "2026-06-05 17:45:07",
|
||||
"generatedAt": "2026-06-06 17:48:06",
|
||||
"generatedAtLocal": "2026-06-06 17:48:06",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-06-05 17:45:07",
|
||||
"updatedAt": "2026-06-06 17:48:06",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-06-05 17:45:07",
|
||||
"generatedAtLocal": "2026-06-05 17:45:07",
|
||||
"generatedAt": "2026-06-06 17:48:06",
|
||||
"generatedAtLocal": "2026-06-06 17:48:06",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-06-05 17:45:07",
|
||||
"updatedAt": "2026-06-06 17:48:06",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-06-05 17:45:07",
|
||||
"generatedAtLocal": "2026-06-05 17:45:07",
|
||||
"generatedAt": "2026-06-06 17:48:06",
|
||||
"generatedAtLocal": "2026-06-06 17:48:06",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-06-05 17:45:07",
|
||||
"updatedAt": "2026-06-06 17:48:06",
|
||||
"deletedAt": null,
|
||||
"restoredAt": "2026-04-17 19:16:50"
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-06-05 17:45:07",
|
||||
"generatedAtLocal": "2026-06-05 17:45:07",
|
||||
"generatedAt": "2026-06-06 17:48:06",
|
||||
"generatedAtLocal": "2026-06-06 17:48:06",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
@ -82,6 +82,12 @@
|
||||
"type": "object",
|
||||
"required": true,
|
||||
"description": "分页信息"
|
||||
},
|
||||
{
|
||||
"name": "recheck_status",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "复核状态:none=未复核,fin=已复核"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-06-05 17:45:07",
|
||||
"updatedAt": "2026-06-06 17:48:06",
|
||||
"deletedAt": null,
|
||||
"restoredAt": "2026-04-17 19:16:50"
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-06-05 17:45:07",
|
||||
"generatedAtLocal": "2026-06-05 17:45:07",
|
||||
"generatedAt": "2026-06-06 17:48:06",
|
||||
"generatedAtLocal": "2026-06-06 17:48:06",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
@ -82,6 +82,12 @@
|
||||
"type": "object",
|
||||
"required": true,
|
||||
"description": "分页信息"
|
||||
},
|
||||
{
|
||||
"name": "recheck_status",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "复核状态:none=未复核,fin=已复核"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-06-05 17:45:07",
|
||||
"updatedAt": "2026-06-06 17:48:06",
|
||||
"deletedAt": null,
|
||||
"restoredAt": "2026-04-17 19:16:50"
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-06-05 17:45:07",
|
||||
"generatedAtLocal": "2026-06-05 17:45:07",
|
||||
"generatedAt": "2026-06-06 17:48:06",
|
||||
"generatedAtLocal": "2026-06-06 17:48:06",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
@ -82,6 +82,12 @@
|
||||
"type": "object",
|
||||
"required": true,
|
||||
"description": "分页信息"
|
||||
},
|
||||
{
|
||||
"name": "recheck_status",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "复核状态:none=未复核,fin=已复核"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-06-05 17:45:07",
|
||||
"updatedAt": "2026-06-06 17:48:06",
|
||||
"deletedAt": null,
|
||||
"restoredAt": "2026-04-17 19:16:50"
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-06-05 17:45:07",
|
||||
"generatedAtLocal": "2026-06-05 17:45:07",
|
||||
"generatedAt": "2026-06-06 17:48:06",
|
||||
"generatedAtLocal": "2026-06-06 17:48:06",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
@ -82,6 +82,12 @@
|
||||
"type": "object",
|
||||
"required": true,
|
||||
"description": "分页信息"
|
||||
},
|
||||
{
|
||||
"name": "recheck_status",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "复核状态:none=未复核,fin=已复核"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-06-05 17:45:07",
|
||||
"updatedAt": "2026-06-06 17:48:06",
|
||||
"deletedAt": null,
|
||||
"restoredAt": "2026-04-17 19:16:50"
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-06-05 17:45:07",
|
||||
"generatedAtLocal": "2026-06-05 17:45:07",
|
||||
"generatedAt": "2026-06-06 17:48:06",
|
||||
"generatedAtLocal": "2026-06-06 17:48:06",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
@ -82,6 +82,12 @@
|
||||
"type": "object",
|
||||
"required": true,
|
||||
"description": "分页信息"
|
||||
},
|
||||
{
|
||||
"name": "recheck_status",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "复核状态:none=未复核,fin=已复核"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-06-05 17:45:07",
|
||||
"updatedAt": "2026-06-06 17:48:06",
|
||||
"deletedAt": null,
|
||||
"restoredAt": "2026-04-17 19:16:50"
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-06-05 17:45:07",
|
||||
"generatedAtLocal": "2026-06-05 17:45:07",
|
||||
"generatedAt": "2026-06-06 17:48:06",
|
||||
"generatedAtLocal": "2026-06-06 17:48:06",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
@ -82,6 +82,12 @@
|
||||
"type": "object",
|
||||
"required": true,
|
||||
"description": "分页信息(page、pageSize、total、totalPages、hasPrevious、hasNext)"
|
||||
},
|
||||
{
|
||||
"name": "recheck_status",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "复核状态:none=未复核,fin=已复核"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-06-05 17:45:07",
|
||||
"updatedAt": "2026-06-06 17:48:06",
|
||||
"deletedAt": null,
|
||||
"restoredAt": "2026-04-17 19:16:50"
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-06-05 17:45:07",
|
||||
"generatedAtLocal": "2026-06-05 17:45:07",
|
||||
"generatedAt": "2026-06-06 17:48:06",
|
||||
"generatedAtLocal": "2026-06-06 17:48:06",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
@ -82,6 +82,12 @@
|
||||
"type": "object",
|
||||
"required": true,
|
||||
"description": "分页信息"
|
||||
},
|
||||
{
|
||||
"name": "recheck_status",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "复核状态:none=未复核,fin=已复核"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-06-05 17:45:07",
|
||||
"updatedAt": "2026-06-06 17:48:06",
|
||||
"deletedAt": null,
|
||||
"restoredAt": "2026-04-17 19:16:50"
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-06-05 17:45:07",
|
||||
"generatedAtLocal": "2026-06-05 17:45:07",
|
||||
"generatedAt": "2026-06-06 17:48:06",
|
||||
"generatedAtLocal": "2026-06-06 17:48:06",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
@ -26,9 +26,7 @@
|
||||
"addedMethods": [],
|
||||
"deletedMethods": [],
|
||||
"paramsUpdatedMethods": [],
|
||||
"responseUpdatedMethods": [
|
||||
"order.pendingOrder.parseAddress"
|
||||
]
|
||||
"responseUpdatedMethods": []
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -84,6 +82,12 @@
|
||||
"type": "object",
|
||||
"required": true,
|
||||
"description": "分页信息"
|
||||
},
|
||||
{
|
||||
"name": "recheck_status",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "复核状态:none=未复核,fin=已复核"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-05-05 09:15:19",
|
||||
"updatedAt": "2026-06-05 17:45:07",
|
||||
"updatedAt": "2026-06-06 17:48:06",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-06-05 17:45:07",
|
||||
"generatedAtLocal": "2026-06-05 17:45:07",
|
||||
"generatedAt": "2026-06-06 17:48:06",
|
||||
"generatedAtLocal": "2026-06-06 17:48:06",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-05-20 08:59:09",
|
||||
"updatedAt": "2026-06-05 17:45:07",
|
||||
"updatedAt": "2026-06-06 17:48:06",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-06-05 17:45:07",
|
||||
"generatedAtLocal": "2026-06-05 17:45:07",
|
||||
"generatedAt": "2026-06-06 17:48:06",
|
||||
"generatedAtLocal": "2026-06-06 17:48:06",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-06-05 17:45:07",
|
||||
"updatedAt": "2026-06-06 17:48:06",
|
||||
"deletedAt": null,
|
||||
"restoredAt": "2026-04-17 19:16:50"
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-06-05 17:45:07",
|
||||
"generatedAtLocal": "2026-06-05 17:45:07",
|
||||
"generatedAt": "2026-06-06 17:48:06",
|
||||
"generatedAtLocal": "2026-06-06 17:48:06",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
@ -82,6 +82,12 @@
|
||||
"type": "object",
|
||||
"required": true,
|
||||
"description": "分页信息"
|
||||
},
|
||||
{
|
||||
"name": "recheck_status",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "复核状态:none=未复核,fin=已复核"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-05-04 09:11:04",
|
||||
"updatedAt": "2026-06-05 17:45:07",
|
||||
"updatedAt": "2026-06-06 17:48:06",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-06-05 17:45:07",
|
||||
"generatedAtLocal": "2026-06-05 17:45:07",
|
||||
"generatedAt": "2026-06-06 17:48:06",
|
||||
"generatedAtLocal": "2026-06-06 17:48:06",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
@ -25,10 +25,7 @@
|
||||
"interfaceChanges": {
|
||||
"addedMethods": [],
|
||||
"deletedMethods": [],
|
||||
"paramsUpdatedMethods": [
|
||||
"order.wave.waveStrategyCreate",
|
||||
"order.wave.waveStrategyUpdate"
|
||||
],
|
||||
"paramsUpdatedMethods": [],
|
||||
"responseUpdatedMethods": []
|
||||
}
|
||||
}
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-05-09 09:52:14",
|
||||
"updatedAt": "2026-06-05 17:45:07",
|
||||
"updatedAt": "2026-06-06 17:48:06",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-06-05 17:45:07",
|
||||
"generatedAtLocal": "2026-06-05 17:45:07",
|
||||
"generatedAt": "2026-06-06 17:48:06",
|
||||
"generatedAtLocal": "2026-06-06 17:48:06",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-05-04 17:23:48",
|
||||
"updatedAt": "2026-06-05 17:45:07",
|
||||
"updatedAt": "2026-06-06 17:48:06",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-06-05 17:45:07",
|
||||
"generatedAtLocal": "2026-06-05 17:45:07",
|
||||
"generatedAt": "2026-06-06 17:48:06",
|
||||
"generatedAtLocal": "2026-06-06 17:48:06",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-06-03 16:55:40",
|
||||
"updatedAt": "2026-06-05 17:45:07",
|
||||
"updatedAt": "2026-06-06 17:48:06",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-06-05 17:45:07",
|
||||
"generatedAtLocal": "2026-06-05 17:45:07",
|
||||
"generatedAt": "2026-06-06 17:48:06",
|
||||
"generatedAtLocal": "2026-06-06 17:48:06",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-06-05 17:45:07",
|
||||
"updatedAt": "2026-06-06 17:48:06",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-06-05 17:45:07",
|
||||
"generatedAtLocal": "2026-06-05 17:45:07",
|
||||
"generatedAt": "2026-06-06 17:48:06",
|
||||
"generatedAtLocal": "2026-06-06 17:48:06",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-06-05 17:45:07",
|
||||
"updatedAt": "2026-06-06 17:48:06",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-06-05 17:45:07",
|
||||
"generatedAtLocal": "2026-06-05 17:45:07",
|
||||
"generatedAt": "2026-06-06 17:48:06",
|
||||
"generatedAtLocal": "2026-06-06 17:48:06",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-06-05 17:45:07",
|
||||
"updatedAt": "2026-06-06 17:48:06",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-06-05 17:45:07",
|
||||
"generatedAtLocal": "2026-06-05 17:45:07",
|
||||
"generatedAt": "2026-06-06 17:48:06",
|
||||
"generatedAtLocal": "2026-06-06 17:48:06",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-17 19:37:49",
|
||||
"updatedAt": "2026-06-05 17:45:07",
|
||||
"updatedAt": "2026-06-06 17:48:06",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-06-05 17:45:07",
|
||||
"generatedAtLocal": "2026-06-05 17:45:07",
|
||||
"generatedAt": "2026-06-06 17:48:06",
|
||||
"generatedAtLocal": "2026-06-06 17:48:06",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-17 20:21:27",
|
||||
"updatedAt": "2026-06-05 17:45:07",
|
||||
"updatedAt": "2026-06-06 17:48:06",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-06-05 17:45:07",
|
||||
"generatedAtLocal": "2026-06-05 17:45:07",
|
||||
"generatedAt": "2026-06-06 17:48:06",
|
||||
"generatedAtLocal": "2026-06-06 17:48:06",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
@ -176,6 +176,12 @@
|
||||
"type": "number",
|
||||
"required": false,
|
||||
"description": "店铺 ID(支持 shopId),正整数,可空;未传或空值按 null 处理"
|
||||
},
|
||||
{
|
||||
"name": "address",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "发件人详细地址(可选),使用 index.getShopExpressList 返回的 detail 字段值,非 full_address"
|
||||
}
|
||||
],
|
||||
"response": [
|
||||
@ -218,6 +224,12 @@
|
||||
"type": "number",
|
||||
"required": false,
|
||||
"description": "shop_id"
|
||||
},
|
||||
{
|
||||
"name": "address",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "发件人详细地址(可选),使用 index.getShopExpressList 返回的 detail 字段值,非 full_address"
|
||||
}
|
||||
],
|
||||
"response": [
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-05-29 09:07:53",
|
||||
"updatedAt": "2026-06-05 17:45:07",
|
||||
"updatedAt": "2026-06-06 17:48:06",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-06-05 17:45:07",
|
||||
"generatedAtLocal": "2026-06-05 17:45:07",
|
||||
"generatedAt": "2026-06-06 17:48:06",
|
||||
"generatedAtLocal": "2026-06-06 17:48:06",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-05-29 09:07:53",
|
||||
"updatedAt": "2026-06-05 17:45:07",
|
||||
"updatedAt": "2026-06-06 17:48:06",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-06-05 17:45:07",
|
||||
"generatedAtLocal": "2026-06-05 17:45:07",
|
||||
"generatedAt": "2026-06-06 17:48:06",
|
||||
"generatedAtLocal": "2026-06-06 17:48:06",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-06-05 17:45:07",
|
||||
"updatedAt": "2026-06-06 17:48:06",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-06-05 17:45:07",
|
||||
"generatedAtLocal": "2026-06-05 17:45:07",
|
||||
"generatedAt": "2026-06-06 17:48:06",
|
||||
"generatedAtLocal": "2026-06-06 17:48:06",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-17 19:16:50",
|
||||
"updatedAt": "2026-06-05 17:45:07",
|
||||
"updatedAt": "2026-06-06 17:48:06",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-06-05 17:45:07",
|
||||
"generatedAtLocal": "2026-06-05 17:45:07",
|
||||
"generatedAt": "2026-06-06 17:48:06",
|
||||
"generatedAtLocal": "2026-06-06 17:48:06",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-06-05 17:45:07",
|
||||
"updatedAt": "2026-06-06 17:48:06",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-06-05 17:45:07",
|
||||
"generatedAtLocal": "2026-06-05 17:45:07",
|
||||
"generatedAt": "2026-06-06 17:48:06",
|
||||
"generatedAtLocal": "2026-06-06 17:48:06",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-06-05 17:45:07",
|
||||
"updatedAt": "2026-06-06 17:48:06",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-06-05 17:45:07",
|
||||
"generatedAtLocal": "2026-06-05 17:45:07",
|
||||
"generatedAt": "2026-06-06 17:48:06",
|
||||
"generatedAtLocal": "2026-06-06 17:48:06",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-05-04 09:11:04",
|
||||
"updatedAt": "2026-06-05 17:45:07",
|
||||
"updatedAt": "2026-06-06 17:48:06",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-06-05 17:45:07",
|
||||
"generatedAtLocal": "2026-06-05 17:45:07",
|
||||
"generatedAt": "2026-06-06 17:48:06",
|
||||
"generatedAtLocal": "2026-06-06 17:48:06",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-05-25 17:05:16",
|
||||
"updatedAt": "2026-06-05 17:45:07",
|
||||
"updatedAt": "2026-06-06 17:48:06",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-06-05 17:45:07",
|
||||
"generatedAtLocal": "2026-06-05 17:45:07",
|
||||
"generatedAt": "2026-06-06 17:48:06",
|
||||
"generatedAtLocal": "2026-06-06 17:48:06",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-06-05 17:45:07",
|
||||
"updatedAt": "2026-06-06 17:48:06",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-06-05 17:45:07",
|
||||
"generatedAtLocal": "2026-06-05 17:45:07",
|
||||
"generatedAt": "2026-06-06 17:48:06",
|
||||
"generatedAtLocal": "2026-06-06 17:48:06",
|
||||
"source": "remote",
|
||||
"filter": {
|
||||
"platform": {
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
},
|
||||
"status": "active",
|
||||
"createdAt": "2026-04-16 11:15:05",
|
||||
"updatedAt": "2026-06-05 17:45:07",
|
||||
"updatedAt": "2026-06-06 17:48:06",
|
||||
"deletedAt": null,
|
||||
"restoredAt": null
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user