From 0d7d3be8b9ddb315492892508dd46b141efd5b74 Mon Sep 17 00:00:00 2001 From: Lei OT Date: Wed, 6 Aug 2025 16:05:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BA=A7=E5=93=81=E5=AE=A1=E6=A0=B8:=20?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=8F=98=E6=9B=B4,=20undefined?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/products/Detail/ProductQuotationLogPopover.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/products/Detail/ProductQuotationLogPopover.jsx b/src/views/products/Detail/ProductQuotationLogPopover.jsx index 36d5573..9623655 100644 --- a/src/views/products/Detail/ProductQuotationLogPopover.jsx +++ b/src/views/products/Detail/ProductQuotationLogPopover.jsx @@ -47,7 +47,7 @@ export const columnsSets = (t, colorize = true) => [ const ifData = isNotEmpty(_changed.adult_cost) || isNotEmpty(_changed.unit_id) || isNotEmpty(_changed.currency); const preValue = ifCompare && ifData ? ( -
{`${_changed.adult_cost} ${_changed.currency || currency} / ${t(`PriceUnit.${_changed.unit_id || unit_id}`)}`}
+
{`${_changed.adult_cost || adult_cost} ${_changed.currency || currency} / ${t(`PriceUnit.${_changed.unit_id || unit_id}`)}`}
) : null; const editCls = ifCompare && ifData ? 'text-danger' : ''; return ( @@ -68,7 +68,7 @@ export const columnsSets = (t, colorize = true) => [ const ifData = isNotEmpty(_changed.child_cost) || isNotEmpty(_changed.unit_id) || isNotEmpty(_changed.currency); const preValue = ifCompare && ifData ? ( -
{`${_changed.child_cost} ${_changed.currency || currency} / ${t(`PriceUnit.${_changed.unit_id || unit_id}`)}`}
+
{`${_changed.child_cost || child_cost} ${_changed.currency || currency} / ${t(`PriceUnit.${_changed.unit_id || unit_id}`)}`}
) : null; const editCls = ifCompare && ifData ? 'text-danger' : ''; return (