研究微信免审上架,其他一些功能优化

This commit is contained in:
wule committed 2026-01-21 19:13:58 +08:00
1 parent 42be98616b
commit 6d7b9d7b56
13 files changed
+812 -209

No files matched your search

+120 -59
View File
@@ -32,14 +32,17 @@ namespace TemuKJD.WXForms.ProductForms
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
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();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = 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();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.ucGroupBoxEx2 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.label18 = new System.Windows.Forms.Label();
this.txtPreDays = new System.Windows.Forms.TextBox();
this.chkPreSale = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.chkSkipUploaded = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.chkSameSpecPrice = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.label5 = new System.Windows.Forms.Label();
@@ -47,6 +50,7 @@ namespace TemuKJD.WXForms.ProductForms
this.label8 = new System.Windows.Forms.Label();
this.txtReplaceText = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.chkUpDraft = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.chkHighestPriceSku = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.label7 = new System.Windows.Forms.Label();
this.txtWaitSeconds = new System.Windows.Forms.TextBox();
@@ -60,7 +64,7 @@ namespace TemuKJD.WXForms.ProductForms
this.panel3 = new System.Windows.Forms.Panel();
this.fPnlPriceRule = new System.Windows.Forms.FlowLayoutPanel();
this.ucAddPrice1 = new TemuKJD.PDDForms.ProductSelectForms.UcAddPrice();
this.ucAddPrice3 = new TemuKJD.PDDForms.ProductSelectForms.UcAddPrice();
this.ucAddPrice2 = new TemuKJD.PDDForms.ProductSelectForms.UcAddPrice();
this.lblNewAddPrice = new System.Windows.Forms.Label();
this.txtAddMorePrice = new System.Windows.Forms.TextBox();
this.txtAddTimes = new System.Windows.Forms.TextBox();
@@ -107,11 +111,11 @@ namespace TemuKJD.WXForms.ProductForms
this.colUploadCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colRemaining = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colMessage = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.chkTestNoAuditUpload = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.并发上传 = new DevComponents.DotNetBar.PanelEx();
this.pbLoading = new System.Windows.Forms.PictureBox();
this.label11 = new System.Windows.Forms.Label();
this.txtSinglePriceAdd = new System.Windows.Forms.TextBox();
this.chkUpDraft = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.dgvSelectProduct = new TemuKJD.UserComponent.DataGridViewEx();
this.colCheck = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colSelectId = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -194,6 +198,9 @@ namespace TemuKJD.WXForms.ProductForms
| System.Windows.Forms.AnchorStyles.Right)));
this.ucGroupBoxEx2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.ucGroupBoxEx2.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
this.ucGroupBoxEx2.Controls.Add(this.label18);
this.ucGroupBoxEx2.Controls.Add(this.txtPreDays);
this.ucGroupBoxEx2.Controls.Add(this.chkPreSale);
this.ucGroupBoxEx2.Controls.Add(this.chkSkipUploaded);
this.ucGroupBoxEx2.Controls.Add(this.chkSameSpecPrice);
this.ucGroupBoxEx2.Controls.Add(this.label5);
@@ -228,6 +235,37 @@ namespace TemuKJD.WXForms.ProductForms
this.ucGroupBoxEx2.TabStop = false;
this.ucGroupBoxEx2.Text = "商品上传";
//
// label18
//
this.label18.AutoSize = true;
this.label18.Location = new System.Drawing.Point(662, 120);
this.label18.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
this.label18.Name = "label18";
this.label18.Size = new System.Drawing.Size(54, 17);
this.label18.TabIndex = 800;
this.label18.Text = "(3-45天)";
//
// txtPreDays
//
this.txtPreDays.Location = new System.Drawing.Point(629, 117);
this.txtPreDays.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.txtPreDays.Name = "txtPreDays";
this.txtPreDays.Size = new System.Drawing.Size(33, 23);
this.txtPreDays.TabIndex = 790;
this.txtPreDays.Text = "5";
this.txtPreDays.TextChanged += new System.EventHandler(this.txtPreDays_TextChanged);
//
// chkPreSale
//
this.chkPreSale.AutoSize = true;
this.chkPreSale.Location = new System.Drawing.Point(537, 118);
this.chkPreSale.Name = "chkPreSale";
this.chkPreSale.Size = new System.Drawing.Size(99, 21);
this.chkPreSale.TabIndex = 789;
this.chkPreSale.Text = "设置预售天数";
this.chkPreSale.UseVisualStyleBackColor = true;
this.chkPreSale.CheckedChanged += new System.EventHandler(this.chkPreSale_CheckedChanged);
//
// chkSkipUploaded
//
this.chkSkipUploaded.AutoSize = true;
@@ -239,6 +277,7 @@ namespace TemuKJD.WXForms.ProductForms
this.chkSkipUploaded.TabIndex = 755;
this.chkSkipUploaded.Text = "跳过店铺已上货商品";
this.chkSkipUploaded.UseVisualStyleBackColor = true;
this.chkSkipUploaded.CheckedChanged += new System.EventHandler(this.chkSkipUploaded_CheckedChanged);
//
// chkSameSpecPrice
//
@@ -251,6 +290,7 @@ namespace TemuKJD.WXForms.ProductForms
this.chkSameSpecPrice.TabIndex = 745;
this.chkSameSpecPrice.Text = "颜色规格同价";
this.chkSameSpecPrice.UseVisualStyleBackColor = true;
this.chkSameSpecPrice.CheckedChanged += new System.EventHandler(this.chkSameSpecPrice_CheckedChanged);
//
// label5
//
@@ -270,6 +310,7 @@ namespace TemuKJD.WXForms.ProductForms
this.txtMinPrice.Size = new System.Drawing.Size(33, 23);
this.txtMinPrice.TabIndex = 743;
this.txtMinPrice.Text = "10";
this.txtMinPrice.TextChanged += new System.EventHandler(this.txtMinPrice_TextChanged);
//
// label8
//
@@ -289,6 +330,7 @@ namespace TemuKJD.WXForms.ProductForms
this.txtReplaceText.Size = new System.Drawing.Size(285, 23);
this.txtReplaceText.TabIndex = 740;
this.txtReplaceText.Text = "真丝,蚕丝,香云纱,羊绒,羊毛,羊羔绒,羊羔毛,羽绒,皮草";
this.txtReplaceText.TextChanged += new System.EventHandler(this.txtReplaceText_TextChanged);
//
// label3
//
@@ -300,6 +342,17 @@ namespace TemuKJD.WXForms.ProductForms
this.label3.TabIndex = 741;
this.label3.Text = "移除标题介绍中的词语:";
//
// chkUpDraft
//
this.chkUpDraft.AutoSize = true;
this.chkUpDraft.Location = new System.Drawing.Point(678, 91);
this.chkUpDraft.Name = "chkUpDraft";
this.chkUpDraft.Size = new System.Drawing.Size(99, 21);
this.chkUpDraft.TabIndex = 769;
this.chkUpDraft.Text = "上传到草稿箱";
this.chkUpDraft.UseVisualStyleBackColor = true;
this.chkUpDraft.CheckedChanged += new System.EventHandler(this.chkUpDraft_CheckedChanged);
//
// chkHighestPriceSku
//
this.chkHighestPriceSku.AutoSize = true;
@@ -311,6 +364,7 @@ namespace TemuKJD.WXForms.ProductForms
this.chkHighestPriceSku.TabIndex = 739;
this.chkHighestPriceSku.Text = "只保留最高价sku";
this.chkHighestPriceSku.UseVisualStyleBackColor = true;
this.chkHighestPriceSku.CheckedChanged += new System.EventHandler(this.chkHighestPriceSku_CheckedChanged);
//
// label7
//
@@ -332,6 +386,7 @@ namespace TemuKJD.WXForms.ProductForms
this.txtWaitSeconds.Size = new System.Drawing.Size(32, 23);
this.txtWaitSeconds.TabIndex = 728;
this.txtWaitSeconds.Text = "10";
this.txtWaitSeconds.TextChanged += new System.EventHandler(this.txtWaitSeconds_TextChanged);
//
// label6
//
@@ -459,7 +514,7 @@ namespace TemuKJD.WXForms.ProductForms
this.fPnlPriceRule.AutoSize = true;
this.fPnlPriceRule.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.fPnlPriceRule.Controls.Add(this.ucAddPrice1);
this.fPnlPriceRule.Controls.Add(this.ucAddPrice3);
this.fPnlPriceRule.Controls.Add(this.ucAddPrice2);
this.fPnlPriceRule.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
this.fPnlPriceRule.Location = new System.Drawing.Point(0, 0);
this.fPnlPriceRule.Name = "fPnlPriceRule";
@@ -503,42 +558,42 @@ namespace TemuKJD.WXForms.ProductForms
this.ucAddPrice1.Size = new System.Drawing.Size(420, 23);
this.ucAddPrice1.TabIndex = 12;
//
// ucAddPrice3
// ucAddPrice2
//
this.ucAddPrice3.AutoSize = true;
this.ucAddPrice3.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ucAddPrice3.isShowMax = true;
this.ucAddPrice3.isShowMin = true;
this.ucAddPrice3.Location = new System.Drawing.Point(3, 32);
this.ucAddPrice3.MinimumSize = new System.Drawing.Size(0, 20);
this.ucAddPrice3.Name = "ucAddPrice3";
this.ucAddPrice3.PriceAddMore = new decimal(new int[] {
this.ucAddPrice2.AutoSize = true;
this.ucAddPrice2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ucAddPrice2.isShowMax = true;
this.ucAddPrice2.isShowMin = true;
this.ucAddPrice2.Location = new System.Drawing.Point(3, 32);
this.ucAddPrice2.MinimumSize = new System.Drawing.Size(0, 20);
this.ucAddPrice2.Name = "ucAddPrice2";
this.ucAddPrice2.PriceAddMore = new decimal(new int[] {
50,
0,
0,
65536});
this.ucAddPrice3.PriceAddTimes = new decimal(new int[] {
this.ucAddPrice2.PriceAddTimes = new decimal(new int[] {
20,
0,
0,
65536});
this.ucAddPrice3.PriceEnd = new decimal(new int[] {
this.ucAddPrice2.PriceEnd = new decimal(new int[] {
9990,
0,
0,
65536});
this.ucAddPrice3.PriceStart = new decimal(new int[] {
this.ucAddPrice2.PriceStart = new decimal(new int[] {
20,
0,
0,
0});
this.ucAddPrice3.SinglePriceAdd = new decimal(new int[] {
this.ucAddPrice2.SinglePriceAdd = new decimal(new int[] {
1,
0,
0,
0});
this.ucAddPrice3.Size = new System.Drawing.Size(420, 23);
this.ucAddPrice3.TabIndex = 13;
this.ucAddPrice2.Size = new System.Drawing.Size(420, 23);
this.ucAddPrice2.TabIndex = 13;
//
// lblNewAddPrice
//
@@ -1007,6 +1062,7 @@ namespace TemuKJD.WXForms.ProductForms
//
// splitContainer2.Panel2
//
this.splitContainer2.Panel2.Controls.Add(this.chkTestNoAuditUpload);
this.splitContainer2.Panel2.Controls.Add(this.并发上传);
this.splitContainer2.Panel2.Controls.Add(this.pbLoading);
this.splitContainer2.Panel2.Controls.Add(this.label11);
@@ -1021,19 +1077,19 @@ namespace TemuKJD.WXForms.ProductForms
//
this.dgvShop.AllowUserToAddRows = false;
this.dgvShop.AllowUserToDeleteRows = false;
dataGridViewCellStyle13.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle13;
dataGridViewCellStyle7.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle7;
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)))));
dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle14.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle14.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle14.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle14.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle14.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle14;
dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle8.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle8;
this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colSelect,
@@ -1146,6 +1202,17 @@ namespace TemuKJD.WXForms.ProductForms
this.colMessage.Name = "colMessage";
this.colMessage.ReadOnly = true;
//
// chkTestNoAuditUpload
//
this.chkTestNoAuditUpload.AutoSize = true;
this.chkTestNoAuditUpload.Location = new System.Drawing.Point(964, 32);
this.chkTestNoAuditUpload.Name = "chkTestNoAuditUpload";
this.chkTestNoAuditUpload.Size = new System.Drawing.Size(123, 21);
this.chkTestNoAuditUpload.TabIndex = 779;
this.chkTestNoAuditUpload.Text = "测试面审提交商品";
this.chkTestNoAuditUpload.UseVisualStyleBackColor = true;
this.chkTestNoAuditUpload.Visible = false;
//
// 并发上传
//
this.并发上传.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
@@ -1208,33 +1275,23 @@ namespace TemuKJD.WXForms.ProductForms
this.txtSinglePriceAdd.Visible = false;
this.txtSinglePriceAdd.TextChanged += new System.EventHandler(this.txtAddPrice_TextChanged);
//
// chkUpDraft
//
this.chkUpDraft.AutoSize = true;
this.chkUpDraft.Location = new System.Drawing.Point(678, 91);
this.chkUpDraft.Name = "chkUpDraft";
this.chkUpDraft.Size = new System.Drawing.Size(99, 21);
this.chkUpDraft.TabIndex = 769;
this.chkUpDraft.Text = "上传到草稿箱";
this.chkUpDraft.UseVisualStyleBackColor = true;
//
// dgvSelectProduct
//
this.dgvSelectProduct.AllowUserToAddRows = false;
this.dgvSelectProduct.AllowUserToDeleteRows = false;
dataGridViewCellStyle15.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvSelectProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle15;
dataGridViewCellStyle9.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvSelectProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle9;
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)))));
dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle16.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle16.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle16.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle16.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle16.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvSelectProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle16;
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.dgvSelectProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle10;
this.dgvSelectProduct.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvSelectProduct.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colCheck,
@@ -1294,8 +1351,8 @@ namespace TemuKJD.WXForms.ProductForms
//
// colSupplierName
//
dataGridViewCellStyle17.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colSupplierName.DefaultCellStyle = dataGridViewCellStyle17;
dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colSupplierName.DefaultCellStyle = dataGridViewCellStyle11;
this.colSupplierName.Frozen = true;
this.colSupplierName.HeaderText = "店铺名称";
this.colSupplierName.Name = "colSupplierName";
@@ -1373,8 +1430,8 @@ namespace TemuKJD.WXForms.ProductForms
//
// colProductName
//
dataGridViewCellStyle18.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colProductName.DefaultCellStyle = dataGridViewCellStyle18;
dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colProductName.DefaultCellStyle = dataGridViewCellStyle12;
this.colProductName.HeaderText = "商品标题";
this.colProductName.Name = "colProductName";
this.colProductName.ReadOnly = true;
@@ -1620,7 +1677,7 @@ namespace TemuKJD.WXForms.ProductForms
private UserComponent.UcCheckBox chkAddMorePriceFirst;
private System.Windows.Forms.FlowLayoutPanel fPnlPriceRule;
private UcAddPrice ucAddPrice1;
private UcAddPrice ucAddPrice3;
private UcAddPrice ucAddPrice2;
private System.Windows.Forms.Label label10;
private DevComponents.DotNetBar.PanelEx btnClearFilter;
private System.Windows.Forms.TextBox txtExtCodeFilter;
@@ -1687,5 +1744,9 @@ namespace TemuKJD.WXForms.ProductForms
private UserComponent.UcCheckBox chkUpDraft;
private System.Windows.Forms.ComboBox cmbSpProdType;
private System.Windows.Forms.Label label17;
private UserComponent.UcCheckBox chkTestNoAuditUpload;
private System.Windows.Forms.TextBox txtPreDays;
private UserComponent.UcCheckBox chkPreSale;
private System.Windows.Forms.Label label18;
}
}