From e3a7d9535cc5f71c3f63ed683329833cb4bd4a7f Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Sun, 18 Oct 2026 22:58:49 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8A=A5=E4=BB=B7=E5=8D=95):=20=E6=8B=89?= =?UTF-8?q?=E5=8F=96=E5=AF=B9=E6=96=B9=E6=8F=90=E8=AE=AE=E6=97=B6=E4=BF=9D?= =?UTF-8?q?=E7=95=99=20sku=5Fname=EF=BC=88=E7=95=8C=E9=9D=A2=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E9=85=8D=E9=80=81=E5=95=86=E5=93=81=E5=90=8D=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/services/mainSystem/api/quotePriceProposals.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/server/src/services/mainSystem/api/quotePriceProposals.ts b/server/src/services/mainSystem/api/quotePriceProposals.ts index 02e638b..c37e4d8 100644 --- a/server/src/services/mainSystem/api/quotePriceProposals.ts +++ b/server/src/services/mainSystem/api/quotePriceProposals.ts @@ -210,7 +210,12 @@ export function normalizeRemoteRow(raw: unknown): RemoteQuotePriceProposalRow | const sku = toText(row2.sku_code); const price = toNumber(row2.price ?? row2.sale_price); if (!sku || price === null) return null; - return { sku_code: sku, unit: toText(row2.unit), price }; + return { + sku_code: sku, + sku_name: toText(row2.sku_name) || null, + unit: toText(row2.unit), + price, + }; }) .filter((item): item is QuotePriceProposalItemPayload => item !== null), note: toText(row.note),