优化清理无流量逻辑 修复用户导入商品失败问题 图书上传资质文件逻辑完成

This commit is contained in:
wule committed 2026-08-11 22:14:33 +08:00
1 parent 7d07c83579
commit 3514be2dba
16 files changed
+705 -340

No files matched your search

+127 -82
View File
@@ -32,14 +32,14 @@ namespace TemuKJD.WXForms.ProductForms
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.ucGroupBoxEx2 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.txtWaitSeconds = new System.Windows.Forms.TextBox();
@@ -70,7 +70,7 @@ namespace TemuKJD.WXForms.ProductForms
this.label9 = new System.Windows.Forms.Label();
this.chkStepAddPrice = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.ucTabControlMetro1 = new TemuKJD.UserControls.UcTabControlMetro();
this.上传参数 = new System.Windows.Forms.TabPage();
this.上传参数1 = new System.Windows.Forms.TabPage();
this.chkSameSpecPriceDown = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.chkLowestPriceSku = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.chkUseWXComplateProd = new TemuKJD.UserComponent.UcCheckBox(this.components);
@@ -103,6 +103,9 @@ namespace TemuKJD.WXForms.ProductForms
this.label3 = new System.Windows.Forms.Label();
this.label39 = new System.Windows.Forms.Label();
this.chkSkipReplaceText = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.上传参数2 = new System.Windows.Forms.TabPage();
this.label40 = new System.Windows.Forms.Label();
this.cmbSpBrandName = new System.Windows.Forms.ComboBox();
this.佣金上货 = new System.Windows.Forms.TabPage();
this.label31 = new System.Windows.Forms.Label();
this.txtCommissionChangeValue = new System.Windows.Forms.TextBox();
@@ -257,7 +260,8 @@ namespace TemuKJD.WXForms.ProductForms
this.panel3.SuspendLayout();
this.fPnlPriceRule.SuspendLayout();
this.ucTabControlMetro1.SuspendLayout();
this.上传参数.SuspendLayout();
this.上传参数1.SuspendLayout();
this.上传参数2.SuspendLayout();
this.佣金上货.SuspendLayout();
this.裂变调试.SuspendLayout();
this.ucGroupBoxEx4.SuspendLayout();
@@ -757,7 +761,8 @@ namespace TemuKJD.WXForms.ProductForms
| System.Windows.Forms.AnchorStyles.Right)));
this.ucTabControlMetro1.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(251)))), ((int)(((byte)(251)))));
this.ucTabControlMetro1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(157)))));
this.ucTabControlMetro1.Controls.Add(this.上传参数);
this.ucTabControlMetro1.Controls.Add(this.上传参数1);
this.ucTabControlMetro1.Controls.Add(this.上传参数2);
this.ucTabControlMetro1.Controls.Add(this.佣金上货);
this.ucTabControlMetro1.Controls.Add(this.裂变调试);
this.ucTabControlMetro1.ItemSize = new System.Drawing.Size(72, 24);
@@ -771,47 +776,47 @@ namespace TemuKJD.WXForms.ProductForms
this.ucTabControlMetro1.TabSelectTextColor = System.Drawing.Color.Gray;
this.ucTabControlMetro1.TabUnSelectTextColor = System.Drawing.Color.White;
//
// 上传参数
// 上传参数1
//
this.上传参数.Controls.Add(this.chkSameSpecPriceDown);
this.上传参数.Controls.Add(this.chkLowestPriceSku);
this.上传参数.Controls.Add(this.chkUseWXComplateProd);
this.上传参数.Controls.Add(this.txtMaxPrice);
this.上传参数.Controls.Add(this.chkUseRecommand);
this.上传参数.Controls.Add(this.chkPreSale);
this.上传参数.Controls.Add(this.txtDefaultBestBefore);
this.上传参数.Controls.Add(this.chkDefaultBestBefore);
this.上传参数.Controls.Add(this.txtMinPrice);
this.上传参数.Controls.Add(this.btnFilterBound);
this.上传参数.Controls.Add(this.txtFilterBoundMin);
this.上传参数.Controls.Add(this.chkUpDraft);
this.上传参数.Controls.Add(this.label25);
this.上传参数.Controls.Add(this.chkSkipUploaded);
this.上传参数.Controls.Add(this.chkSameSpecPriceUp);
this.上传参数.Controls.Add(this.txtPreDays);
this.上传参数.Controls.Add(this.txtReplaceText);
this.上传参数.Controls.Add(this.label8);
this.上传参数.Controls.Add(this.chkSaveBound);
this.上传参数.Controls.Add(this.chkAiShortTitle);
this.上传参数.Controls.Add(this.label5);
this.上传参数.Controls.Add(this.chkHighestPriceSku);
this.上传参数.Controls.Add(this.txtFilterBoundMax);
this.上传参数.Controls.Add(this.label18);
this.上传参数.Controls.Add(this.label23);
this.上传参数.Controls.Add(this.label1);
this.上传参数.Controls.Add(this.label12);
this.上传参数.Controls.Add(this.txtTitleHeadWord);
this.上传参数.Controls.Add(this.label22);
this.上传参数.Controls.Add(this.label3);
this.上传参数.Controls.Add(this.label39);
this.上传参数.Controls.Add(this.chkSkipReplaceText);
this.上传参数.Location = new System.Drawing.Point(4, 28);
this.上传参数.Name = "上传参数";
this.上传参数.Padding = new System.Windows.Forms.Padding(3);
this.上传参数.Size = new System.Drawing.Size(611, 118);
this.上传参数.TabIndex = 1;
this.上传参数.Text = "上传参数";
this.上传参数.UseVisualStyleBackColor = true;
this.上传参数1.Controls.Add(this.chkSameSpecPriceDown);
this.上传参数1.Controls.Add(this.chkLowestPriceSku);
this.上传参数1.Controls.Add(this.chkUseWXComplateProd);
this.上传参数1.Controls.Add(this.txtMaxPrice);
this.上传参数1.Controls.Add(this.chkUseRecommand);
this.上传参数1.Controls.Add(this.chkPreSale);
this.上传参数1.Controls.Add(this.txtDefaultBestBefore);
this.上传参数1.Controls.Add(this.chkDefaultBestBefore);
this.上传参数1.Controls.Add(this.txtMinPrice);
this.上传参数1.Controls.Add(this.btnFilterBound);
this.上传参数1.Controls.Add(this.txtFilterBoundMin);
this.上传参数1.Controls.Add(this.chkUpDraft);
this.上传参数1.Controls.Add(this.label25);
this.上传参数1.Controls.Add(this.chkSkipUploaded);
this.上传参数1.Controls.Add(this.chkSameSpecPriceUp);
this.上传参数1.Controls.Add(this.txtPreDays);
this.上传参数1.Controls.Add(this.txtReplaceText);
this.上传参数1.Controls.Add(this.label8);
this.上传参数1.Controls.Add(this.chkSaveBound);
this.上传参数1.Controls.Add(this.chkAiShortTitle);
this.上传参数1.Controls.Add(this.label5);
this.上传参数1.Controls.Add(this.chkHighestPriceSku);
this.上传参数1.Controls.Add(this.txtFilterBoundMax);
this.上传参数1.Controls.Add(this.label18);
this.上传参数1.Controls.Add(this.label23);
this.上传参数1.Controls.Add(this.label1);
this.上传参数1.Controls.Add(this.label12);
this.上传参数1.Controls.Add(this.txtTitleHeadWord);
this.上传参数1.Controls.Add(this.label22);
this.上传参数1.Controls.Add(this.label3);
this.上传参数1.Controls.Add(this.label39);
this.上传参数1.Controls.Add(this.chkSkipReplaceText);
this.上传参数1.Location = new System.Drawing.Point(4, 28);
this.上传参数1.Name = "上传参数1";
this.上传参数1.Padding = new System.Windows.Forms.Padding(3);
this.上传参数1.Size = new System.Drawing.Size(611, 118);
this.上传参数1.TabIndex = 1;
this.上传参数1.Text = "上传参数";
this.上传参数1.UseVisualStyleBackColor = true;
//
// chkSameSpecPriceDown
//
@@ -1177,6 +1182,41 @@ namespace TemuKJD.WXForms.ProductForms
this.chkSkipReplaceText.UseVisualStyleBackColor = true;
this.chkSkipReplaceText.CheckedChanged += new System.EventHandler(this.chkSkipReplaceText_CheckedChanged);
//
// 上传参数2
//
this.上传参数2.Controls.Add(this.label40);
this.上传参数2.Controls.Add(this.cmbSpBrandName);
this.上传参数2.Location = new System.Drawing.Point(4, 28);
this.上传参数2.Name = "上传参数2";
this.上传参数2.Padding = new System.Windows.Forms.Padding(3);
this.上传参数2.Size = new System.Drawing.Size(611, 118);
this.上传参数2.TabIndex = 4;
this.上传参数2.Text = "特殊参数";
this.上传参数2.UseVisualStyleBackColor = true;
//
// label40
//
this.label40.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.label40.AutoSize = true;
this.label40.Location = new System.Drawing.Point(7, 15);
this.label40.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
this.label40.Name = "label40";
this.label40.Size = new System.Drawing.Size(80, 17);
this.label40.TabIndex = 825;
this.label40.Text = "国表品类品牌";
//
// cmbSpBrandName
//
this.cmbSpBrandName.FormattingEnabled = true;
this.cmbSpBrandName.Items.AddRange(new object[] {
"",
"名圣"});
this.cmbSpBrandName.Location = new System.Drawing.Point(87, 11);
this.cmbSpBrandName.Name = "cmbSpBrandName";
this.cmbSpBrandName.Size = new System.Drawing.Size(92, 25);
this.cmbSpBrandName.TabIndex = 824;
this.cmbSpBrandName.Text = "名圣";
//
// 佣金上货
//
this.佣金上货.Controls.Add(this.label31);
@@ -2609,19 +2649,19 @@ namespace TemuKJD.WXForms.ProductForms
//
this.dgvShop.AllowUserToAddRows = false;
this.dgvShop.AllowUserToDeleteRows = false;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
dataGridViewCellStyle9.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle9;
this.dgvShop.AutoRowNumber = true;
this.dgvShop.BackgroundColor = System.Drawing.Color.White;
this.dgvShop.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle10.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle10.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle10.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle10.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle10;
this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colSelect,
@@ -2853,19 +2893,19 @@ namespace TemuKJD.WXForms.ProductForms
//
this.dgvSelectProduct.AllowUserToAddRows = false;
this.dgvSelectProduct.AllowUserToDeleteRows = false;
dataGridViewCellStyle3.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvSelectProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle3;
dataGridViewCellStyle11.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvSelectProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle11;
this.dgvSelectProduct.AutoRowNumber = true;
this.dgvSelectProduct.BackgroundColor = System.Drawing.Color.White;
this.dgvSelectProduct.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvSelectProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle12.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvSelectProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle12;
this.dgvSelectProduct.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvSelectProduct.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colCheck,
@@ -2927,8 +2967,8 @@ namespace TemuKJD.WXForms.ProductForms
//
// colSupplierName
//
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colSupplierName.DefaultCellStyle = dataGridViewCellStyle5;
dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colSupplierName.DefaultCellStyle = dataGridViewCellStyle13;
this.colSupplierName.Frozen = true;
this.colSupplierName.HeaderText = "店铺名称";
this.colSupplierName.Name = "colSupplierName";
@@ -3008,8 +3048,8 @@ namespace TemuKJD.WXForms.ProductForms
//
// colProductName
//
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colProductName.DefaultCellStyle = dataGridViewCellStyle6;
dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colProductName.DefaultCellStyle = dataGridViewCellStyle14;
this.colProductName.HeaderText = "商品标题";
this.colProductName.Name = "colProductName";
this.colProductName.ReadOnly = true;
@@ -3017,8 +3057,8 @@ namespace TemuKJD.WXForms.ProductForms
//
// colProductCat
//
dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colProductCat.DefaultCellStyle = dataGridViewCellStyle7;
dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colProductCat.DefaultCellStyle = dataGridViewCellStyle15;
this.colProductCat.HeaderText = "商品类目";
this.colProductCat.Name = "colProductCat";
this.colProductCat.ReadOnly = true;
@@ -3073,8 +3113,8 @@ namespace TemuKJD.WXForms.ProductForms
//
// colAddTime
//
dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colAddTime.DefaultCellStyle = dataGridViewCellStyle8;
dataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colAddTime.DefaultCellStyle = dataGridViewCellStyle16;
this.colAddTime.HeaderText = "上传时间";
this.colAddTime.Name = "colAddTime";
this.colAddTime.ReadOnly = true;
@@ -3191,8 +3231,10 @@ namespace TemuKJD.WXForms.ProductForms
this.fPnlPriceRule.ResumeLayout(false);
this.fPnlPriceRule.PerformLayout();
this.ucTabControlMetro1.ResumeLayout(false);
this.上传参数.ResumeLayout(false);
this.上传参数.PerformLayout();
this.上传参数1.ResumeLayout(false);
this.上传参数1.PerformLayout();
this.上传参数2.ResumeLayout(false);
this.上传参数2.PerformLayout();
this.佣金上货.ResumeLayout(false);
this.佣金上货.PerformLayout();
this.裂变调试.ResumeLayout(false);
@@ -3381,7 +3423,7 @@ namespace TemuKJD.WXForms.ProductForms
private System.Windows.Forms.TextBox txtDefaultBestBefore;
private UserComponent.UcCheckBox chkDefaultBestBefore;
public UserControls.UcTabControlMetro ucTabControlMetro1;
private System.Windows.Forms.TabPage 上传参数;
private System.Windows.Forms.TabPage 上传参数1;
private System.Windows.Forms.TabPage 佣金上货;
private UserComponent.UcCheckBox chkCommission;
private DevComponents.DotNetBar.PanelEx btnLoginAssistant;
@@ -3435,5 +3477,8 @@ namespace TemuKJD.WXForms.ProductForms
private System.Windows.Forms.NumericUpDown numFilterViewUv;
private UserComponent.UcCheckBox chkFilterViewUv;
private UserComponent.UcCheckBox chkUseShanghaiReturnOrderAddress;
private System.Windows.Forms.TabPage 上传参数2;
private System.Windows.Forms.Label label40;
private System.Windows.Forms.ComboBox cmbSpBrandName;
}
}