fix: add typeLabel for display in outbound manual selection dialog

Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
This commit is contained in:
dxc
2026-02-12 10:05:16 +08:00
parent fb536dad7f
commit 6e5df70ee6

View File

@ -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
}