From 3176bcde6f2a5f8fdc767e13c7416f27c8e82c1c Mon Sep 17 00:00:00 2001 From: duxingchen Date: Thu, 6 Aug 2026 11:04:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=87=E7=AD=BEfloat=E7=8E=AF=E7=BB=95?= =?UTF-8?q?=E5=B8=83=E5=B1=80:=20QR=E5=B7=A6=E6=B5=AE+=E6=96=87=E5=AD=97?= =?UTF-8?q?=E8=87=AA=E7=84=B6=E6=8A=98=E8=A1=8C+clear:both=E9=98=B2?= =?UTF-8?q?=E5=BA=8F=E5=88=97=E5=8F=B7=E4=B9=B1=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/pages/admin/CreateProductDialog.tsx | 36 +++++++------------ 1 file changed, 13 insertions(+), 23 deletions(-) diff --git a/frontend/src/pages/admin/CreateProductDialog.tsx b/frontend/src/pages/admin/CreateProductDialog.tsx index ba1639d..a908fb9 100644 --- a/frontend/src/pages/admin/CreateProductDialog.tsx +++ b/frontend/src/pages/admin/CreateProductDialog.tsx @@ -314,7 +314,7 @@ export default function CreateProductDialog({ open, onClose, onCreated }: Props) body { margin: 0; padding: 0; background: #fff; display: flex; align-items: center; justify-content: center; min-height: 100vh; } -
${printContent}
+
${printContent}
`); doc.close(); @@ -343,35 +343,25 @@ export default function CreateProductDialog({ open, onClose, onCreated }: Props) /* ---- 成功页 ---- */
-
-
+
+
QR
-
-
- 名: {selected?.material_name ?? ""} -
-
- 规: {selected?.spec_model ?? ""} -
-
- 单: {orderNo || "—"} -
+
+
名: {selected?.material_name ?? ""}
+
规: {selected?.spec_model ?? ""}
+
单: {orderNo || "—"}
+
-
+
码: {createdSn}