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} +

产品创建成功!

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