优化sku ai图片处理逻辑

This commit is contained in:
wule committed 2025-11-03 11:25:42 +08:00
1 parent dc95bd8621
commit 4d0478a9c5
7 files changed
+284 -193

No files matched your search

@@ -387,10 +387,12 @@ namespace TemuKJD.KJDForms.ProductSelectForms
//
this.ucSplitPage1.CurrentPage = 1;
this.ucSplitPage1.Dock = System.Windows.Forms.DockStyle.Right;
this.ucSplitPage1.IsShowPageSize = false;
this.ucSplitPage1.Location = new System.Drawing.Point(916, 0);
this.ucSplitPage1.Margin = new System.Windows.Forms.Padding(0);
this.ucSplitPage1.Name = "ucSplitPage1";
this.ucSplitPage1.Padding = new System.Windows.Forms.Padding(0, 0, 1, 0);
this.ucSplitPage1.PageSize = 50;
this.ucSplitPage1.Size = new System.Drawing.Size(362, 25);
this.ucSplitPage1.TabIndex = 6;
this.ucSplitPage1.TotalPage = 1;
@@ -426,7 +428,7 @@ namespace TemuKJD.KJDForms.ProductSelectForms
//
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.col_product_name.DefaultCellStyle = dataGridViewCellStyle3;
this.col_product_name.FillWeight = 200F;
this.col_product_name.FillWeight = 180F;
this.col_product_name.HeaderText = "标题";
this.col_product_name.Name = "col_product_name";
this.col_product_name.ReadOnly = true;
@@ -450,12 +452,14 @@ namespace TemuKJD.KJDForms.ProductSelectForms
//
// col_spu_id
//
this.col_spu_id.FillWeight = 90F;
this.col_spu_id.HeaderText = "SPU Id";
this.col_spu_id.Name = "col_spu_id";
this.col_spu_id.ReadOnly = true;
//
// col_skc_id
//
this.col_skc_id.FillWeight = 90F;
this.col_skc_id.HeaderText = "SKC Id";
this.col_skc_id.Name = "col_skc_id";
this.col_skc_id.ReadOnly = true;
@@ -1176,8 +1176,9 @@ namespace TemuKJD.KJDForms.ProductSelectForms
// 标题完全打乱
if (chkReFissionAllProdName.Checked)
{
List<string> centerNameLst = centerName
.Split(new string[] { ",", "," }, StringSplitOptions.RemoveEmptyEntries).ToList();
List<string> centerNameLst = centerName.Trim(',', ',', ' ')
.Split(new string[] { ",", "," }, StringSplitOptions.RemoveEmptyEntries)
.Select(s => s.Trim(' ')).ToList();
string newCenterName = "";
while (centerNameLst.Count > 0)