fix customer order product tag
This commit is contained in:
@@ -126,7 +126,7 @@ function getProductQuantity(product: CustomerProductSummary): string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getProductTagContent(product: CustomerProductSummary): string {
|
function getProductTagContent(product: CustomerProductSummary): string {
|
||||||
return `${product.productName || "未命名产品"} × ${getProductQuantity(product)}${product.unit || "基础单位"}`;
|
return `${product.productName || "未命名产品"} ${getProductQuantity(product)} ${product.unit || "基础单位"}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
async function loadOrderSummary(customerId: string, token: number): Promise<void> {
|
async function loadOrderSummary(customerId: string, token: number): Promise<void> {
|
||||||
|
|||||||
Reference in New Issue
Block a user