From 2f50ccf7e0a909013b63e0b22662f8ca571ec844 Mon Sep 17 00:00:00 2001 From: "HUOJIN\\92525" Date: Tue, 9 Dec 2025 19:31:02 +0800 Subject: [PATCH] no message --- src/views/inventory/Inventory.data.ts | 36 ++++++++++--------- .../inventory/components/InventoryForm.vue | 2 +- src/views/inventoryLog/InventoryLog.data.ts | 20 ++++++++++- src/views/monitor/log/index.vue | 19 ++++++---- src/views/monitor/log/log.data.ts | 31 ++++++++-------- src/views/receive/asn/Asn.data.ts | 6 ---- 6 files changed, 69 insertions(+), 45 deletions(-) diff --git a/src/views/inventory/Inventory.data.ts b/src/views/inventory/Inventory.data.ts index a0ec47e..0b34842 100644 --- a/src/views/inventory/Inventory.data.ts +++ b/src/views/inventory/Inventory.data.ts @@ -38,18 +38,30 @@ export const columns: BasicColumn[] = [ width: 100, }, - { - title: '批次号', - align: 'center', - dataIndex: 'propC1', - width: 100, - }, { title: '外部仓库', align: 'center', dataIndex: 'whCode', width: 100, }, + { + title: '项目号', + align: 'center', + dataIndex: 'project', + width: 100, + }, + { + title: '任务号', + align: 'center', + dataIndex: 'taskNo', + width: 100, + }, + { + title: '批次号', + align: 'center', + dataIndex: 'propC1', + width: 100, + }, { title: '外部库存状态', align: 'center', @@ -57,17 +69,7 @@ export const columns: BasicColumn[] = [ width: 110, }, { - title: '生产日期', - align: 'center', - dataIndex: 'propD1', - width: 100, - customRender: ({ text }) => { - text = !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - return text; - }, - }, - { - title: '描述', + title: '备注', align: 'center', dataIndex: 'description', }, diff --git a/src/views/inventory/components/InventoryForm.vue b/src/views/inventory/components/InventoryForm.vue index 88736a3..aafcb28 100644 --- a/src/views/inventory/components/InventoryForm.vue +++ b/src/views/inventory/components/InventoryForm.vue @@ -121,7 +121,7 @@ pointId: undefined, stockId: undefined, quantity: '', - queuedQty: '', + queuedQty: 0, whCode: '', propC1: '', propC2: '', diff --git a/src/views/inventoryLog/InventoryLog.data.ts b/src/views/inventoryLog/InventoryLog.data.ts index 31f7d60..b6c4973 100644 --- a/src/views/inventoryLog/InventoryLog.data.ts +++ b/src/views/inventoryLog/InventoryLog.data.ts @@ -61,6 +61,18 @@ export const columns: BasicColumn[] = [ dataIndex: 'afterAllocatedQty', width: 120, }, + { + title: '项目号', + align: 'center', + dataIndex: 'project', + width: 100, + }, + { + title: '任务号', + align: 'center', + dataIndex: 'taskNo', + width: 100, + }, { title: '批次号', align: 'center', @@ -68,7 +80,13 @@ export const columns: BasicColumn[] = [ width: 100, }, { - title: '描述', + title: '外部库存状态', + align: 'center', + dataIndex: 'propC3', + width: 100, + }, + { + title: '备注', align: 'center', dataIndex: 'description', ellipsis: true, diff --git a/src/views/monitor/log/index.vue b/src/views/monitor/log/index.vue index 772a14f..cf53619 100644 --- a/src/views/monitor/log/index.vue +++ b/src/views/monitor/log/index.vue @@ -18,13 +18,20 @@