1成人用品上传到草稿箱 2随机商品跳过资质商品 3ai短标题 4记住类目保证金筛选功能
This commit is contained in:
1 parent
cce4c9da2d
commit
ce42448b29
15 files changed
+851
-389
No files matched your search
+194
-146
@@ -41,12 +41,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.ucGroupBoxEx2 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||
this.chkSaveBound = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.chkAiShortTitle = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.txtWaitSeconds = new System.Windows.Forms.TextBox();
|
||||
this.chkHighestPriceSku = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.txtFilterBoundMax = new System.Windows.Forms.TextBox();
|
||||
this.label23 = new System.Windows.Forms.Label();
|
||||
this.txtFilterBoundMin = new System.Windows.Forms.TextBox();
|
||||
this.txtTitleHeadWord = new System.Windows.Forms.TextBox();
|
||||
this.chkImgRandomBlock = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.btnFilterBound = new DevComponents.DotNetBar.PanelEx();
|
||||
this.chkSameSpecPrice = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.label22 = new System.Windows.Forms.Label();
|
||||
this.txtShippingPriceTimes = new System.Windows.Forms.TextBox();
|
||||
this.label12 = new System.Windows.Forms.Label();
|
||||
@@ -56,17 +61,13 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
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();
|
||||
this.txtMinPrice = new System.Windows.Forms.TextBox();
|
||||
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();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.btnStop = new DevComponents.DotNetBar.PanelEx();
|
||||
this.chkAddMorePriceFirst = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.btnClearDgv = new DevComponents.DotNetBar.PanelEx();
|
||||
@@ -87,10 +88,11 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.label9 = new System.Windows.Forms.Label();
|
||||
this.chkStepAddPrice = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.ucGroupBoxEx4 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||
this.txtAddCount = new System.Windows.Forms.TextBox();
|
||||
this.txtSearchGoodsName = new System.Windows.Forms.TextBox();
|
||||
this.label20 = new System.Windows.Forms.Label();
|
||||
this.txtExtCodeFilter = new System.Windows.Forms.TextBox();
|
||||
this.pbSelectProd = new System.Windows.Forms.PictureBox();
|
||||
this.txtExtCodeFilter = new System.Windows.Forms.TextBox();
|
||||
this.cmbCateFilter3 = new System.Windows.Forms.ComboBox();
|
||||
this.label21 = new System.Windows.Forms.Label();
|
||||
this.cmbGroupFilter = new System.Windows.Forms.ComboBox();
|
||||
@@ -112,9 +114,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCateFilter1 = new System.Windows.Forms.ComboBox();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.lblWaitToUp = new System.Windows.Forms.Label();
|
||||
this.txtAddCount = new System.Windows.Forms.TextBox();
|
||||
this.btnRandomAdd = new DevComponents.DotNetBar.PanelEx();
|
||||
this.chkSevenDays = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.chkSkipQualification = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.ucGroupBoxEx1 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||
this.btnRefreshAuthor = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnSelectOffline = new DevComponents.DotNetBar.PanelEx();
|
||||
@@ -149,6 +151,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.colMessage = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.pbLoading = new System.Windows.Forms.PictureBox();
|
||||
this.并发上传 = new DevComponents.DotNetBar.PanelEx();
|
||||
this.chkImgRandomBlock = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.label11 = new System.Windows.Forms.Label();
|
||||
this.txtSinglePriceAdd = new System.Windows.Forms.TextBox();
|
||||
this.chkTestNoAuditUpload = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
@@ -225,7 +228,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// splitContainer1.Panel2
|
||||
//
|
||||
this.splitContainer1.Panel2.Controls.Add(this.splitContainer3);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(1542, 546);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(1557, 546);
|
||||
this.splitContainer1.SplitterDistance = 165;
|
||||
this.splitContainer1.TabIndex = 11;
|
||||
//
|
||||
@@ -237,12 +240,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.ucGroupBoxEx2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
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.chkSaveBound);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.chkAiShortTitle);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.label6);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.txtWaitSeconds);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.chkHighestPriceSku);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.txtFilterBoundMax);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.label23);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.txtFilterBoundMin);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.txtTitleHeadWord);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.chkImgRandomBlock);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.btnFilterBound);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.chkSameSpecPrice);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.label22);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.txtShippingPriceTimes);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.label12);
|
||||
@@ -252,17 +260,13 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
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);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.txtMinPrice);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.label8);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.txtReplaceText);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.label3);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.chkUpDraft);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.chkHighestPriceSku);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.label7);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.txtWaitSeconds);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.label6);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.btnStop);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.chkAddMorePriceFirst);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.btnClearDgv);
|
||||
@@ -280,69 +284,121 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.ucGroupBoxEx2.Controls.Add(this.chkStepAddPrice);
|
||||
this.ucGroupBoxEx2.Location = new System.Drawing.Point(571, 2);
|
||||
this.ucGroupBoxEx2.Name = "ucGroupBoxEx2";
|
||||
this.ucGroupBoxEx2.Size = new System.Drawing.Size(969, 165);
|
||||
this.ucGroupBoxEx2.Size = new System.Drawing.Size(984, 165);
|
||||
this.ucGroupBoxEx2.TabIndex = 667;
|
||||
this.ucGroupBoxEx2.TabStop = false;
|
||||
this.ucGroupBoxEx2.Text = "商品上传";
|
||||
//
|
||||
// chkSaveBound
|
||||
//
|
||||
this.chkSaveBound.AutoSize = true;
|
||||
this.chkSaveBound.Location = new System.Drawing.Point(806, 136);
|
||||
this.chkSaveBound.Name = "chkSaveBound";
|
||||
this.chkSaveBound.Size = new System.Drawing.Size(111, 21);
|
||||
this.chkSaveBound.TabIndex = 863;
|
||||
this.chkSaveBound.Text = "记住保证金范围";
|
||||
this.chkSaveBound.UseVisualStyleBackColor = true;
|
||||
this.chkSaveBound.CheckedChanged += new System.EventHandler(this.chkSaveBound_CheckedChanged);
|
||||
//
|
||||
// chkAiShortTitle
|
||||
//
|
||||
this.chkAiShortTitle.AccessibleRole = System.Windows.Forms.AccessibleRole.Cursor;
|
||||
this.chkAiShortTitle.AutoSize = true;
|
||||
this.chkAiShortTitle.Checked = true;
|
||||
this.chkAiShortTitle.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkAiShortTitle.Location = new System.Drawing.Point(653, 42);
|
||||
this.chkAiShortTitle.Name = "chkAiShortTitle";
|
||||
this.chkAiShortTitle.Size = new System.Drawing.Size(147, 21);
|
||||
this.chkAiShortTitle.TabIndex = 862;
|
||||
this.chkAiShortTitle.Text = "AI短标题加入商品标题";
|
||||
this.chkAiShortTitle.UseVisualStyleBackColor = true;
|
||||
this.chkAiShortTitle.CheckedChanged += new System.EventHandler(this.chkAiShotTitle_CheckedChanged);
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(795, 18);
|
||||
this.label6.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(56, 17);
|
||||
this.label6.TabIndex = 727;
|
||||
this.label6.Text = "额外等待";
|
||||
//
|
||||
// txtWaitSeconds
|
||||
//
|
||||
this.txtWaitSeconds.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtWaitSeconds.Location = new System.Drawing.Point(851, 15);
|
||||
this.txtWaitSeconds.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtWaitSeconds.Name = "txtWaitSeconds";
|
||||
this.txtWaitSeconds.Size = new System.Drawing.Size(24, 23);
|
||||
this.txtWaitSeconds.TabIndex = 728;
|
||||
this.txtWaitSeconds.Text = "10";
|
||||
this.txtWaitSeconds.TextChanged += new System.EventHandler(this.txtWaitSeconds_TextChanged);
|
||||
//
|
||||
// chkHighestPriceSku
|
||||
//
|
||||
this.chkHighestPriceSku.AutoSize = true;
|
||||
this.chkHighestPriceSku.Checked = true;
|
||||
this.chkHighestPriceSku.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkHighestPriceSku.Location = new System.Drawing.Point(582, 16);
|
||||
this.chkHighestPriceSku.Name = "chkHighestPriceSku";
|
||||
this.chkHighestPriceSku.Size = new System.Drawing.Size(119, 21);
|
||||
this.chkHighestPriceSku.TabIndex = 739;
|
||||
this.chkHighestPriceSku.Text = "只保留最高价sku";
|
||||
this.chkHighestPriceSku.UseVisualStyleBackColor = true;
|
||||
this.chkHighestPriceSku.CheckedChanged += new System.EventHandler(this.chkHighestPriceSku_CheckedChanged);
|
||||
//
|
||||
// txtFilterBoundMax
|
||||
//
|
||||
this.txtFilterBoundMax.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.txtFilterBoundMax.Location = new System.Drawing.Point(647, 131);
|
||||
this.txtFilterBoundMax.Location = new System.Drawing.Point(648, 134);
|
||||
this.txtFilterBoundMax.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtFilterBoundMax.Name = "txtFilterBoundMax";
|
||||
this.txtFilterBoundMax.Size = new System.Drawing.Size(49, 25);
|
||||
this.txtFilterBoundMax.TabIndex = 721;
|
||||
this.txtFilterBoundMax.Text = "1000";
|
||||
this.txtFilterBoundMax.TextChanged += new System.EventHandler(this.txtFilterBoundMax_TextChanged);
|
||||
//
|
||||
// label23
|
||||
//
|
||||
this.label23.AutoSize = true;
|
||||
this.label23.Location = new System.Drawing.Point(620, 136);
|
||||
this.label23.Location = new System.Drawing.Point(621, 138);
|
||||
this.label23.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label23.Name = "label23";
|
||||
this.label23.Size = new System.Drawing.Size(29, 17);
|
||||
this.label23.Size = new System.Drawing.Size(32, 17);
|
||||
this.label23.TabIndex = 849;
|
||||
this.label23.Text = "或>";
|
||||
this.label23.Text = "或>";
|
||||
//
|
||||
// txtFilterBoundMin
|
||||
//
|
||||
this.txtFilterBoundMin.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.txtFilterBoundMin.Location = new System.Drawing.Point(570, 131);
|
||||
this.txtFilterBoundMin.Location = new System.Drawing.Point(571, 134);
|
||||
this.txtFilterBoundMin.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtFilterBoundMin.Name = "txtFilterBoundMin";
|
||||
this.txtFilterBoundMin.Size = new System.Drawing.Size(49, 25);
|
||||
this.txtFilterBoundMin.TabIndex = 848;
|
||||
this.txtFilterBoundMin.Text = "1000";
|
||||
this.txtFilterBoundMin.TextChanged += new System.EventHandler(this.txtFilterBoundMin_TextChanged);
|
||||
//
|
||||
// txtTitleHeadWord
|
||||
//
|
||||
this.txtTitleHeadWord.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.txtTitleHeadWord.Location = new System.Drawing.Point(864, 131);
|
||||
this.txtTitleHeadWord.Location = new System.Drawing.Point(514, 40);
|
||||
this.txtTitleHeadWord.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtTitleHeadWord.MaxLength = 15;
|
||||
this.txtTitleHeadWord.Name = "txtTitleHeadWord";
|
||||
this.txtTitleHeadWord.Size = new System.Drawing.Size(124, 25);
|
||||
this.txtTitleHeadWord.Size = new System.Drawing.Size(130, 25);
|
||||
this.txtTitleHeadWord.TabIndex = 835;
|
||||
this.txtTitleHeadWord.TextChanged += new System.EventHandler(this.txtTitleHeadWord_TextChanged);
|
||||
//
|
||||
// chkImgRandomBlock
|
||||
//
|
||||
this.chkImgRandomBlock.AutoSize = true;
|
||||
this.chkImgRandomBlock.Location = new System.Drawing.Point(621, 16);
|
||||
this.chkImgRandomBlock.Name = "chkImgRandomBlock";
|
||||
this.chkImgRandomBlock.Size = new System.Drawing.Size(123, 21);
|
||||
this.chkImgRandomBlock.TabIndex = 821;
|
||||
this.chkImgRandomBlock.Text = "图书图片随机打码";
|
||||
this.chkImgRandomBlock.UseVisualStyleBackColor = true;
|
||||
this.chkImgRandomBlock.Visible = false;
|
||||
//
|
||||
// btnFilterBound
|
||||
//
|
||||
this.btnFilterBound.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnFilterBound.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnFilterBound.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnFilterBound.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnFilterBound.Location = new System.Drawing.Point(741, 132);
|
||||
this.btnFilterBound.Location = new System.Drawing.Point(742, 135);
|
||||
this.btnFilterBound.Name = "btnFilterBound";
|
||||
this.btnFilterBound.Size = new System.Drawing.Size(58, 23);
|
||||
this.btnFilterBound.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -362,15 +418,28 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnFilterBound.Text = "立即过滤";
|
||||
this.btnFilterBound.Click += new System.EventHandler(this.btnFilterBound_Click);
|
||||
//
|
||||
// chkSameSpecPrice
|
||||
//
|
||||
this.chkSameSpecPrice.AutoSize = true;
|
||||
this.chkSameSpecPrice.Checked = true;
|
||||
this.chkSameSpecPrice.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkSameSpecPrice.Location = new System.Drawing.Point(701, 16);
|
||||
this.chkSameSpecPrice.Name = "chkSameSpecPrice";
|
||||
this.chkSameSpecPrice.Size = new System.Drawing.Size(99, 21);
|
||||
this.chkSameSpecPrice.TabIndex = 745;
|
||||
this.chkSameSpecPrice.Text = "颜色规格同价";
|
||||
this.chkSameSpecPrice.UseVisualStyleBackColor = true;
|
||||
this.chkSameSpecPrice.CheckedChanged += new System.EventHandler(this.chkSameSpecPrice_CheckedChanged);
|
||||
//
|
||||
// label22
|
||||
//
|
||||
this.label22.AutoSize = true;
|
||||
this.label22.Location = new System.Drawing.Point(806, 135);
|
||||
this.label22.Location = new System.Drawing.Point(448, 45);
|
||||
this.label22.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label22.Name = "label22";
|
||||
this.label22.Size = new System.Drawing.Size(68, 17);
|
||||
this.label22.TabIndex = 834;
|
||||
this.label22.Text = "标题前缀:";
|
||||
this.label22.Text = "标题前缀词";
|
||||
//
|
||||
// txtShippingPriceTimes
|
||||
//
|
||||
@@ -385,7 +454,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// label12
|
||||
//
|
||||
this.label12.AutoSize = true;
|
||||
this.label12.Location = new System.Drawing.Point(696, 135);
|
||||
this.label12.Location = new System.Drawing.Point(697, 138);
|
||||
this.label12.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label12.Name = "label12";
|
||||
this.label12.Size = new System.Drawing.Size(44, 17);
|
||||
@@ -406,17 +475,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(447, 135);
|
||||
this.label1.Location = new System.Drawing.Point(448, 138);
|
||||
this.label1.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(125, 17);
|
||||
this.label1.Size = new System.Drawing.Size(128, 17);
|
||||
this.label1.TabIndex = 720;
|
||||
this.label1.Text = "过滤待传类目保证金<";
|
||||
this.label1.Text = "过滤待传类目保证金<";
|
||||
//
|
||||
// label18
|
||||
//
|
||||
this.label18.AutoSize = true;
|
||||
this.label18.Location = new System.Drawing.Point(819, 109);
|
||||
this.label18.Location = new System.Drawing.Point(811, 112);
|
||||
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);
|
||||
@@ -425,7 +494,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// txtPreDays
|
||||
//
|
||||
this.txtPreDays.Location = new System.Drawing.Point(786, 106);
|
||||
this.txtPreDays.Location = new System.Drawing.Point(778, 109);
|
||||
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);
|
||||
@@ -436,7 +505,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// chkPreSale
|
||||
//
|
||||
this.chkPreSale.AutoSize = true;
|
||||
this.chkPreSale.Location = new System.Drawing.Point(694, 107);
|
||||
this.chkPreSale.Location = new System.Drawing.Point(686, 110);
|
||||
this.chkPreSale.Name = "chkPreSale";
|
||||
this.chkPreSale.Size = new System.Drawing.Size(99, 21);
|
||||
this.chkPreSale.TabIndex = 789;
|
||||
@@ -449,7 +518,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.chkSkipUploaded.AutoSize = true;
|
||||
this.chkSkipUploaded.Checked = true;
|
||||
this.chkSkipUploaded.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkSkipUploaded.Location = new System.Drawing.Point(451, 107);
|
||||
this.chkSkipUploaded.Location = new System.Drawing.Point(451, 110);
|
||||
this.chkSkipUploaded.Name = "chkSkipUploaded";
|
||||
this.chkSkipUploaded.Size = new System.Drawing.Size(135, 21);
|
||||
this.chkSkipUploaded.TabIndex = 755;
|
||||
@@ -457,35 +526,22 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.chkSkipUploaded.UseVisualStyleBackColor = true;
|
||||
this.chkSkipUploaded.CheckedChanged += new System.EventHandler(this.chkSkipUploaded_CheckedChanged);
|
||||
//
|
||||
// chkSameSpecPrice
|
||||
//
|
||||
this.chkSameSpecPrice.AutoSize = true;
|
||||
this.chkSameSpecPrice.Checked = true;
|
||||
this.chkSameSpecPrice.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkSameSpecPrice.Location = new System.Drawing.Point(576, 40);
|
||||
this.chkSameSpecPrice.Name = "chkSameSpecPrice";
|
||||
this.chkSameSpecPrice.Size = new System.Drawing.Size(99, 21);
|
||||
this.chkSameSpecPrice.TabIndex = 745;
|
||||
this.chkSameSpecPrice.Text = "颜色规格同价";
|
||||
this.chkSameSpecPrice.UseVisualStyleBackColor = true;
|
||||
this.chkSameSpecPrice.CheckedChanged += new System.EventHandler(this.chkSameSpecPrice_CheckedChanged);
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(539, 18);
|
||||
this.label5.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(76, 17);
|
||||
this.label5.Size = new System.Drawing.Size(40, 17);
|
||||
this.label5.TabIndex = 744;
|
||||
this.label5.Text = "元时跳过sku";
|
||||
this.label5.Text = "元sku";
|
||||
//
|
||||
// txtMinPrice
|
||||
//
|
||||
this.txtMinPrice.Location = new System.Drawing.Point(506, 15);
|
||||
this.txtMinPrice.Location = new System.Drawing.Point(514, 15);
|
||||
this.txtMinPrice.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtMinPrice.Name = "txtMinPrice";
|
||||
this.txtMinPrice.Size = new System.Drawing.Size(33, 23);
|
||||
this.txtMinPrice.Size = new System.Drawing.Size(25, 23);
|
||||
this.txtMinPrice.TabIndex = 743;
|
||||
this.txtMinPrice.Text = "10";
|
||||
this.txtMinPrice.TextChanged += new System.EventHandler(this.txtMinPrice_TextChanged);
|
||||
@@ -498,17 +554,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(68, 17);
|
||||
this.label8.TabIndex = 742;
|
||||
this.label8.Text = "价格低于:";
|
||||
this.label8.Text = "跳过价格<";
|
||||
//
|
||||
// txtReplaceText
|
||||
//
|
||||
this.txtReplaceText.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtReplaceText.Location = new System.Drawing.Point(517, 63);
|
||||
this.txtReplaceText.Location = new System.Drawing.Point(514, 67);
|
||||
this.txtReplaceText.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtReplaceText.Multiline = true;
|
||||
this.txtReplaceText.Name = "txtReplaceText";
|
||||
this.txtReplaceText.Size = new System.Drawing.Size(325, 40);
|
||||
this.txtReplaceText.Size = new System.Drawing.Size(344, 40);
|
||||
this.txtReplaceText.TabIndex = 740;
|
||||
this.txtReplaceText.Text = "真丝,蚕丝,香云纱,羊绒,羊毛,羊羔绒,羊羔毛,羽绒,皮草";
|
||||
this.txtReplaceText.TextChanged += new System.EventHandler(this.txtReplaceText_TextChanged);
|
||||
@@ -516,17 +572,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(448, 66);
|
||||
this.label3.Location = new System.Drawing.Point(448, 72);
|
||||
this.label3.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(80, 17);
|
||||
this.label3.Size = new System.Drawing.Size(68, 17);
|
||||
this.label3.TabIndex = 741;
|
||||
this.label3.Text = "移除敏感词:";
|
||||
this.label3.Text = "移除敏感词";
|
||||
//
|
||||
// chkUpDraft
|
||||
//
|
||||
this.chkUpDraft.AutoSize = true;
|
||||
this.chkUpDraft.Location = new System.Drawing.Point(590, 107);
|
||||
this.chkUpDraft.Location = new System.Drawing.Point(586, 110);
|
||||
this.chkUpDraft.Name = "chkUpDraft";
|
||||
this.chkUpDraft.Size = new System.Drawing.Size(99, 21);
|
||||
this.chkUpDraft.TabIndex = 769;
|
||||
@@ -534,62 +590,27 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.chkUpDraft.UseVisualStyleBackColor = true;
|
||||
this.chkUpDraft.CheckedChanged += new System.EventHandler(this.chkUpDraft_CheckedChanged);
|
||||
//
|
||||
// chkHighestPriceSku
|
||||
//
|
||||
this.chkHighestPriceSku.AutoSize = true;
|
||||
this.chkHighestPriceSku.Checked = true;
|
||||
this.chkHighestPriceSku.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkHighestPriceSku.Location = new System.Drawing.Point(451, 40);
|
||||
this.chkHighestPriceSku.Name = "chkHighestPriceSku";
|
||||
this.chkHighestPriceSku.Size = new System.Drawing.Size(119, 21);
|
||||
this.chkHighestPriceSku.TabIndex = 739;
|
||||
this.chkHighestPriceSku.Text = "只保留最高价sku";
|
||||
this.chkHighestPriceSku.UseVisualStyleBackColor = true;
|
||||
this.chkHighestPriceSku.CheckedChanged += new System.EventHandler(this.chkHighestPriceSku_CheckedChanged);
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Location = new System.Drawing.Point(842, 34);
|
||||
this.label7.Location = new System.Drawing.Point(875, 18);
|
||||
this.label7.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(20, 17);
|
||||
this.label7.TabIndex = 729;
|
||||
this.label7.Text = "秒";
|
||||
//
|
||||
// txtWaitSeconds
|
||||
//
|
||||
this.txtWaitSeconds.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtWaitSeconds.Location = new System.Drawing.Point(810, 31);
|
||||
this.txtWaitSeconds.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtWaitSeconds.Name = "txtWaitSeconds";
|
||||
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
|
||||
//
|
||||
this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(756, 34);
|
||||
this.label6.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(56, 17);
|
||||
this.label6.TabIndex = 727;
|
||||
this.label6.Text = "额外等待";
|
||||
//
|
||||
// btnStop
|
||||
//
|
||||
this.btnStop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnStop.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.btnStop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnStop.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnStop.Location = new System.Drawing.Point(863, 59);
|
||||
this.btnStop.Location = new System.Drawing.Point(900, 47);
|
||||
this.btnStop.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
|
||||
this.btnStop.Name = "btnStop";
|
||||
this.btnStop.Size = new System.Drawing.Size(84, 23);
|
||||
this.btnStop.Size = new System.Drawing.Size(71, 23);
|
||||
this.btnStop.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnStop.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.btnStop.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
@@ -624,10 +645,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnClearDgv.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.btnClearDgv.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnClearDgv.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnClearDgv.Location = new System.Drawing.Point(863, 87);
|
||||
this.btnClearDgv.Location = new System.Drawing.Point(900, 75);
|
||||
this.btnClearDgv.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
|
||||
this.btnClearDgv.Name = "btnClearDgv";
|
||||
this.btnClearDgv.Size = new System.Drawing.Size(84, 23);
|
||||
this.btnClearDgv.Size = new System.Drawing.Size(71, 23);
|
||||
this.btnClearDgv.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnClearDgv.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.btnClearDgv.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
@@ -641,7 +662,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnClearDgv.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnClearDgv.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnClearDgv.TabIndex = 612;
|
||||
this.btnClearDgv.Text = "清空列表选中";
|
||||
this.btnClearDgv.Text = "清空选中";
|
||||
this.btnClearDgv.Click += new System.EventHandler(this.btnClearDgv_Click);
|
||||
//
|
||||
// label14
|
||||
@@ -830,9 +851,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnUpload.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnUpload.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnUpload.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnUpload.Location = new System.Drawing.Point(863, 31);
|
||||
this.btnUpload.Location = new System.Drawing.Point(900, 19);
|
||||
this.btnUpload.Name = "btnUpload";
|
||||
this.btnUpload.Size = new System.Drawing.Size(84, 23);
|
||||
this.btnUpload.Size = new System.Drawing.Size(71, 23);
|
||||
this.btnUpload.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnUpload.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnUpload.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
@@ -898,10 +919,11 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
| System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.ucGroupBoxEx4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.ucGroupBoxEx4.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
|
||||
this.ucGroupBoxEx4.Controls.Add(this.txtAddCount);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.txtSearchGoodsName);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.label20);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.txtExtCodeFilter);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.pbSelectProd);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.txtExtCodeFilter);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.cmbCateFilter3);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.label21);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.cmbGroupFilter);
|
||||
@@ -923,9 +945,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.ucGroupBoxEx4.Controls.Add(this.cmbCateFilter1);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.label2);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.lblWaitToUp);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.txtAddCount);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.btnRandomAdd);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.chkSevenDays);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.chkSkipQualification);
|
||||
this.ucGroupBoxEx4.Location = new System.Drawing.Point(162, 2);
|
||||
this.ucGroupBoxEx4.Name = "ucGroupBoxEx4";
|
||||
this.ucGroupBoxEx4.Size = new System.Drawing.Size(410, 165);
|
||||
@@ -933,6 +955,16 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.ucGroupBoxEx4.TabStop = false;
|
||||
this.ucGroupBoxEx4.Text = "待传商品";
|
||||
//
|
||||
// txtAddCount
|
||||
//
|
||||
this.txtAddCount.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.txtAddCount.Location = new System.Drawing.Point(245, 131);
|
||||
this.txtAddCount.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtAddCount.Name = "txtAddCount";
|
||||
this.txtAddCount.Size = new System.Drawing.Size(36, 25);
|
||||
this.txtAddCount.TabIndex = 536;
|
||||
this.txtAddCount.Text = "500";
|
||||
//
|
||||
// txtSearchGoodsName
|
||||
//
|
||||
this.txtSearchGoodsName.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
@@ -952,6 +984,18 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.label20.TabIndex = 794;
|
||||
this.label20.Text = "商品名";
|
||||
//
|
||||
// pbSelectProd
|
||||
//
|
||||
this.pbSelectProd.Image = global::TemuKJD.Properties.Resources.loading_blue;
|
||||
this.pbSelectProd.Location = new System.Drawing.Point(111, 131);
|
||||
this.pbSelectProd.Name = "pbSelectProd";
|
||||
this.pbSelectProd.Size = new System.Drawing.Size(25, 25);
|
||||
this.pbSelectProd.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.pbSelectProd.TabIndex = 781;
|
||||
this.pbSelectProd.TabStop = false;
|
||||
this.pbSelectProd.Visible = false;
|
||||
this.pbSelectProd.Click += new System.EventHandler(this.pbSelectProd_Click);
|
||||
//
|
||||
// txtExtCodeFilter
|
||||
//
|
||||
this.txtExtCodeFilter.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
@@ -962,17 +1006,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.txtExtCodeFilter.TabIndex = 555;
|
||||
this.txtExtCodeFilter.Visible = false;
|
||||
//
|
||||
// pbSelectProd
|
||||
//
|
||||
this.pbSelectProd.Image = global::TemuKJD.Properties.Resources.loading_blue;
|
||||
this.pbSelectProd.Location = new System.Drawing.Point(116, 128);
|
||||
this.pbSelectProd.Name = "pbSelectProd";
|
||||
this.pbSelectProd.Size = new System.Drawing.Size(25, 25);
|
||||
this.pbSelectProd.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.pbSelectProd.TabIndex = 781;
|
||||
this.pbSelectProd.TabStop = false;
|
||||
this.pbSelectProd.Visible = false;
|
||||
//
|
||||
// cmbCateFilter3
|
||||
//
|
||||
this.cmbCateFilter3.FormattingEnabled = true;
|
||||
@@ -1139,13 +1172,13 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnClearFilter.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnClearFilter.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnClearFilter.TabIndex = 559;
|
||||
this.btnClearFilter.Text = "清除";
|
||||
this.btnClearFilter.Text = "重置";
|
||||
this.btnClearFilter.Click += new System.EventHandler(this.btnClearFilter_Click);
|
||||
//
|
||||
// lblGoodsCount
|
||||
//
|
||||
this.lblGoodsCount.AutoSize = true;
|
||||
this.lblGoodsCount.Location = new System.Drawing.Point(9, 132);
|
||||
this.lblGoodsCount.Location = new System.Drawing.Point(136, 127);
|
||||
this.lblGoodsCount.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.lblGoodsCount.Name = "lblGoodsCount";
|
||||
this.lblGoodsCount.Size = new System.Drawing.Size(71, 17);
|
||||
@@ -1182,7 +1215,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnClearUpload.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.btnClearUpload.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnClearUpload.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnClearUpload.Location = new System.Drawing.Point(343, 128);
|
||||
this.btnClearUpload.Location = new System.Drawing.Point(343, 131);
|
||||
this.btnClearUpload.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
|
||||
this.btnClearUpload.Name = "btnClearUpload";
|
||||
this.btnClearUpload.Size = new System.Drawing.Size(58, 25);
|
||||
@@ -1227,7 +1260,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.lblWaitToUp.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.lblWaitToUp.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lblWaitToUp.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.lblWaitToUp.Location = new System.Drawing.Point(140, 132);
|
||||
this.lblWaitToUp.Location = new System.Drawing.Point(136, 144);
|
||||
this.lblWaitToUp.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.lblWaitToUp.Name = "lblWaitToUp";
|
||||
this.lblWaitToUp.Size = new System.Drawing.Size(71, 17);
|
||||
@@ -1235,23 +1268,13 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.lblWaitToUp.Text = "待上传 0 件";
|
||||
this.lblWaitToUp.Click += new System.EventHandler(this.lblWaitToUp_Click);
|
||||
//
|
||||
// txtAddCount
|
||||
//
|
||||
this.txtAddCount.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.txtAddCount.Location = new System.Drawing.Point(245, 128);
|
||||
this.txtAddCount.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtAddCount.Name = "txtAddCount";
|
||||
this.txtAddCount.Size = new System.Drawing.Size(36, 25);
|
||||
this.txtAddCount.TabIndex = 536;
|
||||
this.txtAddCount.Text = "500";
|
||||
//
|
||||
// btnRandomAdd
|
||||
//
|
||||
this.btnRandomAdd.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnRandomAdd.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnRandomAdd.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnRandomAdd.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnRandomAdd.Location = new System.Drawing.Point(283, 128);
|
||||
this.btnRandomAdd.Location = new System.Drawing.Point(283, 131);
|
||||
this.btnRandomAdd.Name = "btnRandomAdd";
|
||||
this.btnRandomAdd.Size = new System.Drawing.Size(58, 25);
|
||||
this.btnRandomAdd.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -1279,6 +1302,16 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.chkSevenDays.Text = "近七日爆款";
|
||||
this.chkSevenDays.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// chkSkipQualification
|
||||
//
|
||||
this.chkSkipQualification.AutoSize = true;
|
||||
this.chkSkipQualification.Location = new System.Drawing.Point(14, 133);
|
||||
this.chkSkipQualification.Name = "chkSkipQualification";
|
||||
this.chkSkipQualification.Size = new System.Drawing.Size(99, 21);
|
||||
this.chkSkipQualification.TabIndex = 806;
|
||||
this.chkSkipQualification.Text = "跳过资质商品";
|
||||
this.chkSkipQualification.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// ucGroupBoxEx1
|
||||
//
|
||||
this.ucGroupBoxEx1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
@@ -1579,7 +1612,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// splitContainer3.Panel2
|
||||
//
|
||||
this.splitContainer3.Panel2.Controls.Add(this.splitContainer4);
|
||||
this.splitContainer3.Size = new System.Drawing.Size(1542, 377);
|
||||
this.splitContainer3.Size = new System.Drawing.Size(1557, 377);
|
||||
this.splitContainer3.SplitterDistance = 347;
|
||||
this.splitContainer3.TabIndex = 1;
|
||||
//
|
||||
@@ -1601,12 +1634,13 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.splitContainer2.Panel2.Controls.Add(this.pbLoading);
|
||||
this.splitContainer2.Panel2.Controls.Add(this.并发上传);
|
||||
this.splitContainer2.Panel2.Controls.Add(this.chkImgRandomBlock);
|
||||
this.splitContainer2.Panel2.Controls.Add(this.label11);
|
||||
this.splitContainer2.Panel2.Controls.Add(this.txtSinglePriceAdd);
|
||||
this.splitContainer2.Panel2.Controls.Add(this.chkTestNoAuditUpload);
|
||||
this.splitContainer2.Panel2.Controls.Add(this.dgvSelectProduct);
|
||||
this.splitContainer2.Panel2.Padding = new System.Windows.Forms.Padding(0, 0, 4, 0);
|
||||
this.splitContainer2.Size = new System.Drawing.Size(1542, 347);
|
||||
this.splitContainer2.Size = new System.Drawing.Size(1557, 347);
|
||||
this.splitContainer2.SplitterDistance = 350;
|
||||
this.splitContainer2.TabIndex = 0;
|
||||
//
|
||||
@@ -1799,7 +1833,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.pbLoading.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.pbLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
|
||||
this.pbLoading.Location = new System.Drawing.Point(569, 148);
|
||||
this.pbLoading.Location = new System.Drawing.Point(576, 148);
|
||||
this.pbLoading.Name = "pbLoading";
|
||||
this.pbLoading.Size = new System.Drawing.Size(50, 50);
|
||||
this.pbLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
@@ -1814,7 +1848,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.并发上传.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.并发上传.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.并发上传.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.并发上传.Location = new System.Drawing.Point(1062, 30);
|
||||
this.并发上传.Location = new System.Drawing.Point(1077, 30);
|
||||
this.并发上传.Name = "并发上传";
|
||||
this.并发上传.Size = new System.Drawing.Size(118, 23);
|
||||
this.并发上传.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -1833,6 +1867,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.并发上传.Visible = false;
|
||||
this.并发上传.Click += new System.EventHandler(this.并发上传_Click);
|
||||
//
|
||||
// chkImgRandomBlock
|
||||
//
|
||||
this.chkImgRandomBlock.AutoSize = true;
|
||||
this.chkImgRandomBlock.Location = new System.Drawing.Point(117, 32);
|
||||
this.chkImgRandomBlock.Name = "chkImgRandomBlock";
|
||||
this.chkImgRandomBlock.Size = new System.Drawing.Size(123, 21);
|
||||
this.chkImgRandomBlock.TabIndex = 821;
|
||||
this.chkImgRandomBlock.Text = "图书图片随机打码";
|
||||
this.chkImgRandomBlock.UseVisualStyleBackColor = true;
|
||||
this.chkImgRandomBlock.Visible = false;
|
||||
//
|
||||
// label11
|
||||
//
|
||||
this.label11.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
@@ -1914,7 +1959,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.dgvSelectProduct.Name = "dgvSelectProduct";
|
||||
this.dgvSelectProduct.ReadOnly = true;
|
||||
this.dgvSelectProduct.RowTemplate.Height = 23;
|
||||
this.dgvSelectProduct.Size = new System.Drawing.Size(1184, 347);
|
||||
this.dgvSelectProduct.Size = new System.Drawing.Size(1199, 347);
|
||||
this.dgvSelectProduct.TabIndex = 187;
|
||||
this.dgvSelectProduct.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvSelectProduct_CellContentClick);
|
||||
//
|
||||
@@ -2113,8 +2158,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.splitContainer4.Panel2.Controls.Add(this.btnClear);
|
||||
this.splitContainer4.Panel2.Controls.Add(this.panelEx1);
|
||||
this.splitContainer4.Size = new System.Drawing.Size(1542, 26);
|
||||
this.splitContainer4.SplitterDistance = 851;
|
||||
this.splitContainer4.Size = new System.Drawing.Size(1557, 26);
|
||||
this.splitContainer4.SplitterDistance = 866;
|
||||
this.splitContainer4.TabIndex = 3;
|
||||
//
|
||||
// statusBar
|
||||
@@ -2125,7 +2170,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.statusBar.Location = new System.Drawing.Point(0, 0);
|
||||
this.statusBar.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.statusBar.Name = "statusBar";
|
||||
this.statusBar.Size = new System.Drawing.Size(851, 26);
|
||||
this.statusBar.Size = new System.Drawing.Size(866, 26);
|
||||
this.statusBar.TabIndex = 2;
|
||||
//
|
||||
// btnClear
|
||||
@@ -2380,5 +2425,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colAddTime;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colOpResult;
|
||||
private UserComponent.UcCheckBox chkSevenDays;
|
||||
private UserComponent.UcCheckBox chkSaveBound;
|
||||
private UserComponent.UcCheckBox chkAiShortTitle;
|
||||
private UserComponent.UcCheckBox chkSkipQualification;
|
||||
}
|
||||
}
|
||||
@@ -164,6 +164,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.chkUpDraft.CheckedChanged -= chkUpDraft_CheckedChanged;
|
||||
this.chkPreSale.CheckedChanged -= chkPreSale_CheckedChanged;
|
||||
this.txtTitleHeadWord.TextChanged -= txtTitleHeadWord_TextChanged;
|
||||
this.chkAiShortTitle.CheckedChanged -= chkAiShotTitle_CheckedChanged;
|
||||
this.chkSaveBound.CheckedChanged -= chkSaveBound_CheckedChanged;
|
||||
this.txtFilterBoundMin.TextChanged -= txtFilterBoundMin_TextChanged;
|
||||
this.txtFilterBoundMax.TextChanged -= txtFilterBoundMax_TextChanged;
|
||||
|
||||
this.txtPreDays.Text = wxUploadRule.PreSaleDays.ParseToString();
|
||||
this.txtReplaceText.Text = wxUploadRule.FilterWords.ParseToString();
|
||||
@@ -175,6 +179,13 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.chkUpDraft.Checked = wxUploadRule.UpDraft.ParseToBool();
|
||||
this.chkPreSale.Checked = wxUploadRule.IsPreSale.ParseToBool();
|
||||
this.txtTitleHeadWord.Text = wxUploadRule.TitleHeadWords.ParseToString();
|
||||
this.chkAiShortTitle.Checked = wxUploadRule.IsAiShortTitle;
|
||||
this.chkSaveBound.Checked = wxUploadRule.IsSaveBound;
|
||||
if (wxUploadRule.IsSaveBound)
|
||||
{
|
||||
this.txtFilterBoundMin.Text = wxUploadRule.FilterBoundMinSave.ParseToString();
|
||||
this.txtFilterBoundMax.Text = wxUploadRule.FilterBoundMaxSave.ParseToString();
|
||||
}
|
||||
|
||||
this.txtPreDays.TextChanged += txtPreDays_TextChanged;
|
||||
this.txtReplaceText.TextChanged += txtReplaceText_TextChanged;
|
||||
@@ -186,6 +197,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.chkUpDraft.CheckedChanged += chkUpDraft_CheckedChanged;
|
||||
this.chkPreSale.CheckedChanged += chkPreSale_CheckedChanged;
|
||||
this.txtTitleHeadWord.TextChanged += txtTitleHeadWord_TextChanged;
|
||||
this.chkAiShortTitle.CheckedChanged += chkAiShotTitle_CheckedChanged;
|
||||
this.chkSaveBound.CheckedChanged += chkSaveBound_CheckedChanged;
|
||||
this.txtFilterBoundMin.TextChanged += txtFilterBoundMin_TextChanged;
|
||||
this.txtFilterBoundMax.TextChanged += txtFilterBoundMax_TextChanged;
|
||||
|
||||
this.lblWaitToUp.Text = "待上传 " + lstTemuDBProductSelect.Count + " 件";
|
||||
|
||||
@@ -269,7 +284,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//#endif
|
||||
if (BaseClass.SaLevel == 1)
|
||||
{
|
||||
chkImgRandomBlock.Visible = true;
|
||||
//chkImgRandomBlock.Visible = true;
|
||||
}
|
||||
|
||||
IsLoadComplate = true;
|
||||
@@ -1569,11 +1584,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
#region 设置标题
|
||||
string prodTitle = dbProd.product_name.IsNullOrEmpty() ? prodInfo.detail.goods_name : dbProd.product_name;
|
||||
upProdInitParam.product.info.title = prodTitle;
|
||||
//标题前缀
|
||||
if (!string.IsNullOrEmpty(wxUploadRule.TitleHeadWords))
|
||||
upProdInitParam.product.info.title = wxUploadRule.TitleHeadWords + upProdInitParam.product.info.title;
|
||||
upProdParam.product.info.title = upProdInitParam.product.info.title;
|
||||
|
||||
upProdParam.product.info.title = prodTitle;
|
||||
upProdParam.sessionInfo.sessionId = upProdInitParam.product.sessionId;
|
||||
#endregion
|
||||
|
||||
@@ -2042,8 +2053,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 短标题 // ai获取短标题 // 暂时注释
|
||||
if (1 == 2)
|
||||
#region ai短标题 // ai获取短标题
|
||||
if (wxUploadRule.IsAiShortTitle)
|
||||
{
|
||||
if (cell != null)
|
||||
{
|
||||
@@ -2073,9 +2084,15 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
upProdParam.product.info.shortTitle = BaseRegex.GetStringJson(ref shortTitleRst, "shortTitle");
|
||||
upProdParam.product.info.aiGenShortTitle = upProdParam.product.info.shortTitle;
|
||||
upProdParam.product.info.title = upProdParam.product.info.shortTitle + upProdParam.product.info.title;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 标题前缀,加在最前面
|
||||
if (!string.IsNullOrWhiteSpace(wxUploadRule.TitleHeadWords))
|
||||
upProdParam.product.info.title = wxUploadRule.TitleHeadWords + upProdParam.product.info.title;
|
||||
#endregion
|
||||
|
||||
#region 售后信息
|
||||
|
||||
if (cell != null)
|
||||
@@ -2780,6 +2797,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
attrValue = "1 kg";
|
||||
else if (attr.value == "g;kg;ml;L")
|
||||
attrValue = "100 g";
|
||||
else if (attr.value == "cm")
|
||||
attrValue = "20 cm";
|
||||
}
|
||||
|
||||
var wxPropParam = new propParam();
|
||||
@@ -3144,7 +3163,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 书籍类生成书籍图片
|
||||
#region 标签图 书籍类生成书籍图片
|
||||
//qualificationList
|
||||
if (upProdParam.product.info.category.FirstOrDefault()?.name == "图书" || prodInfo.detail.cats.FirstOrDefault() == "书籍/杂志/报纸")
|
||||
{
|
||||
@@ -3218,7 +3237,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 食品类生成食品图片
|
||||
#region 标签图 食品类生成食品图片
|
||||
//qualificationList
|
||||
if (upProdParam.product.info.category.FirstOrDefault()?.name == "食品饮料" || prodInfo.detail.cats.FirstOrDefault() == "食品饮料")
|
||||
{
|
||||
@@ -3306,6 +3325,100 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 标签图 成人用品
|
||||
//qualificationList
|
||||
if (upProdParam.product.info.category.FirstOrDefault()?.name == "成人用品" && upProdParam.product.info.category[1].name != "情趣内衣")
|
||||
{
|
||||
if (cell != null)
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
cell.Value = "正在生成成人用品专有信息";
|
||||
}));
|
||||
}
|
||||
|
||||
string prodName = "产品名称:" +
|
||||
(upProdParam.product.info.category.Count > 2 ? upProdParam.product.info.category[2].name : upProdParam.product.info.category.LastOrDefault()?.name);
|
||||
string company = "生产企业:浙江邦臣医药有限公司";
|
||||
string address = "制造商地址:浙江省金华市婺城区神丽路1399号6号厂房";
|
||||
string model = "产品型号:见包装";
|
||||
string material = "材质:其他";
|
||||
string user = "适用人群:18岁以上成年人";
|
||||
|
||||
foreach (var propParam in upProdParam.product.info.param)
|
||||
{
|
||||
//if (propParam.categorys[0].name.Contains("产品名称"))
|
||||
// prodName = "产品名称:" + propParam.categorys[1].name;
|
||||
}
|
||||
|
||||
var bookStr = prodName + "\r\n" + "\r\n" +
|
||||
company + "\r\n" + "\r\n" +
|
||||
address + "\r\n" + "\r\n" +
|
||||
model + "\r\n" + "\r\n" +
|
||||
material + "\r\n" + "\r\n" +
|
||||
user;
|
||||
|
||||
var bookImg = new Bitmap(800, 800);
|
||||
using (Graphics g = Graphics.FromImage(bookImg))
|
||||
{
|
||||
g.Clear(Color.White);
|
||||
//Font font = new Font("宋体", 15, FontStyle.Bold);
|
||||
Font font = new Font("微软雅黑", 15, FontStyle.Regular);
|
||||
Brush textBrush = Brushes.Black;
|
||||
g.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
|
||||
RectangleF rectF = new RectangleF(80, 80, 800 - 80, 800 - 80);
|
||||
g.DrawString(bookStr, font, textBrush, rectF);
|
||||
}
|
||||
|
||||
Thread.Sleep(Randomx.GetId(500, 800));
|
||||
var locationStr = UploadImg(shop, bookImg, cell);
|
||||
if (!locationStr.Contains("\"success\":true"))
|
||||
return locationStr;
|
||||
var location = BaseRegex.GetStringJson(ref locationStr, "Location");
|
||||
upProdParam.product.info.qualificationList.Add(new qualificationParam() { qualificationId = "50000089", qualificationUrl = new List<string>() { location }, });
|
||||
}
|
||||
|
||||
if (upProdParam.product.info.category.FirstOrDefault()?.name == "成人用品" && upProdParam.product.info.category[1].name != "情趣内衣")
|
||||
{
|
||||
if (cell != null)
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
cell.Value = "正在生成成人用品专有信息";
|
||||
}));
|
||||
}
|
||||
|
||||
string prodName = (upProdParam.product.info.category.Count > 2 ? upProdParam.product.info.category[2].name : upProdParam.product.info.category.LastOrDefault()?.name);
|
||||
|
||||
var baseImg = TemuKJD.Properties.Resources.qingxu;
|
||||
var newImg = new Bitmap(baseImg.Width, baseImg.Height);
|
||||
using (Graphics g = Graphics.FromImage(newImg))
|
||||
{
|
||||
//g.Clear(Color.White);
|
||||
g.DrawImage(baseImg, new Rectangle(0, 0, newImg.Width, newImg.Height), 0, 0, baseImg.Width, baseImg.Height, GraphicsUnit.Pixel);
|
||||
|
||||
g.FillRectangle(Brushes.White, 860.ParseToInt(), (1024 - 4).ParseToInt(), 500, 120);
|
||||
|
||||
//Font font = new Font("宋体", txtSize.Text.Trim().ParseToInt(), FontStyle.Bold);
|
||||
Font font = new Font("宋体", 44.ParseToInt(), FontStyle.Regular);
|
||||
//Font font = new Font("微软雅黑", 15, FontStyle.Regular);
|
||||
Brush textBrush = Brushes.Black;
|
||||
textBrush = new SolidBrush(Color.FromArgb(0, 0, 0));
|
||||
g.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAliasGridFit;
|
||||
RectangleF rectF = new RectangleF(860, 1024, baseImg.Width - 80, baseImg.Height - 80);
|
||||
if (!string.IsNullOrWhiteSpace(prodName.Trim()))
|
||||
g.DrawString(prodName.Trim(), font, textBrush, rectF);
|
||||
}
|
||||
|
||||
Thread.Sleep(Randomx.GetId(500, 800));
|
||||
var locationStr = UploadImg(shop, newImg, cell);
|
||||
if (!locationStr.Contains("\"success\":true"))
|
||||
return locationStr;
|
||||
var location = BaseRegex.GetStringJson(ref locationStr, "Location");
|
||||
upProdParam.product.info.qualificationList.Add(new qualificationParam() { qualificationId = "50000115", qualificationUrl = new List<string>() { location }, });
|
||||
}
|
||||
#endregion
|
||||
|
||||
if (cell != null)
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
@@ -3696,6 +3809,12 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cancellationTokenSource.Cancel();
|
||||
}
|
||||
|
||||
CancellationTokenSource getProdTokenSource = null;
|
||||
private void pbSelectProd_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (getProdTokenSource != null)
|
||||
getProdTokenSource.Cancel();
|
||||
}
|
||||
private void btnRandomAdd_Click(object sender, EventArgs e)
|
||||
{
|
||||
btnRandomAdd.Enabled = false;
|
||||
@@ -3709,24 +3828,31 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}));
|
||||
});
|
||||
int addCount = txtAddCount.Text.Trim().ParseToInt();
|
||||
if (getProdTokenSource != null)
|
||||
getProdTokenSource.Cancel();
|
||||
getProdTokenSource = new CancellationTokenSource();
|
||||
Task.Run(() =>
|
||||
{
|
||||
List<KJDDBProduct> prodLst = new List<KJDDBProduct>();
|
||||
int index = 0;
|
||||
int pageSize = 50;
|
||||
while (addCount > 0)
|
||||
{
|
||||
if (getProdTokenSource.IsCancellationRequested)
|
||||
break;
|
||||
|
||||
index++;
|
||||
int prodCount = 0;
|
||||
// 如果产品数量在0到50之间,说明数据库商品数量不足,无需再重复筛选,直接随机打乱
|
||||
if (prodLst.Count == 0 || prodLst.Count == Math.Min(50, addCount))
|
||||
if (prodLst.Count == 0 || prodLst.Count == Math.Min(pageSize, addCount))
|
||||
{
|
||||
if (index > 1 && prodCount > 0)
|
||||
{
|
||||
prodLst = GetRandomProductList(out prodCount, 1, Math.Min(50, addCount), true, prodCount);
|
||||
prodLst = GetRandomProductList(out prodCount, 1, Math.Min(pageSize, addCount), true, prodCount);
|
||||
}
|
||||
else
|
||||
{
|
||||
prodLst = GetRandomProductList(out prodCount, 1, Math.Min(50, addCount));
|
||||
prodLst = GetRandomProductList(out prodCount, 1, Math.Min(pageSize, addCount));
|
||||
}
|
||||
//Thread.Sleep(Randomx.GetId(50, 100));
|
||||
Thread.Sleep(Randomx.GetId(250, 500));
|
||||
@@ -3766,7 +3892,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
pbSelectProd.Visible = false;
|
||||
}));
|
||||
});
|
||||
}, getProdTokenSource.Token);
|
||||
}
|
||||
|
||||
public List<KJDDBProduct> GetRandomProductList(out int totalCount, int page = 1, int pageSize = 50, bool isNotCount = false, int totalProdCount = 0)
|
||||
@@ -3805,6 +3931,12 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
|
||||
if (!string.IsNullOrEmpty(cmbCateFilter1.Text) && cate1 != null)
|
||||
data += "&wx_cat_1=" + cate1.cat_id;
|
||||
else if (chkSkipQualification.Checked)
|
||||
{
|
||||
// 厂商直采普通店铺不要随特殊商品
|
||||
data += "&wx_cat_1=" + string.Join(",", GlobalConfig.WxCatList.Where(c=>c.level == 1 && !(c.name == "图书" || c.name == "食品饮料" || c.name == "成人用品"))
|
||||
.Select(c => c.cat_id));
|
||||
}
|
||||
if (!string.IsNullOrEmpty(cmbCateFilter2.Text) && cate2 != null)
|
||||
data += "&wx_cat_2=" + cate2.cat_id;
|
||||
if (!string.IsNullOrEmpty(cmbCateFilter3.Text) && cate3 != null)
|
||||
@@ -3929,7 +4061,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
if (row.Cells["colCheck"].Value.ParseToBool() == true)
|
||||
{
|
||||
var draft_id = row.Cells["colDraftId"].Value.ParseToString();
|
||||
upload_draft_product_lst.RemoveAll(p => p.draft_id == draft_id);
|
||||
var add_time = row.Cells["colAddTime"].Value.ParseToString().ParseToDateTime();
|
||||
upload_draft_product_lst.RemoveAll(p => p.draft_id.ParseToString() == draft_id && p.add_time.ToString("yyyyMMddHHmmss") == add_time.ToString("yyyyMMddHHmmss"));
|
||||
|
||||
this.dgvSelectProduct.Rows.Remove(row);
|
||||
}
|
||||
@@ -3972,6 +4105,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
cmbCateFilter1.Text = "";
|
||||
cmbWxSafe.Text = "安全+未校验";
|
||||
cmbSourceType.Text = "厂商直采";
|
||||
chkSkipQualification.Checked = false;
|
||||
|
||||
int prodCount;
|
||||
pbSelectProd.Visible = true;
|
||||
@@ -4330,6 +4464,41 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
private void txtTitleHeadWord_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
wxUploadRule.TitleHeadWords = txtTitleHeadWord.Text.Trim();
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("wx_upload_rule", wxUploadRule);
|
||||
}
|
||||
|
||||
private void chkSaveBound_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
wxUploadRule.IsSaveBound = chkSaveBound.Checked;
|
||||
if (chkSaveBound.Checked)
|
||||
{
|
||||
wxUploadRule.FilterBoundMinSave = txtFilterBoundMin.Text.ParseToInt();
|
||||
wxUploadRule.FilterBoundMaxSave = txtFilterBoundMax.Text.ParseToInt();
|
||||
}
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("wx_upload_rule", wxUploadRule);
|
||||
}
|
||||
|
||||
private void txtFilterBoundMin_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (wxUploadRule.IsSaveBound)
|
||||
{
|
||||
wxUploadRule.FilterBoundMinSave = txtFilterBoundMin.Text.ParseToInt();
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("wx_upload_rule", wxUploadRule);
|
||||
}
|
||||
}
|
||||
private void txtFilterBoundMax_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (wxUploadRule.IsSaveBound)
|
||||
{
|
||||
wxUploadRule.FilterBoundMaxSave = txtFilterBoundMax.Text.ParseToInt();
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("wx_upload_rule", wxUploadRule);
|
||||
}
|
||||
}
|
||||
|
||||
private void chkAiShotTitle_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
wxUploadRule.IsAiShortTitle = chkAiShortTitle.Checked;
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("wx_upload_rule", wxUploadRule);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4744,5 +4913,10 @@ Content-Type: application/octet-stream
|
||||
public bool UpDraft { get; set; } = false;
|
||||
public bool IsPreSale { get; set; } = false;
|
||||
public string TitleHeadWords { get; set; } = "";
|
||||
|
||||
public bool IsSaveBound { get; set; } = false;
|
||||
public int FilterBoundMinSave { get; set; } = 1000;
|
||||
public int FilterBoundMaxSave { get; set; } = 1000;
|
||||
public bool IsAiShortTitle { get; set; } = false;
|
||||
}
|
||||
}
|
||||
@@ -1495,58 +1495,4 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
public class AddPriceRule2
|
||||
{
|
||||
/// <summary>
|
||||
/// 加价金额区间大于 不包含
|
||||
/// </summary>
|
||||
public decimal MoreThanPrice { get; set; }
|
||||
/// <summary>
|
||||
/// 加价金额区间小于 包含
|
||||
/// </summary>
|
||||
public decimal LessThanPrice { get; set; }
|
||||
/// <summary>
|
||||
/// 加价倍数
|
||||
/// </summary>
|
||||
public decimal AddPriceTimes { get; set; } = 2m;
|
||||
/// <summary>
|
||||
/// 额外加价金额
|
||||
/// </summary>
|
||||
public decimal AddMorePrice { get; set; } = 10m;
|
||||
/// <summary>
|
||||
/// 单买加价
|
||||
/// </summary>
|
||||
public decimal SinglePriceAdd { get; set; } = 1m;
|
||||
/// <summary>
|
||||
/// 先加后乘
|
||||
/// </summary>
|
||||
public bool AddMorePriceFirst { get; set; } = false;
|
||||
/// <summary>
|
||||
/// 上货库存量设置
|
||||
/// </summary>
|
||||
public int StockNum { get; set; } = 999;
|
||||
public bool IsStepAddPrice { get; set; } = false;
|
||||
/// <summary>
|
||||
/// 运费倍率
|
||||
/// </summary>
|
||||
public decimal ShippingPriceTimes { get; set; } = 1.0m;
|
||||
}
|
||||
|
||||
public class WXUploadRule2
|
||||
{
|
||||
public int PreSaleDays { get; set; } = 5;
|
||||
|
||||
public string FilterWords { get; set; } = "顶级,之王,二手,亏本,冲量,白菜价,跳楼价,xx,xxx,最大,最小,低价,降价,成本,赔钱,甩卖,真丝,蚕丝,香云纱,羊绒,羊毛,羊羔绒,羊羔毛,羽绒,皮草";
|
||||
|
||||
public int SkuMinPrice { get; set; } = 10;
|
||||
|
||||
public int WaitSeconds { get; set; } = 10;
|
||||
|
||||
public bool OnlyHighestPriceSku { get; set; } = true;
|
||||
public bool SameSpecSamePrice { get; set; } = true;
|
||||
public bool SkipUploaded { get; set; } = true;
|
||||
public bool UpDraft { get; set; } = false;
|
||||
public bool IsPreSale { get; set; } = false;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user