From 0667e8d77b93f37f3408545a4b8cd820373b6582 Mon Sep 17 00:00:00 2001 From: zlwu <704541015@qq.com> Date: Fri, 31 Jul 2026 05:25:03 +0800 Subject: [PATCH] fix(web-admin): bind branded site actual qty to chip sum on load Co-authored-by: Cursor --- .../views/public/pl/_shared/PublicIoOrderPage.vue | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/web-admin/src/views/public/pl/_shared/PublicIoOrderPage.vue b/web-admin/src/views/public/pl/_shared/PublicIoOrderPage.vue index 15cb9b87d..409e2c315 100644 --- a/web-admin/src/views/public/pl/_shared/PublicIoOrderPage.vue +++ b/web-admin/src/views/public/pl/_shared/PublicIoOrderPage.vue @@ -345,18 +345,15 @@ feedbackImages.value = [...(data.siteFeedbackImages || [])] editableItems.value = (data.items || []).map((it) => { const brandQtyRows = mapBrandQtyRows(it) - const actualFromBrand = - it.brandMode && brandQtyRows.length ? Number(brandQtySum(brandQtyRows).toFixed(3)) : null return { ...it, brandOptions: it.brandOptions || [], brandQtyRows, - actualQtyText: - actualFromBrand != null - ? String(actualFromBrand) - : it.actualQty != null - ? String(it.actualQty) - : '' + actualQtyText: it.brandMode + ? String(Number(brandQtySum(brandQtyRows).toFixed(3))) + : it.actualQty != null + ? String(it.actualQty) + : '' } }) selectedStatus.value = (