fix OrderFulfillmentCreate.vue style

This commit is contained in:
Timi
2026-09-05 12:12:26 +08:00
parent 184fa5be83
commit eb8f4778a5
4 changed files with 225 additions and 42 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ export function getStockOperationText(type?: StockOperationType): string {
} as Record<string, string>)[type || ""] || "未知操作";
}
export function getProductPhotoURL(item: Product): string {
export function getProductPhotoURL(item: Pick<Product, "attachmentList">): string {
const attachment = item.attachmentList?.find(item => item.attachType === "PHOTO" && !!item.id);
return attachment?.id ? getAttachmentReadURL(attachment.id, 128) : "";
}