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}