From 5f7b8e93944d59adce748cf9ae58f5e1231ad6b5 Mon Sep 17 00:00:00 2001 From: duxingchen Date: Thu, 6 Aug 2026 10:56:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=87=E7=AD=BE=E9=A2=84=E8=A7=88=E5=BD=BB?= =?UTF-8?q?=E5=BA=95=E6=94=B9=E4=B8=BA=E5=86=85=E8=81=94=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?Flex:=20QR=E9=94=81110px+line-clamp=E6=88=AA=E6=96=AD+=E6=97=A0?= =?UTF-8?q?class=E4=BE=9D=E8=B5=96=E9=98=B2=E9=87=8D=E5=8F=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/pages/admin/CreateProductDialog.tsx | 49 ++++++++++--------- 1 file changed, 27 insertions(+), 22 deletions(-) diff --git a/frontend/src/pages/admin/CreateProductDialog.tsx b/frontend/src/pages/admin/CreateProductDialog.tsx index ebda308..0d50b57 100644 --- a/frontend/src/pages/admin/CreateProductDialog.tsx +++ b/frontend/src/pages/admin/CreateProductDialog.tsx @@ -311,11 +311,10 @@ export default function CreateProductDialog({ open, onClose, onCreated }: Props) 打印标签${styles} -
${printContent}
+
${printContent}
`); doc.close(); @@ -343,34 +342,40 @@ export default function CreateProductDialog({ open, onClose, onCreated }: Props) {createdSn ? ( /* ---- 成功页 ---- */
-
-
-
- QR +
+
+
+ QR
-
-
名:{selected?.material_name ?? ""}
-
规:{selected?.spec_model ?? ""}
-
单:{orderNo || "—"}
+
+
+ 名: {selected?.material_name ?? ""} +
+
+ 规: {selected?.spec_model ?? ""} +
+
+ 单: {orderNo || "—"} +
-
码:{createdSn}
+
+ 码: {createdSn} +

产品创建成功!

-
) : ( /* ---- 表单 ---- */