jit制造商报错问题修复 temu已报名直通车商品查询优化 jit数据库商品查询全部商品bug修复 jit订单数据库逻辑优化 拼多多上传加入直通车等待时间延长 其他部分优化
This commit is contained in:
1 parent
85d0c2d86a
commit
4dde0936ed
24 files changed
+1905
-585
No files matched your search
+235
-127
@@ -30,14 +30,22 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.ucGroupBoxEx2 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||
this.pbUpgradeVersion = new System.Windows.Forms.PictureBox();
|
||||
this.lblUpgradeVersion = new System.Windows.Forms.Label();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.txtUpgradeVersionAddPrice = new System.Windows.Forms.TextBox();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.txtUpgradeVersionName = new System.Windows.Forms.TextBox();
|
||||
this.chkUpgradeVersion = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.btnStop = new DevComponents.DotNetBar.PanelEx();
|
||||
this.chk15996 = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.chk21365 = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.chk20981 = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
@@ -67,7 +75,6 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.txtAddMorePrice = new System.Windows.Forms.TextBox();
|
||||
this.txtAddTimes = new System.Windows.Forms.TextBox();
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
this.btnStop = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnUpload = new DevComponents.DotNetBar.PanelEx();
|
||||
this.txtStockNum = new System.Windows.Forms.TextBox();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
@@ -142,6 +149,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
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();
|
||||
@@ -182,7 +190,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// splitContainer1.Panel2
|
||||
//
|
||||
this.splitContainer1.Panel2.Controls.Add(this.splitContainer3);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(1584, 546);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(1484, 546);
|
||||
this.splitContainer1.SplitterDistance = 140;
|
||||
this.splitContainer1.TabIndex = 11;
|
||||
//
|
||||
@@ -193,6 +201,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.pbUpgradeVersion);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.lblUpgradeVersion);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.label3);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.txtUpgradeVersionAddPrice);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.label5);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.txtUpgradeVersionName);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.chkUpgradeVersion);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.btnStop);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.chk15996);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.chk21365);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.chk20981);
|
||||
@@ -218,7 +234,6 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.ucGroupBoxEx2.Controls.Add(this.txtAddMorePrice);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.txtAddTimes);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.label10);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.btnStop);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.btnUpload);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.txtStockNum);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.label4);
|
||||
@@ -227,19 +242,133 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.ucGroupBoxEx2.Controls.Add(this.chkChance);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.chkLowPriceSku);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.lblLowPriceSkuImg);
|
||||
this.ucGroupBoxEx2.Location = new System.Drawing.Point(476, 2);
|
||||
this.ucGroupBoxEx2.Location = new System.Drawing.Point(459, 2);
|
||||
this.ucGroupBoxEx2.Name = "ucGroupBoxEx2";
|
||||
this.ucGroupBoxEx2.Size = new System.Drawing.Size(1106, 140);
|
||||
this.ucGroupBoxEx2.Size = new System.Drawing.Size(1023, 140);
|
||||
this.ucGroupBoxEx2.TabIndex = 667;
|
||||
this.ucGroupBoxEx2.TabStop = false;
|
||||
this.ucGroupBoxEx2.Text = "商品上传";
|
||||
//
|
||||
// pbUpgradeVersion
|
||||
//
|
||||
this.pbUpgradeVersion.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.pbUpgradeVersion.Location = new System.Drawing.Point(853, 80);
|
||||
this.pbUpgradeVersion.Name = "pbUpgradeVersion";
|
||||
this.pbUpgradeVersion.Size = new System.Drawing.Size(25, 25);
|
||||
this.pbUpgradeVersion.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||
this.pbUpgradeVersion.TabIndex = 706;
|
||||
this.pbUpgradeVersion.TabStop = false;
|
||||
this.pbUpgradeVersion.Visible = false;
|
||||
this.pbUpgradeVersion.Click += new System.EventHandler(this.pbUpgradeVersion_Click);
|
||||
//
|
||||
// lblUpgradeVersion
|
||||
//
|
||||
this.lblUpgradeVersion.AutoSize = true;
|
||||
this.lblUpgradeVersion.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.lblUpgradeVersion.ForeColor = System.Drawing.SystemColors.HotTrack;
|
||||
this.lblUpgradeVersion.Location = new System.Drawing.Point(799, 84);
|
||||
this.lblUpgradeVersion.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.lblUpgradeVersion.Name = "lblUpgradeVersion";
|
||||
this.lblUpgradeVersion.Size = new System.Drawing.Size(56, 17);
|
||||
this.lblUpgradeVersion.TabIndex = 707;
|
||||
this.lblUpgradeVersion.Text = "传叠加图";
|
||||
this.lblUpgradeVersion.Visible = false;
|
||||
this.lblUpgradeVersion.Click += new System.EventHandler(this.lblUpgradeVersion_Click);
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(782, 84);
|
||||
this.label3.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(20, 17);
|
||||
this.label3.TabIndex = 696;
|
||||
this.label3.Text = "元";
|
||||
this.label3.Visible = false;
|
||||
//
|
||||
// txtUpgradeVersionAddPrice
|
||||
//
|
||||
this.txtUpgradeVersionAddPrice.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.txtUpgradeVersionAddPrice.Location = new System.Drawing.Point(751, 81);
|
||||
this.txtUpgradeVersionAddPrice.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtUpgradeVersionAddPrice.Name = "txtUpgradeVersionAddPrice";
|
||||
this.txtUpgradeVersionAddPrice.Size = new System.Drawing.Size(31, 23);
|
||||
this.txtUpgradeVersionAddPrice.TabIndex = 695;
|
||||
this.txtUpgradeVersionAddPrice.Text = "1.0";
|
||||
this.txtUpgradeVersionAddPrice.Visible = false;
|
||||
this.txtUpgradeVersionAddPrice.TextChanged += new System.EventHandler(this.txtUpgradeVersionAddPrice_TextChanged);
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(695, 84);
|
||||
this.label5.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(56, 17);
|
||||
this.label5.TabIndex = 694;
|
||||
this.label5.Text = "额外多加";
|
||||
this.label5.Visible = false;
|
||||
//
|
||||
// txtUpgradeVersionName
|
||||
//
|
||||
this.txtUpgradeVersionName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.txtUpgradeVersionName.Location = new System.Drawing.Point(607, 81);
|
||||
this.txtUpgradeVersionName.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtUpgradeVersionName.Name = "txtUpgradeVersionName";
|
||||
this.txtUpgradeVersionName.Size = new System.Drawing.Size(88, 23);
|
||||
this.txtUpgradeVersionName.TabIndex = 693;
|
||||
this.txtUpgradeVersionName.Text = "升级版";
|
||||
this.txtUpgradeVersionName.Visible = false;
|
||||
this.txtUpgradeVersionName.TextChanged += new System.EventHandler(this.txtUpgradeVersionName_TextChanged);
|
||||
//
|
||||
// chkUpgradeVersion
|
||||
//
|
||||
this.chkUpgradeVersion.AutoSize = true;
|
||||
this.chkUpgradeVersion.Checked = true;
|
||||
this.chkUpgradeVersion.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkUpgradeVersion.Location = new System.Drawing.Point(531, 82);
|
||||
this.chkUpgradeVersion.Name = "chkUpgradeVersion";
|
||||
this.chkUpgradeVersion.Size = new System.Drawing.Size(83, 21);
|
||||
this.chkUpgradeVersion.TabIndex = 692;
|
||||
this.chkUpgradeVersion.Text = "升级sku名";
|
||||
this.chkUpgradeVersion.UseVisualStyleBackColor = true;
|
||||
this.chkUpgradeVersion.Visible = false;
|
||||
this.chkUpgradeVersion.CheckedChanged += new System.EventHandler(this.chkUpgradeVersion_CheckedChanged);
|
||||
//
|
||||
// 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(926, 68);
|
||||
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.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)))));
|
||||
this.btnStop.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.btnStop.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnStop.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.btnStop.Style.GradientAngle = 90;
|
||||
this.btnStop.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnStop.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnStop.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnStop.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnStop.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnStop.TabIndex = 546;
|
||||
this.btnStop.Text = "停止上传";
|
||||
this.btnStop.Click += new System.EventHandler(this.btnStop_Click);
|
||||
//
|
||||
// chk15996
|
||||
//
|
||||
this.chk15996.AutoSize = true;
|
||||
this.chk15996.Checked = true;
|
||||
this.chk15996.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chk15996.Location = new System.Drawing.Point(727, 88);
|
||||
this.chk15996.Location = new System.Drawing.Point(870, 52);
|
||||
this.chk15996.Name = "chk15996";
|
||||
this.chk15996.Size = new System.Drawing.Size(62, 21);
|
||||
this.chk15996.TabIndex = 682;
|
||||
@@ -252,7 +381,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.chk21365.AutoSize = true;
|
||||
this.chk21365.Checked = true;
|
||||
this.chk21365.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chk21365.Location = new System.Drawing.Point(663, 88);
|
||||
this.chk21365.Location = new System.Drawing.Point(815, 52);
|
||||
this.chk21365.Name = "chk21365";
|
||||
this.chk21365.Size = new System.Drawing.Size(62, 21);
|
||||
this.chk21365.TabIndex = 681;
|
||||
@@ -265,7 +394,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.chk20981.AutoSize = true;
|
||||
this.chk20981.Checked = true;
|
||||
this.chk20981.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chk20981.Location = new System.Drawing.Point(599, 88);
|
||||
this.chk20981.Location = new System.Drawing.Point(760, 52);
|
||||
this.chk20981.Name = "chk20981";
|
||||
this.chk20981.Size = new System.Drawing.Size(62, 21);
|
||||
this.chk20981.TabIndex = 680;
|
||||
@@ -278,7 +407,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.chk22347.AutoSize = true;
|
||||
this.chk22347.Checked = true;
|
||||
this.chk22347.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chk22347.Location = new System.Drawing.Point(535, 88);
|
||||
this.chk22347.Location = new System.Drawing.Point(705, 52);
|
||||
this.chk22347.Name = "chk22347";
|
||||
this.chk22347.Size = new System.Drawing.Size(62, 21);
|
||||
this.chk22347.TabIndex = 679;
|
||||
@@ -291,7 +420,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.chkKeepChanceGoodsImg.AutoSize = true;
|
||||
this.chkKeepChanceGoodsImg.Checked = true;
|
||||
this.chkKeepChanceGoodsImg.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkKeepChanceGoodsImg.Location = new System.Drawing.Point(652, 42);
|
||||
this.chkKeepChanceGoodsImg.Location = new System.Drawing.Point(642, 22);
|
||||
this.chkKeepChanceGoodsImg.Name = "chkKeepChanceGoodsImg";
|
||||
this.chkKeepChanceGoodsImg.Size = new System.Drawing.Size(135, 21);
|
||||
this.chkKeepChanceGoodsImg.TabIndex = 669;
|
||||
@@ -302,18 +431,19 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// pbSkuImg
|
||||
//
|
||||
this.pbSkuImg.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.pbSkuImg.Location = new System.Drawing.Point(503, 108);
|
||||
this.pbSkuImg.Location = new System.Drawing.Point(810, 109);
|
||||
this.pbSkuImg.Name = "pbSkuImg";
|
||||
this.pbSkuImg.Size = new System.Drawing.Size(27, 27);
|
||||
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(749, 113);
|
||||
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);
|
||||
@@ -323,7 +453,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// 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(717, 110);
|
||||
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);
|
||||
@@ -334,7 +464,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// 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(611, 110);
|
||||
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);
|
||||
@@ -346,7 +476,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
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(661, 113);
|
||||
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);
|
||||
@@ -356,10 +486,10 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// txtAddTimesFake
|
||||
//
|
||||
this.txtAddTimesFake.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.txtAddTimesFake.Location = new System.Drawing.Point(662, 64);
|
||||
this.txtAddTimesFake.Location = new System.Drawing.Point(658, 51);
|
||||
this.txtAddTimesFake.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtAddTimesFake.Name = "txtAddTimesFake";
|
||||
this.txtAddTimesFake.Size = new System.Drawing.Size(32, 23);
|
||||
this.txtAddTimesFake.Size = new System.Drawing.Size(26, 23);
|
||||
this.txtAddTimesFake.TabIndex = 645;
|
||||
this.txtAddTimesFake.Text = "3";
|
||||
this.txtAddTimesFake.TextChanged += new System.EventHandler(this.txtAddTimesFake_TextChanged);
|
||||
@@ -369,7 +499,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.chkActivity.AutoSize = true;
|
||||
this.chkActivity.Checked = true;
|
||||
this.chkActivity.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkActivity.Location = new System.Drawing.Point(535, 65);
|
||||
this.chkActivity.Location = new System.Drawing.Point(531, 52);
|
||||
this.chkActivity.Name = "chkActivity";
|
||||
this.chkActivity.Size = new System.Drawing.Size(135, 21);
|
||||
this.chkActivity.TabIndex = 648;
|
||||
@@ -381,7 +511,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.label17.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label17.AutoSize = true;
|
||||
this.label17.Location = new System.Drawing.Point(694, 67);
|
||||
this.label17.Location = new System.Drawing.Point(684, 54);
|
||||
this.label17.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label17.Name = "label17";
|
||||
this.label17.Size = new System.Drawing.Size(20, 17);
|
||||
@@ -393,7 +523,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.chkUpperSizeSpec.AutoSize = true;
|
||||
this.chkUpperSizeSpec.Checked = true;
|
||||
this.chkUpperSizeSpec.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkUpperSizeSpec.Location = new System.Drawing.Point(535, 42);
|
||||
this.chkUpperSizeSpec.Location = new System.Drawing.Point(531, 22);
|
||||
this.chkUpperSizeSpec.Name = "chkUpperSizeSpec";
|
||||
this.chkUpperSizeSpec.Size = new System.Drawing.Size(111, 21);
|
||||
this.chkUpperSizeSpec.TabIndex = 635;
|
||||
@@ -404,7 +534,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// chkAddMorePriceFirst
|
||||
//
|
||||
this.chkAddMorePriceFirst.AutoSize = true;
|
||||
this.chkAddMorePriceFirst.Location = new System.Drawing.Point(312, 111);
|
||||
this.chkAddMorePriceFirst.Location = new System.Drawing.Point(306, 111);
|
||||
this.chkAddMorePriceFirst.Name = "chkAddMorePriceFirst";
|
||||
this.chkAddMorePriceFirst.Size = new System.Drawing.Size(111, 21);
|
||||
this.chkAddMorePriceFirst.TabIndex = 625;
|
||||
@@ -418,7 +548,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
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(1003, 92);
|
||||
this.btnClearDgv.Location = new System.Drawing.Point(926, 96);
|
||||
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);
|
||||
@@ -443,7 +573,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.label14.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label14.AutoSize = true;
|
||||
this.label14.ForeColor = System.Drawing.SystemColors.GrayText;
|
||||
this.label14.Location = new System.Drawing.Point(12, 62);
|
||||
this.label14.Location = new System.Drawing.Point(8, 62);
|
||||
this.label14.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label14.Name = "label14";
|
||||
this.label14.Size = new System.Drawing.Size(68, 51);
|
||||
@@ -454,7 +584,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.label15.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label15.AutoSize = true;
|
||||
this.label15.Location = new System.Drawing.Point(289, 113);
|
||||
this.label15.Location = new System.Drawing.Point(283, 113);
|
||||
this.label15.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label15.Name = "label15";
|
||||
this.label15.Size = new System.Drawing.Size(20, 17);
|
||||
@@ -464,7 +594,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// txtSinglePriceAdd
|
||||
//
|
||||
this.txtSinglePriceAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.txtSinglePriceAdd.Location = new System.Drawing.Point(258, 110);
|
||||
this.txtSinglePriceAdd.Location = new System.Drawing.Point(252, 110);
|
||||
this.txtSinglePriceAdd.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtSinglePriceAdd.Name = "txtSinglePriceAdd";
|
||||
this.txtSinglePriceAdd.Size = new System.Drawing.Size(31, 23);
|
||||
@@ -478,7 +608,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
| System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.panel4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.panel4.Controls.Add(this.panel3);
|
||||
this.panel4.Location = new System.Drawing.Point(80, 17);
|
||||
this.panel4.Location = new System.Drawing.Point(76, 17);
|
||||
this.panel4.Name = "panel4";
|
||||
this.panel4.Size = new System.Drawing.Size(450, 89);
|
||||
this.panel4.TabIndex = 577;
|
||||
@@ -586,7 +716,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.label11.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label11.AutoSize = true;
|
||||
this.label11.Location = new System.Drawing.Point(190, 113);
|
||||
this.label11.Location = new System.Drawing.Point(184, 113);
|
||||
this.label11.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label11.Name = "label11";
|
||||
this.label11.Size = new System.Drawing.Size(68, 17);
|
||||
@@ -598,7 +728,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.lblNewAddPrice.AutoSize = true;
|
||||
this.lblNewAddPrice.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.lblNewAddPrice.ForeColor = System.Drawing.SystemColors.HotTrack;
|
||||
this.lblNewAddPrice.Location = new System.Drawing.Point(24, 42);
|
||||
this.lblNewAddPrice.Location = new System.Drawing.Point(20, 42);
|
||||
this.lblNewAddPrice.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.lblNewAddPrice.Name = "lblNewAddPrice";
|
||||
this.lblNewAddPrice.Size = new System.Drawing.Size(56, 17);
|
||||
@@ -609,7 +739,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// txtAddMorePrice
|
||||
//
|
||||
this.txtAddMorePrice.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.txtAddMorePrice.Location = new System.Drawing.Point(159, 110);
|
||||
this.txtAddMorePrice.Location = new System.Drawing.Point(153, 110);
|
||||
this.txtAddMorePrice.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtAddMorePrice.Name = "txtAddMorePrice";
|
||||
this.txtAddMorePrice.Size = new System.Drawing.Size(31, 23);
|
||||
@@ -620,7 +750,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// txtAddTimes
|
||||
//
|
||||
this.txtAddTimes.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.txtAddTimes.Location = new System.Drawing.Point(84, 110);
|
||||
this.txtAddTimes.Location = new System.Drawing.Point(78, 110);
|
||||
this.txtAddTimes.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtAddTimes.Name = "txtAddTimes";
|
||||
this.txtAddTimes.Size = new System.Drawing.Size(31, 23);
|
||||
@@ -632,39 +762,13 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.label10.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label10.AutoSize = true;
|
||||
this.label10.Location = new System.Drawing.Point(115, 113);
|
||||
this.label10.Location = new System.Drawing.Point(109, 113);
|
||||
this.label10.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(44, 17);
|
||||
this.label10.TabIndex = 534;
|
||||
this.label10.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(1003, 62);
|
||||
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.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)))));
|
||||
this.btnStop.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.btnStop.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnStop.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.btnStop.Style.GradientAngle = 90;
|
||||
this.btnStop.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnStop.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnStop.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnStop.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnStop.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnStop.TabIndex = 546;
|
||||
this.btnStop.Text = "停止上传";
|
||||
this.btnStop.Click += new System.EventHandler(this.btnStop_Click);
|
||||
//
|
||||
// btnUpload
|
||||
//
|
||||
this.btnUpload.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
@@ -672,7 +776,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
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(1003, 32);
|
||||
this.btnUpload.Location = new System.Drawing.Point(926, 40);
|
||||
this.btnUpload.Name = "btnUpload";
|
||||
this.btnUpload.Size = new System.Drawing.Size(84, 23);
|
||||
this.btnUpload.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -692,7 +796,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
// txtStockNum
|
||||
//
|
||||
this.txtStockNum.Location = new System.Drawing.Point(587, 19);
|
||||
this.txtStockNum.Location = new System.Drawing.Point(486, 110);
|
||||
this.txtStockNum.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtStockNum.Name = "txtStockNum";
|
||||
this.txtStockNum.Size = new System.Drawing.Size(32, 23);
|
||||
@@ -703,7 +807,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(531, 22);
|
||||
this.label4.Location = new System.Drawing.Point(430, 113);
|
||||
this.label4.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(56, 17);
|
||||
@@ -714,7 +818,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.label9.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label9.AutoSize = true;
|
||||
this.label9.Location = new System.Drawing.Point(12, 113);
|
||||
this.label9.Location = new System.Drawing.Point(8, 113);
|
||||
this.label9.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label9.Name = "label9";
|
||||
this.label9.Size = new System.Drawing.Size(68, 17);
|
||||
@@ -724,7 +828,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// chkStepAddPrice
|
||||
//
|
||||
this.chkStepAddPrice.AutoSize = true;
|
||||
this.chkStepAddPrice.Location = new System.Drawing.Point(12, 20);
|
||||
this.chkStepAddPrice.Location = new System.Drawing.Point(8, 20);
|
||||
this.chkStepAddPrice.Name = "chkStepAddPrice";
|
||||
this.chkStepAddPrice.Size = new System.Drawing.Size(75, 21);
|
||||
this.chkStepAddPrice.TabIndex = 598;
|
||||
@@ -738,7 +842,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.chkChance.AutoSize = true;
|
||||
this.chkChance.Checked = true;
|
||||
this.chkChance.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkChance.Location = new System.Drawing.Point(917, 33);
|
||||
this.chkChance.Location = new System.Drawing.Point(929, 17);
|
||||
this.chkChance.Name = "chkChance";
|
||||
this.chkChance.Size = new System.Drawing.Size(87, 21);
|
||||
this.chkChance.TabIndex = 556;
|
||||
@@ -751,7 +855,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.chkLowPriceSku.AutoSize = true;
|
||||
this.chkLowPriceSku.Checked = true;
|
||||
this.chkLowPriceSku.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkLowPriceSku.Location = new System.Drawing.Point(535, 111);
|
||||
this.chkLowPriceSku.Location = new System.Drawing.Point(531, 111);
|
||||
this.chkLowPriceSku.Name = "chkLowPriceSku";
|
||||
this.chkLowPriceSku.Size = new System.Drawing.Size(83, 21);
|
||||
this.chkLowPriceSku.TabIndex = 660;
|
||||
@@ -764,7 +868,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
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(452, 113);
|
||||
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);
|
||||
@@ -794,7 +898,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.ucGroupBoxEx4.Controls.Add(this.label16);
|
||||
this.ucGroupBoxEx4.Location = new System.Drawing.Point(147, 2);
|
||||
this.ucGroupBoxEx4.Name = "ucGroupBoxEx4";
|
||||
this.ucGroupBoxEx4.Size = new System.Drawing.Size(329, 140);
|
||||
this.ucGroupBoxEx4.Size = new System.Drawing.Size(312, 140);
|
||||
this.ucGroupBoxEx4.TabIndex = 666;
|
||||
this.ucGroupBoxEx4.TabStop = false;
|
||||
this.ucGroupBoxEx4.Text = "待传商品";
|
||||
@@ -805,7 +909,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.btnClearFilter.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.btnClearFilter.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnClearFilter.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnClearFilter.Location = new System.Drawing.Point(266, 23);
|
||||
this.btnClearFilter.Location = new System.Drawing.Point(254, 23);
|
||||
this.btnClearFilter.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
|
||||
this.btnClearFilter.Name = "btnClearFilter";
|
||||
this.btnClearFilter.Size = new System.Drawing.Size(48, 51);
|
||||
@@ -827,9 +931,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
// txtIdFilter
|
||||
//
|
||||
this.txtIdFilter.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtIdFilter.Location = new System.Drawing.Point(170, 51);
|
||||
this.txtIdFilter.Location = new System.Drawing.Point(158, 51);
|
||||
this.txtIdFilter.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtIdFilter.Name = "txtIdFilter";
|
||||
this.txtIdFilter.Size = new System.Drawing.Size(92, 23);
|
||||
@@ -838,7 +940,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(140, 54);
|
||||
this.label1.Location = new System.Drawing.Point(130, 54);
|
||||
this.label1.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(32, 17);
|
||||
@@ -848,7 +950,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// cmbCateFilter
|
||||
//
|
||||
this.cmbCateFilter.FormattingEnabled = true;
|
||||
this.cmbCateFilter.Location = new System.Drawing.Point(170, 22);
|
||||
this.cmbCateFilter.Location = new System.Drawing.Point(158, 22);
|
||||
this.cmbCateFilter.Name = "cmbCateFilter";
|
||||
this.cmbCateFilter.Size = new System.Drawing.Size(92, 25);
|
||||
this.cmbCateFilter.TabIndex = 663;
|
||||
@@ -856,7 +958,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(140, 26);
|
||||
this.label2.Location = new System.Drawing.Point(130, 26);
|
||||
this.label2.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(32, 17);
|
||||
@@ -866,7 +968,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// cmbGroupFilter
|
||||
//
|
||||
this.cmbGroupFilter.FormattingEnabled = true;
|
||||
this.cmbGroupFilter.Location = new System.Drawing.Point(47, 22);
|
||||
this.cmbGroupFilter.Location = new System.Drawing.Point(37, 22);
|
||||
this.cmbGroupFilter.Name = "cmbGroupFilter";
|
||||
this.cmbGroupFilter.Size = new System.Drawing.Size(92, 25);
|
||||
this.cmbGroupFilter.TabIndex = 641;
|
||||
@@ -874,7 +976,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// label20
|
||||
//
|
||||
this.label20.AutoSize = true;
|
||||
this.label20.Location = new System.Drawing.Point(16, 25);
|
||||
this.label20.Location = new System.Drawing.Point(8, 25);
|
||||
this.label20.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label20.Name = "label20";
|
||||
this.label20.Size = new System.Drawing.Size(32, 17);
|
||||
@@ -883,9 +985,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
// txtExtCodeFilter
|
||||
//
|
||||
this.txtExtCodeFilter.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtExtCodeFilter.Location = new System.Drawing.Point(47, 51);
|
||||
this.txtExtCodeFilter.Location = new System.Drawing.Point(37, 51);
|
||||
this.txtExtCodeFilter.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtExtCodeFilter.Name = "txtExtCodeFilter";
|
||||
this.txtExtCodeFilter.Size = new System.Drawing.Size(92, 23);
|
||||
@@ -897,7 +997,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
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(238, 105);
|
||||
this.btnClearUpload.Location = new System.Drawing.Point(226, 105);
|
||||
this.btnClearUpload.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
|
||||
this.btnClearUpload.Name = "btnClearUpload";
|
||||
this.btnClearUpload.Size = new System.Drawing.Size(76, 23);
|
||||
@@ -923,7 +1023,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
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(16, 108);
|
||||
this.lblWaitToUp.Location = new System.Drawing.Point(8, 108);
|
||||
this.lblWaitToUp.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.lblWaitToUp.Name = "lblWaitToUp";
|
||||
this.lblWaitToUp.Size = new System.Drawing.Size(95, 17);
|
||||
@@ -934,7 +1034,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// lblGoodsCount
|
||||
//
|
||||
this.lblGoodsCount.AutoSize = true;
|
||||
this.lblGoodsCount.Location = new System.Drawing.Point(167, 81);
|
||||
this.lblGoodsCount.Location = new System.Drawing.Point(155, 81);
|
||||
this.lblGoodsCount.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.lblGoodsCount.Name = "lblGoodsCount";
|
||||
this.lblGoodsCount.Size = new System.Drawing.Size(131, 17);
|
||||
@@ -944,7 +1044,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
// txtAddCount
|
||||
//
|
||||
this.txtAddCount.Location = new System.Drawing.Point(18, 78);
|
||||
this.txtAddCount.Location = new System.Drawing.Point(10, 78);
|
||||
this.txtAddCount.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtAddCount.Name = "txtAddCount";
|
||||
this.txtAddCount.Size = new System.Drawing.Size(47, 23);
|
||||
@@ -957,7 +1057,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.panelEx2.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.panelEx2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.panelEx2.Location = new System.Drawing.Point(68, 78);
|
||||
this.panelEx2.Location = new System.Drawing.Point(60, 78);
|
||||
this.panelEx2.Name = "panelEx2";
|
||||
this.panelEx2.Size = new System.Drawing.Size(92, 23);
|
||||
this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -978,7 +1078,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// label16
|
||||
//
|
||||
this.label16.AutoSize = true;
|
||||
this.label16.Location = new System.Drawing.Point(16, 54);
|
||||
this.label16.Location = new System.Drawing.Point(8, 54);
|
||||
this.label16.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label16.Name = "label16";
|
||||
this.label16.Size = new System.Drawing.Size(32, 17);
|
||||
@@ -1039,7 +1139,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// splitContainer3.Panel2
|
||||
//
|
||||
this.splitContainer3.Panel2.Controls.Add(this.splitContainer4);
|
||||
this.splitContainer3.Size = new System.Drawing.Size(1584, 402);
|
||||
this.splitContainer3.Size = new System.Drawing.Size(1484, 402);
|
||||
this.splitContainer3.SplitterDistance = 372;
|
||||
this.splitContainer3.TabIndex = 1;
|
||||
//
|
||||
@@ -1063,7 +1163,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.splitContainer2.Panel2.Controls.Add(this.panel1);
|
||||
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(1584, 372);
|
||||
this.splitContainer2.Size = new System.Drawing.Size(1484, 372);
|
||||
this.splitContainer2.SplitterDistance = 300;
|
||||
this.splitContainer2.TabIndex = 0;
|
||||
//
|
||||
@@ -1071,19 +1171,19 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.dgvShop.AllowUserToAddRows = false;
|
||||
this.dgvShop.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle7.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle7;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
||||
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)))));
|
||||
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;
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.colSelect,
|
||||
@@ -1191,7 +1291,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// txtTest20981
|
||||
//
|
||||
this.txtTest20981.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtTest20981.Location = new System.Drawing.Point(1057, 30);
|
||||
this.txtTest20981.Location = new System.Drawing.Point(957, 30);
|
||||
this.txtTest20981.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtTest20981.Name = "txtTest20981";
|
||||
this.txtTest20981.Size = new System.Drawing.Size(127, 23);
|
||||
@@ -1204,7 +1304,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.btnTest20981.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.btnTest20981.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnTest20981.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnTest20981.Location = new System.Drawing.Point(1188, 30);
|
||||
this.btnTest20981.Location = new System.Drawing.Point(1088, 30);
|
||||
this.btnTest20981.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
|
||||
this.btnTest20981.Name = "btnTest20981";
|
||||
this.btnTest20981.Size = new System.Drawing.Size(84, 23);
|
||||
@@ -1228,7 +1328,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.pbLoading.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.pbLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
|
||||
this.pbLoading.Location = new System.Drawing.Point(615, 161);
|
||||
this.pbLoading.Location = new System.Drawing.Point(565, 161);
|
||||
this.pbLoading.Name = "pbLoading";
|
||||
this.pbLoading.Size = new System.Drawing.Size(50, 50);
|
||||
this.pbLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
@@ -1241,9 +1341,9 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.panel1.Location = new System.Drawing.Point(36, 53);
|
||||
this.panel1.Location = new System.Drawing.Point(35, 53);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(1206, 286);
|
||||
this.panel1.Size = new System.Drawing.Size(1106, 286);
|
||||
this.panel1.TabIndex = 189;
|
||||
this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint);
|
||||
//
|
||||
@@ -1251,19 +1351,19 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.dgvSelectProduct.AllowUserToAddRows = false;
|
||||
this.dgvSelectProduct.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle9.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvSelectProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle9;
|
||||
dataGridViewCellStyle3.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvSelectProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle3;
|
||||
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)))));
|
||||
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;
|
||||
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvSelectProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.dgvSelectProduct.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvSelectProduct.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.colCheck,
|
||||
@@ -1293,7 +1393,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.dgvSelectProduct.Name = "dgvSelectProduct";
|
||||
this.dgvSelectProduct.ReadOnly = true;
|
||||
this.dgvSelectProduct.RowTemplate.Height = 23;
|
||||
this.dgvSelectProduct.Size = new System.Drawing.Size(1276, 372);
|
||||
this.dgvSelectProduct.Size = new System.Drawing.Size(1176, 372);
|
||||
this.dgvSelectProduct.TabIndex = 187;
|
||||
this.dgvSelectProduct.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvSelectProduct_CellContentClick);
|
||||
this.dgvSelectProduct.Scroll += new System.Windows.Forms.ScrollEventHandler(this.dgvSelectProduct_Scroll);
|
||||
@@ -1324,8 +1424,8 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
// colSupplierName
|
||||
//
|
||||
dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colSupplierName.DefaultCellStyle = dataGridViewCellStyle11;
|
||||
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colSupplierName.DefaultCellStyle = dataGridViewCellStyle5;
|
||||
this.colSupplierName.Frozen = true;
|
||||
this.colSupplierName.HeaderText = "店铺名称";
|
||||
this.colSupplierName.Name = "colSupplierName";
|
||||
@@ -1404,8 +1504,8 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
// colProductName
|
||||
//
|
||||
dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colProductName.DefaultCellStyle = dataGridViewCellStyle12;
|
||||
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colProductName.DefaultCellStyle = dataGridViewCellStyle6;
|
||||
this.colProductName.HeaderText = "商品标题";
|
||||
this.colProductName.Name = "colProductName";
|
||||
this.colProductName.ReadOnly = true;
|
||||
@@ -1492,8 +1592,8 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.splitContainer4.Panel2.Controls.Add(this.btnClear);
|
||||
this.splitContainer4.Panel2.Controls.Add(this.panelEx1);
|
||||
this.splitContainer4.Size = new System.Drawing.Size(1584, 26);
|
||||
this.splitContainer4.SplitterDistance = 893;
|
||||
this.splitContainer4.Size = new System.Drawing.Size(1484, 26);
|
||||
this.splitContainer4.SplitterDistance = 793;
|
||||
this.splitContainer4.TabIndex = 3;
|
||||
//
|
||||
// statusBar
|
||||
@@ -1504,7 +1604,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
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(893, 26);
|
||||
this.statusBar.Size = new System.Drawing.Size(793, 26);
|
||||
this.statusBar.TabIndex = 2;
|
||||
//
|
||||
// btnClear
|
||||
@@ -1561,7 +1661,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.BackColor = System.Drawing.Color.White;
|
||||
this.ClientSize = new System.Drawing.Size(1584, 546);
|
||||
this.ClientSize = new System.Drawing.Size(1484, 546);
|
||||
this.Controls.Add(this.splitContainer1);
|
||||
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.Name = "PDDDBProdUserSelectForm";
|
||||
@@ -1574,6 +1674,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.splitContainer1.ResumeLayout(false);
|
||||
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);
|
||||
@@ -1706,5 +1807,12 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
private UserComponent.UcCheckBox chk21365;
|
||||
private UserComponent.UcCheckBox chk20981;
|
||||
private UserComponent.UcCheckBox chk22347;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.TextBox txtUpgradeVersionAddPrice;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.TextBox txtUpgradeVersionName;
|
||||
private UserComponent.UcCheckBox chkUpgradeVersion;
|
||||
private System.Windows.Forms.PictureBox pbUpgradeVersion;
|
||||
private System.Windows.Forms.Label lblUpgradeVersion;
|
||||
}
|
||||
}
|
||||
@@ -10,7 +10,7 @@ using System.Data;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
//using System.Net;
|
||||
using System.Net.Http;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
@@ -25,6 +25,7 @@ using TemuKJD.BLL;
|
||||
using System.Text.RegularExpressions;
|
||||
using AllBase.Model.Result.PDDResult;
|
||||
using AllBase.Model.Param.PDDProdParam;
|
||||
using CefSharp;
|
||||
|
||||
namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
{
|
||||
@@ -121,6 +122,9 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.chkLowPriceSku.Checked = pddUploadRule.IsLowPriceSku;
|
||||
this.txtLowPriceSkuName.Text = pddUploadRule.LowPriceSkuName;
|
||||
this.txtLowPriceSkuPrice.Text = pddUploadRule.LowPriceSkuLowestPrice.ParseToString();
|
||||
this.chkUpgradeVersion.Checked = pddUploadRule.IsUpgradeVersion;
|
||||
this.txtUpgradeVersionName.Text = pddUploadRule.UpgradeVersionName;
|
||||
this.txtUpgradeVersionAddPrice.Text = pddUploadRule.UpgradeVersionAddPrice.ParseToString();
|
||||
|
||||
|
||||
this.lblWaitToUp.Text = "待上传商品 " + lstTemuDBProductSelect.Count + " 件";
|
||||
@@ -584,6 +588,13 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
return;
|
||||
}
|
||||
|
||||
if (chkUpgradeVersion.Checked && string.IsNullOrWhiteSpace(pbUpgradeVersion.Tag.ParseToString()))
|
||||
{
|
||||
BaseMsgForm.ShowError("升级版sku叠加图片未指定!");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
if (prodList.Count() > 0)
|
||||
{
|
||||
if (PDDShopLoginForm.shopLoginInstance != null && PDDShopLoginForm.shopLoginInstance.IsDisposed != true)
|
||||
@@ -1602,6 +1613,56 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
prodParam.skus.Add(skuParam);
|
||||
}
|
||||
|
||||
#region // 添加升级版sku
|
||||
List<spec_param> upgrade_First_spec_lst = new List<spec_param>();
|
||||
List<sku_param> upgrade_Sku_Lst = new List<sku_param>();
|
||||
if (pddUploadRule.IsUpgradeVersion)
|
||||
{
|
||||
foreach (var skuParam in prodParam.skus)
|
||||
{
|
||||
var skuParamUpgrade = JsonHelper.DeserializeJsonToObject<sku_param>(JsonHelper.SerializeObject(skuParam));
|
||||
skuParamUpgrade.multi_price += (txtUpgradeVersionAddPrice.Text.ParseToDecimal() * 100).ParseToInt();
|
||||
skuParamUpgrade.price += (txtUpgradeVersionAddPrice.Text.ParseToDecimal() * 100).ParseToInt();
|
||||
if (prodParam.market_price < skuParamUpgrade.price + 1000)
|
||||
{
|
||||
prodParam.market_price = skuParamUpgrade.price + 1000;
|
||||
prodParam.market_price_in_yuan = (prodParam.market_price * 0.01).ParseToString();
|
||||
}
|
||||
var spec1 = skuParamUpgrade.spec.FirstOrDefault();
|
||||
var specUpgrade = spec1;
|
||||
if (specUpgrade != null)
|
||||
{
|
||||
specUpgrade.spec_name = this.txtUpgradeVersionName.Text.Trim() + specUpgrade.spec_name;
|
||||
upgrade_Sku_Lst.Add(skuParamUpgrade);
|
||||
var specUpgradeExist = upgrade_First_spec_lst.FirstOrDefault(s => s.spec_name == specUpgrade.spec_name);
|
||||
if (specUpgradeExist == null)
|
||||
{
|
||||
specUpgradeExist = specUpgrade;
|
||||
var upgradeSpecRst = get_spec_by_name(shop, specUpgradeExist.spec_name, spec1.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 (!upgradeSpecRst.Contains("\"success\":true"))
|
||||
{
|
||||
var error = BaseRegex.GetStringJson(ref upgradeSpecRst, "error_msg");
|
||||
if (string.IsNullOrEmpty(error))
|
||||
error = upgradeSpecRst;
|
||||
return "设置升级款sku失败 " + error;
|
||||
}
|
||||
else
|
||||
{
|
||||
specUpgradeExist.spec_id = BaseRegex.GetLongJson(ref upgradeSpecRst, "result");
|
||||
}
|
||||
}
|
||||
specUpgrade.spec_id = specUpgradeExist.spec_id;
|
||||
}
|
||||
}
|
||||
foreach (var skuParam in upgrade_Sku_Lst)
|
||||
{
|
||||
prodParam.skus.Add(skuParam);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region // 添加一个申请活动低价sku
|
||||
//申请skuSpec
|
||||
var spec = prodInfo.detail.sku.FirstOrDefault().spec.FirstOrDefault(s => !s.spec_name.Contains("码"));
|
||||
@@ -1922,6 +1983,32 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
{
|
||||
lowPriceSkuImg = BaseRegex.GetStringJson(ref uploadLowPriceSkuImgRst, "url");
|
||||
pbSkuImg.ImageLocation = lowPriceSkuImg;
|
||||
|
||||
// 测试使用pdd官方接口扣白底图
|
||||
//ShopLoginInfo shop1 = null;
|
||||
//Invoke(new Action(() =>
|
||||
//{
|
||||
// PDDShopLoginForm loginForm = new PDDShopLoginForm(shop);
|
||||
// loginForm.openType = EnumOpenType.manage;
|
||||
// loginForm.WindowState = FormWindowState.Maximized;
|
||||
// loginForm.InitUrl = "https://aid.pinduoduo.com/tools/matting";
|
||||
// loginForm.ShowDialog();
|
||||
// List<Cookie> cookieList = NaiBa.CefHelper.CEFBrowser.GetCookieList("", loginForm.cefWebBrowser.GetCookieManager(null));
|
||||
// shop1 = JsonHelper.DeserializeJsonToObject<ShopLoginInfo>(JsonHelper.SerializeObject(shop));
|
||||
// //var shopCookies = JsonHelper.DeserializeJsonToList<Cookie>(shop1.Cookies);
|
||||
// //foreach (var cookie in cookieList)
|
||||
// //{
|
||||
// // //cookie.Domain = cookie.Domain.Replace(".mms.pinduoduo.com", "mms.pinduoduo.com");
|
||||
// // shopCookies.Insert(0, cookie);
|
||||
// //}
|
||||
// shop1.Cookies = JsonHelper.SerializeObject(cookieList);
|
||||
//}));
|
||||
//var whiteRst = uploadWhiteBackPicture(shop1, lowPriceSkuImgBase64, "", "", "");
|
||||
|
||||
////测试白底抠图
|
||||
////https://img.pddpic.com/garner-api-new/2025120814350989/90bd905ff5aa4d8499275cc8812be538.png
|
||||
//whiteRst = getWhiteBackPicture(shop1, lowPriceSkuImg);
|
||||
//whiteRst = getWhiteBackPicture(shop1, "https://img.pddpic.com/garner-api-new/2025120814350989/90bd905ff5aa4d8499275cc8812be538.png");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2051,6 +2138,56 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
}
|
||||
prodParamHighPrice.skus.Add(skuParam);
|
||||
}
|
||||
|
||||
#region 添加升级版sku
|
||||
if (pddUploadRule.IsUpgradeVersion)
|
||||
{
|
||||
foreach (var skuParam in prodParamHighPrice.skus)
|
||||
{
|
||||
var skuParamUpgrade = JsonHelper.DeserializeJsonToObject<sku_param>(JsonHelper.SerializeObject(skuParam));
|
||||
skuParamUpgrade.multi_price += (txtUpgradeVersionAddPrice.Text.ParseToDecimal() * 100).ParseToInt();
|
||||
skuParamUpgrade.price += (txtUpgradeVersionAddPrice.Text.ParseToDecimal() * 100).ParseToInt();
|
||||
if (prodParamHighPrice.market_price < skuParamUpgrade.price + 1000)
|
||||
{
|
||||
prodParamHighPrice.market_price = skuParamUpgrade.price + 1000;
|
||||
prodParamHighPrice.market_price_in_yuan = (prodParamHighPrice.market_price * 0.01).ParseToString();
|
||||
}
|
||||
var spec1 = skuParamUpgrade.spec.FirstOrDefault();
|
||||
var specUpgrade = spec1;
|
||||
if (specUpgrade != null)
|
||||
{
|
||||
specUpgrade.spec_name = this.txtUpgradeVersionName.Text.Trim() + specUpgrade.spec_name;
|
||||
upgrade_Sku_Lst.Add(skuParamUpgrade);
|
||||
var specUpgradeExist = upgrade_First_spec_lst.FirstOrDefault(s => s.spec_name == specUpgrade.spec_name);
|
||||
if (specUpgradeExist == null)
|
||||
{
|
||||
specUpgradeExist = specUpgrade;
|
||||
var upgradeSpecRst = get_spec_by_name(shop, specUpgradeExist.spec_name, spec1.parent_id.ParseToLong(), prodInfo.detail.cat_id.ParseToInt(),
|
||||
prodParamHighPrice.goods_id.ParseToString(), prodParamHighPrice.goods_commit_id, prodInfo.chance_tab);
|
||||
Thread.Sleep(Randomx.GetId(50, 100));
|
||||
if (!upgradeSpecRst.Contains("\"success\":true"))
|
||||
{
|
||||
var error = BaseRegex.GetStringJson(ref upgradeSpecRst, "error_msg");
|
||||
if (string.IsNullOrEmpty(error))
|
||||
error = upgradeSpecRst;
|
||||
return "设置升级款sku失败 " + error;
|
||||
}
|
||||
else
|
||||
{
|
||||
specUpgradeExist.spec_id = BaseRegex.GetLongJson(ref upgradeSpecRst, "result");
|
||||
}
|
||||
}
|
||||
specUpgrade.spec_id = specUpgradeExist.spec_id;
|
||||
}
|
||||
}
|
||||
foreach (var skuParam in upgrade_Sku_Lst)
|
||||
{
|
||||
prodParamHighPrice.skus.Add(skuParam);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 添加低价sku
|
||||
if (isLowPriceSku)
|
||||
{
|
||||
List<spec_param> first_spec_lst = new List<spec_param>();
|
||||
@@ -2096,6 +2233,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
prodParamHighPrice.skus.Add(sku);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
var prodParamHighPriceFakeSkuImg = JsonHelper.DeserializeJsonToObject<PDDProductUploadParam>(JsonHelper.SerializeObject(prodParam));
|
||||
prodParamHighPriceFakeSkuImg.skus = new List<sku_param>();
|
||||
@@ -2135,6 +2273,57 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
}
|
||||
prodParamHighPriceFakeSkuImg.skus.Add(skuParam);
|
||||
}
|
||||
|
||||
|
||||
#region 添加升级版sku
|
||||
if (pddUploadRule.IsUpgradeVersion)
|
||||
{
|
||||
foreach (var skuParam in prodParamHighPriceFakeSkuImg.skus)
|
||||
{
|
||||
var skuParamUpgrade = JsonHelper.DeserializeJsonToObject<sku_param>(JsonHelper.SerializeObject(skuParam));
|
||||
skuParamUpgrade.multi_price += (txtUpgradeVersionAddPrice.Text.ParseToDecimal() * 100).ParseToInt();
|
||||
skuParamUpgrade.price += (txtUpgradeVersionAddPrice.Text.ParseToDecimal() * 100).ParseToInt();
|
||||
if (prodParamHighPriceFakeSkuImg.market_price < skuParamUpgrade.price + 1000)
|
||||
{
|
||||
prodParamHighPriceFakeSkuImg.market_price = skuParamUpgrade.price + 1000;
|
||||
prodParamHighPriceFakeSkuImg.market_price_in_yuan = (prodParamHighPriceFakeSkuImg.market_price * 0.01).ParseToString();
|
||||
}
|
||||
var spec1 = skuParamUpgrade.spec.FirstOrDefault();
|
||||
var specUpgrade = spec1;
|
||||
if (specUpgrade != null)
|
||||
{
|
||||
specUpgrade.spec_name = this.txtUpgradeVersionName.Text.Trim() + specUpgrade.spec_name;
|
||||
upgrade_Sku_Lst.Add(skuParamUpgrade);
|
||||
var specUpgradeExist = upgrade_First_spec_lst.FirstOrDefault(s => s.spec_name == specUpgrade.spec_name);
|
||||
if (specUpgradeExist == null)
|
||||
{
|
||||
specUpgradeExist = specUpgrade;
|
||||
var upgradeSpecRst = get_spec_by_name(shop, specUpgradeExist.spec_name, spec1.parent_id.ParseToLong(), prodInfo.detail.cat_id.ParseToInt(),
|
||||
prodParamHighPriceFakeSkuImg.goods_id.ParseToString(), prodParamHighPriceFakeSkuImg.goods_commit_id, prodInfo.chance_tab);
|
||||
Thread.Sleep(Randomx.GetId(50, 100));
|
||||
if (!upgradeSpecRst.Contains("\"success\":true"))
|
||||
{
|
||||
var error = BaseRegex.GetStringJson(ref upgradeSpecRst, "error_msg");
|
||||
if (string.IsNullOrEmpty(error))
|
||||
error = upgradeSpecRst;
|
||||
return "设置升级款sku失败 " + error;
|
||||
}
|
||||
else
|
||||
{
|
||||
specUpgradeExist.spec_id = BaseRegex.GetLongJson(ref upgradeSpecRst, "result");
|
||||
}
|
||||
}
|
||||
specUpgrade.spec_id = specUpgradeExist.spec_id;
|
||||
}
|
||||
}
|
||||
foreach (var skuParam in upgrade_Sku_Lst)
|
||||
{
|
||||
prodParamHighPriceFakeSkuImg.skus.Add(skuParam);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 添加低价Sku
|
||||
if (isLowPriceSku)
|
||||
{
|
||||
List<spec_param> first_spec_lst = new List<spec_param>();
|
||||
@@ -2181,6 +2370,8 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
}
|
||||
#endregion
|
||||
|
||||
#endregion
|
||||
|
||||
if (cell != null)
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
@@ -2376,7 +2567,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
else if (chk22347.Checked)
|
||||
{
|
||||
// 如果报了直通车,判断商品自动加入直通车以后再放行(循环12次应该已加入,否则认为加入失败跳过)
|
||||
for (int i = 0; i < 12 && !getProdRst2.Contains(prodParam.goods_id.ParseToString()); i++)
|
||||
for (int i = 0; i < 30 && !getProdRst2.Contains(prodParam.goods_id.ParseToString()); i++)
|
||||
{
|
||||
if (cell != null)
|
||||
{
|
||||
@@ -2389,6 +2580,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
}));
|
||||
}
|
||||
Thread.Sleep(60 * 1000);
|
||||
//getProdRst1 = queryActivityGoodsEnabled(shop, prodParam.goods_id.ParseToString(), 22347, 0);
|
||||
getProdRst2 = queryActivityGoodsEnabled(shop, prodParam.goods_id.ParseToString(), 22347, 1);
|
||||
if (getProdRst2.Contains(prodParam.goods_id.ParseToString()))
|
||||
{
|
||||
@@ -4485,6 +4677,77 @@ Content-Disposition: form-data; name=""pic_operations""
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
public string uploadWhiteBackPicture(ShopLoginInfo shop, string img_base64, string goods_id, string goods_commit_id, string chanceTab)
|
||||
{
|
||||
//if (string.IsNullOrEmpty(img_base64))
|
||||
// img_base64 = "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 truncated
|
||||
byte[] imageBytes = Convert.FromBase64String(img_base64);
|
||||
// 使用MemoryStream创建图片对象
|
||||
using (MemoryStream ms = new MemoryStream(imageBytes))
|
||||
{
|
||||
Image image = Image.FromStream(ms);
|
||||
// 保存图片到文件系统
|
||||
try
|
||||
{
|
||||
image.Save("D:\\图片1.jpg", System.Drawing.Imaging.ImageFormat.Jpeg);
|
||||
}
|
||||
catch (Exception ex) { return "存图失败 " + ex.Message; }
|
||||
}
|
||||
string boundary = "----WebKitFormBoundaryFqcwRDsfAuvxgM4a";
|
||||
string body = @"------WebKitFormBoundaryFqcwRDsfAuvxgM4a
|
||||
Content-Disposition: form-data; name=""file""; filename=""图片1.jpg""
|
||||
Content-Type: image/jpeg
|
||||
|
||||
<!>D:\图片1.jpg<!>
|
||||
------WebKitFormBoundaryFqcwRDsfAuvxgM4a--
|
||||
";
|
||||
|
||||
var anti = shop.AntiContents.LastOrDefault().ParseToString();
|
||||
if (shop.AntiContents.Count > 0)
|
||||
anti = shop.AntiContents[Randomx.GetId(shop.AntiContents.Count)];
|
||||
string url = "https://aid.pinduoduo.com/api/banner-intelligent/material/upload";
|
||||
string refere = "https://aid.pinduoduo.com/tools/matting?origin=goods_material&msfrom=mms_globalsearch";
|
||||
var result = HttpResponseBLL.PDDPostResponseUpload(shop, url, body, refere, boundary, anti);
|
||||
for (int i = 0; i < 5 && result.Contains("网络繁忙,请不要频繁操作"); i++)
|
||||
{
|
||||
shop.AntiContents.Remove(anti);
|
||||
anti = shop.AntiContents.FirstOrDefault().ParseToString();
|
||||
if (shop.AntiContents.Count > 0)
|
||||
{
|
||||
Thread.Sleep(Randomx.GetId(300, 500));
|
||||
anti = shop.AntiContents[Randomx.GetId(shop.AntiContents.Count)];
|
||||
result = HttpResponseBLL.PDDPostResponseUpload(shop, url, body, refere, boundary, anti);
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
private string getWhiteBackPicture(ShopLoginInfo shop, string ImgUrl)
|
||||
{
|
||||
var anti = shop.AntiContents.LastOrDefault().ParseToString();
|
||||
if (shop.AntiContents.Count > 0)
|
||||
anti = shop.AntiContents[Randomx.GetId(shop.AntiContents.Count)];
|
||||
string url = "https://aid.pinduoduo.com/api/banner-intelligent/matting/batch";
|
||||
|
||||
string body = @"[""" + ImgUrl + @"""]";
|
||||
string refere = "https://aid.pinduoduo.com/tools/matting?origin=goods_material&msfrom=mms_globalsearch";
|
||||
|
||||
var result = HttpResponseBLL.PDDPostResponse(shop, url, body.Replace("0asAntiContent", anti), refere, anti);
|
||||
for (int i = 0; i < 5 && result.Contains("网络繁忙,请不要频繁操作"); i++)
|
||||
{
|
||||
shop.AntiContents.Remove(anti);
|
||||
anti = shop.AntiContents.FirstOrDefault().ParseToString();
|
||||
if (shop.AntiContents.Count > 0)
|
||||
{
|
||||
Thread.Sleep(Randomx.GetId(300, 500));
|
||||
anti = shop.AntiContents[Randomx.GetId(shop.AntiContents.Count)];
|
||||
result = HttpResponseBLL.PDDPostResponse(shop, url, body.Replace("0asAntiContent", anti), refere, anti);
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
private void chkChance_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
isChanceApi = chkChance.Checked;
|
||||
@@ -4811,6 +5074,106 @@ Content-Disposition: form-data; name=""pic_operations""
|
||||
if (!chk15996.Checked && !chk20981.Checked && !chk21365.Checked && !chk22347.Checked)
|
||||
chkActivity.Checked = false;
|
||||
}
|
||||
|
||||
private void pbSkuImg_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void lblUpgradeVersion_Click(object sender, EventArgs e)
|
||||
{
|
||||
OpenFileDialog openFileDialog = new OpenFileDialog();
|
||||
openFileDialog.Multiselect = false;
|
||||
// 设置过滤条件,只显示文本文件
|
||||
openFileDialog.Filter = "png图片 (*.png)|*.png|All files (*.*)|*.*";
|
||||
// 显示对话框并获取结果
|
||||
if (openFileDialog.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
try
|
||||
{
|
||||
string filePath = openFileDialog.FileName;
|
||||
Image image = Image.FromFile(filePath);
|
||||
|
||||
string imgBase64 = "";
|
||||
using (MemoryStream memoryStream = new MemoryStream())
|
||||
{
|
||||
image.Save(memoryStream, System.Drawing.Imaging.ImageFormat.Jpeg);
|
||||
byte[] imageBytes = memoryStream.ToArray();
|
||||
imgBase64 = Convert.ToBase64String(imageBytes);
|
||||
}
|
||||
//string img_md5 = BaseClass.GetMd5(imgBase64);
|
||||
if (this.pbUpgradeVersion.Tag.ParseToString() != imgBase64)
|
||||
{
|
||||
this.pbUpgradeVersion.Tag = imgBase64;
|
||||
this.pbUpgradeVersion.ImageLocation = "";
|
||||
this.pbUpgradeVersion.Image = image;
|
||||
|
||||
//if (!this.pbSkuImg.Tag.ParseToString().IsNullOrEmpty())
|
||||
//{
|
||||
// byte[] imageBytes = Convert.FromBase64String(pbSkuImg.Tag.ParseToString());
|
||||
// // 使用MemoryStream创建图片对象
|
||||
// using (MemoryStream ms = new MemoryStream(imageBytes))
|
||||
// {
|
||||
// Image imageBg = Image.FromStream(ms);
|
||||
|
||||
// using (Graphics g = Graphics.FromImage(imageBg))
|
||||
// {
|
||||
// // 将第一张图片绘制到结果图像上
|
||||
// g.DrawImage(image, new Rectangle(0, 0, image.Width, image.Height), 0, 0, image.Width, image.Height, GraphicsUnit.Pixel);
|
||||
// //// 将第二张图片绘制到结果图像上(叠加在第一张图片上)
|
||||
// //g.DrawImage(img2, new Rectangle(0, 0, img2.Width, img2.Height), 0, 0, img2.Width, img2.Height, GraphicsUnit.Pixel);
|
||||
// }
|
||||
|
||||
// // 保存图片到文件系统
|
||||
// try
|
||||
// {
|
||||
// imageBg.Save("D:\\图片1.jpg", System.Drawing.Imaging.ImageFormat.Jpeg);
|
||||
// }
|
||||
// catch (Exception ex) { BaseMsgForm.ShowError("存图失败 " + ex.Message); }
|
||||
// }
|
||||
//}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
BaseMsgForm.ShowError("打开增强版sku叠加图片失败 " + ex.Message);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void pbUpgradeVersion_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void chkUpgradeVersion_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (IsLoadComplate)
|
||||
{
|
||||
pddUploadRule.IsUpgradeVersion = chkUpgradeVersion.Checked;
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("pdd_upload_rule", pddUploadRule);
|
||||
}
|
||||
}
|
||||
|
||||
private void txtUpgradeVersionName_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (IsLoadComplate)
|
||||
{
|
||||
pddUploadRule.UpgradeVersionName = txtUpgradeVersionName.Text.Trim();
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("pdd_upload_rule", pddUploadRule);
|
||||
}
|
||||
}
|
||||
|
||||
private void txtUpgradeVersionAddPrice_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (IsLoadComplate)
|
||||
{
|
||||
pddUploadRule.UpgradeVersionAddPrice = txtUpgradeVersionAddPrice.Text.Trim().ParseToDecimal();
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("pdd_upload_rule", pddUploadRule);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class AddPriceRule
|
||||
@@ -4857,5 +5220,15 @@ Content-Disposition: form-data; name=""pic_operations""
|
||||
public bool IsLowPriceSku { get; set; } = true;
|
||||
public string LowPriceSkuName { get; set; } = "福利款";
|
||||
public decimal LowPriceSkuLowestPrice { get; set; } = 5m;
|
||||
|
||||
/// <summary>
|
||||
/// 升级版
|
||||
/// </summary>
|
||||
public bool IsUpgradeVersion { get; set; } = false;
|
||||
public string UpgradeVersionName { get; set; } = "升级版";
|
||||
/// <summary>
|
||||
/// 升级版额外加价
|
||||
/// </summary>
|
||||
public decimal UpgradeVersionAddPrice { get; set; } = 1m;
|
||||
}
|
||||
}
|
||||
@@ -58,7 +58,7 @@ namespace TemuKJD.PDDForms.ShopForms
|
||||
private string shopCookieHead = "pinduoduo.com";
|
||||
private string shopLoginUrl = "https://mms.pinduoduo.com/login";
|
||||
private string shopMainUrl = "https://mms.pinduoduo.com/home";
|
||||
private ChromiumWebBrowser cefWebBrowser = null;
|
||||
public ChromiumWebBrowser cefWebBrowser = null;
|
||||
private ShopLoginInfo shop = null;
|
||||
private List<ShopCompany> lstShopCompany = new List<ShopCompany>();
|
||||
private string currentUrl = "";
|
||||
|
||||
Reference in new issue
Block a user