Compare commits
No commits in common. "6b0835d922aad6d3cc29a1d11ec40666c5894b0e" and "a4a156101dc26cafda92fb994f9c45577eb56fdd" have entirely different histories.
6b0835d922
...
a4a156101d
BIN
dist.tar.gz
BIN
dist.tar.gz
Binary file not shown.
@ -70,7 +70,6 @@ export type PendingOrderCreateOrderItem = {
|
|||||||
|
|
||||||
export type PendingOrderCreateOrderParams = {
|
export type PendingOrderCreateOrderParams = {
|
||||||
store_id: number;
|
store_id: number;
|
||||||
shop_name?: string;
|
|
||||||
name: string;
|
name: string;
|
||||||
mobile?: string;
|
mobile?: string;
|
||||||
tel?: string;
|
tel?: string;
|
||||||
@ -110,15 +109,6 @@ export type PendingOrderAllocateStorageParams = {
|
|||||||
id?: number | string;
|
id?: number | string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type PendingOrderSyncOrderIdsParams = {
|
|
||||||
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> {
|
export function orderPendingOrderList(data: PendingOrderListParams = {}): Promise<any> {
|
||||||
return request({
|
return request({
|
||||||
url: "/system",
|
url: "/system",
|
||||||
@ -241,22 +231,6 @@ export function orderPendingOrderCancelAllocateStorage(
|
|||||||
} as any);
|
} as any);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function orderPendingOrderSyncOrderIds(
|
|
||||||
data: PendingOrderSyncOrderIdsParams,
|
|
||||||
): Promise<any> {
|
|
||||||
return request({
|
|
||||||
url: "/system",
|
|
||||||
method: "post",
|
|
||||||
params: {
|
|
||||||
method: "order.pendingOrder.syncOrderIds",
|
|
||||||
v,
|
|
||||||
timestamp: Date.now(),
|
|
||||||
},
|
|
||||||
data,
|
|
||||||
isSystemApi: true,
|
|
||||||
} as any);
|
|
||||||
}
|
|
||||||
|
|
||||||
export function orderPendingOrderUpdateOrderPlatform(
|
export function orderPendingOrderUpdateOrderPlatform(
|
||||||
data: PendingOrderUpdateOrderPlatformParams,
|
data: PendingOrderUpdateOrderPlatformParams,
|
||||||
): Promise<any> {
|
): Promise<any> {
|
||||||
@ -356,7 +330,6 @@ export const orderPendingOrder = {
|
|||||||
allocateExpressCode: orderPendingOrderAllocateExpressCode,
|
allocateExpressCode: orderPendingOrderAllocateExpressCode,
|
||||||
allocateStorage: orderPendingOrderAllocateStorage,
|
allocateStorage: orderPendingOrderAllocateStorage,
|
||||||
cancelAllocateStorage: orderPendingOrderCancelAllocateStorage,
|
cancelAllocateStorage: orderPendingOrderCancelAllocateStorage,
|
||||||
syncOrderIds: orderPendingOrderSyncOrderIds,
|
|
||||||
updateOrderPlatform: orderPendingOrderUpdateOrderPlatform,
|
updateOrderPlatform: orderPendingOrderUpdateOrderPlatform,
|
||||||
updateOrderExpress: orderPendingOrderUpdateOrderExpress,
|
updateOrderExpress: orderPendingOrderUpdateOrderExpress,
|
||||||
cloneOrder: orderPendingOrderCloneOrder,
|
cloneOrder: orderPendingOrderCloneOrder,
|
||||||
|
|||||||
@ -200,11 +200,10 @@ onBeforeUnmount(() => {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
// 自动关联文件(files 可选:删除时传入 on-remove 的 uploadFiles,因此时 v-model 尚未同步到 fileList)
|
// 自动关联文件
|
||||||
const referenceFile = async (files?: any[]) => {
|
const referenceFile = async () => {
|
||||||
const source = files ?? fileList.value
|
const pendingFiles = fileList.value.filter(file => file.status === 'success' && file.uid)
|
||||||
const pendingFiles = source.filter((file: any) => file.status === 'success' && file.uid)
|
const images = pendingFiles.map(item => ({ file_id: item.uid }))
|
||||||
const images = pendingFiles.map((item: any) => ({ file_id: item.uid }))
|
|
||||||
|
|
||||||
const params = {
|
const params = {
|
||||||
type: props.type,
|
type: props.type,
|
||||||
@ -235,9 +234,11 @@ const handlePictureCardPreview = (uploadFile: any) => {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 移除图片(必须用 uploadFiles:移除后的列表;此时 fileList 仍为旧值,直接 referenceFile() 会把已删项一并提交)
|
// 移除图片
|
||||||
const handleRemove = async (uploadFile: any, uploadFiles: any[]) => {
|
const handleRemove = async (uploadFile: any, uploadFiles: any[]) => {
|
||||||
await referenceFile(uploadFiles)
|
// 更新 fileList
|
||||||
|
// fileList.value = uploadFiles // v-model 会自动更新
|
||||||
|
await referenceFile()
|
||||||
}
|
}
|
||||||
|
|
||||||
// 文件状态改变
|
// 文件状态改变
|
||||||
|
|||||||
@ -212,7 +212,6 @@
|
|||||||
<div class="field-control">
|
<div class="field-control">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="customConditions[field.value].value"
|
v-model="customConditions[field.value].value"
|
||||||
:multiple="!!field.multiple"
|
|
||||||
:placeholder="field.placeholder || `请选择${field.label}`"
|
:placeholder="field.placeholder || `请选择${field.label}`"
|
||||||
size="small"
|
size="small"
|
||||||
filterable
|
filterable
|
||||||
|
|||||||
@ -1,91 +0,0 @@
|
|||||||
import { computed, onUnmounted, ref, type ComputedRef } from 'vue'
|
|
||||||
|
|
||||||
export type VerticalSplitPaneOptions = {
|
|
||||||
/** 底部区域初始高度占分割区(upper + resizer + lower)的百分比 */
|
|
||||||
defaultLowerPercent?: number
|
|
||||||
minLowerPercent?: number
|
|
||||||
maxLowerPercent?: number
|
|
||||||
/** 表格区域最小高度(px) */
|
|
||||||
minUpperPx?: number
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 上下分栏拖动:在 splitStackRef 指向的容器内,通过拖动分隔条调整底部区域占比。
|
|
||||||
*/
|
|
||||||
export function useVerticalSplitPane(options: VerticalSplitPaneOptions = {}) {
|
|
||||||
const {
|
|
||||||
defaultLowerPercent = 40,
|
|
||||||
minLowerPercent = 15,
|
|
||||||
maxLowerPercent = 85,
|
|
||||||
minUpperPx = 120,
|
|
||||||
} = options
|
|
||||||
|
|
||||||
const splitStackRef = ref<HTMLElement | null>(null)
|
|
||||||
const lowerPanePercent = ref(defaultLowerPercent)
|
|
||||||
|
|
||||||
let dragStartY = 0
|
|
||||||
let dragStartPercent = 0
|
|
||||||
let stackHeightPx = 0
|
|
||||||
|
|
||||||
function cleanupDragListeners() {
|
|
||||||
window.removeEventListener('mousemove', onResizeMouseMove)
|
|
||||||
window.removeEventListener('mouseup', onResizeMouseUp)
|
|
||||||
document.body.style.cursor = ''
|
|
||||||
document.body.style.userSelect = ''
|
|
||||||
}
|
|
||||||
|
|
||||||
function onResizeMouseMove(e: MouseEvent) {
|
|
||||||
if (stackHeightPx <= 0) return
|
|
||||||
const dy = e.clientY - dragStartY
|
|
||||||
// 鼠标下移 → 分隔线下移 → 上半列表区应变大 → 底部占比应变小(与 dy 反向)
|
|
||||||
const delta = (dy / stackHeightPx) * 100
|
|
||||||
lowerPanePercent.value = Math.min(
|
|
||||||
maxLowerPercent,
|
|
||||||
Math.max(minLowerPercent, dragStartPercent - delta),
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
function onResizeMouseUp() {
|
|
||||||
cleanupDragListeners()
|
|
||||||
}
|
|
||||||
|
|
||||||
function beginSplitDrag(e: MouseEvent) {
|
|
||||||
e.preventDefault()
|
|
||||||
const el = splitStackRef.value
|
|
||||||
if (!el) return
|
|
||||||
stackHeightPx = el.getBoundingClientRect().height
|
|
||||||
if (stackHeightPx <= 0) return
|
|
||||||
dragStartY = e.clientY
|
|
||||||
dragStartPercent = lowerPanePercent.value
|
|
||||||
document.body.style.cursor = 'row-resize'
|
|
||||||
document.body.style.userSelect = 'none'
|
|
||||||
window.addEventListener('mousemove', onResizeMouseMove)
|
|
||||||
window.addEventListener('mouseup', onResizeMouseUp)
|
|
||||||
}
|
|
||||||
|
|
||||||
onUnmounted(() => {
|
|
||||||
cleanupDragListeners()
|
|
||||||
})
|
|
||||||
|
|
||||||
const lowerPaneStyle = computed(() => ({
|
|
||||||
flex: `0 0 ${lowerPanePercent.value}%`,
|
|
||||||
minHeight: 0,
|
|
||||||
height: 'auto',
|
|
||||||
overflow: 'hidden' as const,
|
|
||||||
}))
|
|
||||||
|
|
||||||
const upperPaneStyle: ComputedRef<Record<string, string>> = computed(() => ({
|
|
||||||
flex: '1 1 auto',
|
|
||||||
minHeight: `${minUpperPx}px`,
|
|
||||||
minWidth: '0',
|
|
||||||
overflow: 'hidden',
|
|
||||||
}))
|
|
||||||
|
|
||||||
return {
|
|
||||||
splitStackRef,
|
|
||||||
lowerPanePercent,
|
|
||||||
beginSplitDrag,
|
|
||||||
lowerPaneStyle,
|
|
||||||
upperPaneStyle,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -17,8 +17,6 @@
|
|||||||
<div class="toolbar-left">
|
<div class="toolbar-left">
|
||||||
<el-button size="small" type="primary" @click="loadData">刷新</el-button>
|
<el-button size="small" type="primary" @click="loadData">刷新</el-button>
|
||||||
<el-button size="small" :loading="exportLoading" @click="handleExport">导出</el-button>
|
<el-button size="small" :loading="exportLoading" @click="handleExport">导出</el-button>
|
||||||
<el-button size="small" @click="openColumnConfigPanel">字段设置</el-button>
|
|
||||||
<el-button size="small" @click="toggleDetailVisible">{{ detailVisible ? '隐藏详情' : '显示详情' }}</el-button>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="toolbar-right">
|
<div class="toolbar-right">
|
||||||
@ -26,13 +24,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="split-stack" ref="splitStackRef">
|
<div class="upper-wrapper">
|
||||||
<div class="upper-wrapper" :style="detailVisible ? upperPaneStyle : upperPaneFullStyle">
|
|
||||||
<upper-table
|
<upper-table
|
||||||
ref="upperTable"
|
ref="upperTable"
|
||||||
title="归档订单列表"
|
title="归档订单列表"
|
||||||
:enable-column-config="true"
|
|
||||||
table-id="order-management-archive-order"
|
|
||||||
:data="list"
|
:data="list"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
:table-size="tableSize"
|
:table-size="tableSize"
|
||||||
@ -65,9 +60,8 @@
|
|||||||
</template>
|
</template>
|
||||||
</upper-table>
|
</upper-table>
|
||||||
</div>
|
</div>
|
||||||
<template v-if="detailVisible">
|
|
||||||
<div class="pane-resizer" title="拖动调整列表与详情区域高度" @mousedown="beginSplitDrag" />
|
<div class="lower-level" v-if="selectedOrderId" :class="tableSize">
|
||||||
<div class="lower-level" v-if="selectedOrderId" :class="tableSize" :style="lowerPaneStyle">
|
|
||||||
<div class="detail-header">
|
<div class="detail-header">
|
||||||
<el-tabs v-model="activeTab" class="detail-tab">
|
<el-tabs v-model="activeTab" class="detail-tab">
|
||||||
<el-tab-pane label="商品明细" name="items" />
|
<el-tab-pane label="商品明细" name="items" />
|
||||||
@ -91,13 +85,11 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="no-selection" v-else :style="lowerPaneStyle">
|
<div class="no-selection" v-else>
|
||||||
<div class="empty-tip">
|
<div class="empty-tip">
|
||||||
<p>请从上方列表中选择一项查看详情</p>
|
<p>请从上方列表中选择一项查看详情</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@ -119,7 +111,6 @@ import {
|
|||||||
import WorkbenchOrderDetail from './component/WorkbenchOrderDetail.vue'
|
import WorkbenchOrderDetail from './component/WorkbenchOrderDetail.vue'
|
||||||
import log from './component/log.vue'
|
import log from './component/log.vue'
|
||||||
import { exportUpperTableRows } from './utils/export'
|
import { exportUpperTableRows } from './utils/export'
|
||||||
import { useVerticalSplitPane } from '@/composables/useVerticalSplitPane'
|
|
||||||
|
|
||||||
const scanBox = ref<any>(null)
|
const scanBox = ref<any>(null)
|
||||||
const upperTable = ref<any>(null)
|
const upperTable = ref<any>(null)
|
||||||
@ -142,7 +133,6 @@ const columns = ref(archiveColumns)
|
|||||||
const selectionRows = ref<any[]>([])
|
const selectionRows = ref<any[]>([])
|
||||||
const hasSelection = ref(false)
|
const hasSelection = ref(false)
|
||||||
const selectedOrderId = ref<number | string | null>(null)
|
const selectedOrderId = ref<number | string | null>(null)
|
||||||
const detailVisible = ref(true)
|
|
||||||
|
|
||||||
const quickSearch = ref('')
|
const quickSearch = ref('')
|
||||||
|
|
||||||
@ -150,20 +140,6 @@ const selectedRow = computed(() => {
|
|||||||
return list.value.find((i: any) => i.id === selectedOrderId.value) || null
|
return list.value.find((i: any) => i.id === selectedOrderId.value) || null
|
||||||
})
|
})
|
||||||
|
|
||||||
const { splitStackRef, beginSplitDrag, lowerPaneStyle, upperPaneStyle } = useVerticalSplitPane({
|
|
||||||
defaultLowerPercent: 38
|
|
||||||
})
|
|
||||||
|
|
||||||
const upperPaneFullStyle = computed(() => ({
|
|
||||||
flex: '1 1 auto',
|
|
||||||
minHeight: '0',
|
|
||||||
overflow: 'hidden'
|
|
||||||
}))
|
|
||||||
|
|
||||||
function toggleDetailVisible() {
|
|
||||||
detailVisible.value = !detailVisible.value
|
|
||||||
}
|
|
||||||
|
|
||||||
function translateField(fieldValue: string, value: any) {
|
function translateField(fieldValue: string, value: any) {
|
||||||
const field = availableFieldsRef.find((f: any) => f.value === fieldValue)
|
const field = availableFieldsRef.find((f: any) => f.value === fieldValue)
|
||||||
if (field && field.options) {
|
if (field && field.options) {
|
||||||
@ -313,10 +289,6 @@ async function handleExport() {
|
|||||||
exportLoading.value = false
|
exportLoading.value = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function openColumnConfigPanel() {
|
|
||||||
upperTable.value?.openColumnConfig?.()
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
|||||||
@ -27,11 +27,6 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
|
||||||
<el-form-item label="店铺名称">
|
|
||||||
<el-input v-model.trim="createOrderForm.shop_name" placeholder="请输入店铺名称" maxlength="80" />
|
|
||||||
</el-form-item>
|
|
||||||
</el-col>
|
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="收件人" prop="name">
|
<el-form-item label="收件人" prop="name">
|
||||||
<el-input v-model.trim="createOrderForm.name" maxlength="60" placeholder="请输入收件人姓名" />
|
<el-input v-model.trim="createOrderForm.name" maxlength="60" placeholder="请输入收件人姓名" />
|
||||||
@ -191,6 +186,7 @@
|
|||||||
<span>订单明细</span>
|
<span>订单明细</span>
|
||||||
<div class="create-order-items-actions">
|
<div class="create-order-items-actions">
|
||||||
<el-button size="small" type="primary" link @click="openStockSelectorDialog('multi')">选择商品(多选)</el-button>
|
<el-button size="small" type="primary" link @click="openStockSelectorDialog('multi')">选择商品(多选)</el-button>
|
||||||
|
<el-button size="small" type="primary" link @click="addCreateOrderItem">新增空白明细</el-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<el-table :data="visibleCreateOrderItems" border size="small" max-height="216">
|
<el-table :data="visibleCreateOrderItems" border size="small" max-height="216">
|
||||||
@ -223,17 +219,9 @@
|
|||||||
<el-table-column label="实付单价" width="140">
|
<el-table-column label="实付单价" width="140">
|
||||||
<template #default="{ row }"><el-input-number v-model="row.actual_price" :min="0" :precision="2" :step="0.01" controls-position="right" style="width: 100%" /></template>
|
<template #default="{ row }"><el-input-number v-model="row.actual_price" :min="0" :precision="2" :step="0.01" controls-position="right" style="width: 100%" /></template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" width="130" fixed="right">
|
<el-table-column label="操作" width="90" fixed="right">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<el-button type="danger" link @click="removeCreateOrderItem(getVisibleItemSourceIndex(row))">删除</el-button>
|
<el-button type="danger" link @click="removeCreateOrderItem(getVisibleItemSourceIndex(row))">删除</el-button>
|
||||||
<el-button
|
|
||||||
v-if="getVisibleItemSourceIndex(row) === createOrderForm.items.length - 1"
|
|
||||||
type="primary"
|
|
||||||
link
|
|
||||||
@click="addCreateOrderItem"
|
|
||||||
>
|
|
||||||
添加
|
|
||||||
</el-button>
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@ -399,7 +387,6 @@ const createOrderItemsPagination = reactive({
|
|||||||
|
|
||||||
const createOrderForm = reactive({
|
const createOrderForm = reactive({
|
||||||
store_id: undefined as number | undefined,
|
store_id: undefined as number | undefined,
|
||||||
shop_name: '',
|
|
||||||
name: '',
|
name: '',
|
||||||
mobile: '',
|
mobile: '',
|
||||||
tel: '',
|
tel: '',
|
||||||
@ -655,7 +642,6 @@ function handleCreateOrderItemsPageSizeChange(size: number) {
|
|||||||
function resetCreateOrderDialog() {
|
function resetCreateOrderDialog() {
|
||||||
createOrderFormRef.value?.clearValidate?.()
|
createOrderFormRef.value?.clearValidate?.()
|
||||||
createOrderForm.store_id = undefined
|
createOrderForm.store_id = undefined
|
||||||
createOrderForm.shop_name = ''
|
|
||||||
createOrderForm.name = ''
|
createOrderForm.name = ''
|
||||||
createOrderForm.mobile = ''
|
createOrderForm.mobile = ''
|
||||||
createOrderForm.tel = ''
|
createOrderForm.tel = ''
|
||||||
@ -996,9 +982,8 @@ async function submitCreateOrder() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
const payload = {
|
const payload: PendingOrderCreateOrderParams = {
|
||||||
store_id: Number(createOrderForm.store_id),
|
store_id: Number(createOrderForm.store_id),
|
||||||
shop_name: String(createOrderForm.shop_name || '').trim() || undefined,
|
|
||||||
name: String(createOrderForm.name || '').trim(),
|
name: String(createOrderForm.name || '').trim(),
|
||||||
mobile: String(createOrderForm.mobile || '').trim() || undefined,
|
mobile: String(createOrderForm.mobile || '').trim() || undefined,
|
||||||
tel: String(createOrderForm.tel || '').trim() || undefined,
|
tel: String(createOrderForm.tel || '').trim() || undefined,
|
||||||
@ -1018,7 +1003,7 @@ async function submitCreateOrder() {
|
|||||||
order_type: String(createOrderForm.order_type || '').trim() || undefined,
|
order_type: String(createOrderForm.order_type || '').trim() || undefined,
|
||||||
is_urgency: createOrderForm.is_urgency || undefined,
|
is_urgency: createOrderForm.is_urgency || undefined,
|
||||||
invoice_flag: createOrderForm.invoice_flag || undefined
|
invoice_flag: createOrderForm.invoice_flag || undefined
|
||||||
} satisfies PendingOrderCreateOrderParams & { shop_name?: string }
|
}
|
||||||
|
|
||||||
createOrderLoading.value = true
|
createOrderLoading.value = true
|
||||||
try {
|
try {
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
title="刷新"
|
title="刷新"
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
class="toolbar-btn"
|
class="toolbar-btn"
|
||||||
:disabled="!orderId || !hasLogRequest"
|
:disabled="!orderId"
|
||||||
@click="fetchLogs"
|
@click="fetchLogs"
|
||||||
>
|
>
|
||||||
刷新
|
刷新
|
||||||
@ -74,16 +74,15 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { computed, reactive, ref, watch } from 'vue'
|
import { computed, onMounted, reactive, ref, watch } from 'vue'
|
||||||
import { ElMessage } from 'element-plus'
|
import { ElMessage } from 'element-plus'
|
||||||
import { Refresh } from '@element-plus/icons-vue'
|
import { Refresh } from '@element-plus/icons-vue'
|
||||||
|
import { orderQueryOrderLogs } from '@/api/order.index/orderindex'
|
||||||
import RequestData from '@/components/RequestData/index.vue'
|
import RequestData from '@/components/RequestData/index.vue'
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
/** 当前选中订单行(与其它订单页一致) */
|
/** 当前选中订单行(与其它订单页一致) */
|
||||||
data?: Record<string, any> | null
|
data?: Record<string, any> | null
|
||||||
/** 日志查询接口;未提供时视为当前页面暂无日志接口 */
|
|
||||||
request?: ((params: { id: string; page?: number; pageSize?: number }) => Promise<any>) | null
|
|
||||||
}>()
|
}>()
|
||||||
|
|
||||||
const loading = ref(false)
|
const loading = ref(false)
|
||||||
@ -104,22 +103,25 @@ const orderId = computed(() => {
|
|||||||
return String(id)
|
return String(id)
|
||||||
})
|
})
|
||||||
|
|
||||||
const hasLogRequest = computed(() => typeof props.request === 'function')
|
|
||||||
|
|
||||||
watch(
|
watch(
|
||||||
() => [orderId.value, hasLogRequest.value],
|
() => orderId.value,
|
||||||
([newOrderId, canQuery]) => {
|
(newVal) => {
|
||||||
if (newOrderId && canQuery) {
|
if (newVal) {
|
||||||
pagination.page = 1
|
pagination.page = 1
|
||||||
fetchLogs()
|
fetchLogs()
|
||||||
} else {
|
} else {
|
||||||
tableData.value = []
|
tableData.value = []
|
||||||
pagination.total = 0
|
pagination.total = 0
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
{ immediate: true }
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
onMounted(() => {
|
||||||
|
if (orderId.value) {
|
||||||
|
fetchLogs()
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
async function handlePageChange(page: number) {
|
async function handlePageChange(page: number) {
|
||||||
pagination.page = page
|
pagination.page = page
|
||||||
await fetchLogs()
|
await fetchLogs()
|
||||||
@ -132,11 +134,11 @@ async function handlePageSizeChange(pageSize: number) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function fetchLogs() {
|
async function fetchLogs() {
|
||||||
if (!orderId.value || !hasLogRequest.value || !props.request) return
|
if (!orderId.value) return
|
||||||
|
|
||||||
loading.value = true
|
loading.value = true
|
||||||
try {
|
try {
|
||||||
const response: any = await props.request({
|
const response: any = await orderQueryOrderLogs({
|
||||||
id: orderId.value,
|
id: orderId.value,
|
||||||
page: pagination.page,
|
page: pagination.page,
|
||||||
pageSize: pagination.pageSize
|
pageSize: pagination.pageSize
|
||||||
@ -148,7 +150,7 @@ async function fetchLogs() {
|
|||||||
tableData.value = d.list || []
|
tableData.value = d.list || []
|
||||||
pagination.total = d.pagination?.total ?? d.total ?? 0
|
pagination.total = d.pagination?.total ?? d.total ?? 0
|
||||||
} catch (error: any) {
|
} catch (error: any) {
|
||||||
console.error('order logs query failed:', error)
|
console.error('order.queryOrderLogs:', error)
|
||||||
ElMessage.error(error?.message || '获取订单操作日志失败')
|
ElMessage.error(error?.message || '获取订单操作日志失败')
|
||||||
} finally {
|
} finally {
|
||||||
loading.value = false
|
loading.value = false
|
||||||
|
|||||||
@ -262,7 +262,7 @@ export const ORDER_DETAIL_TIME_FIELDS = new Set([
|
|||||||
|
|
||||||
// deliveryOrder相关配置
|
// deliveryOrder相关配置
|
||||||
export const deliveryAvailableFields = [
|
export const deliveryAvailableFields = [
|
||||||
{ label: '货主', value: 'store_id', type: 'select', multiple: true, options: [] },
|
{ label: '货主', value: 'store_id', type: 'select', options: [] },
|
||||||
{ label: '订单号', value: 'delivery_order_code', type: 'text' },
|
{ label: '订单号', value: 'delivery_order_code', type: 'text' },
|
||||||
{ label: '店铺名称', value: 'shop_nick', type: 'text' },
|
{ label: '店铺名称', value: 'shop_nick', type: 'text' },
|
||||||
{ label: '来源平台', value: 'source_platform_name', type: 'text' },
|
{ label: '来源平台', value: 'source_platform_name', type: 'text' },
|
||||||
@ -451,7 +451,7 @@ export const reviewOrderbuttonList: any[] = [
|
|||||||
|
|
||||||
// pendingOrder相关配置
|
// pendingOrder相关配置
|
||||||
export const pendingAvailableFields = [
|
export const pendingAvailableFields = [
|
||||||
{ label: '货主', value: 'store_id', type: 'select', multiple: true, options: [] },
|
{ label: '货主', value: 'store_id', type: 'select', options: [] },
|
||||||
{ label: '订单号', value: 'order_code', type: 'text' },
|
{ label: '订单号', value: 'order_code', type: 'text' },
|
||||||
{ label: '店铺名称', value: 'shop_nick', type: 'text' },
|
{ label: '店铺名称', value: 'shop_nick', type: 'text' },
|
||||||
{ label: '来源平台', value: 'source_platform_name', type: 'text' },
|
{ label: '来源平台', value: 'source_platform_name', type: 'text' },
|
||||||
@ -469,18 +469,25 @@ export const pendingAvailableFields = [
|
|||||||
export const pendingCloums = [
|
export const pendingCloums = [
|
||||||
{ prop: 'delivery_order_code', label: '发货单号', width: '170' },
|
{ prop: 'delivery_order_code', label: '发货单号', width: '170' },
|
||||||
{ prop: 'shop_nick', label: '店铺名称', width: '140' },
|
{ prop: 'shop_nick', label: '店铺名称', width: '140' },
|
||||||
{ prop: 'name', label: '收件人', width: '110' },
|
{ prop: 'sys_platform_name', label: '平台来源', width: '120' },
|
||||||
{ prop: 'mobile', label: '电话', width: '120' },
|
{ prop: 'is_urgency', label: '紧急', width: '80' },
|
||||||
|
{ prop: 'name', label: '收货人', width: '100' },
|
||||||
|
{ prop: 'mobile', label: '手机号', width: '120' },
|
||||||
|
{ prop: 'status', label: '订单状态', width: '100' },
|
||||||
|
{ prop: 'sync_status', label: '同步状态', width: '100' },
|
||||||
|
{ prop: 'storage_status', label: '分配状态', width: '100' },
|
||||||
|
{ prop: 'post_status', label: '快递状态', width: '100' },
|
||||||
|
{ prop: 'pick_status', label: '拣货状态', width: '100' },
|
||||||
|
{ prop: 'pack_status', label: '打包状态', width: '100' },
|
||||||
|
{ prop: 'logistics_name', label: '物流公司', width: '120' },
|
||||||
|
{ prop: 'waybill_codes', label: '物流单号', width: '160', formatter: waybillCodesFormatter },
|
||||||
|
{ prop: 'total_amount', label: '订单金额', width: '110' },
|
||||||
{ prop: 'items_count', label: '商品种类', width: '100' },
|
{ prop: 'items_count', label: '商品种类', width: '100' },
|
||||||
{ prop: 'items_total', label: '商品总数', width: '100' },
|
{ prop: 'items_total', label: '商品总数', width: '100' },
|
||||||
{ prop: 'province', label: '省份', width: '100' },
|
{ prop: 'operator_name', label: '操作人', width: '100' },
|
||||||
{ prop: 'create_at', label: '创建时间', width: '165', formatter: orderTimeFormatter },
|
{ prop: 'operate_time', label: '操作时间', width: '165', formatter: orderTimeFormatter },
|
||||||
{ prop: 'pay_time', label: '支付时间', width: '160', formatter: orderTimeFormatter },
|
{ prop: 'pay_time', label: '支付时间', width: '160', formatter: orderTimeFormatter },
|
||||||
{ prop: 'place_order_time', label: '时效', width: '165', formatter: orderTimeFormatter },
|
{ prop: 'create_at', label: '创建时间', width: '165', formatter: orderTimeFormatter },
|
||||||
{ prop: 'source_platform_name', label: '来源', width: '120' },
|
|
||||||
{ prop: 'logistics_name', label: '快递', width: '120' },
|
|
||||||
{ prop: 'waybill_codes', label: '快递单号', width: '160', formatter: waybillCodesFormatter },
|
|
||||||
{ prop: 'remark', label: '留言', width: '160' },
|
|
||||||
]
|
]
|
||||||
|
|
||||||
export const pendingOrderDetail = [
|
export const pendingOrderDetail = [
|
||||||
@ -635,7 +642,7 @@ export const workbenchBadgeItems = [
|
|||||||
|
|
||||||
// expectionOrder相关配置
|
// expectionOrder相关配置
|
||||||
export const expectionOrderAvailableFields = [
|
export const expectionOrderAvailableFields = [
|
||||||
{ label: '货主', value: 'store_id', type: 'select', multiple: true, options: [] },
|
{ label: '货主', value: 'store_id', type: 'select', options: [] },
|
||||||
{ label: '订单号', value: 'order_code', type: 'input' },
|
{ label: '订单号', value: 'order_code', type: 'input' },
|
||||||
{ label: '发货单号', value: 'delivery_order_code', type: 'input' },
|
{ label: '发货单号', value: 'delivery_order_code', type: 'input' },
|
||||||
{ label: '物流公司', value: 'logistics_name', type: 'input' },
|
{ label: '物流公司', value: 'logistics_name', type: 'input' },
|
||||||
@ -720,7 +727,7 @@ export const expectionOrderbuttonList: any[] = [
|
|||||||
|
|
||||||
// archiveOrder相关配置
|
// archiveOrder相关配置
|
||||||
export const archiveAvailableFields = [
|
export const archiveAvailableFields = [
|
||||||
{ label: '货主', value: 'store_id', type: 'select', multiple: true, options: [] },
|
{ label: '货主', value: 'store_id', type: 'select', options: [] },
|
||||||
{ label: '订单号', value: 'order_code', type: 'input' },
|
{ label: '订单号', value: 'order_code', type: 'input' },
|
||||||
{ label: '发货单号', value: 'delivery_order_code', type: 'input' },
|
{ label: '发货单号', value: 'delivery_order_code', type: 'input' },
|
||||||
{ label: '店铺名称', value: 'shop_nick', type: 'input' },
|
{ label: '店铺名称', value: 'shop_nick', type: 'input' },
|
||||||
|
|||||||
@ -17,8 +17,6 @@
|
|||||||
<div class="toolbar-left">
|
<div class="toolbar-left">
|
||||||
<el-button size="small" type="primary" @click="loadData">刷新</el-button>
|
<el-button size="small" type="primary" @click="loadData">刷新</el-button>
|
||||||
<el-button size="small" :loading="exportLoading" @click="handleExport">导出</el-button>
|
<el-button size="small" :loading="exportLoading" @click="handleExport">导出</el-button>
|
||||||
<el-button size="small" @click="openColumnConfigPanel">字段设置</el-button>
|
|
||||||
<el-button size="small" @click="toggleDetailVisible">{{ detailVisible ? '隐藏详情' : '显示详情' }}</el-button>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="toolbar-right">
|
<div class="toolbar-right">
|
||||||
@ -26,13 +24,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="split-stack" ref="splitStackRef">
|
<div class="upper-wrapper">
|
||||||
<div class="upper-wrapper" :style="detailVisible ? upperPaneStyle : upperPaneFullStyle">
|
|
||||||
<upper-table
|
<upper-table
|
||||||
ref="upperTable"
|
ref="upperTable"
|
||||||
title="配送异常列表"
|
title="配送异常列表"
|
||||||
:enable-column-config="true"
|
|
||||||
table-id="order-management-delivery-exception"
|
|
||||||
:data="list"
|
:data="list"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
:table-size="tableSize"
|
:table-size="tableSize"
|
||||||
@ -65,9 +60,8 @@
|
|||||||
</template>
|
</template>
|
||||||
</upper-table>
|
</upper-table>
|
||||||
</div>
|
</div>
|
||||||
<template v-if="detailVisible">
|
|
||||||
<div class="pane-resizer" title="拖动调整列表与详情区域高度" @mousedown="beginSplitDrag" />
|
<div class="lower-level" v-if="selectedOrderId" :class="tableSize">
|
||||||
<div class="lower-level" v-if="selectedOrderId" :class="tableSize" :style="lowerPaneStyle">
|
|
||||||
<div class="detail-header">
|
<div class="detail-header">
|
||||||
<el-tabs v-model="activeTab" class="detail-tab">
|
<el-tabs v-model="activeTab" class="detail-tab">
|
||||||
<el-tab-pane label="商品明细" name="items" />
|
<el-tab-pane label="商品明细" name="items" />
|
||||||
@ -91,13 +85,11 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="no-selection" v-else :style="lowerPaneStyle">
|
<div class="no-selection" v-else>
|
||||||
<div class="empty-tip">
|
<div class="empty-tip">
|
||||||
<p>请从上方列表中选择一项查看详情</p>
|
<p>请从上方列表中选择一项查看详情</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@ -119,7 +111,6 @@ import {
|
|||||||
import WorkbenchOrderDetail from './component/WorkbenchOrderDetail.vue'
|
import WorkbenchOrderDetail from './component/WorkbenchOrderDetail.vue'
|
||||||
import log from './component/log.vue'
|
import log from './component/log.vue'
|
||||||
import { exportUpperTableRows } from './utils/export'
|
import { exportUpperTableRows } from './utils/export'
|
||||||
import { useVerticalSplitPane } from '@/composables/useVerticalSplitPane'
|
|
||||||
|
|
||||||
const scanBox = ref<any>(null)
|
const scanBox = ref<any>(null)
|
||||||
const upperTable = ref<any>(null)
|
const upperTable = ref<any>(null)
|
||||||
@ -142,7 +133,6 @@ const columns = ref(archiveColumns)
|
|||||||
const selectionRows = ref<any[]>([])
|
const selectionRows = ref<any[]>([])
|
||||||
const hasSelection = ref(false)
|
const hasSelection = ref(false)
|
||||||
const selectedOrderId = ref<number | string | null>(null)
|
const selectedOrderId = ref<number | string | null>(null)
|
||||||
const detailVisible = ref(true)
|
|
||||||
|
|
||||||
const quickSearch = ref('')
|
const quickSearch = ref('')
|
||||||
|
|
||||||
@ -150,20 +140,6 @@ const selectedRow = computed(() => {
|
|||||||
return list.value.find((i: any) => i.id === selectedOrderId.value) || null
|
return list.value.find((i: any) => i.id === selectedOrderId.value) || null
|
||||||
})
|
})
|
||||||
|
|
||||||
const { splitStackRef, beginSplitDrag, lowerPaneStyle, upperPaneStyle } = useVerticalSplitPane({
|
|
||||||
defaultLowerPercent: 38
|
|
||||||
})
|
|
||||||
|
|
||||||
const upperPaneFullStyle = computed(() => ({
|
|
||||||
flex: '1 1 auto',
|
|
||||||
minHeight: '0',
|
|
||||||
overflow: 'hidden'
|
|
||||||
}))
|
|
||||||
|
|
||||||
function toggleDetailVisible() {
|
|
||||||
detailVisible.value = !detailVisible.value
|
|
||||||
}
|
|
||||||
|
|
||||||
function translateField(fieldValue: string, value: any) {
|
function translateField(fieldValue: string, value: any) {
|
||||||
const field = availableFieldsRef.find((f: any) => f.value === fieldValue)
|
const field = availableFieldsRef.find((f: any) => f.value === fieldValue)
|
||||||
if (field && field.options) {
|
if (field && field.options) {
|
||||||
@ -313,10 +289,6 @@ async function handleExport() {
|
|||||||
exportLoading.value = false
|
exportLoading.value = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function openColumnConfigPanel() {
|
|
||||||
upperTable.value?.openColumnConfig?.()
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
|||||||
@ -17,8 +17,6 @@
|
|||||||
<div class="toolbar-left">
|
<div class="toolbar-left">
|
||||||
<el-button size="small" type="primary" @click="loadData">刷新</el-button>
|
<el-button size="small" type="primary" @click="loadData">刷新</el-button>
|
||||||
<el-button size="small" :loading="exportLoading" @click="handleExport">导出</el-button>
|
<el-button size="small" :loading="exportLoading" @click="handleExport">导出</el-button>
|
||||||
<el-button size="small" @click="openColumnConfigPanel">字段设置</el-button>
|
|
||||||
<el-button size="small" @click="toggleDetailVisible">{{ detailVisible ? '隐藏详情' : '显示详情' }}</el-button>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="toolbar-right">
|
<div class="toolbar-right">
|
||||||
@ -32,13 +30,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="split-stack" ref="splitStackRef">
|
<div class="upper-wrapper">
|
||||||
<div class="upper-wrapper" :style="detailVisible ? upperPaneStyle : upperPaneFullStyle">
|
|
||||||
<upper-table
|
<upper-table
|
||||||
ref="upperTable"
|
ref="upperTable"
|
||||||
title="配送订单列表"
|
title="配送订单列表"
|
||||||
:enable-column-config="true"
|
|
||||||
table-id="order-management-delivery-order"
|
|
||||||
:data="list"
|
:data="list"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
:table-size="tableSize"
|
:table-size="tableSize"
|
||||||
@ -117,9 +112,8 @@
|
|||||||
</template>
|
</template>
|
||||||
</upper-table>
|
</upper-table>
|
||||||
</div>
|
</div>
|
||||||
<template v-if="detailVisible">
|
|
||||||
<div class="pane-resizer" title="拖动调整列表与详情区域高度" @mousedown="beginSplitDrag" />
|
<div class="lower-level" v-if="selectedOrderId" :class="tableSize">
|
||||||
<div class="lower-level" v-if="selectedOrderId" :class="tableSize" :style="lowerPaneStyle">
|
|
||||||
<div class="detail-header">
|
<div class="detail-header">
|
||||||
<el-tabs v-model="activeTab" class="detail-tab">
|
<el-tabs v-model="activeTab" class="detail-tab">
|
||||||
<el-tab-pane label="商品明细" name="items" />
|
<el-tab-pane label="商品明细" name="items" />
|
||||||
@ -141,13 +135,11 @@
|
|||||||
</KeepAlive>
|
</KeepAlive>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="no-selection" v-else :style="lowerPaneStyle">
|
<div class="no-selection" v-else>
|
||||||
<div class="empty-tip">
|
<div class="empty-tip">
|
||||||
<p>请从上方列表中选择一项查看详情</p>
|
<p>请从上方列表中选择一项查看详情</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@ -168,7 +160,6 @@ import {
|
|||||||
import WorkbenchOrderDetail from './component/WorkbenchOrderDetail.vue'
|
import WorkbenchOrderDetail from './component/WorkbenchOrderDetail.vue'
|
||||||
import log from './component/log.vue'
|
import log from './component/log.vue'
|
||||||
import { exportUpperTableRows } from './utils/export'
|
import { exportUpperTableRows } from './utils/export'
|
||||||
import { useVerticalSplitPane } from '@/composables/useVerticalSplitPane'
|
|
||||||
|
|
||||||
const scanBox = ref<any>(null)
|
const scanBox = ref<any>(null)
|
||||||
const upperTable = ref<any>(null)
|
const upperTable = ref<any>(null)
|
||||||
@ -185,27 +176,12 @@ const tableSize = ref('small')
|
|||||||
const columns = ref(deliveryColumns)
|
const columns = ref(deliveryColumns)
|
||||||
const selectionRows = ref<any[]>([])
|
const selectionRows = ref<any[]>([])
|
||||||
const selectedOrderId = ref<number | string | null>(null)
|
const selectedOrderId = ref<number | string | null>(null)
|
||||||
const detailVisible = ref(true)
|
|
||||||
const quickSearch = ref('')
|
const quickSearch = ref('')
|
||||||
|
|
||||||
const selectedRow = computed(() => {
|
const selectedRow = computed(() => {
|
||||||
return list.value.find((i: any) => i.id === selectedOrderId.value) || null
|
return list.value.find((i: any) => i.id === selectedOrderId.value) || null
|
||||||
})
|
})
|
||||||
|
|
||||||
const { splitStackRef, beginSplitDrag, lowerPaneStyle, upperPaneStyle } = useVerticalSplitPane({
|
|
||||||
defaultLowerPercent: 38
|
|
||||||
})
|
|
||||||
|
|
||||||
const upperPaneFullStyle = computed(() => ({
|
|
||||||
flex: '1 1 auto',
|
|
||||||
minHeight: '0',
|
|
||||||
overflow: 'hidden'
|
|
||||||
}))
|
|
||||||
|
|
||||||
function toggleDetailVisible() {
|
|
||||||
detailVisible.value = !detailVisible.value
|
|
||||||
}
|
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
loadData()
|
loadData()
|
||||||
})
|
})
|
||||||
@ -332,10 +308,6 @@ async function handleExport() {
|
|||||||
exportLoading.value = false
|
exportLoading.value = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function openColumnConfigPanel() {
|
|
||||||
upperTable.value?.openColumnConfig?.()
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
|||||||
@ -17,8 +17,6 @@
|
|||||||
<div class="toolbar-left">
|
<div class="toolbar-left">
|
||||||
<el-button size="small" type="primary" @click="loadData">刷新</el-button>
|
<el-button size="small" type="primary" @click="loadData">刷新</el-button>
|
||||||
<el-button size="small" :loading="exportLoading" @click="handleExport">导出</el-button>
|
<el-button size="small" :loading="exportLoading" @click="handleExport">导出</el-button>
|
||||||
<el-button size="small" @click="openColumnConfigPanel">字段设置</el-button>
|
|
||||||
<el-button size="small" @click="toggleDetailVisible">{{ detailVisible ? '隐藏详情' : '显示详情' }}</el-button>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="toolbar-right">
|
<div class="toolbar-right">
|
||||||
@ -26,13 +24,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="split-stack" ref="splitStackRef">
|
<div class="upper-wrapper">
|
||||||
<div class="upper-wrapper" :style="detailVisible ? upperPaneStyle : upperPaneFullStyle">
|
|
||||||
<upper-table
|
<upper-table
|
||||||
ref="upperTable"
|
ref="upperTable"
|
||||||
title="委托外仓列表"
|
title="委托外仓列表"
|
||||||
:enable-column-config="true"
|
|
||||||
table-id="order-management-entrust-warehouse"
|
|
||||||
:data="list"
|
:data="list"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
:table-size="tableSize"
|
:table-size="tableSize"
|
||||||
@ -65,9 +60,8 @@
|
|||||||
</template>
|
</template>
|
||||||
</upper-table>
|
</upper-table>
|
||||||
</div>
|
</div>
|
||||||
<template v-if="detailVisible">
|
|
||||||
<div class="pane-resizer" title="拖动调整列表与详情区域高度" @mousedown="beginSplitDrag" />
|
<div class="lower-level" v-if="selectedOrderId" :class="tableSize">
|
||||||
<div class="lower-level" v-if="selectedOrderId" :class="tableSize" :style="lowerPaneStyle">
|
|
||||||
<div class="detail-header">
|
<div class="detail-header">
|
||||||
<el-tabs v-model="activeTab" class="detail-tab">
|
<el-tabs v-model="activeTab" class="detail-tab">
|
||||||
<el-tab-pane label="商品明细" name="items" />
|
<el-tab-pane label="商品明细" name="items" />
|
||||||
@ -91,13 +85,11 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="no-selection" v-else :style="lowerPaneStyle">
|
<div class="no-selection" v-else>
|
||||||
<div class="empty-tip">
|
<div class="empty-tip">
|
||||||
<p>请从上方列表中选择一项查看详情</p>
|
<p>请从上方列表中选择一项查看详情</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@ -119,7 +111,6 @@ import {
|
|||||||
import WorkbenchOrderDetail from './component/WorkbenchOrderDetail.vue'
|
import WorkbenchOrderDetail from './component/WorkbenchOrderDetail.vue'
|
||||||
import log from './component/log.vue'
|
import log from './component/log.vue'
|
||||||
import { exportUpperTableRows } from './utils/export'
|
import { exportUpperTableRows } from './utils/export'
|
||||||
import { useVerticalSplitPane } from '@/composables/useVerticalSplitPane'
|
|
||||||
|
|
||||||
const scanBox = ref<any>(null)
|
const scanBox = ref<any>(null)
|
||||||
const upperTable = ref<any>(null)
|
const upperTable = ref<any>(null)
|
||||||
@ -142,7 +133,6 @@ const columns = ref(archiveColumns)
|
|||||||
const selectionRows = ref<any[]>([])
|
const selectionRows = ref<any[]>([])
|
||||||
const hasSelection = ref(false)
|
const hasSelection = ref(false)
|
||||||
const selectedOrderId = ref<number | string | null>(null)
|
const selectedOrderId = ref<number | string | null>(null)
|
||||||
const detailVisible = ref(true)
|
|
||||||
|
|
||||||
const quickSearch = ref('')
|
const quickSearch = ref('')
|
||||||
|
|
||||||
@ -150,20 +140,6 @@ const selectedRow = computed(() => {
|
|||||||
return list.value.find((i: any) => i.id === selectedOrderId.value) || null
|
return list.value.find((i: any) => i.id === selectedOrderId.value) || null
|
||||||
})
|
})
|
||||||
|
|
||||||
const { splitStackRef, beginSplitDrag, lowerPaneStyle, upperPaneStyle } = useVerticalSplitPane({
|
|
||||||
defaultLowerPercent: 38
|
|
||||||
})
|
|
||||||
|
|
||||||
const upperPaneFullStyle = computed(() => ({
|
|
||||||
flex: '1 1 auto',
|
|
||||||
minHeight: '0',
|
|
||||||
overflow: 'hidden'
|
|
||||||
}))
|
|
||||||
|
|
||||||
function toggleDetailVisible() {
|
|
||||||
detailVisible.value = !detailVisible.value
|
|
||||||
}
|
|
||||||
|
|
||||||
function translateField(fieldValue: string, value: any) {
|
function translateField(fieldValue: string, value: any) {
|
||||||
const field = availableFieldsRef.find((f: any) => f.value === fieldValue)
|
const field = availableFieldsRef.find((f: any) => f.value === fieldValue)
|
||||||
if (field && field.options) {
|
if (field && field.options) {
|
||||||
@ -313,10 +289,6 @@ async function handleExport() {
|
|||||||
exportLoading.value = false
|
exportLoading.value = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function openColumnConfigPanel() {
|
|
||||||
upperTable.value?.openColumnConfig?.()
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
|||||||
@ -25,8 +25,6 @@
|
|||||||
>
|
>
|
||||||
<el-button size="small" type="primary" @click="loadData">刷新</el-button>
|
<el-button size="small" type="primary" @click="loadData">刷新</el-button>
|
||||||
<el-button size="small" :loading="exportLoading" @click="handleExport">导出</el-button>
|
<el-button size="small" :loading="exportLoading" @click="handleExport">导出</el-button>
|
||||||
<el-button size="small" @click="openColumnConfigPanel">字段设置</el-button>
|
|
||||||
<el-button size="small" @click="toggleDetailVisible">{{ detailVisible ? '隐藏详情' : '显示详情' }}</el-button>
|
|
||||||
<el-button size="small" :disabled="!hasSelection" :loading="actionLoading" @click="handleReverseReview">
|
<el-button size="small" :disabled="!hasSelection" :loading="actionLoading" @click="handleReverseReview">
|
||||||
反审回待审核
|
反审回待审核
|
||||||
</el-button>
|
</el-button>
|
||||||
@ -149,13 +147,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="split-stack" ref="splitStackRef">
|
<div class="upper-wrapper">
|
||||||
<div class="upper-wrapper" :style="detailVisible ? upperPaneStyle : upperPaneFullStyle">
|
|
||||||
<upper-table
|
<upper-table
|
||||||
ref="upperTable"
|
ref="upperTable"
|
||||||
title="待处理异常订单列表"
|
title="待处理异常订单列表"
|
||||||
:enable-column-config="true"
|
|
||||||
table-id="order-management-exception-order"
|
|
||||||
:data="list"
|
:data="list"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
:table-size="tableSize"
|
:table-size="tableSize"
|
||||||
@ -207,13 +202,8 @@
|
|||||||
</template>
|
</template>
|
||||||
</upper-table>
|
</upper-table>
|
||||||
</div>
|
</div>
|
||||||
<template v-if="detailVisible">
|
|
||||||
<div
|
<div class="lower-level" v-if="selectedOrderId" :class="tableSize">
|
||||||
class="pane-resizer"
|
|
||||||
title="拖动调整列表与详情区域高度"
|
|
||||||
@mousedown="beginSplitDrag"
|
|
||||||
/>
|
|
||||||
<div class="lower-level" v-if="selectedOrderId" :class="tableSize" :style="lowerPaneStyle">
|
|
||||||
<div class="detail-header">
|
<div class="detail-header">
|
||||||
<el-tabs v-model="activeTab" class="detail-tab">
|
<el-tabs v-model="activeTab" class="detail-tab">
|
||||||
<el-tab-pane label="商品明细" name="items" />
|
<el-tab-pane label="商品明细" name="items" />
|
||||||
@ -242,19 +232,17 @@
|
|||||||
<el-alert title="系统异常" type="error" :closable="false" description="库存不足或物流接口调用失败。" />
|
<el-alert title="系统异常" type="error" :closable="false" description="库存不足或物流接口调用失败。" />
|
||||||
</div>
|
</div>
|
||||||
<div v-else class="detail-page order-log-wrapper">
|
<div v-else class="detail-page order-log-wrapper">
|
||||||
<log :data="selectedRow" :request="orderQueryOrderLogs" />
|
<log :data="selectedRow" />
|
||||||
</div>
|
</div>
|
||||||
</KeepAlive>
|
</KeepAlive>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="no-selection" v-else :style="lowerPaneStyle">
|
<div class="no-selection" v-else>
|
||||||
<div class="empty-tip">
|
<div class="empty-tip">
|
||||||
<p>请从上方列表中选择一项查看详情</p>
|
<p>请从上方列表中选择一项查看详情</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<el-dialog
|
<el-dialog
|
||||||
v-model="allocateDialogVisible"
|
v-model="allocateDialogVisible"
|
||||||
@ -399,7 +387,6 @@ import { ArrowDown } from '@element-plus/icons-vue'
|
|||||||
import ScanBox from '@/components/ScanBox/index.vue'
|
import ScanBox from '@/components/ScanBox/index.vue'
|
||||||
import UpperTable from '@/components/UpperTable/index.vue'
|
import UpperTable from '@/components/UpperTable/index.vue'
|
||||||
import * as indexApi from '@/api/index/index'
|
import * as indexApi from '@/api/index/index'
|
||||||
import { orderQueryOrderLogs } from '@/api/order.index/orderindex'
|
|
||||||
import { orderExpectionOrder } from '@/api/order.expectionorder/orderexpectionorder'
|
import { orderExpectionOrder } from '@/api/order.expectionorder/orderexpectionorder'
|
||||||
import { orderPendingOrder } from '@/api/order.pendingorder/orderpendingOrder'
|
import { orderPendingOrder } from '@/api/order.pendingorder/orderpendingOrder'
|
||||||
|
|
||||||
@ -426,7 +413,6 @@ import log from './component/log.vue'
|
|||||||
import ManualCreatePendingOrderDialog from './component/ManualCreatePendingOrderDialog.vue'
|
import ManualCreatePendingOrderDialog from './component/ManualCreatePendingOrderDialog.vue'
|
||||||
import ExcelImportPendingOrderDialog from './component/ExcelImportPendingOrderDialog.vue'
|
import ExcelImportPendingOrderDialog from './component/ExcelImportPendingOrderDialog.vue'
|
||||||
import { exportUpperTableRows } from './utils/export'
|
import { exportUpperTableRows } from './utils/export'
|
||||||
import { useVerticalSplitPane } from '@/composables/useVerticalSplitPane'
|
|
||||||
|
|
||||||
const scanBox = ref<any>(null)
|
const scanBox = ref<any>(null)
|
||||||
const upperTable = ref<any>(null)
|
const upperTable = ref<any>(null)
|
||||||
@ -480,7 +466,6 @@ const columns = ref(expectionColumns)
|
|||||||
const selectionRows = ref<any[]>([])
|
const selectionRows = ref<any[]>([])
|
||||||
const hasSelection = ref(false)
|
const hasSelection = ref(false)
|
||||||
const selectedOrderId = ref<number | string | null>(null)
|
const selectedOrderId = ref<number | string | null>(null)
|
||||||
const detailVisible = ref(true)
|
|
||||||
|
|
||||||
const quickSearch = ref('')
|
const quickSearch = ref('')
|
||||||
|
|
||||||
@ -519,20 +504,6 @@ const selectedRow = computed(() => {
|
|||||||
return list.value.find((i: any) => i.id === selectedOrderId.value) || null
|
return list.value.find((i: any) => i.id === selectedOrderId.value) || null
|
||||||
})
|
})
|
||||||
|
|
||||||
const { splitStackRef, beginSplitDrag, lowerPaneStyle, upperPaneStyle } = useVerticalSplitPane({
|
|
||||||
defaultLowerPercent: 38
|
|
||||||
})
|
|
||||||
|
|
||||||
const upperPaneFullStyle = computed(() => ({
|
|
||||||
flex: '1 1 auto',
|
|
||||||
minHeight: '0',
|
|
||||||
overflow: 'hidden',
|
|
||||||
}))
|
|
||||||
|
|
||||||
function toggleDetailVisible() {
|
|
||||||
detailVisible.value = !detailVisible.value
|
|
||||||
}
|
|
||||||
|
|
||||||
const updateOrderMetaOptions = computed(() => {
|
const updateOrderMetaOptions = computed(() => {
|
||||||
return updateOrderMetaDialogMode.value === 'express'
|
return updateOrderMetaDialogMode.value === 'express'
|
||||||
? expressCodeOptions.value
|
? expressCodeOptions.value
|
||||||
@ -1205,10 +1176,6 @@ async function handleExport() {
|
|||||||
exportLoading.value = false
|
exportLoading.value = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function openColumnConfigPanel() {
|
|
||||||
upperTable.value?.openColumnConfig?.()
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
|||||||
@ -20,8 +20,6 @@
|
|||||||
<el-button size="small" type="warning" :loading="manualLoading" @click="handleToolbarManualOutbound">
|
<el-button size="small" type="warning" :loading="manualLoading" @click="handleToolbarManualOutbound">
|
||||||
手动出库迁移
|
手动出库迁移
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button size="small" @click="openColumnConfigPanel">字段设置</el-button>
|
|
||||||
<el-button size="small" @click="toggleDetailVisible">{{ detailVisible ? '隐藏详情' : '显示详情' }}</el-button>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="toolbar-right">
|
<div class="toolbar-right">
|
||||||
<el-input
|
<el-input
|
||||||
@ -34,13 +32,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="split-stack" ref="splitStackRef">
|
<div class="upper-wrapper">
|
||||||
<div class="upper-wrapper" :style="detailVisible ? upperPaneStyle : upperPaneFullStyle">
|
|
||||||
<upper-table
|
<upper-table
|
||||||
ref="upperTable"
|
ref="upperTable"
|
||||||
title="待出库订单列表"
|
title="待出库订单列表"
|
||||||
:enable-column-config="true"
|
|
||||||
table-id="order-management-outbound-order"
|
|
||||||
:data="list"
|
:data="list"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
:table-size="tableSize"
|
:table-size="tableSize"
|
||||||
@ -115,9 +110,8 @@
|
|||||||
</template>
|
</template>
|
||||||
</upper-table>
|
</upper-table>
|
||||||
</div>
|
</div>
|
||||||
<template v-if="detailVisible">
|
|
||||||
<div class="pane-resizer" title="拖动调整列表与详情区域高度" @mousedown="beginSplitDrag" />
|
<div class="lower-level" v-if="selectedOrderId" :class="tableSize">
|
||||||
<div class="lower-level" v-if="selectedOrderId" :class="tableSize" :style="lowerPaneStyle">
|
|
||||||
<div class="detail-header">
|
<div class="detail-header">
|
||||||
<el-tabs v-model="activeTab" class="detail-tab">
|
<el-tabs v-model="activeTab" class="detail-tab">
|
||||||
<el-tab-pane label="商品明细" name="items" />
|
<el-tab-pane label="商品明细" name="items" />
|
||||||
@ -153,13 +147,11 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="no-selection" v-else :style="lowerPaneStyle">
|
<div class="no-selection" v-else>
|
||||||
<div class="empty-tip">
|
<div class="empty-tip">
|
||||||
<p>请从上方列表中选择一项查看详情</p>
|
<p>请从上方列表中选择一项查看详情</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@ -180,7 +172,6 @@ import log from './component/log.vue'
|
|||||||
import WorkbenchOrderDetail from './component/WorkbenchOrderDetail.vue'
|
import WorkbenchOrderDetail from './component/WorkbenchOrderDetail.vue'
|
||||||
import OutboundManualOutboundForm from './component/OutboundManualOutboundForm.vue'
|
import OutboundManualOutboundForm from './component/OutboundManualOutboundForm.vue'
|
||||||
import { exportUpperTableRows } from './utils/export'
|
import { exportUpperTableRows } from './utils/export'
|
||||||
import { useVerticalSplitPane } from '@/composables/useVerticalSplitPane'
|
|
||||||
|
|
||||||
const scanBox = ref<any>(null)
|
const scanBox = ref<any>(null)
|
||||||
const upperTable = ref<any>(null)
|
const upperTable = ref<any>(null)
|
||||||
@ -199,7 +190,6 @@ const tableSize = ref('small')
|
|||||||
const columns = ref(outboundColumns)
|
const columns = ref(outboundColumns)
|
||||||
const selectionRows = ref<any[]>([])
|
const selectionRows = ref<any[]>([])
|
||||||
const selectedOrderId = ref<number | string | null>(null)
|
const selectedOrderId = ref<number | string | null>(null)
|
||||||
const detailVisible = ref(true)
|
|
||||||
const quickSearch = ref('')
|
const quickSearch = ref('')
|
||||||
|
|
||||||
const manualResult = ref<any>(null)
|
const manualResult = ref<any>(null)
|
||||||
@ -208,20 +198,6 @@ const selectedRow = computed(() => {
|
|||||||
return list.value.find((item: any) => item.id === selectedOrderId.value) || null
|
return list.value.find((item: any) => item.id === selectedOrderId.value) || null
|
||||||
})
|
})
|
||||||
|
|
||||||
const { splitStackRef, beginSplitDrag, lowerPaneStyle, upperPaneStyle } = useVerticalSplitPane({
|
|
||||||
defaultLowerPercent: 38
|
|
||||||
})
|
|
||||||
|
|
||||||
const upperPaneFullStyle = computed(() => ({
|
|
||||||
flex: '1 1 auto',
|
|
||||||
minHeight: '0',
|
|
||||||
overflow: 'hidden'
|
|
||||||
}))
|
|
||||||
|
|
||||||
function toggleDetailVisible() {
|
|
||||||
detailVisible.value = !detailVisible.value
|
|
||||||
}
|
|
||||||
|
|
||||||
/** order.outboundOrder.list:where 禁止传入 warehouse_id / warehouseId */
|
/** order.outboundOrder.list:where 禁止传入 warehouse_id / warehouseId */
|
||||||
function sanitizeOutboundListWhere(where: Record<string, any>) {
|
function sanitizeOutboundListWhere(where: Record<string, any>) {
|
||||||
const w = { ...where }
|
const w = { ...where }
|
||||||
@ -376,10 +352,6 @@ async function handleExport() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function openColumnConfigPanel() {
|
|
||||||
upperTable.value?.openColumnConfig?.()
|
|
||||||
}
|
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
loadData()
|
loadData()
|
||||||
})
|
})
|
||||||
|
|||||||
@ -26,7 +26,6 @@
|
|||||||
<el-button size="small" type="primary" @click="loadData">刷新</el-button>
|
<el-button size="small" type="primary" @click="loadData">刷新</el-button>
|
||||||
<el-button size="small" :loading="exportLoading" @click="handleExport">导出</el-button>
|
<el-button size="small" :loading="exportLoading" @click="handleExport">导出</el-button>
|
||||||
<el-button size="small" @click="openColumnConfigPanel">字段设置</el-button>
|
<el-button size="small" @click="openColumnConfigPanel">字段设置</el-button>
|
||||||
<el-button size="small" @click="toggleDetailVisible">{{ detailVisible ? '隐藏详情' : '显示详情' }}</el-button>
|
|
||||||
<el-button size="small" :disabled="!hasSelection" :loading="actionLoading" @click="handleReverseReview">反审回待审核</el-button>
|
<el-button size="small" :disabled="!hasSelection" :loading="actionLoading" @click="handleReverseReview">反审回待审核</el-button>
|
||||||
<el-button size="small" type="warning" :disabled="!hasSelection" :loading="actionLoading" @click="handleMarkPendingOutbound">标记待出库</el-button>
|
<el-button size="small" type="warning" :disabled="!hasSelection" :loading="actionLoading" @click="handleMarkPendingOutbound">标记待出库</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
@ -92,15 +91,6 @@
|
|||||||
>
|
>
|
||||||
克隆订单
|
克隆订单
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button
|
|
||||||
size="small"
|
|
||||||
type="primary"
|
|
||||||
plain
|
|
||||||
:loading="syncOrderIdsLoading"
|
|
||||||
@click="openSyncOrderIdsDialog"
|
|
||||||
>
|
|
||||||
同步订单ID
|
|
||||||
</el-button>
|
|
||||||
<el-button size="small" type="danger" :disabled="!hasSelection" :loading="actionLoading" @click="handleCancelOrder">取消订单</el-button>
|
<el-button size="small" type="danger" :disabled="!hasSelection" :loading="actionLoading" @click="handleCancelOrder">取消订单</el-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -110,8 +100,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="split-stack" ref="splitStackRef">
|
<div class="upper-wrapper">
|
||||||
<div class="upper-wrapper" :style="detailVisible ? upperPaneStyle : upperPaneFullStyle">
|
|
||||||
<upper-table
|
<upper-table
|
||||||
ref="upperTable"
|
ref="upperTable"
|
||||||
title="待处理订单列表"
|
title="待处理订单列表"
|
||||||
@ -196,13 +185,7 @@
|
|||||||
</upper-table>
|
</upper-table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<template v-if="detailVisible">
|
<div class="lower-level" v-if="selectedOrderId" :class="tableSize">
|
||||||
<div
|
|
||||||
class="pane-resizer"
|
|
||||||
title="拖动调整列表与详情区域高度"
|
|
||||||
@mousedown="beginSplitDrag"
|
|
||||||
/>
|
|
||||||
<div class="lower-level" v-if="selectedOrderId" :class="tableSize" :style="lowerPaneStyle">
|
|
||||||
<div class="detail-header">
|
<div class="detail-header">
|
||||||
<el-tabs v-model="activeTab" class="detail-tab">
|
<el-tabs v-model="activeTab" class="detail-tab">
|
||||||
<el-tab-pane label="商品明细" name="items" />
|
<el-tab-pane label="商品明细" name="items" />
|
||||||
@ -227,19 +210,17 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div v-else class="detail-page order-log-wrapper">
|
<div v-else class="detail-page order-log-wrapper">
|
||||||
<log :data="selectedRow" />
|
<p>操作日志暂无</p>
|
||||||
</div>
|
</div>
|
||||||
</KeepAlive>
|
</KeepAlive>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="no-selection" v-else :style="lowerPaneStyle">
|
<div class="no-selection" v-else>
|
||||||
<div class="empty-tip">
|
<div class="empty-tip">
|
||||||
<p>请从上方列表中选择一项查看详情</p>
|
<p>请从上方列表中选择一项查看详情</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<el-dialog
|
<el-dialog
|
||||||
v-model="allocateDialogVisible"
|
v-model="allocateDialogVisible"
|
||||||
@ -354,44 +335,6 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
<el-dialog
|
|
||||||
v-model="syncOrderIdsDialogVisible"
|
|
||||||
title="同步订单ID"
|
|
||||||
width="560px"
|
|
||||||
align-center
|
|
||||||
destroy-on-close
|
|
||||||
@closed="resetSyncOrderIdsDialog"
|
|
||||||
>
|
|
||||||
<el-form label-width="120px" class="storage-allocate-form">
|
|
||||||
<el-form-item label="同步方式">
|
|
||||||
<el-radio-group v-model="syncOrderIdsForm.mode">
|
|
||||||
<el-radio label="selection">按当前勾选</el-radio>
|
|
||||||
<el-radio label="manual">手工输入ID</el-radio>
|
|
||||||
</el-radio-group>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="当前勾选订单">
|
|
||||||
<span>{{ selectionRows.length }} 条</span>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="订单ID列表" required>
|
|
||||||
<el-input
|
|
||||||
v-model="syncOrderIdsForm.orderIdsText"
|
|
||||||
type="textarea"
|
|
||||||
:rows="6"
|
|
||||||
placeholder="请输入订单ID,支持逗号、换行、空格分隔,例如:1001,1002"
|
|
||||||
/>
|
|
||||||
<div class="sync-order-hint">
|
|
||||||
提交时将按接口要求统一转换为 `order_ids: number[]`
|
|
||||||
</div>
|
|
||||||
</el-form-item>
|
|
||||||
</el-form>
|
|
||||||
<template #footer>
|
|
||||||
<el-button @click="syncOrderIdsDialogVisible = false">取消</el-button>
|
|
||||||
<el-button type="primary" :loading="syncOrderIdsLoading" @click="submitSyncOrderIds">
|
|
||||||
确认同步
|
|
||||||
</el-button>
|
|
||||||
</template>
|
|
||||||
</el-dialog>
|
|
||||||
|
|
||||||
<manual-create-pending-order-dialog v-model="manualCreateDialogVisible" @success="loadData" />
|
<manual-create-pending-order-dialog v-model="manualCreateDialogVisible" @success="loadData" />
|
||||||
<excel-import-pending-order-dialog v-model="importOrderDialogVisible" @success="loadData" />
|
<excel-import-pending-order-dialog v-model="importOrderDialogVisible" @success="loadData" />
|
||||||
</div>
|
</div>
|
||||||
@ -414,25 +357,14 @@ import {
|
|||||||
} from './config/order-common-config'
|
} from './config/order-common-config'
|
||||||
import ArchiveOrderPanel from './component/ArchiveOrderPanel.vue'
|
import ArchiveOrderPanel from './component/ArchiveOrderPanel.vue'
|
||||||
import WorkbenchOrderDetail from './component/WorkbenchOrderDetail.vue'
|
import WorkbenchOrderDetail from './component/WorkbenchOrderDetail.vue'
|
||||||
import log from './component/log.vue'
|
|
||||||
import ManualCreatePendingOrderDialog from './component/ManualCreatePendingOrderDialog.vue'
|
import ManualCreatePendingOrderDialog from './component/ManualCreatePendingOrderDialog.vue'
|
||||||
import ExcelImportPendingOrderDialog from './component/ExcelImportPendingOrderDialog.vue'
|
import ExcelImportPendingOrderDialog from './component/ExcelImportPendingOrderDialog.vue'
|
||||||
import { exportUpperTableRows } from './utils/export'
|
import { exportUpperTableRows } from './utils/export'
|
||||||
import { useVerticalSplitPane } from '@/composables/useVerticalSplitPane'
|
|
||||||
|
|
||||||
const scanBox = ref<any>(null)
|
const scanBox = ref<any>(null)
|
||||||
const upperTable = ref<any>(null)
|
const upperTable = ref<any>(null)
|
||||||
const scrollContainerRef = ref<HTMLElement | null>(null)
|
const scrollContainerRef = ref<HTMLElement | null>(null)
|
||||||
|
|
||||||
const { splitStackRef, beginSplitDrag, lowerPaneStyle, upperPaneStyle } = useVerticalSplitPane({
|
|
||||||
defaultLowerPercent: 38,
|
|
||||||
})
|
|
||||||
const upperPaneFullStyle = computed(() => ({
|
|
||||||
flex: '1 1 auto',
|
|
||||||
minHeight: '0',
|
|
||||||
overflow: 'hidden'
|
|
||||||
}))
|
|
||||||
|
|
||||||
const presetTree = ref<any[]>([])
|
const presetTree = ref<any[]>([])
|
||||||
const availableFieldsRef = reactive(JSON.parse(JSON.stringify(pendingAvailableFields)))
|
const availableFieldsRef = reactive(JSON.parse(JSON.stringify(pendingAvailableFields)))
|
||||||
|
|
||||||
@ -455,7 +387,6 @@ const columns = ref(pendingCloums)
|
|||||||
const selectionRows = ref<any[]>([])
|
const selectionRows = ref<any[]>([])
|
||||||
const hasSelection = ref(false)
|
const hasSelection = ref(false)
|
||||||
const selectedOrderId = ref<number | string | null>(null)
|
const selectedOrderId = ref<number | string | null>(null)
|
||||||
const detailVisible = ref(true)
|
|
||||||
|
|
||||||
const quickSearch = ref('')
|
const quickSearch = ref('')
|
||||||
|
|
||||||
@ -518,15 +449,6 @@ const cloneOrderDialogVisible = ref(false)
|
|||||||
const cloneOrderLoading = ref(false)
|
const cloneOrderLoading = ref(false)
|
||||||
const cloneSourceOrderId = ref<number | null>(null)
|
const cloneSourceOrderId = ref<number | null>(null)
|
||||||
const cloneSourceOrderCode = ref('')
|
const cloneSourceOrderCode = ref('')
|
||||||
const syncOrderIdsDialogVisible = ref(false)
|
|
||||||
const syncOrderIdsLoading = ref(false)
|
|
||||||
const syncOrderIdsForm = reactive<{
|
|
||||||
mode: 'selection' | 'manual'
|
|
||||||
orderIdsText: string
|
|
||||||
}>({
|
|
||||||
mode: 'selection',
|
|
||||||
orderIdsText: ''
|
|
||||||
})
|
|
||||||
|
|
||||||
const updateOrderMetaOptions = computed(() => {
|
const updateOrderMetaOptions = computed(() => {
|
||||||
return updateOrderMetaDialogMode.value === 'express'
|
return updateOrderMetaDialogMode.value === 'express'
|
||||||
@ -670,10 +592,6 @@ function openColumnConfigPanel() {
|
|||||||
upperTable.value?.openColumnConfig?.()
|
upperTable.value?.openColumnConfig?.()
|
||||||
}
|
}
|
||||||
|
|
||||||
function toggleDetailVisible() {
|
|
||||||
detailVisible.value = !detailVisible.value
|
|
||||||
}
|
|
||||||
|
|
||||||
function normalizeCode(value: unknown) {
|
function normalizeCode(value: unknown) {
|
||||||
return String(value ?? '').trim()
|
return String(value ?? '').trim()
|
||||||
}
|
}
|
||||||
@ -1012,67 +930,6 @@ function resetCloneOrderDialog() {
|
|||||||
cloneSourceOrderCode.value = ''
|
cloneSourceOrderCode.value = ''
|
||||||
}
|
}
|
||||||
|
|
||||||
function parseOrderIdsText(value: string): number[] {
|
|
||||||
const result: number[] = []
|
|
||||||
const seen = new Set<number>()
|
|
||||||
const tokens = String(value || '')
|
|
||||||
.split(/[\s,,;;]+/)
|
|
||||||
.map((item) => item.trim())
|
|
||||||
.filter(Boolean)
|
|
||||||
for (const token of tokens) {
|
|
||||||
const id = normalizePositiveIntId(token)
|
|
||||||
if (id === null || seen.has(id)) continue
|
|
||||||
seen.add(id)
|
|
||||||
result.push(id)
|
|
||||||
}
|
|
||||||
return result
|
|
||||||
}
|
|
||||||
|
|
||||||
function resetSyncOrderIdsDialog() {
|
|
||||||
syncOrderIdsForm.mode = 'selection'
|
|
||||||
syncOrderIdsForm.orderIdsText = ''
|
|
||||||
}
|
|
||||||
|
|
||||||
function openSyncOrderIdsDialog() {
|
|
||||||
const selectedIds = getSelectedIds()
|
|
||||||
syncOrderIdsForm.mode = selectedIds.length ? 'selection' : 'manual'
|
|
||||||
syncOrderIdsForm.orderIdsText = selectedIds.join(',')
|
|
||||||
syncOrderIdsDialogVisible.value = true
|
|
||||||
}
|
|
||||||
|
|
||||||
async function submitSyncOrderIds() {
|
|
||||||
if (syncOrderIdsLoading.value) return
|
|
||||||
const selectedIds = getSelectedIds()
|
|
||||||
const manualIds = parseOrderIdsText(syncOrderIdsForm.orderIdsText)
|
|
||||||
const order_ids =
|
|
||||||
syncOrderIdsForm.mode === 'selection'
|
|
||||||
? selectedIds
|
|
||||||
: (manualIds.length ? manualIds : selectedIds)
|
|
||||||
if (!order_ids.length) {
|
|
||||||
ElMessage.warning(syncOrderIdsForm.mode === 'selection' ? '请先勾选需要同步的订单' : '请输入有效的订单ID')
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
syncOrderIdsLoading.value = true
|
|
||||||
try {
|
|
||||||
const res = await orderPendingOrder.syncOrderIds({ order_ids })
|
|
||||||
const ok = res && (res.code === 1 || res.code === 200 || res.flag === 'success')
|
|
||||||
if (!ok) {
|
|
||||||
ElMessage.error(res?.message || '同步订单ID失败')
|
|
||||||
return
|
|
||||||
}
|
|
||||||
const syncedIds = parseOrderIdsText(String(res?.data?.order_ids || '')) || []
|
|
||||||
const count = syncedIds.length || order_ids.length
|
|
||||||
ElMessage.success((res?.message || '同步请求已受理') + `(${count} 条)`)
|
|
||||||
syncOrderIdsDialogVisible.value = false
|
|
||||||
await loadData()
|
|
||||||
} catch {
|
|
||||||
ElMessage.error('同步订单ID失败')
|
|
||||||
} finally {
|
|
||||||
syncOrderIdsLoading.value = false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
async function submitCloneOrder() {
|
async function submitCloneOrder() {
|
||||||
if (!cloneSourceOrderId.value || cloneOrderLoading.value) return
|
if (!cloneSourceOrderId.value || cloneOrderLoading.value) return
|
||||||
cloneOrderLoading.value = true
|
cloneOrderLoading.value = true
|
||||||
@ -1254,12 +1111,6 @@ async function submitAllocateExpress() {
|
|||||||
margin: 4px 0;
|
margin: 4px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sync-order-hint {
|
|
||||||
margin-top: 6px;
|
|
||||||
font-size: 12px;
|
|
||||||
color: #909399;
|
|
||||||
}
|
|
||||||
|
|
||||||
.detail-page {
|
.detail-page {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
|
|||||||
@ -19,7 +19,6 @@
|
|||||||
<el-button size="small" type="primary" @click="loadData">刷新</el-button>
|
<el-button size="small" type="primary" @click="loadData">刷新</el-button>
|
||||||
<el-button size="small" :loading="exportLoading" @click="handleExport">导出</el-button>
|
<el-button size="small" :loading="exportLoading" @click="handleExport">导出</el-button>
|
||||||
<el-button size="small" @click="openColumnConfigPanel">字段设置</el-button>
|
<el-button size="small" @click="openColumnConfigPanel">字段设置</el-button>
|
||||||
<el-button size="small" @click="toggleDetailVisible">{{ detailVisible ? '隐藏详情' : '显示详情' }}</el-button>
|
|
||||||
<el-button size="small" type="primary" plain @click="manualCreateDialogVisible = true">手动建单</el-button>
|
<el-button size="small" type="primary" plain @click="manualCreateDialogVisible = true">手动建单</el-button>
|
||||||
<el-button size="small" type="success" :disabled="!hasSelection" :loading="reviewSubmitting" @click="handleBatchReview">批量审核通过</el-button>
|
<el-button size="small" type="success" :disabled="!hasSelection" :loading="reviewSubmitting" @click="handleBatchReview">批量审核通过</el-button>
|
||||||
</div>
|
</div>
|
||||||
@ -29,8 +28,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="split-stack" ref="splitStackRef">
|
<div class="upper-wrapper">
|
||||||
<div class="upper-wrapper" :style="detailVisible ? upperPaneStyle : upperPaneFullStyle">
|
|
||||||
<upper-table
|
<upper-table
|
||||||
ref="upperTable"
|
ref="upperTable"
|
||||||
title="待审核订单列表"
|
title="待审核订单列表"
|
||||||
@ -79,13 +77,7 @@
|
|||||||
</upper-table>
|
</upper-table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<template v-if="detailVisible">
|
<div class="lower-level" v-if="selectedOrderId" :class="tableSize">
|
||||||
<div
|
|
||||||
class="pane-resizer"
|
|
||||||
title="拖动调整列表与详情区域高度"
|
|
||||||
@mousedown="beginSplitDrag"
|
|
||||||
/>
|
|
||||||
<div class="lower-level" v-if="selectedOrderId" :class="tableSize" :style="lowerPaneStyle">
|
|
||||||
<div class="detail-header">
|
<div class="detail-header">
|
||||||
<el-tabs v-model="activeTab" class="detail-tab">
|
<el-tabs v-model="activeTab" class="detail-tab">
|
||||||
<el-tab-pane label="商品明细" name="items" />
|
<el-tab-pane label="商品明细" name="items" />
|
||||||
@ -119,13 +111,11 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="no-selection" v-else :style="lowerPaneStyle">
|
<div class="no-selection" v-else>
|
||||||
<div class="empty-tip">
|
<div class="empty-tip">
|
||||||
<p>请从上方列表中选择一项查看详情</p>
|
<p>请从上方列表中选择一项查看详情</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<manual-create-pending-order-dialog v-model="manualCreateDialogVisible" @success="loadData" />
|
<manual-create-pending-order-dialog v-model="manualCreateDialogVisible" @success="loadData" />
|
||||||
</div>
|
</div>
|
||||||
@ -150,22 +140,10 @@ import WorkbenchOrderDetail from './component/WorkbenchOrderDetail.vue'
|
|||||||
import ManualCreatePendingOrderDialog from './component/ManualCreatePendingOrderDialog.vue'
|
import ManualCreatePendingOrderDialog from './component/ManualCreatePendingOrderDialog.vue'
|
||||||
import log from './component/log.vue'
|
import log from './component/log.vue'
|
||||||
import { exportUpperTableRows } from './utils/export'
|
import { exportUpperTableRows } from './utils/export'
|
||||||
import { useVerticalSplitPane } from '@/composables/useVerticalSplitPane'
|
|
||||||
|
|
||||||
const scanBox = ref<any>(null)
|
const scanBox = ref<any>(null)
|
||||||
const upperTable = ref<any>(null)
|
const upperTable = ref<any>(null)
|
||||||
const manualCreateDialogVisible = ref(false)
|
const manualCreateDialogVisible = ref(false)
|
||||||
const detailVisible = ref(true)
|
|
||||||
|
|
||||||
const { splitStackRef, beginSplitDrag, lowerPaneStyle, upperPaneStyle } = useVerticalSplitPane({
|
|
||||||
defaultLowerPercent: 38,
|
|
||||||
})
|
|
||||||
|
|
||||||
const upperPaneFullStyle = computed(() => ({
|
|
||||||
flex: '1 1 auto',
|
|
||||||
minHeight: '0',
|
|
||||||
overflow: 'hidden'
|
|
||||||
}))
|
|
||||||
|
|
||||||
const presetTree = ref<any[]>([])
|
const presetTree = ref<any[]>([])
|
||||||
const availableFieldsRef = reactive(JSON.parse(JSON.stringify(reviewAvailableFields)))
|
const availableFieldsRef = reactive(JSON.parse(JSON.stringify(reviewAvailableFields)))
|
||||||
@ -302,10 +280,6 @@ function openColumnConfigPanel() {
|
|||||||
upperTable.value?.openColumnConfig?.()
|
upperTable.value?.openColumnConfig?.()
|
||||||
}
|
}
|
||||||
|
|
||||||
function toggleDetailVisible() {
|
|
||||||
detailVisible.value = !detailVisible.value
|
|
||||||
}
|
|
||||||
|
|
||||||
async function handleExport() {
|
async function handleExport() {
|
||||||
if (!selectionRows.value.length) {
|
if (!selectionRows.value.length) {
|
||||||
ElMessage.warning('请先勾选要导出的订单')
|
ElMessage.warning('请先勾选要导出的订单')
|
||||||
|
|||||||
@ -38,28 +38,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.split-stack {
|
|
||||||
flex: 1;
|
|
||||||
min-height: 0;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
overflow: hidden;
|
|
||||||
|
|
||||||
.pane-resizer {
|
|
||||||
flex: 0 0 6px;
|
|
||||||
min-height: 6px;
|
|
||||||
background: #e4e7ed;
|
|
||||||
cursor: row-resize;
|
|
||||||
flex-shrink: 0;
|
|
||||||
position: relative;
|
|
||||||
z-index: 2;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
background: #dcdfe6;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.upper-wrapper {
|
.upper-wrapper {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
export const availableFields = [
|
export const availableFields = [
|
||||||
{ label:'', value: '', type: 'input' },
|
{ label:'', value: '', type: 'input' },
|
||||||
{ label: '货主', value: 'store_id', type: 'select', multiple: true, options: [] },
|
{ label: '货主', value: 'store_id', type: 'select', options: [] },
|
||||||
{ label: '状态', value: 'order_status', type: 'select', options: [
|
{ label: '状态', value: 'order_status', type: 'select', options: [
|
||||||
{ label: '已创建', value: 'CREATED' },
|
{ label: '已创建', value: 'CREATED' },
|
||||||
{ label: '待入库', value: 'PENDING' },
|
{ label: '待入库', value: 'PENDING' },
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
export const availableFields = [
|
export const availableFields = [
|
||||||
{ label: '商品ID', value: 'stock_id', type: 'text' },
|
{ label: '商品ID', value: 'stock_id', type: 'text' },
|
||||||
{ label: '库位', value: 'space_id', type: 'text' },
|
{ label: '库位', value: 'space_id', type: 'text' },
|
||||||
{ label: '货主', value: 'store_id', type: 'select', multiple: true, options: [] },
|
{ label: '货主', value: 'store_id', type: 'select', options: [] },
|
||||||
{ label: '库存类型', value: 'inventory_type', type: 'select', options: [
|
{ label: '库存类型', value: 'inventory_type', type: 'select', options: [
|
||||||
{ label: '正品', value: 'ZP' },
|
{ label: '正品', value: 'ZP' },
|
||||||
{ label: '次品', value: 'CC' },
|
{ label: '次品', value: 'CC' },
|
||||||
|
|||||||
@ -92,7 +92,7 @@ export const availableFields = [
|
|||||||
operators: ['eq'],
|
operators: ['eq'],
|
||||||
defaultOperator: 'eq'
|
defaultOperator: 'eq'
|
||||||
},
|
},
|
||||||
{ value: 'store_id', label: '货主', type: 'select', multiple: true, filterable: true, options: [] },
|
{ value: 'store_id', label: '货主', type: 'select', filterable: true, options: [] },
|
||||||
{
|
{
|
||||||
value: 'created_at',
|
value: 'created_at',
|
||||||
label: '创建时间',
|
label: '创建时间',
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="receiving-details-container">
|
<div class="receiving-details-container">
|
||||||
<el-form :model="form" label-width="92px" size="small" class="details-form">
|
<el-form :model="form" label-width="120px" class="details-form">
|
||||||
<el-row :gutter="16">
|
<el-row :gutter="30">
|
||||||
<!-- 第一列:收货明细 -->
|
<!-- 第一列:收货明细 -->
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item
|
<el-form-item
|
||||||
@ -12,10 +12,10 @@
|
|||||||
>
|
>
|
||||||
<!-- 特殊处理:货主行,根据绑定状态显示不同内容 -->
|
<!-- 特殊处理:货主行,根据绑定状态显示不同内容 -->
|
||||||
<template v-if="field.prop === 'store_name'">
|
<template v-if="field.prop === 'store_name'">
|
||||||
<div class="store-name-row">
|
<div style="display:flex; gap:8px; align-items:center; width: 100%;">
|
||||||
<!-- 已绑定货主:显示文本,禁用按钮 -->
|
<!-- 已绑定货主:显示文本,禁用按钮 -->
|
||||||
<template v-if="storeBound">
|
<template v-if="storeBound">
|
||||||
<div class="store-name-readonly">
|
<div style="flex: 1; padding: 0px 12px; background-color: #f5f7fa; border-radius: 4px; color: #606266; border: 1px solid #dcdfe6; height: 32px; line-height: 32px;">
|
||||||
{{ form.store_name || '未设置' }}
|
{{ form.store_name || '未设置' }}
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@ -81,7 +81,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div v-else class="image-placeholder">
|
<div v-else class="image-placeholder">
|
||||||
<div class="placeholder-content">
|
<div class="placeholder-content">
|
||||||
<el-icon :size="36" color="#909399"><Picture /></el-icon>
|
<el-icon :size="48" color="#909399"><Picture /></el-icon>
|
||||||
<p>暂无收货图片</p>
|
<p>暂无收货图片</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -93,10 +93,10 @@
|
|||||||
<!-- 底部操作按钮 -->
|
<!-- 底部操作按钮 -->
|
||||||
<div class="bottom">
|
<div class="bottom">
|
||||||
<el-button-group class="toolbar-btn-group">
|
<el-button-group class="toolbar-btn-group">
|
||||||
<el-button type="primary" size="small" icon="Check" disabled :loading="saveLoading">
|
<el-button type="primary" icon="Check" disabled :loading="saveLoading">
|
||||||
保存
|
保存
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button type="danger" size="small" icon="Refresh" @click="handleReset">
|
<el-button type="danger" icon="Refresh" @click="handleReset">
|
||||||
重置
|
重置
|
||||||
</el-button>
|
</el-button>
|
||||||
</el-button-group>
|
</el-button-group>
|
||||||
@ -326,47 +326,19 @@ onMounted(() => {
|
|||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.receiving-details-container {
|
.receiving-details-container {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
|
||||||
box-sizing: border-box;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
box-sizing: border-box;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.store-name-row {
|
|
||||||
display: flex;
|
|
||||||
gap: 8px;
|
|
||||||
align-items: center;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.store-name-readonly {
|
|
||||||
flex: 1;
|
|
||||||
padding: 0 10px;
|
|
||||||
background-color: #f5f7fa;
|
|
||||||
border-radius: 4px;
|
|
||||||
color: #606266;
|
|
||||||
border: 1px solid #dcdfe6;
|
|
||||||
height: 28px;
|
|
||||||
line-height: 28px;
|
|
||||||
font-size: 13px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.details-form {
|
.details-form {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
padding: 6px 10px 8px;
|
padding: 20px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
||||||
:deep(.el-form-item) {
|
|
||||||
margin-bottom: 14px;
|
|
||||||
}
|
|
||||||
|
|
||||||
:deep(.el-form-item:last-child) {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 隐藏滚动条 */
|
/* 隐藏滚动条 */
|
||||||
&::-webkit-scrollbar {
|
&::-webkit-scrollbar {
|
||||||
display: none;
|
display: none;
|
||||||
@ -377,9 +349,7 @@ onMounted(() => {
|
|||||||
|
|
||||||
.image-placeholder {
|
.image-placeholder {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-height: 140px;
|
height: 400px;
|
||||||
max-height: min(260px, 32vh);
|
|
||||||
height: min(220px, 28vh);
|
|
||||||
background-color: #f5f7fa;
|
background-color: #f5f7fa;
|
||||||
border: 1px dashed #dcdfe6;
|
border: 1px dashed #dcdfe6;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
@ -392,8 +362,8 @@ onMounted(() => {
|
|||||||
color: #909399;
|
color: #909399;
|
||||||
|
|
||||||
p {
|
p {
|
||||||
margin-top: 6px;
|
margin-top: 10px;
|
||||||
font-size: 12px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -405,8 +375,8 @@ onMounted(() => {
|
|||||||
gap: 8px;
|
gap: 8px;
|
||||||
}
|
}
|
||||||
.img-cell {
|
.img-cell {
|
||||||
width: 88px;
|
width: 100px;
|
||||||
height: 88px;
|
height: 100px;
|
||||||
border: 1px solid #eef2f6;
|
border: 1px solid #eef2f6;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
@ -418,7 +388,7 @@ onMounted(() => {
|
|||||||
.bottom {
|
.bottom {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
padding: 6px 10px;
|
padding: 0px 20px;
|
||||||
border-top: 1px solid #ebeef5;
|
border-top: 1px solid #ebeef5;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
|||||||
@ -14,12 +14,10 @@
|
|||||||
</el-button>
|
</el-button>
|
||||||
</el-button-group>
|
</el-button-group>
|
||||||
|
|
||||||
<div ref="tableHostRef" class="table-host">
|
|
||||||
<el-table
|
<el-table
|
||||||
:data="tableData"
|
:data="tableData"
|
||||||
border
|
border
|
||||||
stripe
|
stripe
|
||||||
size="small"
|
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
:height="tableHeight"
|
:height="tableHeight"
|
||||||
v-loading="loading"
|
v-loading="loading"
|
||||||
@ -52,7 +50,6 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="pagination-container">
|
<div class="pagination-container">
|
||||||
<el-pagination
|
<el-pagination
|
||||||
@ -62,7 +59,6 @@
|
|||||||
:total="pagination.total"
|
:total="pagination.total"
|
||||||
layout="total, sizes, prev, pager, next, jumper"
|
layout="total, sizes, prev, pager, next, jumper"
|
||||||
background
|
background
|
||||||
size="small"
|
|
||||||
@size-change="handlePageSizeChange"
|
@size-change="handlePageSizeChange"
|
||||||
@current-change="handlePageChange"
|
@current-change="handlePageChange"
|
||||||
/>
|
/>
|
||||||
@ -85,8 +81,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ref, reactive, watch, onMounted } from 'vue'
|
import { ref, reactive, watch, onMounted, computed } from 'vue'
|
||||||
import { useResizeObserver } from '@vueuse/core'
|
|
||||||
import { ElMessage, ElMessageBox } from 'element-plus'
|
import { ElMessage, ElMessageBox } from 'element-plus'
|
||||||
import { Refresh } from '@element-plus/icons-vue'
|
import { Refresh } from '@element-plus/icons-vue'
|
||||||
import * as stockApi from '@/api/stock/stock'
|
import * as stockApi from '@/api/stock/stock'
|
||||||
@ -101,8 +96,6 @@ const tableData = ref<any[]>([])
|
|||||||
const showRequestData = ref(false)
|
const showRequestData = ref(false)
|
||||||
const requestId = ref(0)
|
const requestId = ref(0)
|
||||||
const requestType = ref('')
|
const requestType = ref('')
|
||||||
const tableHostRef = ref<HTMLElement | null>(null)
|
|
||||||
const tableHeight = ref(280)
|
|
||||||
|
|
||||||
const pagination = reactive({
|
const pagination = reactive({
|
||||||
page: 1,
|
page: 1,
|
||||||
@ -110,11 +103,8 @@ const pagination = reactive({
|
|||||||
total: 0
|
total: 0
|
||||||
})
|
})
|
||||||
|
|
||||||
useResizeObserver(tableHostRef, (entries) => {
|
const tableHeight = computed(() => {
|
||||||
const h = entries[0]?.contentRect.height ?? 0
|
return window.innerHeight - 300 // 根据实际情况调整
|
||||||
if (h >= 100) {
|
|
||||||
tableHeight.value = Math.floor(h)
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
|
|
||||||
watch(() => props.id, (newVal) => {
|
watch(() => props.id, (newVal) => {
|
||||||
@ -130,13 +120,6 @@ onMounted(() => {
|
|||||||
if (props.id) {
|
if (props.id) {
|
||||||
fetchStockInfo()
|
fetchStockInfo()
|
||||||
}
|
}
|
||||||
requestAnimationFrame(() => {
|
|
||||||
const el = tableHostRef.value
|
|
||||||
if (el) {
|
|
||||||
const h = el.getBoundingClientRect().height
|
|
||||||
if (h >= 100) tableHeight.value = Math.floor(h)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
})
|
})
|
||||||
|
|
||||||
async function handlePageChange(page: number) {
|
async function handlePageChange(page: number) {
|
||||||
@ -168,33 +151,26 @@ function backData(row: any) {
|
|||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.log-container {
|
.log-container {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
padding: 10px 20px;
|
||||||
padding: 6px 10px;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.toolbar-btn-group {
|
.toolbar-btn-group {
|
||||||
flex-shrink: 0;
|
margin-bottom: 10px;
|
||||||
margin-bottom: 6px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-host {
|
.el-table {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
min-height: 120px;
|
overflow-y: auto;
|
||||||
min-width: 0;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.pagination-container {
|
.pagination-container {
|
||||||
flex-shrink: 0;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-top: 8px;
|
margin-top: 20px;
|
||||||
padding-top: 4px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
:deep(.el-drawer__body) {
|
:deep(.el-drawer__body) {
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
<div class="header-actions">
|
<div class="header-actions">
|
||||||
<div class="left-actions">
|
<div class="left-actions">
|
||||||
<el-button size="small" @click="loadProductData">刷新</el-button>
|
<el-button size="small" @click="loadProductData">刷新</el-button>
|
||||||
<el-radio-group v-model="matchFilter" size="small" class="match-filter-group">
|
<el-radio-group v-model="matchFilter" size="small" style="margin: 0 12px;">
|
||||||
<el-radio-button label="all">全部</el-radio-button>
|
<el-radio-button label="all">全部</el-radio-button>
|
||||||
<el-radio-button label="matched">已匹配</el-radio-button>
|
<el-radio-button label="matched">已匹配</el-radio-button>
|
||||||
<el-radio-button label="unmatched">未匹配</el-radio-button>
|
<el-radio-button label="unmatched">未匹配</el-radio-button>
|
||||||
@ -899,19 +899,13 @@ onUnmounted(() => {
|
|||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.product-details {
|
.product-details {
|
||||||
width: 100%;
|
padding: 10px;
|
||||||
padding: 6px 10px 8px;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
position: relative;
|
position: relative;
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
|
|
||||||
.match-filter-group {
|
|
||||||
margin: 0 8px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.product-window {
|
.product-window {
|
||||||
@ -1089,10 +1083,8 @@ onUnmounted(() => {
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-bottom: 6px;
|
margin-bottom: 8px;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
gap: 4px;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.left-actions {
|
.left-actions {
|
||||||
@ -1105,6 +1097,7 @@ onUnmounted(() => {
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
padding-right: 8px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
@ -1124,7 +1117,7 @@ onUnmounted(() => {
|
|||||||
|
|
||||||
.left-col :deep(.pagination-container) {
|
.left-col :deep(.pagination-container) {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
padding: 4px 0 2px;
|
padding: 8px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.right-col {
|
.right-col {
|
||||||
|
|||||||
@ -25,11 +25,9 @@
|
|||||||
</el-button>
|
</el-button>
|
||||||
</el-button-group>
|
</el-button-group>
|
||||||
|
|
||||||
<div ref="tableHostRef" class="table-host">
|
|
||||||
<el-table
|
<el-table
|
||||||
:data="tableData"
|
:data="tableData"
|
||||||
border
|
border
|
||||||
size="small"
|
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
:height="tableHeight"
|
:height="tableHeight"
|
||||||
v-loading="loading"
|
v-loading="loading"
|
||||||
@ -67,37 +65,20 @@
|
|||||||
/>
|
/>
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ref, onMounted } from 'vue'
|
import { ref, computed } from 'vue'
|
||||||
import { useRouter } from 'vue-router'
|
import { useRouter } from 'vue-router'
|
||||||
import { useResizeObserver } from '@vueuse/core'
|
|
||||||
import { Refresh, Download } from '@element-plus/icons-vue'
|
import { Refresh, Download } from '@element-plus/icons-vue'
|
||||||
// import * as stockApi from '@/api/stock/stock'
|
// import * as stockApi from '@/api/stock/stock'
|
||||||
|
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
const loading = ref(false)
|
const loading = ref(false)
|
||||||
const tableData = ref<any[]>([])
|
const tableData = ref<any[]>([])
|
||||||
const tableHostRef = ref<HTMLElement | null>(null)
|
|
||||||
const tableHeight = ref(280)
|
|
||||||
|
|
||||||
useResizeObserver(tableHostRef, (entries) => {
|
const tableHeight = computed(() => {
|
||||||
const h = entries[0]?.contentRect.height ?? 0
|
return window.innerHeight - 300
|
||||||
if (h >= 100) {
|
|
||||||
tableHeight.value = Math.floor(h)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
onMounted(() => {
|
|
||||||
requestAnimationFrame(() => {
|
|
||||||
const el = tableHostRef.value
|
|
||||||
if (el) {
|
|
||||||
const h = el.getBoundingClientRect().height
|
|
||||||
if (h >= 100) tableHeight.value = Math.floor(h)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
})
|
})
|
||||||
|
|
||||||
function loadData() {
|
function loadData() {
|
||||||
@ -120,23 +101,18 @@ function handleClick(row: any) {
|
|||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.container {
|
.container {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
padding: 20px;
|
||||||
padding: 6px 10px;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.toolbar-btn-group {
|
.toolbar-btn-group {
|
||||||
flex-shrink: 0;
|
margin-bottom: 10px;
|
||||||
margin-bottom: 6px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-host {
|
.el-table {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
min-height: 120px;
|
overflow-y: auto;
|
||||||
min-width: 0;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -34,8 +34,7 @@
|
|||||||
</div> -->
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="split-stack" ref="splitStackRef">
|
<div class="upper-wrapper">
|
||||||
<div class="upper-wrapper" :style="detailVisible ? upperPaneStyle : upperPaneFullStyle">
|
|
||||||
<upper-table ref="upperTable" title="收货单列表" :enable-column-config="true" table-id="storage-receiving-list" :data="list" :columns="columns" :table-size="tableSize"
|
<upper-table ref="upperTable" title="收货单列表" :enable-column-config="true" table-id="storage-receiving-list" :data="list" :columns="columns" :table-size="tableSize"
|
||||||
:pagination="pagination" :show-index="true" :show-actions="true" :show-selection="true" :loading="loading"
|
:pagination="pagination" :show-index="true" :show-actions="true" :show-selection="true" :loading="loading"
|
||||||
:queryTime="queryTime" @current-change="handleRowClick" @page-change="handlePageChange"
|
:queryTime="queryTime" @current-change="handleRowClick" @page-change="handlePageChange"
|
||||||
@ -89,13 +88,7 @@
|
|||||||
</upper-table>
|
</upper-table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<template v-if="detailVisible">
|
<div class="lower-level" v-if="detailVisible && selectedReceivingId" :class="tableSize">
|
||||||
<div
|
|
||||||
class="pane-resizer"
|
|
||||||
title="拖动调整列表与详情区域高度"
|
|
||||||
@mousedown="beginSplitDrag"
|
|
||||||
/>
|
|
||||||
<div class="lower-level" v-if="selectedReceivingId" :class="tableSize" :style="lowerPaneStyle">
|
|
||||||
<div class="detail-header">
|
<div class="detail-header">
|
||||||
<el-tabs v-model="activeTab" class="detail-tab">
|
<el-tabs v-model="activeTab" class="detail-tab">
|
||||||
<el-tab-pane label="收货明细" name="details" />
|
<el-tab-pane label="收货明细" name="details" />
|
||||||
@ -107,29 +100,18 @@
|
|||||||
|
|
||||||
<div class="detail-container">
|
<div class="detail-container">
|
||||||
<KeepAlive>
|
<KeepAlive>
|
||||||
<component
|
<component :is="activeComponent" :id="selectedReceivingId" :row="selectedRow" :product-data="productData"
|
||||||
:is="activeComponent"
|
:product-total="productTotal" :loading="productLoading" @refresh-product="loadProductData"
|
||||||
class="receiving-detail-pane"
|
@page-change="handleProductPageChange" @page-size-change="handleProductSizeChange" />
|
||||||
:id="selectedReceivingId"
|
|
||||||
:row="selectedRow"
|
|
||||||
:product-data="productData"
|
|
||||||
:product-total="productTotal"
|
|
||||||
:loading="productLoading"
|
|
||||||
@refresh-product="loadProductData"
|
|
||||||
@page-change="handleProductPageChange"
|
|
||||||
@page-size-change="handleProductSizeChange"
|
|
||||||
/>
|
|
||||||
</KeepAlive>
|
</KeepAlive>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="no-selection" v-else :style="lowerPaneStyle">
|
<div class="no-selection" v-else-if="detailVisible">
|
||||||
<div class="empty-tip">
|
<div class="empty-tip">
|
||||||
<p>请从上方列表中选择一项查看详情</p>
|
<p>请从上方列表中选择一项查看详情</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 打印对话框 -->
|
<!-- 打印对话框 -->
|
||||||
@ -288,7 +270,6 @@ import * as templateApi from '@/api/setting.printtemplate/printTemplate'
|
|||||||
import * as stationApi from '@/api/print/print'
|
import * as stationApi from '@/api/print/print'
|
||||||
import JsBarcode from 'jsbarcode'
|
import JsBarcode from 'jsbarcode'
|
||||||
import * as XLSX from 'xlsx'
|
import * as XLSX from 'xlsx'
|
||||||
import { useVerticalSplitPane } from '@/composables/useVerticalSplitPane'
|
|
||||||
|
|
||||||
const scanBox = ref<any>(null)
|
const scanBox = ref<any>(null)
|
||||||
const route = useRoute()
|
const route = useRoute()
|
||||||
@ -305,19 +286,6 @@ const settingsStore = useSettingsStore()
|
|||||||
const shortcutExpanded = computed(() => settingsStore.shortcutExpanded)
|
const shortcutExpanded = computed(() => settingsStore.shortcutExpanded)
|
||||||
const containerHeight = computed(() => shortcutExpanded.value ? 'calc(100vh - 150px)' : 'calc(100vh - 100px)')
|
const containerHeight = computed(() => shortcutExpanded.value ? 'calc(100vh - 150px)' : 'calc(100vh - 100px)')
|
||||||
|
|
||||||
const {
|
|
||||||
splitStackRef,
|
|
||||||
beginSplitDrag,
|
|
||||||
lowerPaneStyle,
|
|
||||||
upperPaneStyle,
|
|
||||||
} = useVerticalSplitPane({ defaultLowerPercent: 40 })
|
|
||||||
|
|
||||||
const upperPaneFullStyle = computed(() => ({
|
|
||||||
flex: '1 1 auto',
|
|
||||||
minHeight: '0',
|
|
||||||
overflow: 'hidden',
|
|
||||||
}))
|
|
||||||
|
|
||||||
const activeTab = ref('details')
|
const activeTab = ref('details')
|
||||||
|
|
||||||
const list = ref<any[]>([])
|
const list = ref<any[]>([])
|
||||||
@ -1331,30 +1299,10 @@ async function handleExport() {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.split-stack {
|
.upper-wrapper {
|
||||||
flex: 1 1 auto;
|
flex: 1 1 auto;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
display: flex;
|
/* upper-wrapper 自动填充剩余空间 */
|
||||||
flex-direction: column;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
.pane-resizer {
|
|
||||||
flex: 0 0 6px;
|
|
||||||
min-height: 6px;
|
|
||||||
background: #e4e7ed;
|
|
||||||
cursor: row-resize;
|
|
||||||
flex-shrink: 0;
|
|
||||||
position: relative;
|
|
||||||
z-index: 2;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
background: #dcdfe6;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.upper-wrapper {
|
|
||||||
/* 高度占比由 :style(upperPaneStyle / upperPaneFullStyle)控制 */
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1364,6 +1312,8 @@ async function handleExport() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.lower-level {
|
.lower-level {
|
||||||
|
flex: 0 0 40%;
|
||||||
|
height: 40%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
border-top: 1px solid #ebeef5;
|
border-top: 1px solid #ebeef5;
|
||||||
@ -1371,7 +1321,6 @@ async function handleExport() {
|
|||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
|
||||||
.detail-header {
|
.detail-header {
|
||||||
flex-shrink: 0;
|
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
border-bottom: 1px solid #ebeef5;
|
border-bottom: 1px solid #ebeef5;
|
||||||
background-color: #fafafa;
|
background-color: #fafafa;
|
||||||
@ -1384,10 +1333,9 @@ async function handleExport() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
:deep(.el-tabs__item) {
|
:deep(.el-tabs__item) {
|
||||||
height: 28px;
|
height: 32px;
|
||||||
line-height: 28px;
|
line-height: 32px;
|
||||||
font-size: 12px;
|
font-size: 13px;
|
||||||
padding: 0 10px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
:deep(.el-tabs__nav-wrap::after) {
|
:deep(.el-tabs__nav-wrap::after) {
|
||||||
@ -1398,42 +1346,27 @@ async function handleExport() {
|
|||||||
|
|
||||||
.detail-container {
|
.detail-container {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
min-height: 0;
|
overflow: auto;
|
||||||
overflow: hidden;
|
padding: 10px;
|
||||||
padding: 6px 10px;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
box-sizing: border-box;
|
|
||||||
|
|
||||||
:deep(.receiving-detail-pane) {
|
|
||||||
flex: 1;
|
|
||||||
min-height: 0;
|
|
||||||
min-width: 0;
|
|
||||||
width: 100%;
|
|
||||||
overflow: hidden;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.no-selection {
|
.no-selection {
|
||||||
|
flex: 0 0 40%;
|
||||||
|
height: 40%;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
color: #909399;
|
color: #909399;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
padding: 10px;
|
|
||||||
|
|
||||||
.empty-tip {
|
.empty-tip {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 13px;
|
font-size: 14px;
|
||||||
line-height: 1.5;
|
|
||||||
max-width: 360px;
|
|
||||||
|
|
||||||
.el-icon {
|
.el-icon {
|
||||||
font-size: 36px;
|
font-size: 48px;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -135,7 +135,7 @@ export const availableFields = [
|
|||||||
{ value: 'status', label: '收货状态', type: 'select', options: Object.entries(statusConfig).map(([v, c]) => ({ value: v, label: c.text })) },
|
{ value: 'status', label: '收货状态', type: 'select', options: Object.entries(statusConfig).map(([v, c]) => ({ value: v, label: c.text })) },
|
||||||
{ value: 'detail_status', label: '匹配状态', type: 'select', options: Object.entries(detailStatusConfig).map(([v, c]) => ({ value: v, label: c.text })) },
|
{ value: 'detail_status', label: '匹配状态', type: 'select', options: Object.entries(detailStatusConfig).map(([v, c]) => ({ value: v, label: c.text })) },
|
||||||
{ value: 'storage_status', label: '入库状态', type: 'select', options: Object.entries(storageStatusConfig).map(([v, c]) => ({ value: v, label: c.text })) },
|
{ value: 'storage_status', label: '入库状态', type: 'select', options: Object.entries(storageStatusConfig).map(([v, c]) => ({ value: v, label: c.text })) },
|
||||||
{ value: 'store_id', label: '货主', type: 'select', multiple: true, filterable: true, options: [] },
|
{ value: 'store_id', label: '货主', type: 'select', filterable: true, options: [] },
|
||||||
{ value: 'delivery_method', label: '来货方式', type: 'select', options: Object.entries(deliveryMethodConfig).map(([v, c]: [string, any]) => ({ value: v, label: c.text })) },
|
{ value: 'delivery_method', label: '来货方式', type: 'select', options: Object.entries(deliveryMethodConfig).map(([v, c]: [string, any]) => ({ value: v, label: c.text })) },
|
||||||
{ value: 'loading_method',
|
{ value: 'loading_method',
|
||||||
label: '装卸方式',
|
label: '装卸方式',
|
||||||
|
|||||||
@ -63,7 +63,7 @@ export const availableFields = [
|
|||||||
{ value: 'success', label: '同步成功' },
|
{ value: 'success', label: '同步成功' },
|
||||||
{ value: 'failed', label: '同步失败' }
|
{ value: 'failed', label: '同步失败' }
|
||||||
]},
|
]},
|
||||||
{ value: 'store_id', label: '货主', type: 'select', multiple: true, filterable: true, options: [] },
|
{ value: 'store_id', label: '货主', type: 'select', filterable: true, options: [] },
|
||||||
{ value: 'order_type', label: '单据类型', type: 'select', options: [
|
{ value: 'order_type', label: '单据类型', type: 'select', options: [
|
||||||
{ label: '交易出库', value: 'JYCK' },
|
{ label: '交易出库', value: 'JYCK' },
|
||||||
{ label: '调拨出库', value: 'TRANSFER' },
|
{ label: '调拨出库', value: 'TRANSFER' },
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
export const availableFields = [
|
export const availableFields = [
|
||||||
{ label: '商品ID', value: 'stock_id', type: 'text' },
|
{ label: '商品ID', value: 'stock_id', type: 'text' },
|
||||||
{ label: '库位', value: 'space_id', type: 'text' },
|
{ label: '库位', value: 'space_id', type: 'text' },
|
||||||
{ label: '货主', value: 'store_id', type: 'select', multiple: true, options: [] as { label: string; value: unknown }[] },
|
{ label: '货主', value: 'store_id', type: 'select', options: [] as { label: string; value: unknown }[] },
|
||||||
{
|
{
|
||||||
label: '库存类型',
|
label: '库存类型',
|
||||||
value: 'inventory_type',
|
value: 'inventory_type',
|
||||||
|
|||||||
@ -3,18 +3,155 @@
|
|||||||
{
|
{
|
||||||
"接口": "user.login",
|
"接口": "user.login",
|
||||||
"data": {
|
"data": {
|
||||||
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywidXNlcm5hbWUiOiJ5am0iLCJyZWFsX25hbWUiOiJ5aW4iLCJwbGF0Zm9ybV9jb2RlIjoid2ViIiwiY3VycmVudF9yb2xlX2lkIjozNCwiY3VycmVudF9zdG9yZV9pZCI6MTAwMDAyOCwiaWF0IjoxNzc3MTAxOTAwLCJleHAiOjE3NzcxMTYzMDB9.xMHPvd05bQZ3-x2v15CwQ_CsRn20Ep1lBSpd_YkCbsQ"
|
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywidXNlcm5hbWUiOiJ5am0iLCJyZWFsX25hbWUiOiJ5aW4iLCJwbGF0Zm9ybV9jb2RlIjoid2ViIiwiY3VycmVudF9yb2xlX2lkIjozMSwiY3VycmVudF9zdG9yZV9pZCI6MTAwMDAwLCJpYXQiOjE3NzY5MTI4NDMsImV4cCI6MTc3NjkyNzI0M30.SR3SEaxWaO3bIIWUVRjCgXlzV4LCvHOv8iq7Y7-05xo"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"接口": "order.pendingOrder.list",
|
"接口": "order.pendingOrder.list",
|
||||||
"data": {
|
"data": {
|
||||||
"list": [],
|
"list": [
|
||||||
|
{
|
||||||
|
"id": 19,
|
||||||
|
"delivery_order_code": "JY2026042226043",
|
||||||
|
"pre_delivery_order_code": "",
|
||||||
|
"pre_delivery_order_id": "",
|
||||||
|
"order_type": "JYCK",
|
||||||
|
"order_flag": "订单快递分配失败: Include unexpected. Element has to be either a Model, an Association or an object.",
|
||||||
|
"source_order_codes": "",
|
||||||
|
"sys_platform_code": "DYXD",
|
||||||
|
"sys_platform_name": "抖音小店",
|
||||||
|
"create_at": "2026-04-22T14:44:21.000Z",
|
||||||
|
"place_order_time": "2026-04-22T14:43:37.000Z",
|
||||||
|
"pay_time": "2026-04-22T14:43:37.000Z",
|
||||||
|
"pay_no": "",
|
||||||
|
"service_code": null,
|
||||||
|
"operator_name": "1",
|
||||||
|
"operate_time": "2026-04-22T14:44:21.000Z",
|
||||||
|
"delivery_time": null,
|
||||||
|
"shop_nick": "加能量袜子店",
|
||||||
|
"seller_nick": "1",
|
||||||
|
"buyer_nick": "2118022440111",
|
||||||
|
"total_amount": "30.00",
|
||||||
|
"item_amount": "30.00",
|
||||||
|
"discount_amount": "0.00",
|
||||||
|
"freight": "0.00",
|
||||||
|
"ar_amount": "0.00",
|
||||||
|
"got_amount": "0.00",
|
||||||
|
"service_fee": null,
|
||||||
|
"logistics_name": "申通快递",
|
||||||
|
"delivery_type": null,
|
||||||
|
"weight_type": "常规",
|
||||||
|
"is_urgency": "N",
|
||||||
|
"invoice_flag": "N",
|
||||||
|
"status": "pedding",
|
||||||
|
"name": "21",
|
||||||
|
"zip_code": "",
|
||||||
|
"tel": "",
|
||||||
|
"mobile": "18022440111",
|
||||||
|
"email": "",
|
||||||
|
"province": "江西省",
|
||||||
|
"city": "上饶市",
|
||||||
|
"area": "婺源县",
|
||||||
|
"town": "沱川乡",
|
||||||
|
"detail_address": "江西省 上饶市 婺源县 沱川乡 11111",
|
||||||
|
"id_type": null,
|
||||||
|
"id_number": null,
|
||||||
|
"sync_status": "padding",
|
||||||
|
"items": "101384+1",
|
||||||
|
"items_count": 1,
|
||||||
|
"items_total": 1,
|
||||||
|
"items_weight": "0.00",
|
||||||
|
"wave_id": 0,
|
||||||
|
"post_status": "none",
|
||||||
|
"storage_status": "none",
|
||||||
|
"pick_status": "none",
|
||||||
|
"pack_status": "none",
|
||||||
|
"inspection_status": "error",
|
||||||
|
"print_status": "none",
|
||||||
|
"claim_status": "none",
|
||||||
|
"outbound_status": "none",
|
||||||
|
"lock_status": "none",
|
||||||
|
"intercept_status": "none",
|
||||||
|
"sys_logistics_name": null,
|
||||||
|
"express_numbers": [],
|
||||||
|
"waybill_codes": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 17,
|
||||||
|
"delivery_order_code": "JY2026042221152",
|
||||||
|
"pre_delivery_order_code": "",
|
||||||
|
"pre_delivery_order_id": "",
|
||||||
|
"order_type": "JYCK",
|
||||||
|
"order_flag": "",
|
||||||
|
"source_order_codes": "",
|
||||||
|
"sys_platform_code": "KS",
|
||||||
|
"sys_platform_name": "快手",
|
||||||
|
"create_at": "2026-04-22T11:12:18.000Z",
|
||||||
|
"place_order_time": "2026-04-22T08:38:34.000Z",
|
||||||
|
"pay_time": "2026-04-22T08:38:34.000Z",
|
||||||
|
"pay_no": "",
|
||||||
|
"service_code": null,
|
||||||
|
"operator_name": "吴",
|
||||||
|
"operate_time": "2026-04-22T11:12:18.000Z",
|
||||||
|
"delivery_time": null,
|
||||||
|
"shop_nick": "欧似",
|
||||||
|
"seller_nick": "吴",
|
||||||
|
"buyer_nick": "118022440198",
|
||||||
|
"total_amount": "0.00",
|
||||||
|
"item_amount": "0.00",
|
||||||
|
"discount_amount": "0.00",
|
||||||
|
"freight": "0.00",
|
||||||
|
"ar_amount": "0.00",
|
||||||
|
"got_amount": "0.00",
|
||||||
|
"service_fee": null,
|
||||||
|
"logistics_name": "顺丰空运产品",
|
||||||
|
"delivery_type": null,
|
||||||
|
"weight_type": "常规",
|
||||||
|
"is_urgency": "N",
|
||||||
|
"invoice_flag": "N",
|
||||||
|
"status": "pedding",
|
||||||
|
"name": "1",
|
||||||
|
"zip_code": "",
|
||||||
|
"tel": "",
|
||||||
|
"mobile": "18022440198",
|
||||||
|
"email": "",
|
||||||
|
"province": "广东省",
|
||||||
|
"city": "广州市",
|
||||||
|
"area": "白云区",
|
||||||
|
"town": "人和镇",
|
||||||
|
"detail_address": "广东省 广州市 白云区 人和镇 测试收货地址",
|
||||||
|
"id_type": null,
|
||||||
|
"id_number": null,
|
||||||
|
"sync_status": "padding",
|
||||||
|
"items": "101382+1@318|101390+1@1",
|
||||||
|
"items_count": 2,
|
||||||
|
"items_total": 2,
|
||||||
|
"items_weight": "319.00",
|
||||||
|
"wave_id": 0,
|
||||||
|
"post_status": "fin",
|
||||||
|
"storage_status": "fin",
|
||||||
|
"pick_status": "none",
|
||||||
|
"pack_status": "none",
|
||||||
|
"inspection_status": "padding",
|
||||||
|
"print_status": "none",
|
||||||
|
"claim_status": "none",
|
||||||
|
"outbound_status": "none",
|
||||||
|
"lock_status": "none",
|
||||||
|
"intercept_status": "none",
|
||||||
|
"sys_logistics_name": null,
|
||||||
|
"express_numbers": [
|
||||||
|
"776442337356115"
|
||||||
|
],
|
||||||
|
"waybill_codes": [
|
||||||
|
"776442337356115"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
"pagination": {
|
"pagination": {
|
||||||
"page": 1,
|
"page": 1,
|
||||||
"pageSize": 20,
|
"pageSize": 20,
|
||||||
"total": 0,
|
"total": 2,
|
||||||
"totalPages": 0,
|
"totalPages": 1,
|
||||||
"hasPrevious": false,
|
"hasPrevious": false,
|
||||||
"hasNext": false
|
"hasNext": false
|
||||||
}
|
}
|
||||||
@ -44,10 +181,6 @@
|
|||||||
"接口": "order.pendingOrder.allocateStorage",
|
"接口": "order.pendingOrder.allocateStorage",
|
||||||
"data": null
|
"data": null
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"接口": "order.pendingOrder.syncOrderIds",
|
|
||||||
"data": null
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"接口": "order.pendingOrder.cancelAllocateStorage",
|
"接口": "order.pendingOrder.cancelAllocateStorage",
|
||||||
"data": null
|
"data": null
|
||||||
|
|||||||
@ -1,11 +1,11 @@
|
|||||||
# 接口
|
# 接口
|
||||||
|
|
||||||
- 更新时间: 2026-04-25 11:55:22
|
- 更新时间: 2026-04-23 14:20:01
|
||||||
- 扫描目录: `src\api`
|
- 扫描目录: `src\api`
|
||||||
- 模块数: 30
|
- 模块数: 30
|
||||||
- API 文件数: 30
|
- API 文件数: 30
|
||||||
- 接口数: 236
|
- 接口数: 235
|
||||||
- 已启用: 208
|
- 已启用: 207
|
||||||
- 占位接口: 2
|
- 占位接口: 2
|
||||||
|
|
||||||
## 模块统计
|
## 模块统计
|
||||||
@ -22,7 +22,7 @@
|
|||||||
| order.expectionorder | 1 | 3 | 3 | 0 |
|
| order.expectionorder | 1 | 3 | 3 | 0 |
|
||||||
| order.index | 1 | 5 | 4 | 0 |
|
| order.index | 1 | 5 | 4 | 0 |
|
||||||
| order.outboundorder | 1 | 3 | 3 | 0 |
|
| order.outboundorder | 1 | 3 | 3 | 0 |
|
||||||
| order.pendingorder | 1 | 15 | 15 | 0 |
|
| order.pendingorder | 1 | 14 | 14 | 0 |
|
||||||
| order.revieworder | 1 | 3 | 3 | 0 |
|
| order.revieworder | 1 | 3 | 3 | 0 |
|
||||||
| print | 1 | 13 | 12 | 1 |
|
| print | 1 | 13 | 12 | 1 |
|
||||||
| printer.station | 1 | 11 | 1 | 0 |
|
| printer.station | 1 | 11 | 1 | 0 |
|
||||||
@ -101,7 +101,6 @@
|
|||||||
| order.pendingorder | orderPendingOrderList | order.pendingOrder.list | 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 | orderPendingOrderMarkPendingOutboundOrder | order.pendingOrder.markPendingOutboundOrder | POST | 是 | 否 | order.pendingorder/orderpendingOrder.ts | |
|
||||||
| order.pendingorder | orderPendingOrderReverseReviewOrder | order.pendingOrder.reverseReviewOrder | POST | 是 | 否 | order.pendingorder/orderpendingOrder.ts | |
|
| order.pendingorder | orderPendingOrderReverseReviewOrder | order.pendingOrder.reverseReviewOrder | POST | 是 | 否 | order.pendingorder/orderpendingOrder.ts | |
|
||||||
| order.pendingorder | orderPendingOrderSyncOrderIds | order.pendingOrder.syncOrderIds | POST | 是 | 否 | order.pendingorder/orderpendingOrder.ts | |
|
|
||||||
| order.pendingorder | orderPendingOrderUpdateOrderExpress | order.pendingOrder.updateOrderExpress | 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.pendingorder | orderPendingOrderUpdateOrderPlatform | order.pendingOrder.updateOrderPlatform | POST | 是 | 否 | order.pendingorder/orderpendingOrder.ts | |
|
||||||
| order.revieworder | orderReviewOrderDetail | order.reviewOrder.detail | POST | 是 | 否 | order.revieworder/orderreviewOrder.ts | |
|
| order.revieworder | orderReviewOrderDetail | order.reviewOrder.detail | POST | 是 | 否 | order.revieworder/orderreviewOrder.ts | |
|
||||||
|
|||||||
@ -35,10 +35,6 @@
|
|||||||
"method": "order.pendingOrder.allocateStorage",
|
"method": "order.pendingOrder.allocateStorage",
|
||||||
"body": {}
|
"body": {}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"method": "order.pendingOrder.syncOrderIds",
|
|
||||||
"body": {}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"method": "order.pendingOrder.cancelAllocateStorage",
|
"method": "order.pendingOrder.cancelAllocateStorage",
|
||||||
"body": {}
|
"body": {}
|
||||||
|
|||||||
@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"数据一览": {
|
"数据一览": {
|
||||||
"当前请求数": 16,
|
"当前请求数": 15,
|
||||||
"成功数": 3,
|
"成功数": 3,
|
||||||
"全部请求数": 16,
|
"全部请求数": 15,
|
||||||
"成功数与全部请求数": "3/16",
|
"成功数与全部请求数": "3/15",
|
||||||
"成功判定名单": [
|
"成功判定名单": [
|
||||||
"ok",
|
"ok",
|
||||||
"成功",
|
"成功",
|
||||||
@ -110,22 +110,6 @@
|
|||||||
"src/views/order/orderManagement/pendingOrder.vue"
|
"src/views/order/orderManagement/pendingOrder.vue"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"接口": "order.pendingOrder.syncOrderIds",
|
|
||||||
"message": "订单ID不能为空",
|
|
||||||
"code": 400,
|
|
||||||
"模块目录": "order.pendingorder",
|
|
||||||
"api封装": [
|
|
||||||
{
|
|
||||||
"文件": "src/api/order.pendingorder/orderpendingOrder.ts",
|
|
||||||
"方法名": "orderPendingOrder.syncOrderIds",
|
|
||||||
"说明": "聚合对象方法"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"引用页面": [
|
|
||||||
"src/views/order/orderManagement/pendingOrder.vue"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"接口": "order.pendingOrder.cancelAllocateStorage",
|
"接口": "order.pendingOrder.cancelAllocateStorage",
|
||||||
"message": "订单ID不能为空",
|
"message": "订单ID不能为空",
|
||||||
@ -227,24 +211,7 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"空数据接口": [
|
"空数据接口": []
|
||||||
{
|
|
||||||
"接口": "order.pendingOrder.list",
|
|
||||||
"message": "ok",
|
|
||||||
"code": 1,
|
|
||||||
"模块目录": "order.pendingorder",
|
|
||||||
"api封装": [
|
|
||||||
{
|
|
||||||
"文件": "src/api/order.pendingorder/orderpendingOrder.ts",
|
|
||||||
"方法名": "orderPendingOrder.list",
|
|
||||||
"说明": "聚合对象方法"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"引用页面": [
|
|
||||||
"src/views/order/orderManagement/pendingOrder.vue"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"详情": [
|
"详情": [
|
||||||
{
|
{
|
||||||
@ -252,7 +219,7 @@
|
|||||||
"message": "登录成功",
|
"message": "登录成功",
|
||||||
"code": 200,
|
"code": 200,
|
||||||
"data": {
|
"data": {
|
||||||
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywidXNlcm5hbWUiOiJ5am0iLCJyZWFsX25hbWUiOiJ5aW4iLCJwbGF0Zm9ybV9jb2RlIjoid2ViIiwiY3VycmVudF9yb2xlX2lkIjozNCwiY3VycmVudF9zdG9yZV9pZCI6MTAwMDAyOCwiaWF0IjoxNzc3MTAxOTAwLCJleHAiOjE3NzcxMTYzMDB9.xMHPvd05bQZ3-x2v15CwQ_CsRn20Ep1lBSpd_YkCbsQ"
|
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywidXNlcm5hbWUiOiJ5am0iLCJyZWFsX25hbWUiOiJ5aW4iLCJwbGF0Zm9ybV9jb2RlIjoid2ViIiwiY3VycmVudF9yb2xlX2lkIjozMSwiY3VycmVudF9zdG9yZV9pZCI6MTAwMDAwLCJpYXQiOjE3NzY5MTI4NDMsImV4cCI6MTc3NjkyNzI0M30.SR3SEaxWaO3bIIWUVRjCgXlzV4LCvHOv8iq7Y7-05xo"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -260,12 +227,149 @@
|
|||||||
"message": "ok",
|
"message": "ok",
|
||||||
"code": 1,
|
"code": 1,
|
||||||
"data": {
|
"data": {
|
||||||
"list": [],
|
"list": [
|
||||||
|
{
|
||||||
|
"id": 19,
|
||||||
|
"delivery_order_code": "JY2026042226043",
|
||||||
|
"pre_delivery_order_code": "",
|
||||||
|
"pre_delivery_order_id": "",
|
||||||
|
"order_type": "JYCK",
|
||||||
|
"order_flag": "订单快递分配失败: Include unexpected. Element has to be either a Model, an Association or an object.",
|
||||||
|
"source_order_codes": "",
|
||||||
|
"sys_platform_code": "DYXD",
|
||||||
|
"sys_platform_name": "抖音小店",
|
||||||
|
"create_at": "2026-04-22T14:44:21.000Z",
|
||||||
|
"place_order_time": "2026-04-22T14:43:37.000Z",
|
||||||
|
"pay_time": "2026-04-22T14:43:37.000Z",
|
||||||
|
"pay_no": "",
|
||||||
|
"service_code": null,
|
||||||
|
"operator_name": "1",
|
||||||
|
"operate_time": "2026-04-22T14:44:21.000Z",
|
||||||
|
"delivery_time": null,
|
||||||
|
"shop_nick": "加能量袜子店",
|
||||||
|
"seller_nick": "1",
|
||||||
|
"buyer_nick": "2118022440111",
|
||||||
|
"total_amount": "30.00",
|
||||||
|
"item_amount": "30.00",
|
||||||
|
"discount_amount": "0.00",
|
||||||
|
"freight": "0.00",
|
||||||
|
"ar_amount": "0.00",
|
||||||
|
"got_amount": "0.00",
|
||||||
|
"service_fee": null,
|
||||||
|
"logistics_name": "申通快递",
|
||||||
|
"delivery_type": null,
|
||||||
|
"weight_type": "常规",
|
||||||
|
"is_urgency": "N",
|
||||||
|
"invoice_flag": "N",
|
||||||
|
"status": "pedding",
|
||||||
|
"name": "21",
|
||||||
|
"zip_code": "",
|
||||||
|
"tel": "",
|
||||||
|
"mobile": "18022440111",
|
||||||
|
"email": "",
|
||||||
|
"province": "江西省",
|
||||||
|
"city": "上饶市",
|
||||||
|
"area": "婺源县",
|
||||||
|
"town": "沱川乡",
|
||||||
|
"detail_address": "江西省 上饶市 婺源县 沱川乡 11111",
|
||||||
|
"id_type": null,
|
||||||
|
"id_number": null,
|
||||||
|
"sync_status": "padding",
|
||||||
|
"items": "101384+1",
|
||||||
|
"items_count": 1,
|
||||||
|
"items_total": 1,
|
||||||
|
"items_weight": "0.00",
|
||||||
|
"wave_id": 0,
|
||||||
|
"post_status": "none",
|
||||||
|
"storage_status": "none",
|
||||||
|
"pick_status": "none",
|
||||||
|
"pack_status": "none",
|
||||||
|
"inspection_status": "error",
|
||||||
|
"print_status": "none",
|
||||||
|
"claim_status": "none",
|
||||||
|
"outbound_status": "none",
|
||||||
|
"lock_status": "none",
|
||||||
|
"intercept_status": "none",
|
||||||
|
"sys_logistics_name": null,
|
||||||
|
"express_numbers": [],
|
||||||
|
"waybill_codes": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 17,
|
||||||
|
"delivery_order_code": "JY2026042221152",
|
||||||
|
"pre_delivery_order_code": "",
|
||||||
|
"pre_delivery_order_id": "",
|
||||||
|
"order_type": "JYCK",
|
||||||
|
"order_flag": "",
|
||||||
|
"source_order_codes": "",
|
||||||
|
"sys_platform_code": "KS",
|
||||||
|
"sys_platform_name": "快手",
|
||||||
|
"create_at": "2026-04-22T11:12:18.000Z",
|
||||||
|
"place_order_time": "2026-04-22T08:38:34.000Z",
|
||||||
|
"pay_time": "2026-04-22T08:38:34.000Z",
|
||||||
|
"pay_no": "",
|
||||||
|
"service_code": null,
|
||||||
|
"operator_name": "吴",
|
||||||
|
"operate_time": "2026-04-22T11:12:18.000Z",
|
||||||
|
"delivery_time": null,
|
||||||
|
"shop_nick": "欧似",
|
||||||
|
"seller_nick": "吴",
|
||||||
|
"buyer_nick": "118022440198",
|
||||||
|
"total_amount": "0.00",
|
||||||
|
"item_amount": "0.00",
|
||||||
|
"discount_amount": "0.00",
|
||||||
|
"freight": "0.00",
|
||||||
|
"ar_amount": "0.00",
|
||||||
|
"got_amount": "0.00",
|
||||||
|
"service_fee": null,
|
||||||
|
"logistics_name": "顺丰空运产品",
|
||||||
|
"delivery_type": null,
|
||||||
|
"weight_type": "常规",
|
||||||
|
"is_urgency": "N",
|
||||||
|
"invoice_flag": "N",
|
||||||
|
"status": "pedding",
|
||||||
|
"name": "1",
|
||||||
|
"zip_code": "",
|
||||||
|
"tel": "",
|
||||||
|
"mobile": "18022440198",
|
||||||
|
"email": "",
|
||||||
|
"province": "广东省",
|
||||||
|
"city": "广州市",
|
||||||
|
"area": "白云区",
|
||||||
|
"town": "人和镇",
|
||||||
|
"detail_address": "广东省 广州市 白云区 人和镇 测试收货地址",
|
||||||
|
"id_type": null,
|
||||||
|
"id_number": null,
|
||||||
|
"sync_status": "padding",
|
||||||
|
"items": "101382+1@318|101390+1@1",
|
||||||
|
"items_count": 2,
|
||||||
|
"items_total": 2,
|
||||||
|
"items_weight": "319.00",
|
||||||
|
"wave_id": 0,
|
||||||
|
"post_status": "fin",
|
||||||
|
"storage_status": "fin",
|
||||||
|
"pick_status": "none",
|
||||||
|
"pack_status": "none",
|
||||||
|
"inspection_status": "padding",
|
||||||
|
"print_status": "none",
|
||||||
|
"claim_status": "none",
|
||||||
|
"outbound_status": "none",
|
||||||
|
"lock_status": "none",
|
||||||
|
"intercept_status": "none",
|
||||||
|
"sys_logistics_name": null,
|
||||||
|
"express_numbers": [
|
||||||
|
"776442337356115"
|
||||||
|
],
|
||||||
|
"waybill_codes": [
|
||||||
|
"776442337356115"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
"pagination": {
|
"pagination": {
|
||||||
"page": 1,
|
"page": 1,
|
||||||
"pageSize": 20,
|
"pageSize": 20,
|
||||||
"total": 0,
|
"total": 2,
|
||||||
"totalPages": 0,
|
"totalPages": 1,
|
||||||
"hasPrevious": false,
|
"hasPrevious": false,
|
||||||
"hasNext": false
|
"hasNext": false
|
||||||
}
|
}
|
||||||
@ -307,12 +411,6 @@
|
|||||||
"code": 400,
|
"code": 400,
|
||||||
"data": null
|
"data": null
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"接口": "order.pendingOrder.syncOrderIds",
|
|
||||||
"message": "订单ID不能为空",
|
|
||||||
"code": 400,
|
|
||||||
"data": null
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"接口": "order.pendingOrder.cancelAllocateStorage",
|
"接口": "order.pendingOrder.cancelAllocateStorage",
|
||||||
"message": "订单ID不能为空",
|
"message": "订单ID不能为空",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-04-27 09:29:10",
|
"generatedAt": "2026-04-24 09:07:34",
|
||||||
"generatedAtLocal": "2026-04-27 09:29:10",
|
"generatedAtLocal": "2026-04-24 09:07:34",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
@ -12,7 +12,7 @@
|
|||||||
"label": "全部"
|
"label": "全部"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"totalInterfaceCount": 205,
|
"totalInterfaceCount": 204,
|
||||||
"changes": {
|
"changes": {
|
||||||
"summary": {
|
"summary": {
|
||||||
"moduleAdded": 0,
|
"moduleAdded": 0,
|
||||||
@ -2711,63 +2711,6 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"moduleName": "待处理订单模块",
|
|
||||||
"moduleKey": "order.pendingOrder",
|
|
||||||
"moduleFolder": "order.pendingorder",
|
|
||||||
"method": "order.pendingOrder.syncOrderIds",
|
|
||||||
"title": "同步待处理订单入口,仅接收 order_ids 并转发到服务层,当前不做业务处理。",
|
|
||||||
"description": "同步待处理订单入口,仅接收 order_ids 并转发到服务层,当前不做业务处理。",
|
|
||||||
"endpoint": "/system",
|
|
||||||
"authRequired": false,
|
|
||||||
"loginRequired": true,
|
|
||||||
"status": {
|
|
||||||
"isUsed": false,
|
|
||||||
"isPlaceholder": false
|
|
||||||
},
|
|
||||||
"headers": [
|
|
||||||
{
|
|
||||||
"name": "Authorization",
|
|
||||||
"type": "string",
|
|
||||||
"required": true,
|
|
||||||
"description": "Bearer token"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"params": [
|
|
||||||
{
|
|
||||||
"name": "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": "服务层返回值,当前仅透传 order_ids"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"moduleName": "待处理订单模块",
|
"moduleName": "待处理订单模块",
|
||||||
"moduleKey": "order.pendingOrder",
|
"moduleKey": "order.pendingOrder",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-04-27 09:29:10",
|
"generatedAt": "2026-04-24 09:07:34",
|
||||||
"generatedAtLocal": "2026-04-27 09:29:10",
|
"generatedAtLocal": "2026-04-24 09:07:34",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
@ -13,7 +13,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"moduleCount": 30,
|
"moduleCount": 30,
|
||||||
"totalInterfaceCount": 205,
|
"totalInterfaceCount": 204,
|
||||||
"changes": {
|
"changes": {
|
||||||
"summary": {
|
"summary": {
|
||||||
"moduleAdded": 0,
|
"moduleAdded": 0,
|
||||||
@ -204,7 +204,7 @@
|
|||||||
"moduleName": "待处理订单模块",
|
"moduleName": "待处理订单模块",
|
||||||
"moduleKey": "order.pendingOrder",
|
"moduleKey": "order.pendingOrder",
|
||||||
"folder": "order.pendingorder",
|
"folder": "order.pendingorder",
|
||||||
"interfaceCount": 15,
|
"interfaceCount": 14,
|
||||||
"interfaces": [
|
"interfaces": [
|
||||||
{
|
{
|
||||||
"method": "order.pendingOrder.list"
|
"method": "order.pendingOrder.list"
|
||||||
@ -227,9 +227,6 @@
|
|||||||
{
|
{
|
||||||
"method": "order.pendingOrder.allocateStorage"
|
"method": "order.pendingOrder.allocateStorage"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"method": "order.pendingOrder.syncOrderIds"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"method": "order.pendingOrder.cancelAllocateStorage"
|
"method": "order.pendingOrder.cancelAllocateStorage"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-04-27 09:29:10",
|
"updatedAt": "2026-04-24 09:07:34",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-04-27 09:29:10",
|
"generatedAt": "2026-04-24 09:07:34",
|
||||||
"generatedAtLocal": "2026-04-27 09:29:10",
|
"generatedAtLocal": "2026-04-24 09:07:34",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-04-27 09:29:10",
|
"updatedAt": "2026-04-24 09:07:34",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-04-27 09:29:10",
|
"generatedAt": "2026-04-24 09:07:34",
|
||||||
"generatedAtLocal": "2026-04-27 09:29:10",
|
"generatedAtLocal": "2026-04-24 09:07:34",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-04-27 09:29:10",
|
"updatedAt": "2026-04-24 09:07:34",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-04-27 09:29:10",
|
"generatedAt": "2026-04-24 09:07:34",
|
||||||
"generatedAtLocal": "2026-04-27 09:29:10",
|
"generatedAtLocal": "2026-04-24 09:07:34",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-04-27 09:29:10",
|
"updatedAt": "2026-04-24 09:07:34",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": "2026-04-17 19:16:50"
|
"restoredAt": "2026-04-17 19:16:50"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-04-27 09:29:10",
|
"generatedAt": "2026-04-24 09:07:34",
|
||||||
"generatedAtLocal": "2026-04-27 09:29:10",
|
"generatedAtLocal": "2026-04-24 09:07:34",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-04-27 09:29:10",
|
"updatedAt": "2026-04-24 09:07:34",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": "2026-04-17 19:16:50"
|
"restoredAt": "2026-04-17 19:16:50"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-04-27 09:29:10",
|
"generatedAt": "2026-04-24 09:07:34",
|
||||||
"generatedAtLocal": "2026-04-27 09:29:10",
|
"generatedAtLocal": "2026-04-24 09:07:34",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-04-27 09:29:10",
|
"updatedAt": "2026-04-24 09:07:34",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": "2026-04-17 19:16:50"
|
"restoredAt": "2026-04-17 19:16:50"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-04-27 09:29:10",
|
"generatedAt": "2026-04-24 09:07:34",
|
||||||
"generatedAtLocal": "2026-04-27 09:29:10",
|
"generatedAtLocal": "2026-04-24 09:07:34",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-04-27 09:29:10",
|
"updatedAt": "2026-04-24 09:07:34",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": "2026-04-17 19:16:50"
|
"restoredAt": "2026-04-17 19:16:50"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-04-27 09:29:10",
|
"generatedAt": "2026-04-24 09:07:34",
|
||||||
"generatedAtLocal": "2026-04-27 09:29:10",
|
"generatedAtLocal": "2026-04-24 09:07:34",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-04-27 09:29:10",
|
"updatedAt": "2026-04-24 09:07:34",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": "2026-04-17 19:16:50"
|
"restoredAt": "2026-04-17 19:16:50"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-04-27 09:29:10",
|
"generatedAt": "2026-04-24 09:07:34",
|
||||||
"generatedAtLocal": "2026-04-27 09:29:10",
|
"generatedAtLocal": "2026-04-24 09:07:34",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-04-27 09:29:10",
|
"updatedAt": "2026-04-24 09:07:34",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": "2026-04-17 19:16:50"
|
"restoredAt": "2026-04-17 19:16:50"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-04-27 09:29:10",
|
"generatedAt": "2026-04-24 09:07:34",
|
||||||
"generatedAtLocal": "2026-04-27 09:29:10",
|
"generatedAtLocal": "2026-04-24 09:07:34",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-04-27 09:29:10",
|
"updatedAt": "2026-04-24 09:07:34",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": "2026-04-17 19:16:50"
|
"restoredAt": "2026-04-17 19:16:50"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-04-27 09:29:10",
|
"generatedAt": "2026-04-24 09:07:34",
|
||||||
"generatedAtLocal": "2026-04-27 09:29:10",
|
"generatedAtLocal": "2026-04-24 09:07:34",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-04-27 09:29:10",
|
"updatedAt": "2026-04-24 09:07:34",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": "2026-04-17 19:16:50"
|
"restoredAt": "2026-04-17 19:16:50"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-04-27 09:29:10",
|
"generatedAt": "2026-04-24 09:07:34",
|
||||||
"generatedAtLocal": "2026-04-27 09:29:10",
|
"generatedAtLocal": "2026-04-24 09:07:34",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
@ -16,7 +16,7 @@
|
|||||||
"name": "待处理订单模块",
|
"name": "待处理订单模块",
|
||||||
"key": "order.pendingOrder",
|
"key": "order.pendingOrder",
|
||||||
"folder": "order.pendingorder",
|
"folder": "order.pendingorder",
|
||||||
"interfaceCount": 15
|
"interfaceCount": 14
|
||||||
},
|
},
|
||||||
"changes": {
|
"changes": {
|
||||||
"fromPreviousSnapshot": {
|
"fromPreviousSnapshot": {
|
||||||
@ -469,60 +469,6 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"method": "order.pendingOrder.syncOrderIds",
|
|
||||||
"title": "同步待处理订单入口,仅接收 order_ids 并转发到服务层,当前不做业务处理。",
|
|
||||||
"description": "同步待处理订单入口,仅接收 order_ids 并转发到服务层,当前不做业务处理。",
|
|
||||||
"endpoint": "/system",
|
|
||||||
"authRequired": false,
|
|
||||||
"loginRequired": true,
|
|
||||||
"status": {
|
|
||||||
"isUsed": false,
|
|
||||||
"isPlaceholder": false
|
|
||||||
},
|
|
||||||
"headers": [
|
|
||||||
{
|
|
||||||
"name": "Authorization",
|
|
||||||
"type": "string",
|
|
||||||
"required": true,
|
|
||||||
"description": "Bearer token"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"params": [
|
|
||||||
{
|
|
||||||
"name": "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": "服务层返回值,当前仅透传 order_ids"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"method": "order.pendingOrder.cancelAllocateStorage",
|
"method": "order.pendingOrder.cancelAllocateStorage",
|
||||||
"title": "待处理模块的取消分配储位入口,直接对接 system service 的 cancelAllocateStorage。仅接受订单ID(order_ids)作为入参,不接受 allow_storage_location 或 warehouse_id/warehouseId;仓库上下文来自当前登录用户的 store_id。",
|
"title": "待处理模块的取消分配储位入口,直接对接 system service 的 cancelAllocateStorage。仅接受订单ID(order_ids)作为入参,不接受 allow_storage_location 或 warehouse_id/warehouseId;仓库上下文来自当前登录用户的 store_id。",
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-04-27 09:29:10",
|
"updatedAt": "2026-04-24 09:07:34",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": "2026-04-17 19:16:50"
|
"restoredAt": "2026-04-17 19:16:50"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-04-27 09:29:10",
|
"generatedAt": "2026-04-24 09:07:34",
|
||||||
"generatedAtLocal": "2026-04-27 09:29:10",
|
"generatedAtLocal": "2026-04-24 09:07:34",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-04-27 09:29:10",
|
"updatedAt": "2026-04-24 09:07:34",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-04-27 09:29:10",
|
"generatedAt": "2026-04-24 09:07:34",
|
||||||
"generatedAtLocal": "2026-04-27 09:29:10",
|
"generatedAtLocal": "2026-04-24 09:07:34",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-04-27 09:29:10",
|
"updatedAt": "2026-04-24 09:07:34",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-04-27 09:29:10",
|
"generatedAt": "2026-04-24 09:07:34",
|
||||||
"generatedAtLocal": "2026-04-27 09:29:10",
|
"generatedAtLocal": "2026-04-24 09:07:34",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-04-27 09:29:10",
|
"updatedAt": "2026-04-24 09:07:34",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-04-27 09:29:10",
|
"generatedAt": "2026-04-24 09:07:34",
|
||||||
"generatedAtLocal": "2026-04-27 09:29:10",
|
"generatedAtLocal": "2026-04-24 09:07:34",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-17 19:37:49",
|
"createdAt": "2026-04-17 19:37:49",
|
||||||
"updatedAt": "2026-04-27 09:29:10",
|
"updatedAt": "2026-04-24 09:07:34",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-04-27 09:29:10",
|
"generatedAt": "2026-04-24 09:07:34",
|
||||||
"generatedAtLocal": "2026-04-27 09:29:10",
|
"generatedAtLocal": "2026-04-24 09:07:34",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-17 20:21:27",
|
"createdAt": "2026-04-17 20:21:27",
|
||||||
"updatedAt": "2026-04-27 09:29:10",
|
"updatedAt": "2026-04-24 09:07:34",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-04-27 09:29:10",
|
"generatedAt": "2026-04-24 09:07:34",
|
||||||
"generatedAtLocal": "2026-04-27 09:29:10",
|
"generatedAtLocal": "2026-04-24 09:07:34",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-04-27 09:29:10",
|
"updatedAt": "2026-04-24 09:07:34",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-04-27 09:29:10",
|
"generatedAt": "2026-04-24 09:07:34",
|
||||||
"generatedAtLocal": "2026-04-27 09:29:10",
|
"generatedAtLocal": "2026-04-24 09:07:34",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-17 19:16:50",
|
"createdAt": "2026-04-17 19:16:50",
|
||||||
"updatedAt": "2026-04-27 09:29:10",
|
"updatedAt": "2026-04-24 09:07:34",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-04-27 09:29:10",
|
"generatedAt": "2026-04-24 09:07:34",
|
||||||
"generatedAtLocal": "2026-04-27 09:29:10",
|
"generatedAtLocal": "2026-04-24 09:07:34",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-04-27 09:29:10",
|
"updatedAt": "2026-04-24 09:07:34",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-04-27 09:29:10",
|
"generatedAt": "2026-04-24 09:07:34",
|
||||||
"generatedAtLocal": "2026-04-27 09:29:10",
|
"generatedAtLocal": "2026-04-24 09:07:34",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-04-27 09:29:10",
|
"updatedAt": "2026-04-24 09:07:34",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-04-27 09:29:10",
|
"generatedAt": "2026-04-24 09:07:34",
|
||||||
"generatedAtLocal": "2026-04-27 09:29:10",
|
"generatedAtLocal": "2026-04-24 09:07:34",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-04-27 09:29:10",
|
"updatedAt": "2026-04-24 09:07:34",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-04-27 09:29:10",
|
"generatedAt": "2026-04-24 09:07:34",
|
||||||
"generatedAtLocal": "2026-04-27 09:29:10",
|
"generatedAtLocal": "2026-04-24 09:07:34",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-04-27 09:29:10",
|
"updatedAt": "2026-04-24 09:07:34",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-04-27 09:29:10",
|
"generatedAt": "2026-04-24 09:07:34",
|
||||||
"generatedAtLocal": "2026-04-27 09:29:10",
|
"generatedAtLocal": "2026-04-24 09:07:34",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-04-27 09:29:10",
|
"updatedAt": "2026-04-24 09:07:34",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-04-27 09:29:10",
|
"generatedAt": "2026-04-24 09:07:34",
|
||||||
"generatedAtLocal": "2026-04-27 09:29:10",
|
"generatedAtLocal": "2026-04-24 09:07:34",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-04-27 09:29:10",
|
"updatedAt": "2026-04-24 09:07:34",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-04-27 09:29:10",
|
"generatedAt": "2026-04-24 09:07:34",
|
||||||
"generatedAtLocal": "2026-04-27 09:29:10",
|
"generatedAtLocal": "2026-04-24 09:07:34",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-04-27 09:29:10",
|
"updatedAt": "2026-04-24 09:07:34",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": "2026-04-17 19:16:50"
|
"restoredAt": "2026-04-17 19:16:50"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-04-27 09:29:10",
|
"generatedAt": "2026-04-24 09:07:34",
|
||||||
"generatedAtLocal": "2026-04-27 09:29:10",
|
"generatedAtLocal": "2026-04-24 09:07:34",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-04-27 09:29:10",
|
"updatedAt": "2026-04-24 09:07:34",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-04-27 09:29:10",
|
"generatedAt": "2026-04-24 09:07:34",
|
||||||
"generatedAtLocal": "2026-04-27 09:29:10",
|
"generatedAtLocal": "2026-04-24 09:07:34",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-04-27 09:29:10",
|
"updatedAt": "2026-04-24 09:07:34",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-04-27 09:29:10",
|
"generatedAt": "2026-04-24 09:07:34",
|
||||||
"generatedAtLocal": "2026-04-27 09:29:10",
|
"generatedAtLocal": "2026-04-24 09:07:34",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-04-27 09:29:10",
|
"updatedAt": "2026-04-24 09:07:34",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-04-27 09:29:10",
|
"generatedAt": "2026-04-24 09:07:34",
|
||||||
"generatedAtLocal": "2026-04-27 09:29:10",
|
"generatedAtLocal": "2026-04-24 09:07:34",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"createdAt": "2026-04-16 11:15:05",
|
"createdAt": "2026-04-16 11:15:05",
|
||||||
"updatedAt": "2026-04-27 09:29:10",
|
"updatedAt": "2026-04-24 09:07:34",
|
||||||
"deletedAt": null,
|
"deletedAt": null,
|
||||||
"restoredAt": null
|
"restoredAt": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"generatedAt": "2026-04-27 09:29:10",
|
"generatedAt": "2026-04-24 09:07:34",
|
||||||
"generatedAtLocal": "2026-04-27 09:29:10",
|
"generatedAtLocal": "2026-04-24 09:07:34",
|
||||||
"source": "remote",
|
"source": "remote",
|
||||||
"filter": {
|
"filter": {
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user