diff --git a/AllBase/BaseClass.cs b/AllBase/BaseClass.cs
index 1a223d9..425259b 100644
--- a/AllBase/BaseClass.cs
+++ b/AllBase/BaseClass.cs
@@ -27,7 +27,7 @@ namespace AllBase
///
/// 版本ID
///
- public static int VersionCount = 967;
+ public static int VersionCount = 969;
//public static int VersionCount = 613;
///
diff --git a/KJDService/KJD_WebService/KJD_WebService.csproj.user b/KJDService/KJD_WebService/KJD_WebService.csproj.user
index 4bcdc04..1b87364 100644
--- a/KJDService/KJD_WebService/KJD_WebService.csproj.user
+++ b/KJDService/KJD_WebService/KJD_WebService.csproj.user
@@ -8,7 +8,7 @@
- Release|Any CPU
+ Debug|Any CPU
ShowAllFiles
diff --git a/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdUserSelectForm.Designer.cs b/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdUserSelectForm.Designer.cs
index 7bc9875..a31298e 100644
--- a/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdUserSelectForm.Designer.cs
+++ b/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdUserSelectForm.Designer.cs
@@ -40,6 +40,12 @@ namespace TemuKJD.PDDForms.ProductSelectForms
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.ucGroupBoxEx2 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
+ this.txtMultiPcsSku3 = new System.Windows.Forms.TextBox();
+ this.txtMultiPcsSku2 = new System.Windows.Forms.TextBox();
+ this.txtMultiPcsSku1 = new System.Windows.Forms.TextBox();
+ this.chkMultiPcsSku = new TemuKJD.UserComponent.UcCheckBox(this.components);
+ this.txtEndWords = new System.Windows.Forms.TextBox();
+ this.chkEndWords = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.chkChance = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.txtWaitSeconds = new System.Windows.Forms.TextBox();
this.chkRandomCompanyProd = new TemuKJD.UserComponent.UcCheckBox(this.components);
@@ -63,11 +69,6 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.chkUpgradeVersion = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.btnStop = new DevComponents.DotNetBar.PanelEx();
this.chkKeepChanceGoodsImg = new TemuKJD.UserComponent.UcCheckBox(this.components);
- this.pbSkuImg = new System.Windows.Forms.PictureBox();
- this.label19 = new System.Windows.Forms.Label();
- this.txtLowPriceSkuPrice = new System.Windows.Forms.TextBox();
- this.txtLowPriceSkuName = new System.Windows.Forms.TextBox();
- this.label18 = new System.Windows.Forms.Label();
this.txtAddTimesFake = new System.Windows.Forms.TextBox();
this.chkActivity = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.label17 = new System.Windows.Forms.Label();
@@ -89,12 +90,11 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.label4 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.chkStepAddPrice = new TemuKJD.UserComponent.UcCheckBox(this.components);
- this.chkLowPriceSku = new TemuKJD.UserComponent.UcCheckBox(this.components);
- this.lblLowPriceSkuImg = new System.Windows.Forms.Label();
this.label15 = new System.Windows.Forms.Label();
this.label11 = new System.Windows.Forms.Label();
this.line1 = new DevComponents.DotNetBar.Controls.Line();
this.line2 = new DevComponents.DotNetBar.Controls.Line();
+ this.label26 = new System.Windows.Forms.Label();
this.ucGroupBoxEx4 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.cmbCateFilter3 = new TemuKJD.UserComponent.UcComboBoxMutiSelect();
this.label25 = new System.Windows.Forms.Label();
@@ -143,6 +143,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.colCanUse = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colRemaining = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colMessage = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.pbSkuImg = new System.Windows.Forms.PictureBox();
this.chk15996 = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.chk21365 = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.chk20981 = new TemuKJD.UserComponent.UcCheckBox(this.components);
@@ -151,6 +152,12 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.btnTest20981 = new DevComponents.DotNetBar.PanelEx();
this.pbLoading = new System.Windows.Forms.PictureBox();
this.chk22347 = new TemuKJD.UserComponent.UcCheckBox(this.components);
+ this.chkLowPriceSku = new TemuKJD.UserComponent.UcCheckBox(this.components);
+ this.lblLowPriceSkuImg = new System.Windows.Forms.Label();
+ this.label18 = new System.Windows.Forms.Label();
+ this.txtLowPriceSkuName = new System.Windows.Forms.TextBox();
+ this.txtLowPriceSkuPrice = new System.Windows.Forms.TextBox();
+ this.label19 = new System.Windows.Forms.Label();
this.dgvSelectProduct = new TemuKJD.UserComponent.DataGridViewEx();
this.colCheck = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colSelectId = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -179,13 +186,14 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.btnClear = new DevComponents.DotNetBar.PanelEx();
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
this.panel1 = new System.Windows.Forms.Panel();
+ this.txtMultiPcsSku4 = new System.Windows.Forms.TextBox();
+ this.label27 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
this.ucGroupBoxEx2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pbUpgradeVersion)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.pbSkuImg)).BeginInit();
this.panel4.SuspendLayout();
this.panel3.SuspendLayout();
this.fPnlPriceRule.SuspendLayout();
@@ -202,6 +210,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.splitContainer2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pbShopLoading)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dgvShop)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pbSkuImg)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pbLoading)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dgvSelectProduct)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).BeginInit();
@@ -237,6 +246,14 @@ namespace TemuKJD.PDDForms.ProductSelectForms
| 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.txtMultiPcsSku4);
+ this.ucGroupBoxEx2.Controls.Add(this.label27);
+ this.ucGroupBoxEx2.Controls.Add(this.txtMultiPcsSku3);
+ this.ucGroupBoxEx2.Controls.Add(this.txtMultiPcsSku2);
+ this.ucGroupBoxEx2.Controls.Add(this.txtMultiPcsSku1);
+ this.ucGroupBoxEx2.Controls.Add(this.chkMultiPcsSku);
+ this.ucGroupBoxEx2.Controls.Add(this.txtEndWords);
+ this.ucGroupBoxEx2.Controls.Add(this.chkEndWords);
this.ucGroupBoxEx2.Controls.Add(this.chkChance);
this.ucGroupBoxEx2.Controls.Add(this.txtWaitSeconds);
this.ucGroupBoxEx2.Controls.Add(this.chkRandomCompanyProd);
@@ -260,11 +277,6 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.ucGroupBoxEx2.Controls.Add(this.chkUpgradeVersion);
this.ucGroupBoxEx2.Controls.Add(this.btnStop);
this.ucGroupBoxEx2.Controls.Add(this.chkKeepChanceGoodsImg);
- this.ucGroupBoxEx2.Controls.Add(this.pbSkuImg);
- this.ucGroupBoxEx2.Controls.Add(this.label19);
- this.ucGroupBoxEx2.Controls.Add(this.txtLowPriceSkuPrice);
- this.ucGroupBoxEx2.Controls.Add(this.txtLowPriceSkuName);
- this.ucGroupBoxEx2.Controls.Add(this.label18);
this.ucGroupBoxEx2.Controls.Add(this.txtAddTimesFake);
this.ucGroupBoxEx2.Controls.Add(this.chkActivity);
this.ucGroupBoxEx2.Controls.Add(this.label17);
@@ -282,12 +294,11 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.ucGroupBoxEx2.Controls.Add(this.label4);
this.ucGroupBoxEx2.Controls.Add(this.label9);
this.ucGroupBoxEx2.Controls.Add(this.chkStepAddPrice);
- this.ucGroupBoxEx2.Controls.Add(this.chkLowPriceSku);
- this.ucGroupBoxEx2.Controls.Add(this.lblLowPriceSkuImg);
this.ucGroupBoxEx2.Controls.Add(this.label15);
this.ucGroupBoxEx2.Controls.Add(this.label11);
this.ucGroupBoxEx2.Controls.Add(this.line1);
this.ucGroupBoxEx2.Controls.Add(this.line2);
+ this.ucGroupBoxEx2.Controls.Add(this.label26);
this.ucGroupBoxEx2.Location = new System.Drawing.Point(523, 2);
this.ucGroupBoxEx2.Name = "ucGroupBoxEx2";
this.ucGroupBoxEx2.Size = new System.Drawing.Size(1046, 140);
@@ -295,6 +306,62 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.ucGroupBoxEx2.TabStop = false;
this.ucGroupBoxEx2.Text = "商品上传";
//
+ // txtMultiPcsSku3
+ //
+ this.txtMultiPcsSku3.Location = new System.Drawing.Point(787, 109);
+ this.txtMultiPcsSku3.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
+ this.txtMultiPcsSku3.Name = "txtMultiPcsSku3";
+ this.txtMultiPcsSku3.Size = new System.Drawing.Size(25, 23);
+ this.txtMultiPcsSku3.TabIndex = 870;
+ this.txtMultiPcsSku3.Text = "个";
+ //
+ // txtMultiPcsSku2
+ //
+ this.txtMultiPcsSku2.Location = new System.Drawing.Point(759, 109);
+ this.txtMultiPcsSku2.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
+ this.txtMultiPcsSku2.Name = "txtMultiPcsSku2";
+ this.txtMultiPcsSku2.Size = new System.Drawing.Size(25, 23);
+ this.txtMultiPcsSku2.TabIndex = 868;
+ this.txtMultiPcsSku2.Text = "5";
+ //
+ // txtMultiPcsSku1
+ //
+ this.txtMultiPcsSku1.Location = new System.Drawing.Point(725, 109);
+ this.txtMultiPcsSku1.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
+ this.txtMultiPcsSku1.Name = "txtMultiPcsSku1";
+ this.txtMultiPcsSku1.Size = new System.Drawing.Size(25, 23);
+ this.txtMultiPcsSku1.TabIndex = 867;
+ this.txtMultiPcsSku1.Text = "3";
+ //
+ // chkMultiPcsSku
+ //
+ this.chkMultiPcsSku.AutoSize = true;
+ this.chkMultiPcsSku.Location = new System.Drawing.Point(661, 110);
+ this.chkMultiPcsSku.Name = "chkMultiPcsSku";
+ this.chkMultiPcsSku.Size = new System.Drawing.Size(71, 21);
+ this.chkMultiPcsSku.TabIndex = 866;
+ this.chkMultiPcsSku.Text = "多件sku";
+ this.chkMultiPcsSku.UseVisualStyleBackColor = true;
+ //
+ // txtEndWords
+ //
+ this.txtEndWords.Location = new System.Drawing.Point(599, 109);
+ this.txtEndWords.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
+ this.txtEndWords.Name = "txtEndWords";
+ this.txtEndWords.Size = new System.Drawing.Size(54, 23);
+ this.txtEndWords.TabIndex = 865;
+ this.txtEndWords.Text = "批发";
+ //
+ // chkEndWords
+ //
+ this.chkEndWords.AutoSize = true;
+ this.chkEndWords.Location = new System.Drawing.Point(531, 110);
+ this.chkEndWords.Name = "chkEndWords";
+ this.chkEndWords.Size = new System.Drawing.Size(75, 21);
+ this.chkEndWords.TabIndex = 864;
+ this.chkEndWords.Text = "标题后缀";
+ this.chkEndWords.UseVisualStyleBackColor = true;
+ //
// chkChance
//
this.chkChance.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
@@ -419,6 +486,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.btnApiUpload.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnApiUpload.TabIndex = 742;
this.btnApiUpload.Text = "批量上传";
+ this.btnApiUpload.Visible = false;
this.btnApiUpload.Click += new System.EventHandler(this.btnApiUpload_Click);
//
// btnUpload
@@ -599,61 +667,6 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.chkKeepChanceGoodsImg.UseVisualStyleBackColor = true;
this.chkKeepChanceGoodsImg.CheckedChanged += new System.EventHandler(this.chkKeepChanceGoodsImg_CheckedChanged);
//
- // pbSkuImg
- //
- this.pbSkuImg.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.pbSkuImg.Location = new System.Drawing.Point(810, 109);
- this.pbSkuImg.Name = "pbSkuImg";
- this.pbSkuImg.Size = new System.Drawing.Size(25, 25);
- this.pbSkuImg.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
- this.pbSkuImg.TabIndex = 664;
- this.pbSkuImg.TabStop = false;
- this.pbSkuImg.Click += new System.EventHandler(this.pbSkuImg_Click);
- //
- // label19
- //
- this.label19.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.label19.AutoSize = true;
- this.label19.Location = new System.Drawing.Point(743, 113);
- this.label19.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
- this.label19.Name = "label19";
- this.label19.Size = new System.Drawing.Size(20, 17);
- this.label19.TabIndex = 663;
- this.label19.Text = "元";
- //
- // txtLowPriceSkuPrice
- //
- this.txtLowPriceSkuPrice.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.txtLowPriceSkuPrice.Location = new System.Drawing.Point(711, 110);
- this.txtLowPriceSkuPrice.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
- this.txtLowPriceSkuPrice.Name = "txtLowPriceSkuPrice";
- this.txtLowPriceSkuPrice.Size = new System.Drawing.Size(32, 23);
- this.txtLowPriceSkuPrice.TabIndex = 658;
- this.txtLowPriceSkuPrice.Text = "5";
- this.txtLowPriceSkuPrice.TextChanged += new System.EventHandler(this.txtLowPriceSkuPrice_TextChanged);
- //
- // txtLowPriceSkuName
- //
- this.txtLowPriceSkuName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.txtLowPriceSkuName.Location = new System.Drawing.Point(607, 110);
- this.txtLowPriceSkuName.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
- this.txtLowPriceSkuName.Name = "txtLowPriceSkuName";
- this.txtLowPriceSkuName.Size = new System.Drawing.Size(50, 23);
- this.txtLowPriceSkuName.TabIndex = 662;
- this.txtLowPriceSkuName.Text = "福利款";
- this.txtLowPriceSkuName.TextChanged += new System.EventHandler(this.txtLowPriceSkuName_TextChanged);
- //
- // label18
- //
- this.label18.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.label18.AutoSize = true;
- this.label18.Location = new System.Drawing.Point(657, 113);
- this.label18.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
- this.label18.Name = "label18";
- this.label18.Size = new System.Drawing.Size(56, 17);
- this.label18.TabIndex = 661;
- this.label18.Text = "保底价格";
- //
// txtAddTimesFake
//
this.txtAddTimesFake.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
@@ -958,30 +971,6 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.chkStepAddPrice.UseVisualStyleBackColor = true;
this.chkStepAddPrice.CheckedChanged += new System.EventHandler(this.chkStepAddPrice_CheckedChanged);
//
- // chkLowPriceSku
- //
- this.chkLowPriceSku.AutoSize = true;
- this.chkLowPriceSku.Location = new System.Drawing.Point(531, 110);
- this.chkLowPriceSku.Name = "chkLowPriceSku";
- this.chkLowPriceSku.Size = new System.Drawing.Size(83, 21);
- this.chkLowPriceSku.TabIndex = 660;
- this.chkLowPriceSku.Text = "低价sku名";
- this.chkLowPriceSku.UseVisualStyleBackColor = true;
- this.chkLowPriceSku.CheckedChanged += new System.EventHandler(this.chkLowPriceSku_CheckedChanged);
- //
- // lblLowPriceSkuImg
- //
- this.lblLowPriceSkuImg.AutoSize = true;
- this.lblLowPriceSkuImg.Cursor = System.Windows.Forms.Cursors.Hand;
- this.lblLowPriceSkuImg.ForeColor = System.Drawing.SystemColors.HotTrack;
- this.lblLowPriceSkuImg.Location = new System.Drawing.Point(760, 113);
- this.lblLowPriceSkuImg.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
- this.lblLowPriceSkuImg.Name = "lblLowPriceSkuImg";
- this.lblLowPriceSkuImg.Size = new System.Drawing.Size(52, 17);
- this.lblLowPriceSkuImg.TabIndex = 668;
- this.lblLowPriceSkuImg.Text = "传sku图";
- this.lblLowPriceSkuImg.Click += new System.EventHandler(this.lblLowPriceSkuImg_Click);
- //
// label15
//
this.label15.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
@@ -1022,6 +1011,16 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.line2.TabIndex = 837;
this.line2.Text = "line2";
//
+ // label26
+ //
+ this.label26.AutoSize = true;
+ this.label26.Location = new System.Drawing.Point(749, 113);
+ this.label26.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
+ this.label26.Name = "label26";
+ this.label26.Size = new System.Drawing.Size(13, 17);
+ this.label26.TabIndex = 869;
+ this.label26.Text = "-";
+ //
// ucGroupBoxEx4
//
this.ucGroupBoxEx4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
@@ -1568,6 +1567,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
//
// splitContainer2.Panel2
//
+ this.splitContainer2.Panel2.Controls.Add(this.pbSkuImg);
this.splitContainer2.Panel2.Controls.Add(this.chk15996);
this.splitContainer2.Panel2.Controls.Add(this.chk21365);
this.splitContainer2.Panel2.Controls.Add(this.chk20981);
@@ -1576,6 +1576,12 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.splitContainer2.Panel2.Controls.Add(this.btnTest20981);
this.splitContainer2.Panel2.Controls.Add(this.pbLoading);
this.splitContainer2.Panel2.Controls.Add(this.chk22347);
+ this.splitContainer2.Panel2.Controls.Add(this.chkLowPriceSku);
+ this.splitContainer2.Panel2.Controls.Add(this.lblLowPriceSkuImg);
+ this.splitContainer2.Panel2.Controls.Add(this.label18);
+ this.splitContainer2.Panel2.Controls.Add(this.txtLowPriceSkuName);
+ this.splitContainer2.Panel2.Controls.Add(this.txtLowPriceSkuPrice);
+ this.splitContainer2.Panel2.Controls.Add(this.label19);
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(1571, 372);
@@ -1724,6 +1730,18 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.colMessage.Name = "colMessage";
this.colMessage.ReadOnly = true;
//
+ // pbSkuImg
+ //
+ this.pbSkuImg.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.pbSkuImg.Location = new System.Drawing.Point(300, 49);
+ this.pbSkuImg.Name = "pbSkuImg";
+ this.pbSkuImg.Size = new System.Drawing.Size(25, 25);
+ this.pbSkuImg.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
+ this.pbSkuImg.TabIndex = 664;
+ this.pbSkuImg.TabStop = false;
+ this.pbSkuImg.Visible = false;
+ this.pbSkuImg.Click += new System.EventHandler(this.pbSkuImg_Click);
+ //
// chk15996
//
this.chk15996.AutoSize = true;
@@ -1832,6 +1850,80 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.chk22347.Visible = false;
this.chk22347.CheckedChanged += new System.EventHandler(this.chkActivityDetail_CheckedChanged);
//
+ // chkLowPriceSku
+ //
+ this.chkLowPriceSku.AutoSize = true;
+ this.chkLowPriceSku.Location = new System.Drawing.Point(21, 50);
+ this.chkLowPriceSku.Name = "chkLowPriceSku";
+ this.chkLowPriceSku.Size = new System.Drawing.Size(83, 21);
+ this.chkLowPriceSku.TabIndex = 660;
+ this.chkLowPriceSku.Text = "低价sku名";
+ this.chkLowPriceSku.UseVisualStyleBackColor = true;
+ this.chkLowPriceSku.Visible = false;
+ this.chkLowPriceSku.CheckedChanged += new System.EventHandler(this.chkLowPriceSku_CheckedChanged);
+ //
+ // lblLowPriceSkuImg
+ //
+ this.lblLowPriceSkuImg.AutoSize = true;
+ this.lblLowPriceSkuImg.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.lblLowPriceSkuImg.ForeColor = System.Drawing.SystemColors.HotTrack;
+ this.lblLowPriceSkuImg.Location = new System.Drawing.Point(250, 53);
+ this.lblLowPriceSkuImg.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
+ this.lblLowPriceSkuImg.Name = "lblLowPriceSkuImg";
+ this.lblLowPriceSkuImg.Size = new System.Drawing.Size(52, 17);
+ this.lblLowPriceSkuImg.TabIndex = 668;
+ this.lblLowPriceSkuImg.Text = "传sku图";
+ this.lblLowPriceSkuImg.Visible = false;
+ this.lblLowPriceSkuImg.Click += new System.EventHandler(this.lblLowPriceSkuImg_Click);
+ //
+ // label18
+ //
+ this.label18.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.label18.AutoSize = true;
+ this.label18.Location = new System.Drawing.Point(147, 53);
+ this.label18.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
+ this.label18.Name = "label18";
+ this.label18.Size = new System.Drawing.Size(56, 17);
+ this.label18.TabIndex = 661;
+ this.label18.Text = "保底价格";
+ this.label18.Visible = false;
+ //
+ // txtLowPriceSkuName
+ //
+ this.txtLowPriceSkuName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.txtLowPriceSkuName.Location = new System.Drawing.Point(97, 50);
+ this.txtLowPriceSkuName.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
+ this.txtLowPriceSkuName.Name = "txtLowPriceSkuName";
+ this.txtLowPriceSkuName.Size = new System.Drawing.Size(50, 23);
+ this.txtLowPriceSkuName.TabIndex = 662;
+ this.txtLowPriceSkuName.Text = "福利款";
+ this.txtLowPriceSkuName.Visible = false;
+ this.txtLowPriceSkuName.TextChanged += new System.EventHandler(this.txtLowPriceSkuName_TextChanged);
+ //
+ // txtLowPriceSkuPrice
+ //
+ this.txtLowPriceSkuPrice.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.txtLowPriceSkuPrice.Location = new System.Drawing.Point(201, 50);
+ this.txtLowPriceSkuPrice.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
+ this.txtLowPriceSkuPrice.Name = "txtLowPriceSkuPrice";
+ this.txtLowPriceSkuPrice.Size = new System.Drawing.Size(32, 23);
+ this.txtLowPriceSkuPrice.TabIndex = 658;
+ this.txtLowPriceSkuPrice.Text = "5";
+ this.txtLowPriceSkuPrice.Visible = false;
+ this.txtLowPriceSkuPrice.TextChanged += new System.EventHandler(this.txtLowPriceSkuPrice_TextChanged);
+ //
+ // label19
+ //
+ this.label19.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.label19.AutoSize = true;
+ this.label19.Location = new System.Drawing.Point(233, 53);
+ this.label19.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
+ this.label19.Name = "label19";
+ this.label19.Size = new System.Drawing.Size(20, 17);
+ this.label19.TabIndex = 663;
+ this.label19.Text = "元";
+ this.label19.Visible = false;
+ //
// dgvSelectProduct
//
this.dgvSelectProduct.AllowUserToAddRows = false;
@@ -2157,6 +2249,27 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.panel1.TabIndex = 189;
this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint);
//
+ // txtMultiPcsSku4
+ //
+ this.txtMultiPcsSku4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.txtMultiPcsSku4.Location = new System.Drawing.Point(849, 109);
+ this.txtMultiPcsSku4.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
+ this.txtMultiPcsSku4.Name = "txtMultiPcsSku4";
+ this.txtMultiPcsSku4.Size = new System.Drawing.Size(25, 23);
+ this.txtMultiPcsSku4.TabIndex = 884;
+ this.txtMultiPcsSku4.Text = "1.1";
+ //
+ // label27
+ //
+ this.label27.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.label27.AutoSize = true;
+ this.label27.Location = new System.Drawing.Point(812, 112);
+ this.label27.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
+ this.label27.Name = "label27";
+ this.label27.Size = new System.Drawing.Size(41, 17);
+ this.label27.TabIndex = 883;
+ this.label27.Text = "价格×";
+ //
// PDDDBProdUserSelectForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
@@ -2177,7 +2290,6 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.ucGroupBoxEx2.ResumeLayout(false);
this.ucGroupBoxEx2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pbUpgradeVersion)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.pbSkuImg)).EndInit();
this.panel4.ResumeLayout(false);
this.panel3.ResumeLayout(false);
this.panel3.PerformLayout();
@@ -2199,6 +2311,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.splitContainer2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pbShopLoading)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dgvShop)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pbSkuImg)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pbLoading)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dgvSelectProduct)).EndInit();
this.splitContainer4.Panel1.ResumeLayout(false);
@@ -2352,5 +2465,14 @@ namespace TemuKJD.PDDForms.ProductSelectForms
private System.Windows.Forms.DataGridViewLinkColumn ColDelete;
private System.Windows.Forms.DataGridViewTextBoxColumn colAddTime;
private System.Windows.Forms.DataGridViewTextBoxColumn colOpResult;
+ private System.Windows.Forms.TextBox txtMultiPcsSku1;
+ private UserComponent.UcCheckBox chkMultiPcsSku;
+ private System.Windows.Forms.TextBox txtEndWords;
+ private UserComponent.UcCheckBox chkEndWords;
+ private System.Windows.Forms.TextBox txtMultiPcsSku3;
+ private System.Windows.Forms.TextBox txtMultiPcsSku2;
+ private System.Windows.Forms.Label label26;
+ private System.Windows.Forms.TextBox txtMultiPcsSku4;
+ private System.Windows.Forms.Label label27;
}
}
\ No newline at end of file
diff --git a/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdUserSelectForm.cs b/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdUserSelectForm.cs
index 275ab76..9ff8592 100644
--- a/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdUserSelectForm.cs
+++ b/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdUserSelectForm.cs
@@ -1367,7 +1367,15 @@ namespace TemuKJD.PDDForms.ProductSelectForms
prodParam.title_keywords = new List();
prodParam.title_recommend = null;
try
- {
+ {
+ Invoke(new Action(() =>
+ {
+ if (cell != null)
+ {
+ cell.Value = "正在查询关键字";
+ }
+ }));
+
Thread.Sleep(Randomx.GetId(10, 60));
string keywords_html = query_keywords(shop, prodParam.goods_id.ParseToString(), prodParam.goods_commit_id, prodInfo.detail.cat_id.ParseToString(),
prodInfo.detail.goods_name, prodInfo.detail.galleries.FirstOrDefault(g => g.type == 1).url, prodInfo.chance_tab);
@@ -1384,89 +1392,17 @@ namespace TemuKJD.PDDForms.ProductSelectForms
var hot_keywordsStr = JsonHelper.SerializeObject(hot_keywordsArr);
prodParam.title_keywords = JsonHelper.DeserializeJsonToList(hot_keywordsStr);
- Invoke(new Action(() =>
- {
- if (cell != null)
- {
- cell.Value = "正在查询关键字";
- }
- }));
}
catch (Exception ex) { }
- if (dbProd.product_get_type_text == "厂商直采")
+ // 上传外部商品主图详情图图片
+ Invoke(new Action(() =>
{
- var queryRst = querySpecName(shop, prodInfo.detail.cat_id.ParseToLong(), prodParam.goods_id.ParseToString(), prodParam.goods_commit_id);
- if (!queryRst.Contains("\"success\":true"))
+ if (cell != null)
{
- var error = BaseRegex.GetStringJson(ref queryRst, "error_msg");
- if (string.IsNullOrEmpty(error))
- error = queryRst;
- return "商品sku属性编号获取失败 " + error;
+ cell.Value = "正在生成商品图片";
}
-
- Dictionary specNameDic = new Dictionary();
- foreach (var jObj in JsonHelper.JObjectParse(queryRst)["result"])
- {
- string specStr = JsonHelper.SerializeObject(jObj);
- var specId = BaseRegex.GetLongJson(ref specStr, "id");
- var specValue = BaseRegex.GetStringJson(ref specStr, "value");
- specNameDic[specId] = specValue;
- }
-
-
- foreach (var skuInfo in prodInfo.detail.sku)
- {
- foreach (var specInfo in skuInfo.spec)
- {
- specInfo.parent_id = 0;
- specInfo.spec_id = 0;
- }
- }
-
- foreach (var skuInfo in prodInfo.detail.sku)
- {
- var index = 0;
- foreach(var specInfo in skuInfo.spec)
- {
- long parent_id = 0;
- try
- {
- parent_id = specNameDic.FirstOrDefault(s => s.Value == specInfo.parent_name).Key;
- }
- catch
- {
- }
- if (parent_id == 0)
- parent_id = specNameDic.ToList()[index].Key;
-
- specInfo.parent_id = parent_id;
- specInfo.spec_id = prodInfo.detail.sku.FirstOrDefault(s => s.spec[index].spec_name == specInfo.spec_name && s.spec[index].spec_id > 0)?.spec[index].spec_id;
-
- if (specInfo.spec_id == null || specInfo.spec_id == 0)
- {
- // 根据修改过的spec_name获取spec_id
- var changeSpecRst = get_spec_by_name(shop, specInfo.spec_name, specInfo.parent_id.ParseToLong(), prodInfo.detail.cat_id.ParseToInt(),
- prodParam.goods_id.ParseToString(), prodParam.goods_commit_id, prodInfo.chance_tab);
- Thread.Sleep(Randomx.GetId(50, 100));
- if (!changeSpecRst.Contains("\"success\":true"))
- {
- var error = BaseRegex.GetStringJson(ref changeSpecRst, "error_msg");
- if (string.IsNullOrEmpty(error))
- error = changeSpecRst;
- return "商品sku属性编号获取失败 " + error;
- }
- else
- {
- specInfo.spec_id = BaseRegex.GetLongJson(ref changeSpecRst, "result");
- }
- }
- index++;
- }
- }
- }
-
- // 上传外部商品图片
+ }));
foreach (var imgInfo in prodInfo.detail.galleries)
{
if (imgInfo.url.Contains("img.pddpic.com"))
@@ -1497,7 +1433,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
}
}
- // 上传商品图片
+ // 上传外部商品sku图片
foreach (var skuInfo in prodInfo.detail.sku)
{
if (skuInfo.thumb_url.Contains("img.pddpic.com"))
@@ -1537,8 +1473,6 @@ namespace TemuKJD.PDDForms.ProductSelectForms
prodInfo.decoration = decoration;
}
-
-
prodParam.ai_goods_video = new List