书籍类目采集和入库
This commit is contained in:
1 parent
6ce238ca01
commit
dbc954a200
19 files changed
+664
-1205
No files matched your search
+118
-77
@@ -49,8 +49,8 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.txtReplaceText = new System.Windows.Forms.TextBox();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.cmbWxSafe = new System.Windows.Forms.ComboBox();
|
||||
this.lblWxSafe = new System.Windows.Forms.Label();
|
||||
this.cmbSpProdType = new System.Windows.Forms.ComboBox();
|
||||
this.label11 = new System.Windows.Forms.Label();
|
||||
this.cmbSourceType = new System.Windows.Forms.ComboBox();
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
@@ -64,11 +64,13 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.cmbSort = new System.Windows.Forms.ComboBox();
|
||||
this.btnSearch = new DevComponents.DotNetBar.PanelEx();
|
||||
this.pnlEmpty = new DevComponents.DotNetBar.PanelEx();
|
||||
this.lblNotes = new System.Windows.Forms.Label();
|
||||
this.txtNotes = new System.Windows.Forms.TextBox();
|
||||
this.lblGroup = new System.Windows.Forms.Label();
|
||||
this.cmbGroupFilter = new System.Windows.Forms.ComboBox();
|
||||
this.cmbWxSafe = new System.Windows.Forms.ComboBox();
|
||||
this.lblWxSafe = new System.Windows.Forms.Label();
|
||||
this.pnlEmpty = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnExportTxt = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnDelSelect = new DevComponents.DotNetBar.PanelEx();
|
||||
this.cmbGroup = new System.Windows.Forms.ComboBox();
|
||||
@@ -111,6 +113,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.colEndWords = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colFissionWords = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colGetType = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colSpProdType = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colWxSafe = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colAddTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colMdyTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@@ -320,8 +323,8 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
||||
this.tableLayoutPanel1.Controls.Add(this.cmbWxSafe, 7, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblWxSafe, 6, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.cmbSpProdType, 7, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label11, 6, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.cmbSourceType, 5, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label10, 4, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label5, 0, 0);
|
||||
@@ -335,11 +338,13 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.tableLayoutPanel1.Controls.Add(this.label6, 8, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.cmbSort, 9, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.btnSearch, 10, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.pnlEmpty, 11, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblNotes, 0, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.txtNotes, 1, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblGroup, 2, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.cmbGroupFilter, 3, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.cmbWxSafe, 9, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblWxSafe, 8, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.pnlEmpty, 10, 1);
|
||||
this.tableLayoutPanel1.Location = new System.Drawing.Point(4, 4);
|
||||
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||
this.tableLayoutPanel1.RowCount = 2;
|
||||
@@ -348,31 +353,30 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(727, 71);
|
||||
this.tableLayoutPanel1.TabIndex = 679;
|
||||
//
|
||||
// cmbWxSafe
|
||||
// cmbSpProdType
|
||||
//
|
||||
this.cmbWxSafe.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cmbWxSafe.FormattingEnabled = true;
|
||||
this.cmbWxSafe.Items.AddRange(new object[] {
|
||||
this.cmbSpProdType.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cmbSpProdType.FormattingEnabled = true;
|
||||
this.cmbSpProdType.Items.AddRange(new object[] {
|
||||
"",
|
||||
"安全商品",
|
||||
"违规商品",
|
||||
"未校验"});
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(423, 40);
|
||||
this.cmbWxSafe.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbWxSafe.Name = "cmbWxSafe";
|
||||
this.cmbWxSafe.Size = new System.Drawing.Size(63, 25);
|
||||
this.cmbWxSafe.TabIndex = 676;
|
||||
"普通商品",
|
||||
"书籍"});
|
||||
this.cmbSpProdType.Location = new System.Drawing.Point(444, 43);
|
||||
this.cmbSpProdType.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbSpProdType.Name = "cmbSpProdType";
|
||||
this.cmbSpProdType.Size = new System.Drawing.Size(70, 25);
|
||||
this.cmbSpProdType.TabIndex = 677;
|
||||
//
|
||||
// lblWxSafe
|
||||
// label11
|
||||
//
|
||||
this.lblWxSafe.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.lblWxSafe.AutoSize = true;
|
||||
this.lblWxSafe.Location = new System.Drawing.Point(355, 44);
|
||||
this.lblWxSafe.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.lblWxSafe.Name = "lblWxSafe";
|
||||
this.lblWxSafe.Size = new System.Drawing.Size(68, 17);
|
||||
this.lblWxSafe.TabIndex = 651;
|
||||
this.lblWxSafe.Text = "微信安检:";
|
||||
this.label11.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label11.AutoSize = true;
|
||||
this.label11.Location = new System.Drawing.Point(376, 44);
|
||||
this.label11.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label11.Name = "label11";
|
||||
this.label11.Size = new System.Drawing.Size(68, 17);
|
||||
this.label11.TabIndex = 651;
|
||||
this.label11.Text = "商品类型:";
|
||||
//
|
||||
// cmbSourceType
|
||||
//
|
||||
@@ -383,17 +387,17 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
"母店采集",
|
||||
"机会商品",
|
||||
"外部数据"});
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(286, 40);
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(300, 43);
|
||||
this.cmbSourceType.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbSourceType.Name = "cmbSourceType";
|
||||
this.cmbSourceType.Size = new System.Drawing.Size(63, 25);
|
||||
this.cmbSourceType.Size = new System.Drawing.Size(70, 25);
|
||||
this.cmbSourceType.TabIndex = 654;
|
||||
//
|
||||
// label10
|
||||
//
|
||||
this.label10.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.label10.AutoSize = true;
|
||||
this.label10.Location = new System.Drawing.Point(242, 44);
|
||||
this.label10.Location = new System.Drawing.Point(256, 44);
|
||||
this.label10.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(44, 17);
|
||||
@@ -417,14 +421,14 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.txtSPU.Location = new System.Drawing.Point(60, 6);
|
||||
this.txtSPU.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtSPU.Name = "txtSPU";
|
||||
this.txtSPU.Size = new System.Drawing.Size(63, 23);
|
||||
this.txtSPU.Size = new System.Drawing.Size(70, 23);
|
||||
this.txtSPU.TabIndex = 434;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(129, 9);
|
||||
this.label2.Location = new System.Drawing.Point(136, 9);
|
||||
this.label2.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(44, 17);
|
||||
@@ -434,17 +438,17 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// txtCat
|
||||
//
|
||||
this.txtCat.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtCat.Location = new System.Drawing.Point(173, 6);
|
||||
this.txtCat.Location = new System.Drawing.Point(180, 6);
|
||||
this.txtCat.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtCat.Name = "txtCat";
|
||||
this.txtCat.Size = new System.Drawing.Size(63, 23);
|
||||
this.txtCat.Size = new System.Drawing.Size(70, 23);
|
||||
this.txtCat.TabIndex = 425;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(242, 9);
|
||||
this.label3.Location = new System.Drawing.Point(256, 9);
|
||||
this.label3.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(44, 17);
|
||||
@@ -454,17 +458,17 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// txtProdName
|
||||
//
|
||||
this.txtProdName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtProdName.Location = new System.Drawing.Point(286, 6);
|
||||
this.txtProdName.Location = new System.Drawing.Point(300, 6);
|
||||
this.txtProdName.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtProdName.Name = "txtProdName";
|
||||
this.txtProdName.Size = new System.Drawing.Size(63, 23);
|
||||
this.txtProdName.Size = new System.Drawing.Size(70, 23);
|
||||
this.txtProdName.TabIndex = 427;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(379, 9);
|
||||
this.label4.Location = new System.Drawing.Point(400, 9);
|
||||
this.label4.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(44, 17);
|
||||
@@ -474,17 +478,17 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// txtExtCode
|
||||
//
|
||||
this.txtExtCode.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtExtCode.Location = new System.Drawing.Point(423, 6);
|
||||
this.txtExtCode.Location = new System.Drawing.Point(444, 6);
|
||||
this.txtExtCode.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtExtCode.Name = "txtExtCode";
|
||||
this.txtExtCode.Size = new System.Drawing.Size(63, 23);
|
||||
this.txtExtCode.Size = new System.Drawing.Size(70, 23);
|
||||
this.txtExtCode.TabIndex = 429;
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.label6.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(492, 9);
|
||||
this.label6.Location = new System.Drawing.Point(544, 9);
|
||||
this.label6.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(44, 17);
|
||||
@@ -498,9 +502,9 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.cmbSort.Items.AddRange(new object[] {
|
||||
"入库时间",
|
||||
"认领总数"});
|
||||
this.cmbSort.Location = new System.Drawing.Point(539, 5);
|
||||
this.cmbSort.Location = new System.Drawing.Point(591, 7);
|
||||
this.cmbSort.Name = "cmbSort";
|
||||
this.cmbSort.Size = new System.Drawing.Size(60, 25);
|
||||
this.cmbSort.Size = new System.Drawing.Size(67, 25);
|
||||
this.cmbSort.TabIndex = 448;
|
||||
this.cmbSort.Text = "入库时间";
|
||||
//
|
||||
@@ -511,7 +515,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.btnSearch.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnSearch.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnSearch.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnSearch.Location = new System.Drawing.Point(605, 5);
|
||||
this.btnSearch.Location = new System.Drawing.Point(664, 5);
|
||||
this.btnSearch.Name = "btnSearch";
|
||||
this.btnSearch.Size = new System.Drawing.Size(56, 25);
|
||||
this.btnSearch.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -529,31 +533,6 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.btnSearch.Text = "搜索";
|
||||
this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
|
||||
//
|
||||
// pnlEmpty
|
||||
//
|
||||
this.pnlEmpty.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.pnlEmpty.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.pnlEmpty.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.pnlEmpty.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.pnlEmpty.Location = new System.Drawing.Point(667, 5);
|
||||
this.pnlEmpty.Name = "pnlEmpty";
|
||||
this.pnlEmpty.Size = new System.Drawing.Size(56, 25);
|
||||
this.pnlEmpty.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlEmpty.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.pnlEmpty.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.pnlEmpty.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.pnlEmpty.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.pnlEmpty.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.pnlEmpty.Style.GradientAngle = 90;
|
||||
this.pnlEmpty.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlEmpty.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlEmpty.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.pnlEmpty.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.pnlEmpty.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.pnlEmpty.TabIndex = 431;
|
||||
this.pnlEmpty.Text = "清空条件";
|
||||
this.pnlEmpty.Click += new System.EventHandler(this.pnlEmpty_Click);
|
||||
//
|
||||
// lblNotes
|
||||
//
|
||||
this.lblNotes.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
@@ -571,14 +550,14 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.txtNotes.Location = new System.Drawing.Point(60, 41);
|
||||
this.txtNotes.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtNotes.Name = "txtNotes";
|
||||
this.txtNotes.Size = new System.Drawing.Size(63, 23);
|
||||
this.txtNotes.Size = new System.Drawing.Size(70, 23);
|
||||
this.txtNotes.TabIndex = 439;
|
||||
//
|
||||
// lblGroup
|
||||
//
|
||||
this.lblGroup.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.lblGroup.AutoSize = true;
|
||||
this.lblGroup.Location = new System.Drawing.Point(129, 44);
|
||||
this.lblGroup.Location = new System.Drawing.Point(136, 44);
|
||||
this.lblGroup.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.lblGroup.Name = "lblGroup";
|
||||
this.lblGroup.Size = new System.Drawing.Size(44, 17);
|
||||
@@ -589,12 +568,63 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.cmbGroupFilter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cmbGroupFilter.FormattingEnabled = true;
|
||||
this.cmbGroupFilter.Location = new System.Drawing.Point(173, 40);
|
||||
this.cmbGroupFilter.Location = new System.Drawing.Point(180, 43);
|
||||
this.cmbGroupFilter.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbGroupFilter.Name = "cmbGroupFilter";
|
||||
this.cmbGroupFilter.Size = new System.Drawing.Size(63, 25);
|
||||
this.cmbGroupFilter.Size = new System.Drawing.Size(70, 25);
|
||||
this.cmbGroupFilter.TabIndex = 653;
|
||||
//
|
||||
// cmbWxSafe
|
||||
//
|
||||
this.cmbWxSafe.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cmbWxSafe.FormattingEnabled = true;
|
||||
this.cmbWxSafe.Items.AddRange(new object[] {
|
||||
"",
|
||||
"安全商品",
|
||||
"违规商品",
|
||||
"未校验"});
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(588, 43);
|
||||
this.cmbWxSafe.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbWxSafe.Name = "cmbWxSafe";
|
||||
this.cmbWxSafe.Size = new System.Drawing.Size(70, 25);
|
||||
this.cmbWxSafe.TabIndex = 676;
|
||||
//
|
||||
// lblWxSafe
|
||||
//
|
||||
this.lblWxSafe.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.lblWxSafe.AutoSize = true;
|
||||
this.lblWxSafe.Location = new System.Drawing.Point(520, 44);
|
||||
this.lblWxSafe.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.lblWxSafe.Name = "lblWxSafe";
|
||||
this.lblWxSafe.Size = new System.Drawing.Size(68, 17);
|
||||
this.lblWxSafe.TabIndex = 651;
|
||||
this.lblWxSafe.Text = "微信安检:";
|
||||
//
|
||||
// pnlEmpty
|
||||
//
|
||||
this.pnlEmpty.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.pnlEmpty.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.pnlEmpty.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.pnlEmpty.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.pnlEmpty.Location = new System.Drawing.Point(664, 40);
|
||||
this.pnlEmpty.Name = "pnlEmpty";
|
||||
this.pnlEmpty.Size = new System.Drawing.Size(56, 25);
|
||||
this.pnlEmpty.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlEmpty.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.pnlEmpty.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.pnlEmpty.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.pnlEmpty.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.pnlEmpty.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.pnlEmpty.Style.GradientAngle = 90;
|
||||
this.pnlEmpty.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlEmpty.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlEmpty.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.pnlEmpty.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.pnlEmpty.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.pnlEmpty.TabIndex = 431;
|
||||
this.pnlEmpty.Text = "清空条件";
|
||||
this.pnlEmpty.Click += new System.EventHandler(this.pnlEmpty_Click);
|
||||
//
|
||||
// btnExportTxt
|
||||
//
|
||||
this.btnExportTxt.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
@@ -911,6 +941,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.colEndWords,
|
||||
this.colFissionWords,
|
||||
this.colGetType,
|
||||
this.colSpProdType,
|
||||
this.colWxSafe,
|
||||
this.colAddTime,
|
||||
this.colMdyTime,
|
||||
@@ -969,7 +1000,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
// colMainImg
|
||||
//
|
||||
this.colMainImg.FillWeight = 50F;
|
||||
this.colMainImg.FillWeight = 70F;
|
||||
this.colMainImg.HeaderText = "主图";
|
||||
this.colMainImg.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Zoom;
|
||||
this.colMainImg.Name = "colMainImg";
|
||||
@@ -986,7 +1017,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
// colSkuReplaceImg
|
||||
//
|
||||
this.colSkuReplaceImg.FillWeight = 50F;
|
||||
this.colSkuReplaceImg.FillWeight = 70F;
|
||||
this.colSkuReplaceImg.HeaderText = "sku替换图";
|
||||
this.colSkuReplaceImg.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Zoom;
|
||||
this.colSkuReplaceImg.Name = "colSkuReplaceImg";
|
||||
@@ -1113,6 +1144,13 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.colGetType.Name = "colGetType";
|
||||
this.colGetType.ReadOnly = true;
|
||||
//
|
||||
// colSpProdType
|
||||
//
|
||||
this.colSpProdType.FillWeight = 70F;
|
||||
this.colSpProdType.HeaderText = "商品类型";
|
||||
this.colSpProdType.Name = "colSpProdType";
|
||||
this.colSpProdType.ReadOnly = true;
|
||||
//
|
||||
// colWxSafe
|
||||
//
|
||||
this.colWxSafe.FillWeight = 70F;
|
||||
@@ -1136,7 +1174,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
// col_edit
|
||||
//
|
||||
this.col_edit.FillWeight = 60F;
|
||||
this.col_edit.FillWeight = 42F;
|
||||
this.col_edit.HeaderText = "详情";
|
||||
this.col_edit.Name = "col_edit";
|
||||
this.col_edit.ReadOnly = true;
|
||||
@@ -1272,6 +1310,8 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
private System.Windows.Forms.ComboBox cmbWxSafe;
|
||||
private System.Windows.Forms.ComboBox cmbSetWxSafe;
|
||||
private DevComponents.DotNetBar.PanelEx btnSetWxSafe;
|
||||
private System.Windows.Forms.ComboBox cmbSpProdType;
|
||||
private System.Windows.Forms.Label label11;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_db_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colFromShopId;
|
||||
@@ -1296,6 +1336,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colEndWords;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colFissionWords;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colGetType;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSpProdType;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colWxSafe;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colAddTime;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colMdyTime;
|
||||
|
||||
@@ -45,6 +45,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
|
||||
private void ProductListForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
cmbSpProdType.SelectedIndex = 0;
|
||||
cmbSetWxSafe.SelectedIndex = 0;
|
||||
if (BaseClass.SaLevel == 1 && shop == null) // 一级管理员且不是选品状态
|
||||
{
|
||||
@@ -137,9 +138,10 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
Task.Run(() =>
|
||||
{
|
||||
int pageCount;
|
||||
int pageSize = 50;
|
||||
int pageSize = 100;
|
||||
decimal seconds;
|
||||
Invoke(new Action(() => { pageSize = this.ucSplitPage1.PageSize; }));
|
||||
var list = GetProductList(out pageCount, page, pageSize);
|
||||
var list = GetProductList(out pageCount, out seconds, page, pageSize);
|
||||
lstTemuDbProduct.AddRange(list);
|
||||
this.ucSplitPage1.TotalPage = pageCount;
|
||||
|
||||
@@ -180,6 +182,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
prod.end_words,
|
||||
prod.fission_words,
|
||||
prod.product_get_type_text,
|
||||
prod.special_prod_type,
|
||||
prod.wx_safe_status,
|
||||
prod.add_time.ToString("yy-MM-dd HH:mm"),
|
||||
prod.mdy_time.ToString("yy-MM-dd HH:mm"),
|
||||
@@ -195,6 +198,10 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
{
|
||||
ShowDgvImg();
|
||||
this.pbLoading.Visible = false;
|
||||
this.statusBar.lblTaskStatus.Text = "商品查询完毕";
|
||||
#if DEBUG
|
||||
this.statusBar.lblTaskStatus.Text += ",耗时:" + seconds;
|
||||
#endif
|
||||
}));
|
||||
});
|
||||
}
|
||||
@@ -247,10 +254,11 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
});
|
||||
}
|
||||
|
||||
public List<KJDDBProduct> GetProductList(out int pageCount, int page = 1, int pageSize = 200)
|
||||
public List<KJDDBProduct> GetProductList(out int pageCount, out decimal seconds, int page = 1, int pageSize = 200)
|
||||
{
|
||||
List<KJDDBProduct> list = new List<KJDDBProduct>();
|
||||
pageCount = 1;
|
||||
seconds = 0;
|
||||
|
||||
var url = BaseClass.BuildPDDObjString("product/get_product_list");
|
||||
if(shop!=null && shop.DbId.ParseToInt()!=0 )
|
||||
@@ -269,7 +277,8 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
"&search_ext_code=" + txtExtCode.Text.Trim() +
|
||||
"&search_group=" + cmbGroupFilter.Text.Trim() +
|
||||
"&search_prod_name=" + txtProdName.Text.Trim() +
|
||||
"&wx_safe_status=" + cmbWxSafe.Text.Trim();
|
||||
"&wx_safe_status=" + cmbWxSafe.Text.Trim() +
|
||||
"&special_prod_type=" + cmbSpProdType.Text.Trim();
|
||||
if (cmbSourceType.Text.Trim() != "全部")
|
||||
{
|
||||
data += "&product_get_type=" + cmbSourceType.Text.Trim();
|
||||
@@ -299,6 +308,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
return list;
|
||||
}
|
||||
|
||||
seconds = BaseRegex.GetDecimalJson(ref html, "seconds");
|
||||
int count = BaseRegex.GetIntJson(ref html, "count");
|
||||
pageCount = Math.Ceiling(1.0 * count / pageSize).ParseToInt();
|
||||
pageCount = Math.Max(pageCount, 1);
|
||||
@@ -345,6 +355,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.cmbSort.Text = "入库时间";
|
||||
this.cmbSourceType.Text = "";
|
||||
this.cmbWxSafe.Text = "";
|
||||
this.cmbSpProdType.Text = "";
|
||||
}
|
||||
|
||||
private void dgvDbProduct_CellContentClick(object sender, DataGridViewCellEventArgs e)
|
||||
|
||||
@@ -189,6 +189,9 @@
|
||||
<metadata name="colGetType.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colSpProdType.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colWxSafe.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
|
||||
@@ -5219,7 +5219,8 @@ Content-Disposition: form-data; name=""pic_operations""
|
||||
rst = GoodsSubmit(shop, goods_id.ToString(), draftId, "");
|
||||
}
|
||||
|
||||
public static string GetChanceGoodsList(ShopLoginInfo shop, string searchWord, List<string> labels = null, string desc="", int page = 1)
|
||||
public static string GetChanceGoodsList(ShopLoginInfo shop, string searchWord, List<string> labels = null, string desc="", int page = 1,
|
||||
long? cat1 = null, long? cat2 = null, int? price1 = null, int? price2 = null)
|
||||
{
|
||||
//labels
|
||||
//newinfashion_new 当季新品
|
||||
@@ -5250,17 +5251,36 @@ Content-Disposition: form-data; name=""pic_operations""
|
||||
{
|
||||
jObj["search_word"] = searchWord;
|
||||
}
|
||||
if (cat1 != null)
|
||||
{
|
||||
jObj["cat_id_1"] = cat1;
|
||||
}
|
||||
if (cat2 != null)
|
||||
{
|
||||
jObj["cat_id_2"] = cat2;
|
||||
}
|
||||
if (!string.IsNullOrWhiteSpace(desc))
|
||||
{
|
||||
jObj["desc"] = desc;
|
||||
}
|
||||
if (price1 != null)
|
||||
{
|
||||
jObj["min_price"] = price1;
|
||||
}
|
||||
if (price2 != null)
|
||||
{
|
||||
jObj["max_price"] = price2;
|
||||
}
|
||||
//全网热销/不搜索 string body = @"{""size"":35,""page"":1,""labels"":[""wide_popular""],""banner_type"":0}";
|
||||
//不限/搜索 string body = @"{""size"":35,""page"":1,""search_word"":""" + searchWord + @"""}";
|
||||
string body = JsonHelper.SerializeObject(jObj);
|
||||
string refere = "https://mms.pinduoduo.com/goods/goods_list/chance/chance_list?search_word=" + GetHtml.UrlEncodeUtf8(searchWord) +
|
||||
string refere = "https://mms.pinduoduo.com/goods/goods_list/chance?sourcePage=goodsListTopButton";
|
||||
if (!string.IsNullOrEmpty(searchWord))
|
||||
refere = "https://mms.pinduoduo.com/goods/goods_list/chance/chance_list?search_word=" + GetHtml.UrlEncodeUtf8(searchWord) +
|
||||
"&sourcePage=goodsListTopButton";
|
||||
if (string.IsNullOrEmpty(searchWord))
|
||||
refere = "https://mms.pinduoduo.com/goods/goods_list/chance?sourcePage=goodsListTopButton";
|
||||
if (cat1 != null)
|
||||
refere = "https://mms.pinduoduo.com/goods/goods_list/chance/chance_list?cat_id=[" + cat1 + "]";
|
||||
|
||||
var result = HttpResponseBLL.PDDPostResponse(shop, url, body, refere, anti);
|
||||
for (int i = 0; i < 5 && result.Contains("网络繁忙,请不要频繁操作"); i++)
|
||||
{
|
||||
|
||||
+206
-109
@@ -39,14 +39,24 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.ucGroupBoxEx1 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||
this.label11 = new System.Windows.Forms.Label();
|
||||
this.txtMaxPrice = new System.Windows.Forms.TextBox();
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.cmbCat2 = new System.Windows.Forms.ComboBox();
|
||||
this.chkOverride = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.txtMinPrice = new System.Windows.Forms.TextBox();
|
||||
this.btnStopStop = new DevComponents.DotNetBar.PanelEx();
|
||||
this.label9 = new System.Windows.Forms.Label();
|
||||
this.btnClear = new DevComponents.DotNetBar.PanelEx();
|
||||
this.cmbCat1 = new System.Windows.Forms.ComboBox();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.btnSelectSuccess = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnStop = new DevComponents.DotNetBar.PanelEx();
|
||||
this.txtSearchCount = new System.Windows.Forms.TextBox();
|
||||
this.btnStop = new DevComponents.DotNetBar.PanelEx();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.btnStopStop = new DevComponents.DotNetBar.PanelEx();
|
||||
this.cmbSearchLabel = new System.Windows.Forms.ComboBox();
|
||||
this.btnAddToDb = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnGetDetail = new DevComponents.DotNetBar.PanelEx();
|
||||
@@ -63,7 +73,6 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.btnRefreshShop = new DevComponents.DotNetBar.PanelEx();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.chkOverride = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
|
||||
this.splitContainer3 = new System.Windows.Forms.SplitContainer();
|
||||
this.pbShopLoading = new System.Windows.Forms.PictureBox();
|
||||
@@ -93,7 +102,6 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.chk = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
|
||||
this.ucSplitPage1 = new TemuKJD.UserControls.UcSplitPage();
|
||||
this.btnClear = new DevComponents.DotNetBar.PanelEx();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
@@ -130,7 +138,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(1344, 635);
|
||||
this.splitContainer1.SplitterDistance = 120;
|
||||
this.splitContainer1.SplitterDistance = 140;
|
||||
this.splitContainer1.TabIndex = 4;
|
||||
//
|
||||
// ucGroupBoxEx1
|
||||
@@ -140,15 +148,24 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.ucGroupBoxEx1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.ucGroupBoxEx1.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
|
||||
this.ucGroupBoxEx1.Controls.Add(this.btnClear);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.label11);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.txtMaxPrice);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.textBox1);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.label10);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.label7);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.cmbCat2);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.chkOverride);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.label6);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.txtMinPrice);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.btnStopStop);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.label9);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.btnClear);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.cmbCat1);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.label8);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.btnSelectSuccess);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.btnStop);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.txtSearchCount);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.btnStop);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.label5);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.btnStopStop);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.cmbSearchLabel);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.btnAddToDb);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.btnGetDetail);
|
||||
@@ -165,29 +182,82 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.ucGroupBoxEx1.Controls.Add(this.btnRefreshShop);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.label4);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.label3);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.chkOverride);
|
||||
this.ucGroupBoxEx1.Location = new System.Drawing.Point(3, 2);
|
||||
this.ucGroupBoxEx1.Name = "ucGroupBoxEx1";
|
||||
this.ucGroupBoxEx1.Size = new System.Drawing.Size(1339, 118);
|
||||
this.ucGroupBoxEx1.Size = new System.Drawing.Size(1339, 138);
|
||||
this.ucGroupBoxEx1.TabIndex = 0;
|
||||
this.ucGroupBoxEx1.TabStop = false;
|
||||
this.ucGroupBoxEx1.Text = "操作";
|
||||
//
|
||||
// label11
|
||||
//
|
||||
this.label11.AutoSize = true;
|
||||
this.label11.Location = new System.Drawing.Point(684, 62);
|
||||
this.label11.Name = "label11";
|
||||
this.label11.Size = new System.Drawing.Size(20, 17);
|
||||
this.label11.TabIndex = 943;
|
||||
this.label11.Text = "至";
|
||||
//
|
||||
// txtMaxPrice
|
||||
//
|
||||
this.txtMaxPrice.Location = new System.Drawing.Point(704, 59);
|
||||
this.txtMaxPrice.Name = "txtMaxPrice";
|
||||
this.txtMaxPrice.Size = new System.Drawing.Size(40, 23);
|
||||
this.txtMaxPrice.TabIndex = 942;
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
this.textBox1.Location = new System.Drawing.Point(644, 59);
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.Size = new System.Drawing.Size(40, 23);
|
||||
this.textBox1.TabIndex = 941;
|
||||
//
|
||||
// label10
|
||||
//
|
||||
this.label10.AutoSize = true;
|
||||
this.label10.Location = new System.Drawing.Point(582, 62);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(56, 17);
|
||||
this.label10.TabIndex = 940;
|
||||
this.label10.Text = "商品价格";
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Location = new System.Drawing.Point(1004, 79);
|
||||
this.label7.Location = new System.Drawing.Point(1007, 93);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(44, 17);
|
||||
this.label7.TabIndex = 844;
|
||||
this.label7.Text = "元SKU";
|
||||
//
|
||||
// cmbCat2
|
||||
//
|
||||
this.cmbCat2.FormattingEnabled = true;
|
||||
this.cmbCat2.Items.AddRange(new object[] {
|
||||
"不限"});
|
||||
this.cmbCat2.Location = new System.Drawing.Point(644, 30);
|
||||
this.cmbCat2.Name = "cmbCat2";
|
||||
this.cmbCat2.Size = new System.Drawing.Size(100, 25);
|
||||
this.cmbCat2.TabIndex = 908;
|
||||
this.cmbCat2.Text = "不限";
|
||||
//
|
||||
// chkOverride
|
||||
//
|
||||
this.chkOverride.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.chkOverride.AutoSize = true;
|
||||
this.chkOverride.Location = new System.Drawing.Point(1064, 89);
|
||||
this.chkOverride.Name = "chkOverride";
|
||||
this.chkOverride.Size = new System.Drawing.Size(135, 21);
|
||||
this.chkOverride.TabIndex = 757;
|
||||
this.chkOverride.Text = "覆盖库中已存在商品";
|
||||
this.chkOverride.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(849, 79);
|
||||
this.label6.Location = new System.Drawing.Point(852, 93);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(116, 17);
|
||||
this.label6.TabIndex = 843;
|
||||
@@ -196,35 +266,65 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// txtMinPrice
|
||||
//
|
||||
this.txtMinPrice.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtMinPrice.Location = new System.Drawing.Point(965, 76);
|
||||
this.txtMinPrice.Location = new System.Drawing.Point(968, 90);
|
||||
this.txtMinPrice.Name = "txtMinPrice";
|
||||
this.txtMinPrice.Size = new System.Drawing.Size(39, 23);
|
||||
this.txtMinPrice.TabIndex = 842;
|
||||
this.txtMinPrice.Text = "10";
|
||||
//
|
||||
// btnStopStop
|
||||
// label9
|
||||
//
|
||||
this.btnStopStop.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.btnStopStop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnStopStop.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnStopStop.Location = new System.Drawing.Point(452, 75);
|
||||
this.btnStopStop.Name = "btnStopStop";
|
||||
this.btnStopStop.Size = new System.Drawing.Size(100, 25);
|
||||
this.btnStopStop.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnStopStop.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.btnStopStop.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.btnStopStop.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.btnStopStop.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnStopStop.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.btnStopStop.Style.GradientAngle = 90;
|
||||
this.btnStopStop.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnStopStop.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnStopStop.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnStopStop.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnStopStop.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnStopStop.TabIndex = 814;
|
||||
this.btnStopStop.Text = "强制解除查询";
|
||||
this.btnStopStop.Click += new System.EventHandler(this.btnStopStop_Click);
|
||||
this.label9.AutoSize = true;
|
||||
this.label9.Location = new System.Drawing.Point(582, 34);
|
||||
this.label9.Name = "label9";
|
||||
this.label9.Size = new System.Drawing.Size(68, 17);
|
||||
this.label9.TabIndex = 909;
|
||||
this.label9.Text = "二级类目:";
|
||||
//
|
||||
// btnClear
|
||||
//
|
||||
this.btnClear.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.btnClear.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnClear.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnClear.Location = new System.Drawing.Point(295, 88);
|
||||
this.btnClear.Name = "btnClear";
|
||||
this.btnClear.Size = new System.Drawing.Size(100, 25);
|
||||
this.btnClear.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnClear.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.btnClear.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.btnClear.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.btnClear.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnClear.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.btnClear.Style.GradientAngle = 90;
|
||||
this.btnClear.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnClear.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnClear.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnClear.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnClear.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnClear.TabIndex = 875;
|
||||
this.btnClear.Text = "清除列表";
|
||||
this.btnClear.Click += new System.EventHandler(this.btnClear_Click);
|
||||
//
|
||||
// cmbCat1
|
||||
//
|
||||
this.cmbCat1.FormattingEnabled = true;
|
||||
this.cmbCat1.Items.AddRange(new object[] {
|
||||
"不限"});
|
||||
this.cmbCat1.Location = new System.Drawing.Point(476, 30);
|
||||
this.cmbCat1.Name = "cmbCat1";
|
||||
this.cmbCat1.Size = new System.Drawing.Size(100, 25);
|
||||
this.cmbCat1.TabIndex = 907;
|
||||
this.cmbCat1.Text = "不限";
|
||||
this.cmbCat1.TextChanged += new System.EventHandler(this.cmbCat1_TextChanged);
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.AutoSize = true;
|
||||
this.label8.Location = new System.Drawing.Point(413, 34);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(68, 17);
|
||||
this.label8.TabIndex = 906;
|
||||
this.label8.Text = "商品类目:";
|
||||
//
|
||||
// btnSelectSuccess
|
||||
//
|
||||
@@ -233,9 +333,9 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.btnSelectSuccess.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnSelectSuccess.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnSelectSuccess.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnSelectSuccess.Location = new System.Drawing.Point(1022, 22);
|
||||
this.btnSelectSuccess.Location = new System.Drawing.Point(1046, 29);
|
||||
this.btnSelectSuccess.Name = "btnSelectSuccess";
|
||||
this.btnSelectSuccess.Size = new System.Drawing.Size(170, 25);
|
||||
this.btnSelectSuccess.Size = new System.Drawing.Size(153, 25);
|
||||
this.btnSelectSuccess.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSelectSuccess.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSelectSuccess.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
@@ -251,12 +351,20 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.btnSelectSuccess.Text = "一键勾选已采集详情商品";
|
||||
this.btnSelectSuccess.Click += new System.EventHandler(this.btnSelectSuccess_Click);
|
||||
//
|
||||
// txtSearchCount
|
||||
//
|
||||
this.txtSearchCount.Location = new System.Drawing.Point(811, 31);
|
||||
this.txtSearchCount.Name = "txtSearchCount";
|
||||
this.txtSearchCount.Size = new System.Drawing.Size(40, 23);
|
||||
this.txtSearchCount.TabIndex = 738;
|
||||
this.txtSearchCount.Text = "500";
|
||||
//
|
||||
// btnStop
|
||||
//
|
||||
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(343, 75);
|
||||
this.btnStop.Location = new System.Drawing.Point(295, 26);
|
||||
this.btnStop.Name = "btnStop";
|
||||
this.btnStop.Size = new System.Drawing.Size(100, 25);
|
||||
this.btnStop.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -275,23 +383,39 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.btnStop.Text = "停止当前操作";
|
||||
this.btnStop.Click += new System.EventHandler(this.btnStop_Click);
|
||||
//
|
||||
// txtSearchCount
|
||||
//
|
||||
this.txtSearchCount.Location = new System.Drawing.Point(665, 23);
|
||||
this.txtSearchCount.Name = "txtSearchCount";
|
||||
this.txtSearchCount.Size = new System.Drawing.Size(100, 23);
|
||||
this.txtSearchCount.TabIndex = 738;
|
||||
this.txtSearchCount.Text = "500";
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(604, 26);
|
||||
this.label5.Location = new System.Drawing.Point(750, 34);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(68, 17);
|
||||
this.label5.TabIndex = 737;
|
||||
this.label5.Text = "搜索数量:";
|
||||
//
|
||||
// btnStopStop
|
||||
//
|
||||
this.btnStopStop.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.btnStopStop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnStopStop.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnStopStop.Location = new System.Drawing.Point(295, 57);
|
||||
this.btnStopStop.Name = "btnStopStop";
|
||||
this.btnStopStop.Size = new System.Drawing.Size(100, 25);
|
||||
this.btnStopStop.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnStopStop.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.btnStopStop.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.btnStopStop.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.btnStopStop.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnStopStop.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.btnStopStop.Style.GradientAngle = 90;
|
||||
this.btnStopStop.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnStopStop.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnStopStop.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnStopStop.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnStopStop.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnStopStop.TabIndex = 814;
|
||||
this.btnStopStop.Text = "强制解除查询";
|
||||
this.btnStopStop.Click += new System.EventHandler(this.btnStopStop_Click);
|
||||
//
|
||||
// cmbSearchLabel
|
||||
//
|
||||
this.cmbSearchLabel.FormattingEnabled = true;
|
||||
@@ -302,7 +426,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
"全网热销",
|
||||
"潜力商品",
|
||||
"热门商品"});
|
||||
this.cmbSearchLabel.Location = new System.Drawing.Point(343, 22);
|
||||
this.cmbSearchLabel.Location = new System.Drawing.Point(476, 58);
|
||||
this.cmbSearchLabel.Name = "cmbSearchLabel";
|
||||
this.cmbSearchLabel.Size = new System.Drawing.Size(100, 25);
|
||||
this.cmbSearchLabel.TabIndex = 653;
|
||||
@@ -315,7 +439,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.btnAddToDb.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnAddToDb.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnAddToDb.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnAddToDb.Location = new System.Drawing.Point(1198, 75);
|
||||
this.btnAddToDb.Location = new System.Drawing.Point(1205, 85);
|
||||
this.btnAddToDb.Name = "btnAddToDb";
|
||||
this.btnAddToDb.Size = new System.Drawing.Size(116, 25);
|
||||
this.btnAddToDb.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -340,7 +464,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.btnGetDetail.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnGetDetail.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnGetDetail.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnGetDetail.Location = new System.Drawing.Point(1198, 22);
|
||||
this.btnGetDetail.Location = new System.Drawing.Point(1205, 29);
|
||||
this.btnGetDetail.Name = "btnGetDetail";
|
||||
this.btnGetDetail.Size = new System.Drawing.Size(116, 25);
|
||||
this.btnGetDetail.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -360,22 +484,22 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
// txtShopId
|
||||
//
|
||||
this.txtShopId.Location = new System.Drawing.Point(76, 16);
|
||||
this.txtShopId.Location = new System.Drawing.Point(76, 28);
|
||||
this.txtShopId.Name = "txtShopId";
|
||||
this.txtShopId.Size = new System.Drawing.Size(183, 23);
|
||||
this.txtShopId.TabIndex = 704;
|
||||
//
|
||||
// txtSearchChance
|
||||
//
|
||||
this.txtSearchChance.Location = new System.Drawing.Point(499, 23);
|
||||
this.txtSearchChance.Location = new System.Drawing.Point(476, 86);
|
||||
this.txtSearchChance.Name = "txtSearchChance";
|
||||
this.txtSearchChance.Size = new System.Drawing.Size(100, 23);
|
||||
this.txtSearchChance.Size = new System.Drawing.Size(268, 23);
|
||||
this.txtSearchChance.TabIndex = 679;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(30, 19);
|
||||
this.label2.Location = new System.Drawing.Point(30, 31);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(57, 17);
|
||||
this.label2.TabIndex = 705;
|
||||
@@ -384,7 +508,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(449, 26);
|
||||
this.label1.Location = new System.Drawing.Point(426, 89);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(56, 17);
|
||||
this.label1.TabIndex = 678;
|
||||
@@ -395,7 +519,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.btnEmpty.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.btnEmpty.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnEmpty.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnEmpty.Location = new System.Drawing.Point(223, 88);
|
||||
this.btnEmpty.Location = new System.Drawing.Point(223, 100);
|
||||
this.btnEmpty.Name = "btnEmpty";
|
||||
this.btnEmpty.Size = new System.Drawing.Size(36, 23);
|
||||
this.btnEmpty.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -416,7 +540,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
// txtShopName
|
||||
//
|
||||
this.txtShopName.Location = new System.Drawing.Point(76, 40);
|
||||
this.txtShopName.Location = new System.Drawing.Point(76, 52);
|
||||
this.txtShopName.Name = "txtShopName";
|
||||
this.txtShopName.Size = new System.Drawing.Size(183, 23);
|
||||
this.txtShopName.TabIndex = 706;
|
||||
@@ -427,7 +551,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.btnSearch.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnSearch.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnSearch.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnSearch.Location = new System.Drawing.Point(780, 23);
|
||||
this.btnSearch.Location = new System.Drawing.Point(855, 30);
|
||||
this.btnSearch.Name = "btnSearch";
|
||||
this.btnSearch.Size = new System.Drawing.Size(106, 25);
|
||||
this.btnSearch.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -450,7 +574,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.pnlEmpty.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.pnlEmpty.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.pnlEmpty.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.pnlEmpty.Location = new System.Drawing.Point(892, 23);
|
||||
this.pnlEmpty.Location = new System.Drawing.Point(965, 30);
|
||||
this.pnlEmpty.Name = "pnlEmpty";
|
||||
this.pnlEmpty.Size = new System.Drawing.Size(56, 25);
|
||||
this.pnlEmpty.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -471,7 +595,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
// txtNotes
|
||||
//
|
||||
this.txtNotes.Location = new System.Drawing.Point(76, 64);
|
||||
this.txtNotes.Location = new System.Drawing.Point(76, 76);
|
||||
this.txtNotes.Name = "txtNotes";
|
||||
this.txtNotes.Size = new System.Drawing.Size(183, 23);
|
||||
this.txtNotes.TabIndex = 708;
|
||||
@@ -479,11 +603,11 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// lblGroupFilter
|
||||
//
|
||||
this.lblGroupFilter.AutoSize = true;
|
||||
this.lblGroupFilter.Location = new System.Drawing.Point(307, 26);
|
||||
this.lblGroupFilter.Location = new System.Drawing.Point(413, 62);
|
||||
this.lblGroupFilter.Name = "lblGroupFilter";
|
||||
this.lblGroupFilter.Size = new System.Drawing.Size(44, 17);
|
||||
this.lblGroupFilter.Size = new System.Drawing.Size(68, 17);
|
||||
this.lblGroupFilter.TabIndex = 641;
|
||||
this.lblGroupFilter.Text = "标签:";
|
||||
this.lblGroupFilter.Text = "热门主题:";
|
||||
//
|
||||
// btnRefreshShop
|
||||
//
|
||||
@@ -491,7 +615,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.btnRefreshShop.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnRefreshShop.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnRefreshShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnRefreshShop.Location = new System.Drawing.Point(163, 88);
|
||||
this.btnRefreshShop.Location = new System.Drawing.Point(163, 100);
|
||||
this.btnRefreshShop.Name = "btnRefreshShop";
|
||||
this.btnRefreshShop.Size = new System.Drawing.Size(58, 23);
|
||||
this.btnRefreshShop.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -512,7 +636,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(19, 67);
|
||||
this.label4.Location = new System.Drawing.Point(19, 79);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(68, 17);
|
||||
this.label4.TabIndex = 709;
|
||||
@@ -521,23 +645,12 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(19, 43);
|
||||
this.label3.Location = new System.Drawing.Point(19, 55);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(68, 17);
|
||||
this.label3.TabIndex = 707;
|
||||
this.label3.Text = "店铺名称:";
|
||||
//
|
||||
// chkOverride
|
||||
//
|
||||
this.chkOverride.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.chkOverride.AutoSize = true;
|
||||
this.chkOverride.Location = new System.Drawing.Point(1058, 77);
|
||||
this.chkOverride.Name = "chkOverride";
|
||||
this.chkOverride.Size = new System.Drawing.Size(135, 21);
|
||||
this.chkOverride.TabIndex = 757;
|
||||
this.chkOverride.Text = "覆盖库中已存在商品";
|
||||
this.chkOverride.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// splitContainer2
|
||||
//
|
||||
this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
@@ -556,8 +669,8 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.splitContainer2.Panel2.Controls.Add(this.chk);
|
||||
this.splitContainer2.Panel2.Controls.Add(this.statusBar);
|
||||
this.splitContainer2.Panel2.Controls.Add(this.ucSplitPage1);
|
||||
this.splitContainer2.Size = new System.Drawing.Size(1344, 511);
|
||||
this.splitContainer2.SplitterDistance = 482;
|
||||
this.splitContainer2.Size = new System.Drawing.Size(1344, 491);
|
||||
this.splitContainer2.SplitterDistance = 462;
|
||||
this.splitContainer2.TabIndex = 0;
|
||||
//
|
||||
// splitContainer3
|
||||
@@ -577,7 +690,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.splitContainer3.Panel2.Controls.Add(this.pbLoading);
|
||||
this.splitContainer3.Panel2.Controls.Add(this.panel2);
|
||||
this.splitContainer3.Panel2.Controls.Add(this.dgvChanceProduct);
|
||||
this.splitContainer3.Size = new System.Drawing.Size(1336, 482);
|
||||
this.splitContainer3.Size = new System.Drawing.Size(1336, 462);
|
||||
this.splitContainer3.SplitterDistance = 290;
|
||||
this.splitContainer3.TabIndex = 9;
|
||||
//
|
||||
@@ -585,7 +698,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.pbShopLoading.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.pbShopLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
|
||||
this.pbShopLoading.Location = new System.Drawing.Point(120, 216);
|
||||
this.pbShopLoading.Location = new System.Drawing.Point(120, 206);
|
||||
this.pbShopLoading.Name = "pbShopLoading";
|
||||
this.pbShopLoading.Size = new System.Drawing.Size(50, 50);
|
||||
this.pbShopLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
@@ -626,7 +739,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.dgvShop.ReadOnly = true;
|
||||
this.dgvShop.RowHeadersWidth = 25;
|
||||
this.dgvShop.RowTemplate.Height = 23;
|
||||
this.dgvShop.Size = new System.Drawing.Size(290, 482);
|
||||
this.dgvShop.Size = new System.Drawing.Size(290, 462);
|
||||
this.dgvShop.TabIndex = 7;
|
||||
this.dgvShop.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellContentClick);
|
||||
//
|
||||
@@ -706,7 +819,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(496, 216);
|
||||
this.pbLoading.Location = new System.Drawing.Point(496, 206);
|
||||
this.pbLoading.Name = "pbLoading";
|
||||
this.pbLoading.Size = new System.Drawing.Size(50, 50);
|
||||
this.pbLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
@@ -721,7 +834,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.panel2.Location = new System.Drawing.Point(409, 355);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(610, 107);
|
||||
this.panel2.Size = new System.Drawing.Size(610, 87);
|
||||
this.panel2.TabIndex = 8;
|
||||
//
|
||||
// dgvChanceProduct
|
||||
@@ -759,7 +872,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.dgvChanceProduct.Name = "dgvChanceProduct";
|
||||
this.dgvChanceProduct.ReadOnly = true;
|
||||
this.dgvChanceProduct.RowTemplate.Height = 23;
|
||||
this.dgvChanceProduct.Size = new System.Drawing.Size(1042, 482);
|
||||
this.dgvChanceProduct.Size = new System.Drawing.Size(1042, 462);
|
||||
this.dgvChanceProduct.TabIndex = 6;
|
||||
this.dgvChanceProduct.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvChanceProduct_CellContentClick);
|
||||
//
|
||||
@@ -884,30 +997,6 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.ucSplitPage1.TotalPage = 1;
|
||||
this.ucSplitPage1.PageChange += new System.Action<object>(this.ucSplitPage1_PageChange);
|
||||
//
|
||||
// btnClear
|
||||
//
|
||||
this.btnClear.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.btnClear.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnClear.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnClear.Location = new System.Drawing.Point(588, 75);
|
||||
this.btnClear.Name = "btnClear";
|
||||
this.btnClear.Size = new System.Drawing.Size(100, 25);
|
||||
this.btnClear.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnClear.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.btnClear.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.btnClear.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.btnClear.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnClear.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.btnClear.Style.GradientAngle = 90;
|
||||
this.btnClear.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnClear.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnClear.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnClear.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnClear.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnClear.TabIndex = 875;
|
||||
this.btnClear.Text = "清除列表";
|
||||
this.btnClear.Click += new System.EventHandler(this.btnClear_Click);
|
||||
//
|
||||
// PDDGetChanceProdForm
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
@@ -1000,5 +1089,13 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.TextBox txtMinPrice;
|
||||
private DevComponents.DotNetBar.PanelEx btnClear;
|
||||
private System.Windows.Forms.ComboBox cmbCat2;
|
||||
private System.Windows.Forms.Label label9;
|
||||
private System.Windows.Forms.ComboBox cmbCat1;
|
||||
private System.Windows.Forms.Label label8;
|
||||
private System.Windows.Forms.Label label11;
|
||||
private System.Windows.Forms.TextBox txtMaxPrice;
|
||||
private System.Windows.Forms.TextBox textBox1;
|
||||
private System.Windows.Forms.Label label10;
|
||||
}
|
||||
}
|
||||
@@ -10,6 +10,7 @@ using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
@@ -32,6 +33,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
public CancellationTokenSource cancellationTokenSource { get; set; } = null;
|
||||
public ConcurrentList<ShopLoginInfo> lstAdminShopInfo { get; set; } = new ConcurrentList<ShopLoginInfo>();
|
||||
public ConcurrentList<ChanceProductResult> lstChanceProductResult { get; set; } = new ConcurrentList<ChanceProductResult>();
|
||||
public List<ChanceCateInfo> lstChanceCateInfo { get; set; } = new List<ChanceCateInfo>();
|
||||
/// <summary>
|
||||
/// 查找机会商品
|
||||
/// </summary>
|
||||
@@ -63,6 +65,8 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.txtShopId.TextChanged += Txt_TextChanged;
|
||||
this.txtShopName.TextChanged += Txt_TextChanged;
|
||||
|
||||
Task.Run(() => { ReacCate(); });
|
||||
|
||||
var tmpChanceProductLst = NaiBa.Util.Helper.ConfigHelper.LoadConfig<List<ChanceProductResult>>("pdd_chance_product_list_" + MainForm.ProcessCount);
|
||||
if (tmpChanceProductLst == null)
|
||||
tmpChanceProductLst = new List<ChanceProductResult>();
|
||||
@@ -108,6 +112,53 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
}));
|
||||
});
|
||||
}
|
||||
|
||||
void ReacCate()
|
||||
{
|
||||
string filePath = Path.Combine(Environment.CurrentDirectory, "temp\\pdd_chance_cate.cty");
|
||||
if (!File.Exists(filePath))
|
||||
return;
|
||||
using (StreamReader sr = new StreamReader(filePath, System.Text.Encoding.UTF8))
|
||||
{
|
||||
try
|
||||
{
|
||||
string cateStr = sr.ReadToEnd().Trim();
|
||||
lstChanceCateInfo = JsonHelper.DeserializeJsonToList<ChanceCateInfo>(cateStr);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
BaseMsgForm.ShowError("机会商品类目获取失败:" + ex.Message);
|
||||
}
|
||||
if (lstChanceCateInfo == null)
|
||||
lstChanceCateInfo = new List<ChanceCateInfo>();
|
||||
}
|
||||
var lstChanceCateInfo1 = lstChanceCateInfo.Where(c => c.cate_lvl == 1).ToList();
|
||||
var lstChanceCateInfo2 = lstChanceCateInfo.Where(c => c.cate_lvl == 2).ToList();
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
foreach(var cateInfo in lstChanceCateInfo1)
|
||||
{
|
||||
this.cmbCat1.Items.Add(cateInfo.cate_name);
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
||||
private void cmbCat1_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
cmbCat2.Items.Clear();
|
||||
cmbCat2.Items.Add("不限");
|
||||
|
||||
var chanceCateInfo1 = lstChanceCateInfo.FirstOrDefault(c => c.cate_lvl == 1 && c.cate_name == cmbCat1.Text);
|
||||
if (chanceCateInfo1 != null)
|
||||
{
|
||||
var lstChanceCateInfo2 = lstChanceCateInfo.Where(c => c.cate_lvl == 2 && c.cate1_id == chanceCateInfo1.cate_id).ToList();
|
||||
foreach (var cateInfo in lstChanceCateInfo2)
|
||||
{
|
||||
this.cmbCat2.Items.Add(cateInfo.cate_name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void Txt_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
chanceProductConfig.SearchNotes = this.txtNotes.Text.Trim();
|
||||
@@ -402,7 +453,21 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
Thread.Sleep(Randomx.GetId(3000, 8000));
|
||||
}
|
||||
|
||||
var rst = GetChanceGoodsList(shop, searchTxt, searchLabels, "hot_index", page);
|
||||
long? cat1 = null;
|
||||
long? cat2 = null;
|
||||
int? price1 = null;
|
||||
int? price2 = null;
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
cat1 = lstChanceCateInfo.FirstOrDefault(c => c.cate_lvl == 1 && c.cate_name == cmbCat1.Text)?.cate_id;
|
||||
cat2 = lstChanceCateInfo.FirstOrDefault(c => cat1 != null && c.cate_lvl == 2 && c.cate_name == cmbCat2.Text)?.cate_id;
|
||||
price1 = txtMinPrice.Text.Trim().ParseToInt();
|
||||
price2 = txtMaxPrice.Text.Trim().ParseToInt();
|
||||
if (price1 == 0 || price2 == 0)
|
||||
price1 = price2 = null;
|
||||
}));
|
||||
|
||||
var rst = GetChanceGoodsList(shop, searchTxt, searchLabels, "hot_index", page, cat1, cat2, price1, price2);
|
||||
if (!rst.Contains("success\":true"))
|
||||
{
|
||||
PDDAdminShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { shop }, false);
|
||||
@@ -445,7 +510,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
chanceProductResult.keywords,
|
||||
chanceProductResult.hot_index,
|
||||
chanceProductResult.cat_id_3.ParseToLong() == 0 ? new long?() : chanceProductResult.cat_id_3.ParseToLong(),
|
||||
"采集详情后显示",
|
||||
"预估:" + chanceProductResult.refer_price / 100.0 + " 采集详情后显示实际值",
|
||||
"删除"
|
||||
);
|
||||
dgvChanceProduct.Rows[rowId].Height = 60;
|
||||
@@ -517,9 +582,10 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
}
|
||||
}
|
||||
|
||||
private string GetChanceGoodsList(ShopLoginInfo shop, string searchWord, List<string> labels = null, string desc="", int page = 1)
|
||||
private string GetChanceGoodsList(ShopLoginInfo shop, string searchWord, List<string> labels = null, string desc="", int page = 1,
|
||||
long? cat1 = null, long? cat2 = null, int? price1 = null, int? price2 = null)
|
||||
{
|
||||
return PDDDBProdUserSelectForm.GetChanceGoodsList(shop, searchWord, labels, desc, page);
|
||||
return PDDDBProdUserSelectForm.GetChanceGoodsList(shop, searchWord, labels, desc, page, cat1, cat2, price1, price2);
|
||||
}
|
||||
|
||||
private void pnlEmpty_Click(object sender, EventArgs e)
|
||||
@@ -839,6 +905,10 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
"&size_json=" + HttpUtility.UrlEncode(dbProd.size_json, Encoding.UTF8) +
|
||||
"&main_img=" + HttpUtility.UrlEncode(dbProd.main_img, Encoding.UTF8) +
|
||||
"&product_get_type=" + HttpUtility.UrlEncode("机会商品", Encoding.UTF8);
|
||||
if (dbProd.main_cat_id == "15543" || dbProd.main_cat_name == "书籍/杂志/报纸")
|
||||
{
|
||||
data += "&special_prod_type=" + HttpUtility.UrlEncode("书籍", Encoding.UTF8);
|
||||
}
|
||||
|
||||
html = GetHtml.PostUtf8(url, data);
|
||||
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
|
||||
@@ -971,4 +1041,17 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
public string theme_detail_url { get; set; } // "https://pfile.pddpic.com/galerie-go/mms_img/season_goods.png"
|
||||
|
||||
}
|
||||
|
||||
public class ChanceCateInfo
|
||||
{
|
||||
public long? cate_id { get; set; } // 245,
|
||||
public string cate_name { get; set; } // "衬衫",
|
||||
public long? parent_id { get; set; } // 239,
|
||||
public int? cate_lvl { get; set; } // 2,
|
||||
public string cate_desc { get; set; } // "男装二级",
|
||||
public long? cate1_id { get; set; } // 239,
|
||||
public string cate1_name { get; set; } // "男装",
|
||||
public long? cate2_id { get; set; } // 245,
|
||||
public string cate2_name { get; set; } // "衬衫"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user