From 6e5df70ee60a8b71dc9e4f5d2e4cd76f20ac8e49 Mon Sep 17 00:00:00 2001 From: dxc Date: Thu, 12 Feb 2026 10:05:16 +0800 Subject: [PATCH] fix: add typeLabel for display in outbound manual selection dialog Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) --- inventory-web/src/views/outbound/Selection.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inventory-web/src/views/outbound/Selection.vue b/inventory-web/src/views/outbound/Selection.vue index 038d7b4..61a1a0a 100644 --- a/inventory-web/src/views/outbound/Selection.vue +++ b/inventory-web/src/views/outbound/Selection.vue @@ -162,7 +162,8 @@ const openManualSelect = async () => { name: i.name || i.material_name || i.product_name, standard: i.standard || i.spec_model, uniqueKey: i.id + '_' + i.type, - export_quantity: 1 + export_quantity: 1, + typeLabel: i.type === 'material' ? '采购件' : i.type === 'semi' ? '半成品' : i.type === 'product' ? '成品' : '未知' })) filteredStockData.value = allStockData.value }