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:
@ -162,7 +162,8 @@ const openManualSelect = async () => {
|
|||||||
name: i.name || i.material_name || i.product_name,
|
name: i.name || i.material_name || i.product_name,
|
||||||
standard: i.standard || i.spec_model,
|
standard: i.standard || i.spec_model,
|
||||||
uniqueKey: i.id + '_' + i.type,
|
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
|
filteredStockData.value = allStockData.value
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user