From 4350f37a6a92e94f19755b79a04b4db3be9938dc Mon Sep 17 00:00:00 2001 From: Lei OT Date: Mon, 8 Jul 2024 11:03:22 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B6=85=E5=85=AC=E9=87=8C=E4=B8=8D=E9=9C=80?= =?UTF-8?q?=E8=A6=81=E5=85=AC=E9=87=8C=E6=95=B0=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/products/Audit.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/products/Audit.jsx b/src/views/products/Audit.jsx index d9ec03d..69f4722 100644 --- a/src/views/products/Audit.jsx +++ b/src/views/products/Audit.jsx @@ -98,7 +98,7 @@ const PriceTable = ({ productType, dataSource, refresh }) => { const title = text || r.lgc_details?.['2']?.title || r.lgc_details?.['1']?.title || ''; return setEditingProduct(r.info)}>{title}; } }, - ...(productType === 'B' ? [{ key: 'km', dataIndex: ['info', 'km'], title: t('KM')}] : []), + // ...(productType === 'B' ? [{ key: 'km', dataIndex: ['info', 'km'], title: t('KM')}] : []), { key: 'adult', title: t('AgeType.Adult'), render: (_, { adult_cost, currency, unit_id, unit_name }) => `${adult_cost} ${currency} / ${t(`PriceUnit.${unit_id}`)}` }, { key: 'child', title: t('AgeType.Child'), render: (_, { child_cost, currency, unit_id, unit_name }) => `${child_cost} ${currency} / ${t(`PriceUnit.${unit_id}`)}` }, // {key: 'unit', title: t('Unit'), },