+ {formData.distributionChannelsOptions.map(
+ (item: { id: string | number; name: string; code?: string }) => (
+
+ {/* 渠道图标 */}
+
+
+ {(item.name || "渠")[0]}
+
+
+
+
+
+ {item.name}
+
+ {item.code && (
+
+ 编码: {item.code}
+
+ )}
+
+
+ }
+ size="small"
+ style={{
+ color: "#1890ff",
+ border: "none",
+ background: "none",
+ minWidth: 24,
+ height: 24,
+ display: "flex",
+ alignItems: "center",
+ justifyContent: "center",
+ }}
+ onClick={() => handleShowQRCode(item)}
+ />
+ }
+ size="small"
+ style={{
+ color: "#ff4d4f",
+ border: "none",
+ background: "none",
+ minWidth: 24,
+ height: 24,
+ display: "flex",
+ alignItems: "center",
+ justifyContent: "center",
+ }}
+ onClick={() => handleRemoveChannel(item.id)}
+ />
+
+