This commit is contained in:
2026-08-07 17:46:27 +08:00
parent 5fae0f6d9b
commit 54d6b9a8cc
7 changed files with 57 additions and 8 deletions
@@ -20,6 +20,7 @@ import {
correctWeightResult,
createWeightResult,
downloadWeightImage,
getWeightOcrRawText,
getWeightWorkspace,
retryWeightRecognition,
uploadWeightImage,
@@ -153,7 +154,7 @@ async function handleFileChange(event: Event) {
await createWeightResult(customerId.value, props.inboundId, {
fileId: String(upload.fileId),
ocrProvider: 'FILE_WEIGHT_OCR',
ocrRawText: null,
ocrRawText: getWeightOcrRawText(upload),
ocrWeightValue: upload.weightValue,
ocrWeightUnit: upload.weightUnit,
confidence: upload.confidence,