店铺考核提供备注功能 微信带货助手采集功能

This commit is contained in:
wule committed 2026-05-14 02:55:53 +08:00
1 parent 4fa1fc03ca
commit 119b2f4f3e
64 files changed
+7940 -908

No files matched your search

+114 -83
View File
@@ -32,13 +32,13 @@ namespace TemuKJD.WXForms.ProductForms
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
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 dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = 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();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.ucGroupBoxEx2 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.chkRandomCompanyProd = new TemuKJD.UserComponent.UcCheckBox(this.components);
@@ -90,13 +90,15 @@ namespace TemuKJD.WXForms.ProductForms
this.label9 = new System.Windows.Forms.Label();
this.chkStepAddPrice = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.ucGroupBoxEx4 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.cmbHot = new System.Windows.Forms.ComboBox();
this.btnProdDb = new DevComponents.DotNetBar.PanelEx();
this.chkWXComplateProd = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.txtAddCount = new System.Windows.Forms.TextBox();
this.cmbJstInitSet = new System.Windows.Forms.ComboBox();
this.txtSearchGoodsName = new System.Windows.Forms.TextBox();
this.lblJstInitSet = new System.Windows.Forms.Label();
this.pbSelectProd = new System.Windows.Forms.PictureBox();
this.cmbSourceType = new System.Windows.Forms.ComboBox();
this.cmbJstInitSet = new System.Windows.Forms.ComboBox();
this.cmbCateFilter3 = new TemuKJD.UserComponent.UcComboBoxMutiSelect();
this.label21 = new System.Windows.Forms.Label();
this.cmbGroupFilter = new System.Windows.Forms.ComboBox();
@@ -117,8 +119,8 @@ namespace TemuKJD.WXForms.ProductForms
this.lblGroupFilter = new System.Windows.Forms.Label();
this.lblWxSafe = new System.Windows.Forms.Label();
this.label20 = new System.Windows.Forms.Label();
this.lblJstInitSet = new System.Windows.Forms.Label();
this.lblIdFilter = new System.Windows.Forms.Label();
this.lblHot = new System.Windows.Forms.Label();
this.ucGroupBoxEx1 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.btnRefreshAuthor = new DevComponents.DotNetBar.PanelEx();
this.btnSelectOffline = new DevComponents.DotNetBar.PanelEx();
@@ -948,13 +950,15 @@ namespace TemuKJD.WXForms.ProductForms
| System.Windows.Forms.AnchorStyles.Left)));
this.ucGroupBoxEx4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.ucGroupBoxEx4.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
this.ucGroupBoxEx4.Controls.Add(this.cmbHot);
this.ucGroupBoxEx4.Controls.Add(this.btnProdDb);
this.ucGroupBoxEx4.Controls.Add(this.chkWXComplateProd);
this.ucGroupBoxEx4.Controls.Add(this.txtAddCount);
this.ucGroupBoxEx4.Controls.Add(this.cmbJstInitSet);
this.ucGroupBoxEx4.Controls.Add(this.txtSearchGoodsName);
this.ucGroupBoxEx4.Controls.Add(this.lblJstInitSet);
this.ucGroupBoxEx4.Controls.Add(this.pbSelectProd);
this.ucGroupBoxEx4.Controls.Add(this.cmbSourceType);
this.ucGroupBoxEx4.Controls.Add(this.cmbJstInitSet);
this.ucGroupBoxEx4.Controls.Add(this.cmbCateFilter3);
this.ucGroupBoxEx4.Controls.Add(this.label21);
this.ucGroupBoxEx4.Controls.Add(this.cmbGroupFilter);
@@ -975,8 +979,8 @@ namespace TemuKJD.WXForms.ProductForms
this.ucGroupBoxEx4.Controls.Add(this.lblGroupFilter);
this.ucGroupBoxEx4.Controls.Add(this.lblWxSafe);
this.ucGroupBoxEx4.Controls.Add(this.label20);
this.ucGroupBoxEx4.Controls.Add(this.lblJstInitSet);
this.ucGroupBoxEx4.Controls.Add(this.lblIdFilter);
this.ucGroupBoxEx4.Controls.Add(this.lblHot);
this.ucGroupBoxEx4.Location = new System.Drawing.Point(162, 2);
this.ucGroupBoxEx4.Name = "ucGroupBoxEx4";
this.ucGroupBoxEx4.Size = new System.Drawing.Size(410, 165);
@@ -984,6 +988,21 @@ namespace TemuKJD.WXForms.ProductForms
this.ucGroupBoxEx4.TabStop = false;
this.ucGroupBoxEx4.Text = "待传商品";
//
// cmbHot
//
this.cmbHot.FormattingEnabled = true;
this.cmbHot.Items.AddRange(new object[] {
"",
"爆款数据",
"普通商品"});
this.cmbHot.Location = new System.Drawing.Point(309, 73);
this.cmbHot.Name = "cmbHot";
this.cmbHot.Size = new System.Drawing.Size(92, 25);
this.cmbHot.TabIndex = 837;
this.cmbHot.Text = "普通商品";
this.cmbHot.Visible = false;
this.cmbHot.TextChanged += new System.EventHandler(this.cmbHot_TextChanged);
//
// btnProdDb
//
this.btnProdDb.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
@@ -1010,7 +1029,7 @@ namespace TemuKJD.WXForms.ProductForms
//
// chkWXComplateProd
//
this.chkWXComplateProd.Location = new System.Drawing.Point(180, 103);
this.chkWXComplateProd.Location = new System.Drawing.Point(277, 102);
this.chkWXComplateProd.Name = "chkWXComplateProd";
this.chkWXComplateProd.Size = new System.Drawing.Size(87, 21);
this.chkWXComplateProd.TabIndex = 807;
@@ -1028,15 +1047,40 @@ namespace TemuKJD.WXForms.ProductForms
this.txtAddCount.TabIndex = 536;
this.txtAddCount.Text = "500";
//
// cmbJstInitSet
//
this.cmbJstInitSet.FormattingEnabled = true;
this.cmbJstInitSet.Items.AddRange(new object[] {
"",
"已设置",
"未设置"});
this.cmbJstInitSet.Location = new System.Drawing.Point(178, 100);
this.cmbJstInitSet.Name = "cmbJstInitSet";
this.cmbJstInitSet.Size = new System.Drawing.Size(92, 25);
this.cmbJstInitSet.TabIndex = 697;
this.cmbJstInitSet.Text = "已设置";
this.cmbJstInitSet.Visible = false;
//
// txtSearchGoodsName
//
this.txtSearchGoodsName.Font = new System.Drawing.Font("微软雅黑", 10F);
this.txtSearchGoodsName.Location = new System.Drawing.Point(178, 47);
this.txtSearchGoodsName.Location = new System.Drawing.Point(178, 46);
this.txtSearchGoodsName.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
this.txtSearchGoodsName.Name = "txtSearchGoodsName";
this.txtSearchGoodsName.Size = new System.Drawing.Size(223, 25);
this.txtSearchGoodsName.TabIndex = 795;
//
// lblJstInitSet
//
this.lblJstInitSet.AutoSize = true;
this.lblJstInitSet.Location = new System.Drawing.Point(147, 104);
this.lblJstInitSet.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
this.lblJstInitSet.Name = "lblJstInitSet";
this.lblJstInitSet.Size = new System.Drawing.Size(32, 17);
this.lblJstInitSet.TabIndex = 696;
this.lblJstInitSet.Text = "分销";
this.lblJstInitSet.Visible = false;
//
// pbSelectProd
//
this.pbSelectProd.Image = global::TemuKJD.Properties.Resources.loading_blue;
@@ -1062,7 +1106,7 @@ namespace TemuKJD.WXForms.ProductForms
"机会商品",
"以图搜品",
"外部数据"});
this.cmbSourceType.Location = new System.Drawing.Point(47, 74);
this.cmbSourceType.Location = new System.Drawing.Point(47, 73);
this.cmbSourceType.Name = "cmbSourceType";
this.cmbSourceType.Size = new System.Drawing.Size(92, 25);
this.cmbSourceType.TabIndex = 673;
@@ -1071,20 +1115,6 @@ namespace TemuKJD.WXForms.ProductForms
this.cmbSourceType.SelectedIndexChanged += new System.EventHandler(this.cmbSourceType_SelectedIndexChanged);
this.cmbSourceType.TextChanged += new System.EventHandler(this.cmbSourceType_TextChanged);
//
// cmbJstInitSet
//
this.cmbJstInitSet.FormattingEnabled = true;
this.cmbJstInitSet.Items.AddRange(new object[] {
"",
"已设置",
"未设置"});
this.cmbJstInitSet.Location = new System.Drawing.Point(309, 74);
this.cmbJstInitSet.Name = "cmbJstInitSet";
this.cmbJstInitSet.Size = new System.Drawing.Size(92, 25);
this.cmbJstInitSet.TabIndex = 697;
this.cmbJstInitSet.Text = "已设置";
this.cmbJstInitSet.Visible = false;
//
// cmbCateFilter3
//
this.cmbCateFilter3.DefaultText = "全部";
@@ -1092,7 +1122,7 @@ namespace TemuKJD.WXForms.ProductForms
this.cmbCateFilter3.DropDownWidth = 1;
this.cmbCateFilter3.FormattingEnabled = true;
this.cmbCateFilter3.IntegralHeight = false;
this.cmbCateFilter3.Location = new System.Drawing.Point(309, 20);
this.cmbCateFilter3.Location = new System.Drawing.Point(309, 19);
this.cmbCateFilter3.Name = "cmbCateFilter3";
this.cmbCateFilter3.Size = new System.Drawing.Size(92, 25);
this.cmbCateFilter3.TabIndex = 710;
@@ -1103,7 +1133,7 @@ namespace TemuKJD.WXForms.ProductForms
// label21
//
this.label21.AutoSize = true;
this.label21.Location = new System.Drawing.Point(271, 24);
this.label21.Location = new System.Drawing.Point(271, 23);
this.label21.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
this.label21.Name = "label21";
this.label21.Size = new System.Drawing.Size(39, 17);
@@ -1113,7 +1143,7 @@ namespace TemuKJD.WXForms.ProductForms
// cmbGroupFilter
//
this.cmbGroupFilter.FormattingEnabled = true;
this.cmbGroupFilter.Location = new System.Drawing.Point(178, 74);
this.cmbGroupFilter.Location = new System.Drawing.Point(178, 73);
this.cmbGroupFilter.Name = "cmbGroupFilter";
this.cmbGroupFilter.Size = new System.Drawing.Size(92, 25);
this.cmbGroupFilter.TabIndex = 641;
@@ -1136,7 +1166,7 @@ namespace TemuKJD.WXForms.ProductForms
this.cmbCateFilter2.DropDownWidth = 1;
this.cmbCateFilter2.FormattingEnabled = true;
this.cmbCateFilter2.IntegralHeight = false;
this.cmbCateFilter2.Location = new System.Drawing.Point(178, 20);
this.cmbCateFilter2.Location = new System.Drawing.Point(178, 19);
this.cmbCateFilter2.Name = "cmbCateFilter2";
this.cmbCateFilter2.Size = new System.Drawing.Size(92, 25);
this.cmbCateFilter2.TabIndex = 708;
@@ -1147,7 +1177,7 @@ namespace TemuKJD.WXForms.ProductForms
// label19
//
this.label19.AutoSize = true;
this.label19.Location = new System.Drawing.Point(140, 24);
this.label19.Location = new System.Drawing.Point(140, 23);
this.label19.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
this.label19.Name = "label19";
this.label19.Size = new System.Drawing.Size(39, 17);
@@ -1160,7 +1190,7 @@ namespace TemuKJD.WXForms.ProductForms
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(368, 101);
this.btnClearFilter.Location = new System.Drawing.Point(368, 100);
this.btnClearFilter.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
this.btnClearFilter.Name = "btnClearFilter";
this.btnClearFilter.Size = new System.Drawing.Size(33, 25);
@@ -1198,7 +1228,7 @@ namespace TemuKJD.WXForms.ProductForms
"安全+未校验",
"安全商品",
"未校验"});
this.cmbWxSafe.Location = new System.Drawing.Point(47, 47);
this.cmbWxSafe.Location = new System.Drawing.Point(47, 46);
this.cmbWxSafe.Name = "cmbWxSafe";
this.cmbWxSafe.Size = new System.Drawing.Size(92, 25);
this.cmbWxSafe.TabIndex = 675;
@@ -1237,7 +1267,7 @@ namespace TemuKJD.WXForms.ProductForms
this.cmbCateFilter1.DropDownWidth = 1;
this.cmbCateFilter1.FormattingEnabled = true;
this.cmbCateFilter1.IntegralHeight = false;
this.cmbCateFilter1.Location = new System.Drawing.Point(47, 20);
this.cmbCateFilter1.Location = new System.Drawing.Point(47, 19);
this.cmbCateFilter1.Name = "cmbCateFilter1";
this.cmbCateFilter1.Size = new System.Drawing.Size(92, 25);
this.cmbCateFilter1.TabIndex = 663;
@@ -1248,7 +1278,7 @@ namespace TemuKJD.WXForms.ProductForms
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(9, 24);
this.label2.Location = new System.Drawing.Point(9, 23);
this.label2.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(39, 17);
@@ -1295,19 +1325,18 @@ namespace TemuKJD.WXForms.ProductForms
//
// chkSevenDays
//
this.chkSevenDays.AutoSize = true;
this.chkSevenDays.Location = new System.Drawing.Point(282, 103);
this.chkSevenDays.Location = new System.Drawing.Point(7, 127);
this.chkSevenDays.Name = "chkSevenDays";
this.chkSevenDays.Size = new System.Drawing.Size(87, 21);
this.chkSevenDays.Size = new System.Drawing.Size(87, 17);
this.chkSevenDays.TabIndex = 805;
this.chkSevenDays.Text = "近七日爆款";
this.chkSevenDays.UseVisualStyleBackColor = true;
//
// chkSkipQualification
//
this.chkSkipQualification.Location = new System.Drawing.Point(7, 133);
this.chkSkipQualification.Location = new System.Drawing.Point(7, 144);
this.chkSkipQualification.Name = "chkSkipQualification";
this.chkSkipQualification.Size = new System.Drawing.Size(87, 21);
this.chkSkipQualification.Size = new System.Drawing.Size(87, 17);
this.chkSkipQualification.TabIndex = 806;
this.chkSkipQualification.Text = "跳过资质商品";
this.chkSkipQualification.UseVisualStyleBackColor = true;
@@ -1315,7 +1344,7 @@ namespace TemuKJD.WXForms.ProductForms
// lblSourceType
//
this.lblSourceType.AutoSize = true;
this.lblSourceType.Location = new System.Drawing.Point(16, 78);
this.lblSourceType.Location = new System.Drawing.Point(16, 77);
this.lblSourceType.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
this.lblSourceType.Name = "lblSourceType";
this.lblSourceType.Size = new System.Drawing.Size(32, 17);
@@ -1326,7 +1355,7 @@ namespace TemuKJD.WXForms.ProductForms
// lblGroupFilter
//
this.lblGroupFilter.AutoSize = true;
this.lblGroupFilter.Location = new System.Drawing.Point(147, 78);
this.lblGroupFilter.Location = new System.Drawing.Point(147, 77);
this.lblGroupFilter.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
this.lblGroupFilter.Name = "lblGroupFilter";
this.lblGroupFilter.Size = new System.Drawing.Size(32, 17);
@@ -1337,7 +1366,7 @@ namespace TemuKJD.WXForms.ProductForms
// lblWxSafe
//
this.lblWxSafe.AutoSize = true;
this.lblWxSafe.Location = new System.Drawing.Point(4, 50);
this.lblWxSafe.Location = new System.Drawing.Point(4, 49);
this.lblWxSafe.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
this.lblWxSafe.Name = "lblWxSafe";
this.lblWxSafe.Size = new System.Drawing.Size(44, 17);
@@ -1347,24 +1376,13 @@ namespace TemuKJD.WXForms.ProductForms
// label20
//
this.label20.AutoSize = true;
this.label20.Location = new System.Drawing.Point(147, 51);
this.label20.Location = new System.Drawing.Point(147, 50);
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);
this.label20.TabIndex = 794;
this.label20.Text = "标题";
//
// lblJstInitSet
//
this.lblJstInitSet.AutoSize = true;
this.lblJstInitSet.Location = new System.Drawing.Point(278, 78);
this.lblJstInitSet.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
this.lblJstInitSet.Name = "lblJstInitSet";
this.lblJstInitSet.Size = new System.Drawing.Size(32, 17);
this.lblJstInitSet.TabIndex = 696;
this.lblJstInitSet.Text = "分销";
this.lblJstInitSet.Visible = false;
//
// lblIdFilter
//
this.lblIdFilter.AutoSize = true;
@@ -1376,6 +1394,17 @@ namespace TemuKJD.WXForms.ProductForms
this.lblIdFilter.Text = "ID";
this.lblIdFilter.Visible = false;
//
// lblHot
//
this.lblHot.AutoSize = true;
this.lblHot.Location = new System.Drawing.Point(278, 77);
this.lblHot.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
this.lblHot.Name = "lblHot";
this.lblHot.Size = new System.Drawing.Size(32, 17);
this.lblHot.TabIndex = 836;
this.lblHot.Text = "爆品";
this.lblHot.Visible = false;
//
// ucGroupBoxEx1
//
this.ucGroupBoxEx1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
@@ -1773,19 +1802,19 @@ namespace TemuKJD.WXForms.ProductForms
//
this.dgvShop.AllowUserToAddRows = false;
this.dgvShop.AllowUserToDeleteRows = false;
dataGridViewCellStyle8.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle8;
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)))));
dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle9.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle9.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle9;
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,
@@ -2005,19 +2034,19 @@ namespace TemuKJD.WXForms.ProductForms
//
this.dgvSelectProduct.AllowUserToAddRows = false;
this.dgvSelectProduct.AllowUserToDeleteRows = false;
dataGridViewCellStyle10.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvSelectProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle10;
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)))));
dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle11.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvSelectProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle11;
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,
@@ -2078,8 +2107,8 @@ namespace TemuKJD.WXForms.ProductForms
//
// colSupplierName
//
dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colSupplierName.DefaultCellStyle = dataGridViewCellStyle12;
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colSupplierName.DefaultCellStyle = dataGridViewCellStyle5;
this.colSupplierName.Frozen = true;
this.colSupplierName.HeaderText = "店铺名称";
this.colSupplierName.Name = "colSupplierName";
@@ -2157,8 +2186,8 @@ namespace TemuKJD.WXForms.ProductForms
//
// colProductName
//
dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colProductName.DefaultCellStyle = dataGridViewCellStyle13;
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colProductName.DefaultCellStyle = dataGridViewCellStyle6;
this.colProductName.HeaderText = "商品标题";
this.colProductName.Name = "colProductName";
this.colProductName.ReadOnly = true;
@@ -2218,8 +2247,8 @@ namespace TemuKJD.WXForms.ProductForms
//
// colAddTime
//
dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colAddTime.DefaultCellStyle = dataGridViewCellStyle14;
dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colAddTime.DefaultCellStyle = dataGridViewCellStyle7;
this.colAddTime.HeaderText = "上传时间";
this.colAddTime.Name = "colAddTime";
this.colAddTime.ReadOnly = true;
@@ -2523,5 +2552,7 @@ namespace TemuKJD.WXForms.ProductForms
private UserComponent.UcComboBoxMutiSelect cmbCateFilter1;
private UserComponent.UcComboBoxMutiSelect cmbCateFilter3;
private UserComponent.UcComboBoxMutiSelect cmbCateFilter2;
private System.Windows.Forms.ComboBox cmbHot;
private System.Windows.Forms.Label lblHot;
}
}
@@ -296,10 +296,13 @@ namespace TemuKJD.WXForms.ProductForms
cmbGroupFilter.Visible = true;
lblJstInitSet.Visible = true;
cmbJstInitSet.Visible = true;
lblHot.Visible = true;
cmbHot.Visible = true;
}
if (BaseClass.UserAuthority.ParseToString().Contains("货源选择"))
{
lblSourceType.Visible = true;
cmbSourceType.Visible = true;
if (!string.IsNullOrWhiteSpace(cmbSourceType.Text))
{
@@ -312,7 +315,17 @@ namespace TemuKJD.WXForms.ProductForms
chkWXComplateProd.Visible = true;
chkUseWXComplateProd.Visible = true;
}
//#endif
if (BaseClass.UserAuthority.ParseToString().Contains("爆款数据"))
{
lblHot.Visible = true;
cmbHot.Visible = true;
if (!string.IsNullOrWhiteSpace(cmbSourceType.Text))
{
lblGroupFilter.Visible = true;
cmbGroupFilter.Visible = true;
}
}
//#endif
if (BaseClass.SaLevel == 1)
{
//chkImgRandomBlock.Visible = true;
@@ -476,7 +489,11 @@ namespace TemuKJD.WXForms.ProductForms
string sourceType = cmbSourceType.Text.Trim();
Task.Run(() =>
{
PDDDBProdListForm.GetPDDProductGroup(cmbGroupFilter, sourceType, "", BaseClass.UserAuthority.Contains("机会商品采集") ? ("admin," + BaseClass.UserName) : "admin"); // 同时刷新下商品分组
// 同时刷新下商品分组
string addUserName = BaseClass.UserAuthority.Contains("机会商品采集") ? ("admin," + BaseClass.UserName) : "admin";
if (BaseClass.GroupId != 3)
addUserName = BaseClass.ParentAuthority.Contains("机会商品采集") ? ("admin," + BaseClass.ParentUserName) : "admin";
PDDDBProdListForm.GetPDDProductGroup(cmbGroupFilter, sourceType, "", addUserName); // 同时刷新下商品分组
GetPddProductCate();
Invoke(new Action(() =>
{
@@ -506,7 +523,7 @@ namespace TemuKJD.WXForms.ProductForms
Invoke(new Action(() =>
{
if (cmbSourceType.Text.Trim() != "厂商直采" && cmbSourceType.Text.Trim() != "微信店采")
if (cmbSourceType.Text.Trim() != "厂商直采" && cmbSourceType.Text.Trim() != "微信店采" && cmbSourceType.Text.Trim() != "微信小店")
{
fillPddCate();
}
@@ -1254,6 +1271,8 @@ namespace TemuKJD.WXForms.ProductForms
data += "&wx_safe_status=安全商品,未校验";
if (noBanWx)
data += "&ban_wx=0";
if (BaseClass.SaLevel > 0 || BaseClass.UserAuthority.Contains("爆款数据"))
data += "&special_prod_type=普通商品,书籍,爆款数据";
var html = GetHtml.PostUtf8(url, data);
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
@@ -1355,7 +1374,9 @@ namespace TemuKJD.WXForms.ProductForms
#region 跳过已上传商品
if (chkSkipUploaded.Checked)
{
var searchExtCode = "EC1" + dbProd.spu_id + "A";
var searchExtCode = dbProd.ext_code;
if (searchExtCode.ParseToString().Length < 10)
searchExtCode = "EC1" + dbProd.spu_id + "A";
if (dbProd.sku_secret_json != null && dbProd.sku_secret_json.Contains("goodsId"))
{
var sku_secret_json = dbProd.sku_secret_json;
@@ -1803,7 +1824,7 @@ namespace TemuKJD.WXForms.ProductForms
#region 设置货号
var extCode = dbProd.ext_code.IsNullOrEmpty() ? prodInfo.detail.out_goods_sn : dbProd.ext_code;
if (extCode.IsNullOrEmpty() || extCode.Length < 4)
if (extCode.IsNullOrEmpty() || extCode.Length <= 10)
{
//extCode = "EC" + Randomx.GetId(1000).ToString().PadLeft(3, '0') + dbProd.spu_id + "C";
extCode = "EC1" + dbProd.spu_id + "A";
@@ -2609,8 +2630,24 @@ namespace TemuKJD.WXForms.ProductForms
error = expressRst;
return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"运费模板获取失败 " + error + "\"}";
}
upProdParam.product.info.expressInfo = new expressInfoParam();
upProdParam.product.info.expressInfo.templateId = BaseRegex.GetStringJson(ref expressRst, "templateId");
try
{
var addressArr = JsonHelper.JObjectParse(expressRst)["freightTemplateList"];
foreach (var addressObj in addressArr)
{
if (addressObj["isDefault"].ParseToInt() == 1)
{
string templateId = addressObj["templateId"].ParseToString();
upProdParam.product.info.expressInfo = new expressInfoParam();
upProdParam.product.info.expressInfo.templateId = templateId; // BaseRegex.GetStringJson(ref expressRst, "templateId");
break;
}
}
}
catch (Exception ex)
{
return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"运费模板获取失败 " + ex.Message + "\"}";
}
#endregion
#region 详情图
@@ -3064,7 +3101,7 @@ namespace TemuKJD.WXForms.ProductForms
else if (attr.value == "ml")
{
if ((propInfo.values.FirstOrDefault()?.value).ParseToString().EndsWith(attr.value))
attrValue = propInfo.values.FirstOrDefault()?.value;
attrValue = propInfo.values.FirstOrDefault()?.value.TrimStart('-', ' ');
else
attrValue = "100 ml";
}
@@ -3567,6 +3604,11 @@ namespace TemuKJD.WXForms.ProductForms
skuParam.productSkuInfo.salePrice += (shipPrice * defaultAddPriceRule.ShippingPriceTimes).ParseToInt();
// sku图
skuParam.productSkuInfo.thumbImg = upProdParam.product.info.productSaleAttrs[0].items.FirstOrDefault(a => a.value == skuInfo.spec[0].spec_name)?.imgUrl;
if (dbProd.special_prod_type == "爆款数据")
{
if (!skuInfo.out_sku_sn.StartsWith("BS")) // Best-seller 爆款
skuInfo.out_sku_sn = "BS" + skuInfo.out_sku_sn;
}
skuParam.productSkuInfo.skuCode = skuInfo.out_sku_sn;
skuParam.productSkuInfo.outSkuId = skuInfo.out_sku_sn;
skuParam.productSkuInfo.out_sku_id = skuInfo.out_sku_sn;
@@ -4465,18 +4507,26 @@ namespace TemuKJD.WXForms.ProductForms
data = UserLogin.GetSignaturex() +
"&page=" + 1 +
"&page_size=" + pageSize;
data += "&ban_wx=0";
if (isNotCount)
{
data += "&is_not_count=" + true;
data += "&prod_count=" + totalProdCount;
}
data += "&ban_wx=0";
data += "&in_ext_codes=" + txtExtCodeFilter.Text;
data += "&in_spu_ids=" + txtIdFilter.Text;
data += "&in_groups=" + cmbGroupFilter.Text;
data += "&product_name=" + txtSearchGoodsName.Text.Trim();
data += "&add_user_name=" + (BaseClass.UserAuthority.Contains("机会商品采集") ? ("admin," + BaseClass.UserName) : "admin");
// 同时刷新下商品分组
string addUserName = BaseClass.UserAuthority.Contains("机会商品采集") ? ("admin," + BaseClass.UserName) : "admin";
if (BaseClass.GroupId != 3)
addUserName = BaseClass.ParentAuthority.Contains("机会商品采集") ? ("admin," + BaseClass.ParentUserName) : "admin";
data += "&add_user_name=" + addUserName;
// 采集来源判断
data += "&product_get_type=" + cmbSourceType.Text.Trim();
if (cmbSourceType.Text != "厂商直采" && cmbSourceType.Text != "1688厂家" && cmbSourceType.Text != "微信店采" && cmbSourceType.Text != "微信小店")
data += "&in_cates=" + (cmbCateFilter1.Text == "全部" ? "" : cmbCateFilter1.Text);
else
@@ -4520,14 +4570,24 @@ namespace TemuKJD.WXForms.ProductForms
if (!string.IsNullOrEmpty(cmbCateFilter3.Text) && selectCate3?.Count > 0)
data += "&wx_cat_3=" + string.Join(",", selectCate3.Select(c => c.cat_id).ToList());
}
data += "&product_get_type=" + cmbSourceType.Text.Trim();
data += "&wx_safe_status=" + cmbWxSafe.Text.Trim().Replace("安全+未校验", "安全商品,未校验");
data += "&is_supplier_prod_ok=" + cmbJstInitSet.Text.Trim();
data += "&product_name=" + txtSearchGoodsName.Text.Trim();
// 爆款数据商品
if (!string.IsNullOrWhiteSpace(cmbHot.Text.Trim()))
data += "&special_prod_type=" + cmbHot.Text.Replace("普通商品", "普通商品,书籍");
else
data += "&special_prod_type=普通商品,书籍";
// 聚水潭商品处理条件校验
data += "&is_supplier_prod_ok=" + cmbJstInitSet.Text.Trim();
// 微信安全商品检测
data += "&wx_safe_status=" + cmbWxSafe.Text.Trim().Replace("安全+未校验", "安全商品,未校验");
// 7天爆款数据
if (chkSevenDays.Checked)
data += "&add_days_less=21";
// 回采数据
if (chkWXComplateProd.Checked)
data += "&has_wx_format=1";
}));
@@ -4748,6 +4808,7 @@ namespace TemuKJD.WXForms.ProductForms
cmbCateFilter1.Text = "";
cmbWxSafe.Text = "安全+未校验";
cmbSourceType.Text = "厂商直采";
cmbHot.Text = "普通商品";
chkSkipQualification.Checked = false;
int prodCount;
@@ -4941,7 +5002,11 @@ namespace TemuKJD.WXForms.ProductForms
string sourceType = cmbSourceType.Text.Trim();
Task.Run(() =>
{
PDDDBProdListForm.GetPDDProductGroup(cmbGroupFilter, sourceType, "", BaseClass.UserAuthority.Contains("机会商品采集") ? ("admin," + BaseClass.UserName) : "admin"); // 同时刷新下商品分组
// 同时刷新下商品分组
string addUserName = BaseClass.UserAuthority.Contains("机会商品采集") ? ("admin," + BaseClass.UserName) : "admin";
if (BaseClass.GroupId != 3)
addUserName = BaseClass.ParentAuthority.Contains("机会商品采集") ? ("admin," + BaseClass.ParentUserName) : "admin";
PDDDBProdListForm.GetPDDProductGroup(cmbGroupFilter, sourceType, "", addUserName); // 同时刷新下商品分组
});
if (!string.IsNullOrWhiteSpace(cmbSourceType.Text))
{
@@ -5248,6 +5313,20 @@ namespace TemuKJD.WXForms.ProductForms
lblWaitToUp.Text = "待上传 " + lstTemuDBProductSelect.Count + " 件";
}));
}
private void cmbHot_TextChanged(object sender, EventArgs e)
{
if (cmbHot.Text == "爆款数据")
{
cmbSourceType.Text = "";
cmbJstInitSet.Text = "未设置";
}
else
{
cmbSourceType.Text = "厂商直采";
cmbJstInitSet.Text = "已设置";
}
}
}
public class WXUpload
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,228 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="colSelect.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colShopLoginName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colShopId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colShopNotes.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colSelectProduct.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colLoginStatus.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colApi.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colCanUse.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colUploadCount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colOnSaleNum.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colRemaining.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colMessage.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colCheck.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colSelectId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colSupplierId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colSupplierName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colLogin.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colInShop.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colSpuId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colDraftId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colImgUrl.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colProductSkcPic.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colSkuFakeImgUrl.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colSkuFakeImg.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colProductName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colProductCat.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colExtCode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colPrice.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colSoldNum.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colMsg.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colPreSale.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colNotes.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colUserNotes.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ColDelete.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colAddTime.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colOpResult.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>
+10 -10
View File
@@ -209,9 +209,9 @@ namespace TemuKJD.WXForms.ProductForms
this.ucGroupBoxEx3.Controls.Add(this.btnStopUpDownOrDel);
this.ucGroupBoxEx3.Controls.Add(this.btnClearList);
this.ucGroupBoxEx3.Controls.Add(this.btnDown);
this.ucGroupBoxEx3.Location = new System.Drawing.Point(995, 2);
this.ucGroupBoxEx3.Location = new System.Drawing.Point(994, 2);
this.ucGroupBoxEx3.Name = "ucGroupBoxEx3";
this.ucGroupBoxEx3.Size = new System.Drawing.Size(349, 165);
this.ucGroupBoxEx3.Size = new System.Drawing.Size(350, 165);
this.ucGroupBoxEx3.TabIndex = 668;
this.ucGroupBoxEx3.TabStop = false;
this.ucGroupBoxEx3.Text = "商品下架";
@@ -223,7 +223,7 @@ namespace TemuKJD.WXForms.ProductForms
this.btnBatchRealDel.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnBatchRealDel.DisabledBackColor = System.Drawing.Color.Empty;
this.btnBatchRealDel.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnBatchRealDel.Location = new System.Drawing.Point(243, 91);
this.btnBatchRealDel.Location = new System.Drawing.Point(244, 91);
this.btnBatchRealDel.Name = "btnBatchRealDel";
this.btnBatchRealDel.Size = new System.Drawing.Size(84, 23);
this.btnBatchRealDel.Style.Alignment = System.Drawing.StringAlignment.Center;
@@ -296,7 +296,7 @@ namespace TemuKJD.WXForms.ProductForms
this.btnBatchDel.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnBatchDel.DisabledBackColor = System.Drawing.Color.Empty;
this.btnBatchDel.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnBatchDel.Location = new System.Drawing.Point(243, 61);
this.btnBatchDel.Location = new System.Drawing.Point(244, 61);
this.btnBatchDel.Name = "btnBatchDel";
this.btnBatchDel.Size = new System.Drawing.Size(84, 23);
this.btnBatchDel.Style.Alignment = System.Drawing.StringAlignment.Center;
@@ -363,7 +363,7 @@ namespace TemuKJD.WXForms.ProductForms
this.btnStopUpDownOrDel.CanvasColor = System.Drawing.SystemColors.Control;
this.btnStopUpDownOrDel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnStopUpDownOrDel.DisabledBackColor = System.Drawing.Color.Empty;
this.btnStopUpDownOrDel.Location = new System.Drawing.Point(243, 121);
this.btnStopUpDownOrDel.Location = new System.Drawing.Point(244, 121);
this.btnStopUpDownOrDel.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
this.btnStopUpDownOrDel.Name = "btnStopUpDownOrDel";
this.btnStopUpDownOrDel.Size = new System.Drawing.Size(84, 23);
@@ -389,7 +389,7 @@ namespace TemuKJD.WXForms.ProductForms
this.btnClearList.CanvasColor = System.Drawing.SystemColors.Control;
this.btnClearList.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnClearList.DisabledBackColor = System.Drawing.Color.Empty;
this.btnClearList.Location = new System.Drawing.Point(32, 121);
this.btnClearList.Location = new System.Drawing.Point(33, 121);
this.btnClearList.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
this.btnClearList.Name = "btnClearList";
this.btnClearList.Size = new System.Drawing.Size(84, 23);
@@ -416,7 +416,7 @@ namespace TemuKJD.WXForms.ProductForms
this.btnDown.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnDown.DisabledBackColor = System.Drawing.Color.Empty;
this.btnDown.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnDown.Location = new System.Drawing.Point(243, 31);
this.btnDown.Location = new System.Drawing.Point(244, 31);
this.btnDown.Name = "btnDown";
this.btnDown.Size = new System.Drawing.Size(84, 23);
this.btnDown.Style.Alignment = System.Drawing.StringAlignment.Center;
@@ -450,7 +450,7 @@ namespace TemuKJD.WXForms.ProductForms
this.ucGroupBoxEx2.Controls.Add(this.btnStop);
this.ucGroupBoxEx2.Controls.Add(this.btnClearDgv);
this.ucGroupBoxEx2.Controls.Add(this.btnSetPreSale);
this.ucGroupBoxEx2.Location = new System.Drawing.Point(571, 2);
this.ucGroupBoxEx2.Location = new System.Drawing.Point(570, 2);
this.ucGroupBoxEx2.Name = "ucGroupBoxEx2";
this.ucGroupBoxEx2.Size = new System.Drawing.Size(425, 165);
this.ucGroupBoxEx2.TabIndex = 667;
@@ -609,7 +609,7 @@ namespace TemuKJD.WXForms.ProductForms
this.ucGroupBoxEx4.Controls.Add(this.lblExtCodeFilter);
this.ucGroupBoxEx4.Controls.Add(this.btnSearchProd);
this.ucGroupBoxEx4.Controls.Add(this.label5);
this.ucGroupBoxEx4.Location = new System.Drawing.Point(162, 2);
this.ucGroupBoxEx4.Location = new System.Drawing.Point(161, 2);
this.ucGroupBoxEx4.Name = "ucGroupBoxEx4";
this.ucGroupBoxEx4.Size = new System.Drawing.Size(410, 165);
this.ucGroupBoxEx4.TabIndex = 666;
@@ -849,7 +849,7 @@ namespace TemuKJD.WXForms.ProductForms
this.ucGroupBoxEx1.Controls.Add(this.txtFilterShopName);
this.ucGroupBoxEx1.Controls.Add(this.btnRefreshShop);
this.ucGroupBoxEx1.Controls.Add(this.label17);
this.ucGroupBoxEx1.Location = new System.Drawing.Point(3, 2);
this.ucGroupBoxEx1.Location = new System.Drawing.Point(2, 2);
this.ucGroupBoxEx1.Name = "ucGroupBoxEx1";
this.ucGroupBoxEx1.Size = new System.Drawing.Size(160, 165);
this.ucGroupBoxEx1.TabIndex = 399;
+21 -17
View File
@@ -30,17 +30,19 @@
{
System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("选品上传");
System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("商品预售/下架");
System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("爆单神器");
System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("达人广场");
System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("商品同步");
System.Windows.Forms.TreeNode treeNode6 = new System.Windows.Forms.TreeNode("机会商品采集");
System.Windows.Forms.TreeNode treeNode7 = new System.Windows.Forms.TreeNode("商品管理", new System.Windows.Forms.TreeNode[] {
System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("清理无流量");
System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("爆单神器");
System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("达人广场");
System.Windows.Forms.TreeNode treeNode6 = new System.Windows.Forms.TreeNode("商品同步");
System.Windows.Forms.TreeNode treeNode7 = new System.Windows.Forms.TreeNode("机会商品采集");
System.Windows.Forms.TreeNode treeNode8 = new System.Windows.Forms.TreeNode("商品管理", new System.Windows.Forms.TreeNode[] {
treeNode1,
treeNode2,
treeNode3,
treeNode4,
treeNode5,
treeNode6});
treeNode6,
treeNode7});
this.panel1 = new System.Windows.Forms.Panel();
this.panel3 = new System.Windows.Forms.Panel();
this.panel2 = new System.Windows.Forms.Panel();
@@ -135,18 +137,20 @@
treeNode1.Text = "选品上传";
treeNode2.Name = "商品预售/下架";
treeNode2.Text = "商品预售/下架";
treeNode3.Name = "爆单神器";
treeNode3.Text = "爆单神器";
treeNode4.Name = "达人广场";
treeNode4.Text = "达人广场";
treeNode5.Name = "商品同步";
treeNode5.Text = "商品同步";
treeNode6.Name = "机会商品采集";
treeNode6.Text = "机会商品采集";
treeNode7.Name = "商品管理";
treeNode7.Text = "商品管理";
treeNode3.Name = "清理无流量";
treeNode3.Text = "清理无流量";
treeNode4.Name = "爆单神器";
treeNode4.Text = "爆单神器";
treeNode5.Name = "达人广场";
treeNode5.Text = "达人广场";
treeNode6.Name = "商品同步";
treeNode6.Text = "商品同步";
treeNode7.Name = "机会商品采集";
treeNode7.Text = "机会商品采集";
treeNode8.Name = "商品管理";
treeNode8.Text = "商品管理";
this.tv.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
treeNode7});
treeNode8});
this.tv.OverForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
this.tv.Size = new System.Drawing.Size(140, 521);
this.tv.TabIndex = 1;
@@ -19,6 +19,7 @@ namespace TemuKJD.WXForms.ProductForms
public static WXProductForm instance;
public Lazy<WXDBProdUploadForm> userSelectDbProductForm = new Lazy<WXDBProdUploadForm>();
public Lazy<WXProdPreSaleForm> wxProdPreSaleForm = new Lazy<WXProdPreSaleForm>();
public Lazy<WXProdClearNoVisitForm> wxProdClearNoVisitForm = new Lazy<WXProdClearNoVisitForm>();
public Lazy<WXProdCouponOrderBoomForm> wxProdCouponForm = new Lazy<WXProdCouponOrderBoomForm>();
public Lazy<WXProdSyncForm> wxProdSyncForm = new Lazy<WXProdSyncForm>();
public Lazy<WXFinderSquareForm> wxFinderSquareForm = new Lazy<WXFinderSquareForm>();
@@ -32,7 +33,7 @@ namespace TemuKJD.WXForms.ProductForms
{
tv.SelectedNode = tv.Nodes[0].Nodes[0];
tv.ExpandGroup(tv.Nodes[0].Name);
List<string> hideName = new List<string>() { "机会商品采集", "商品列表", "爆单神器1", "商品同步1" };
List<string> hideName = new List<string>() { "清理无流量", "机会商品采集", "商品列表", "爆单神器1", "商品同步1" };
if (BaseClass.UserAuthority.Contains("机会商品采集"))
hideName.Remove("机会商品采集");
@@ -79,6 +80,9 @@ namespace TemuKJD.WXForms.ProductForms
case "商品预售/下架":
SetForm(wxProdPreSaleForm.Value);
break;
case "清理无流量":
SetForm(wxProdClearNoVisitForm.Value);
break;
case "爆单神器":
SetForm(wxProdCouponForm.Value);
break;
+172 -136
View File
@@ -51,15 +51,13 @@ namespace TemuKJD.WXForms.ProductForms
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WXUserProdListForm));
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.lblSetShop = new System.Windows.Forms.Label();
this.cmbRelation = new System.Windows.Forms.ComboBox();
this.lblRelation = new System.Windows.Forms.Label();
this.btnSetShop = new DevComponents.DotNetBar.PanelEx();
this.btnSelect = new DevComponents.DotNetBar.PanelEx();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.lblRelation = new System.Windows.Forms.Label();
this.txtCatBoundLessThan = new System.Windows.Forms.TextBox();
this.txtCatBoundMoreThan = new System.Windows.Forms.TextBox();
this.chkCatBoundLessThan = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.chkCatBoundMoreThan = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.cmbHot = new System.Windows.Forms.ComboBox();
this.lblHot = new System.Windows.Forms.Label();
this.btnSearch = new DevComponents.DotNetBar.PanelEx();
this.btnEmpty = new DevComponents.DotNetBar.PanelEx();
this.cmbCat3 = new TemuKJD.UserComponent.UcComboBoxMutiSelect();
@@ -72,11 +70,15 @@ namespace TemuKJD.WXForms.ProductForms
this.label3 = new System.Windows.Forms.Label();
this.lblWxSafe = new System.Windows.Forms.Label();
this.cmbWxSafe = new System.Windows.Forms.ComboBox();
this.lblGroup = new System.Windows.Forms.Label();
this.chkCatBoundMoreThan = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.txtCatBoundMoreThan = new System.Windows.Forms.TextBox();
this.chkCatBoundLessThan = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.txtCatBoundLessThan = new System.Windows.Forms.TextBox();
this.cmbGroupFilter = new System.Windows.Forms.ComboBox();
this.cmbSourceType = new System.Windows.Forms.ComboBox();
this.lblSourceType = new System.Windows.Forms.Label();
this.cmbRelation = new System.Windows.Forms.ComboBox();
this.lblGroup = new System.Windows.Forms.Label();
this.cmbSourceType = new System.Windows.Forms.ComboBox();
this.lblSetShop = new System.Windows.Forms.Label();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.btnStopStop = new DevComponents.DotNetBar.PanelEx();
this.pnlSetShop = new System.Windows.Forms.Panel();
@@ -181,10 +183,12 @@ namespace TemuKJD.WXForms.ProductForms
//
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add(this.lblSetShop);
this.splitContainer1.Panel1.Controls.Add(this.cmbRelation);
this.splitContainer1.Panel1.Controls.Add(this.lblRelation);
this.splitContainer1.Panel1.Controls.Add(this.btnSetShop);
this.splitContainer1.Panel1.Controls.Add(this.btnSelect);
this.splitContainer1.Panel1.Controls.Add(this.tableLayoutPanel1);
this.splitContainer1.Panel1.Controls.Add(this.lblSetShop);
//
// splitContainer1.Panel2
//
@@ -193,18 +197,32 @@ namespace TemuKJD.WXForms.ProductForms
this.splitContainer1.SplitterDistance = 74;
this.splitContainer1.TabIndex = 1;
//
// lblSetShop
// cmbRelation
//
this.lblSetShop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.lblSetShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lblSetShop.ForeColor = System.Drawing.Color.DarkOrange;
this.lblSetShop.Location = new System.Drawing.Point(1206, 45);
this.lblSetShop.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
this.lblSetShop.Name = "lblSetShop";
this.lblSetShop.Size = new System.Drawing.Size(214, 17);
this.lblSetShop.TabIndex = 718;
this.lblSetShop.Text = "指定店铺:";
this.lblSetShop.TextAlign = System.Drawing.ContentAlignment.TopRight;
this.cmbRelation.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.cmbRelation.FormattingEnabled = true;
this.cmbRelation.Items.AddRange(new object[] {
"",
"是",
"否"});
this.cmbRelation.Location = new System.Drawing.Point(1267, 42);
this.cmbRelation.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbRelation.Name = "cmbRelation";
this.cmbRelation.Size = new System.Drawing.Size(153, 25);
this.cmbRelation.TabIndex = 882;
this.cmbRelation.Visible = false;
//
// lblRelation
//
this.lblRelation.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.lblRelation.AutoSize = true;
this.lblRelation.Location = new System.Drawing.Point(1201, 46);
this.lblRelation.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
this.lblRelation.Name = "lblRelation";
this.lblRelation.Size = new System.Drawing.Size(68, 17);
this.lblRelation.TabIndex = 884;
this.lblRelation.Text = "数据转换:";
this.lblRelation.Visible = false;
//
// btnSetShop
//
@@ -273,11 +291,8 @@ namespace TemuKJD.WXForms.ProductForms
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanel1.Controls.Add(this.lblRelation, 8, 1);
this.tableLayoutPanel1.Controls.Add(this.txtCatBoundLessThan, 5, 1);
this.tableLayoutPanel1.Controls.Add(this.txtCatBoundMoreThan, 3, 1);
this.tableLayoutPanel1.Controls.Add(this.chkCatBoundLessThan, 4, 1);
this.tableLayoutPanel1.Controls.Add(this.chkCatBoundMoreThan, 2, 1);
this.tableLayoutPanel1.Controls.Add(this.cmbHot, 9, 0);
this.tableLayoutPanel1.Controls.Add(this.lblHot, 8, 0);
this.tableLayoutPanel1.Controls.Add(this.btnSearch, 10, 0);
this.tableLayoutPanel1.Controls.Add(this.btnEmpty, 11, 0);
this.tableLayoutPanel1.Controls.Add(this.cmbCat3, 7, 0);
@@ -290,11 +305,14 @@ namespace TemuKJD.WXForms.ProductForms
this.tableLayoutPanel1.Controls.Add(this.label3, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.lblWxSafe, 0, 1);
this.tableLayoutPanel1.Controls.Add(this.cmbWxSafe, 1, 1);
this.tableLayoutPanel1.Controls.Add(this.lblGroup, 8, 0);
this.tableLayoutPanel1.Controls.Add(this.cmbGroupFilter, 9, 0);
this.tableLayoutPanel1.Controls.Add(this.cmbSourceType, 7, 1);
this.tableLayoutPanel1.Controls.Add(this.chkCatBoundMoreThan, 2, 1);
this.tableLayoutPanel1.Controls.Add(this.txtCatBoundMoreThan, 3, 1);
this.tableLayoutPanel1.Controls.Add(this.chkCatBoundLessThan, 4, 1);
this.tableLayoutPanel1.Controls.Add(this.txtCatBoundLessThan, 5, 1);
this.tableLayoutPanel1.Controls.Add(this.cmbGroupFilter, 9, 1);
this.tableLayoutPanel1.Controls.Add(this.lblSourceType, 6, 1);
this.tableLayoutPanel1.Controls.Add(this.cmbRelation, 9, 1);
this.tableLayoutPanel1.Controls.Add(this.lblGroup, 8, 1);
this.tableLayoutPanel1.Controls.Add(this.cmbSourceType, 7, 1);
this.tableLayoutPanel1.Location = new System.Drawing.Point(4, 4);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 3;
@@ -304,63 +322,34 @@ namespace TemuKJD.WXForms.ProductForms
this.tableLayoutPanel1.Size = new System.Drawing.Size(1193, 105);
this.tableLayoutPanel1.TabIndex = 679;
//
// lblRelation
// cmbHot
//
this.lblRelation.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.lblRelation.AutoSize = true;
this.lblRelation.Location = new System.Drawing.Point(870, 44);
this.lblRelation.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
this.lblRelation.Name = "lblRelation";
this.lblRelation.Size = new System.Drawing.Size(68, 17);
this.lblRelation.TabIndex = 884;
this.lblRelation.Text = "数据转换:";
this.lblRelation.Visible = false;
this.cmbHot.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.cmbHot.FormattingEnabled = true;
this.cmbHot.Items.AddRange(new object[] {
"",
"爆款数据",
"普通商品"});
this.cmbHot.Location = new System.Drawing.Point(934, 7);
this.cmbHot.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbHot.Name = "cmbHot";
this.cmbHot.Size = new System.Drawing.Size(151, 25);
this.cmbHot.TabIndex = 882;
this.cmbHot.Text = "普通商品";
this.cmbHot.Visible = false;
this.cmbHot.TextChanged += new System.EventHandler(this.cmbHot_TextChanged);
//
// txtCatBoundLessThan
// lblHot
//
this.txtCatBoundLessThan.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.txtCatBoundLessThan.Location = new System.Drawing.Point(515, 41);
this.txtCatBoundLessThan.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.txtCatBoundLessThan.Name = "txtCatBoundLessThan";
this.txtCatBoundLessThan.Size = new System.Drawing.Size(146, 23);
this.txtCatBoundLessThan.TabIndex = 883;
this.txtCatBoundLessThan.Text = "100000";
this.txtCatBoundLessThan.Visible = false;
//
// txtCatBoundMoreThan
//
this.txtCatBoundMoreThan.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.txtCatBoundMoreThan.Location = new System.Drawing.Point(293, 41);
this.txtCatBoundMoreThan.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.txtCatBoundMoreThan.Name = "txtCatBoundMoreThan";
this.txtCatBoundMoreThan.Size = new System.Drawing.Size(146, 23);
this.txtCatBoundMoreThan.TabIndex = 882;
this.txtCatBoundMoreThan.Text = "1000";
this.txtCatBoundMoreThan.Visible = false;
//
// chkCatBoundLessThan
//
this.chkCatBoundLessThan.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.chkCatBoundLessThan.Location = new System.Drawing.Point(448, 42);
this.chkCatBoundLessThan.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3);
this.chkCatBoundLessThan.Name = "chkCatBoundLessThan";
this.chkCatBoundLessThan.Size = new System.Drawing.Size(64, 21);
this.chkCatBoundLessThan.TabIndex = 882;
this.chkCatBoundLessThan.Text = "保证金≤";
this.chkCatBoundLessThan.UseVisualStyleBackColor = true;
this.chkCatBoundLessThan.CheckedChanged += new System.EventHandler(this.chkCatBoundLessThan_CheckedChanged);
//
// chkCatBoundMoreThan
//
this.chkCatBoundMoreThan.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.chkCatBoundMoreThan.Location = new System.Drawing.Point(226, 42);
this.chkCatBoundMoreThan.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3);
this.chkCatBoundMoreThan.Name = "chkCatBoundMoreThan";
this.chkCatBoundMoreThan.Size = new System.Drawing.Size(64, 21);
this.chkCatBoundMoreThan.TabIndex = 815;
this.chkCatBoundMoreThan.Text = "保证金≥";
this.chkCatBoundMoreThan.UseVisualStyleBackColor = true;
this.chkCatBoundMoreThan.CheckedChanged += new System.EventHandler(this.chkCatBoundMoreThan_CheckedChanged);
this.lblHot.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.lblHot.AutoSize = true;
this.lblHot.Location = new System.Drawing.Point(890, 9);
this.lblHot.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
this.lblHot.Name = "lblHot";
this.lblHot.Size = new System.Drawing.Size(44, 17);
this.lblHot.TabIndex = 882;
this.lblHot.Text = "爆品:";
this.lblHot.Visible = false;
//
// btnSearch
//
@@ -369,7 +358,7 @@ namespace TemuKJD.WXForms.ProductForms
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(1090, 5);
this.btnSearch.Location = new System.Drawing.Point(1091, 5);
this.btnSearch.Name = "btnSearch";
this.btnSearch.Size = new System.Drawing.Size(46, 25);
this.btnSearch.Style.Alignment = System.Drawing.StringAlignment.Center;
@@ -393,7 +382,7 @@ namespace TemuKJD.WXForms.ProductForms
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(1142, 5);
this.btnEmpty.Location = new System.Drawing.Point(1143, 5);
this.btnEmpty.Name = "btnEmpty";
this.btnEmpty.Size = new System.Drawing.Size(46, 25);
this.btnEmpty.Style.Alignment = System.Drawing.StringAlignment.Center;
@@ -420,10 +409,10 @@ namespace TemuKJD.WXForms.ProductForms
this.cmbCat3.DropDownWidth = 1;
this.cmbCat3.FormattingEnabled = true;
this.cmbCat3.IntegralHeight = false;
this.cmbCat3.Location = new System.Drawing.Point(718, 5);
this.cmbCat3.Location = new System.Drawing.Point(733, 5);
this.cmbCat3.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbCat3.Name = "cmbCat3";
this.cmbCat3.Size = new System.Drawing.Size(146, 25);
this.cmbCat3.Size = new System.Drawing.Size(151, 25);
this.cmbCat3.TabIndex = 811;
this.cmbCat3.Text = "全部";
this.cmbCat3.SelectedIndexChanged += new System.EventHandler(this.cmbCat3_SelectedIndexChanged);
@@ -433,7 +422,7 @@ namespace TemuKJD.WXForms.ProductForms
//
this.label17.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.label17.AutoSize = true;
this.label17.Location = new System.Drawing.Point(667, 9);
this.label17.Location = new System.Drawing.Point(682, 9);
this.label17.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
this.label17.Name = "label17";
this.label17.Size = new System.Drawing.Size(51, 17);
@@ -448,10 +437,10 @@ namespace TemuKJD.WXForms.ProductForms
this.cmbCat2.DropDownWidth = 1;
this.cmbCat2.FormattingEnabled = true;
this.cmbCat2.IntegralHeight = false;
this.cmbCat2.Location = new System.Drawing.Point(515, 5);
this.cmbCat2.Location = new System.Drawing.Point(525, 5);
this.cmbCat2.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbCat2.Name = "cmbCat2";
this.cmbCat2.Size = new System.Drawing.Size(146, 25);
this.cmbCat2.Size = new System.Drawing.Size(151, 25);
this.cmbCat2.TabIndex = 804;
this.cmbCat2.Text = "全部";
this.cmbCat2.SelectedIndexChanged += new System.EventHandler(this.cmbCat2_SelectedIndexChanged);
@@ -461,7 +450,7 @@ namespace TemuKJD.WXForms.ProductForms
//
this.label14.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.label14.AutoSize = true;
this.label14.Location = new System.Drawing.Point(464, 9);
this.label14.Location = new System.Drawing.Point(474, 9);
this.label14.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(51, 17);
@@ -476,10 +465,10 @@ namespace TemuKJD.WXForms.ProductForms
this.cmbCat1.DropDownWidth = 1;
this.cmbCat1.FormattingEnabled = true;
this.cmbCat1.IntegralHeight = false;
this.cmbCat1.Location = new System.Drawing.Point(293, 7);
this.cmbCat1.Location = new System.Drawing.Point(298, 7);
this.cmbCat1.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbCat1.Name = "cmbCat1";
this.cmbCat1.Size = new System.Drawing.Size(146, 25);
this.cmbCat1.Size = new System.Drawing.Size(151, 25);
this.cmbCat1.TabIndex = 805;
this.cmbCat1.Text = "全部";
this.cmbCat1.SelectedIndexChanged += new System.EventHandler(this.cmbCat1_SelectedIndexChanged);
@@ -489,7 +478,7 @@ namespace TemuKJD.WXForms.ProductForms
//
this.label2.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(242, 9);
this.label2.Location = new System.Drawing.Point(247, 9);
this.label2.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(51, 17);
@@ -502,7 +491,7 @@ namespace TemuKJD.WXForms.ProductForms
this.txtProdName.Location = new System.Drawing.Point(71, 6);
this.txtProdName.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.txtProdName.Name = "txtProdName";
this.txtProdName.Size = new System.Drawing.Size(146, 23);
this.txtProdName.Size = new System.Drawing.Size(151, 23);
this.txtProdName.TabIndex = 427;
//
// label3
@@ -539,15 +528,84 @@ namespace TemuKJD.WXForms.ProductForms
this.cmbWxSafe.Location = new System.Drawing.Point(71, 42);
this.cmbWxSafe.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbWxSafe.Name = "cmbWxSafe";
this.cmbWxSafe.Size = new System.Drawing.Size(146, 25);
this.cmbWxSafe.Size = new System.Drawing.Size(151, 25);
this.cmbWxSafe.TabIndex = 676;
this.cmbWxSafe.Text = "安全+未校验";
//
// chkCatBoundMoreThan
//
this.chkCatBoundMoreThan.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.chkCatBoundMoreThan.Location = new System.Drawing.Point(231, 42);
this.chkCatBoundMoreThan.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3);
this.chkCatBoundMoreThan.Name = "chkCatBoundMoreThan";
this.chkCatBoundMoreThan.Size = new System.Drawing.Size(64, 21);
this.chkCatBoundMoreThan.TabIndex = 815;
this.chkCatBoundMoreThan.Text = "保证金≥";
this.chkCatBoundMoreThan.UseVisualStyleBackColor = true;
this.chkCatBoundMoreThan.CheckedChanged += new System.EventHandler(this.chkCatBoundMoreThan_CheckedChanged);
//
// txtCatBoundMoreThan
//
this.txtCatBoundMoreThan.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.txtCatBoundMoreThan.Location = new System.Drawing.Point(298, 41);
this.txtCatBoundMoreThan.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.txtCatBoundMoreThan.Name = "txtCatBoundMoreThan";
this.txtCatBoundMoreThan.Size = new System.Drawing.Size(151, 23);
this.txtCatBoundMoreThan.TabIndex = 882;
this.txtCatBoundMoreThan.Text = "1000";
this.txtCatBoundMoreThan.Visible = false;
//
// chkCatBoundLessThan
//
this.chkCatBoundLessThan.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.chkCatBoundLessThan.Location = new System.Drawing.Point(458, 42);
this.chkCatBoundLessThan.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3);
this.chkCatBoundLessThan.Name = "chkCatBoundLessThan";
this.chkCatBoundLessThan.Size = new System.Drawing.Size(64, 21);
this.chkCatBoundLessThan.TabIndex = 882;
this.chkCatBoundLessThan.Text = "保证金≤";
this.chkCatBoundLessThan.UseVisualStyleBackColor = true;
this.chkCatBoundLessThan.CheckedChanged += new System.EventHandler(this.chkCatBoundLessThan_CheckedChanged);
//
// txtCatBoundLessThan
//
this.txtCatBoundLessThan.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.txtCatBoundLessThan.Location = new System.Drawing.Point(525, 41);
this.txtCatBoundLessThan.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.txtCatBoundLessThan.Name = "txtCatBoundLessThan";
this.txtCatBoundLessThan.Size = new System.Drawing.Size(151, 23);
this.txtCatBoundLessThan.TabIndex = 883;
this.txtCatBoundLessThan.Text = "100000";
this.txtCatBoundLessThan.Visible = false;
//
// cmbGroupFilter
//
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(934, 40);
this.cmbGroupFilter.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbGroupFilter.Name = "cmbGroupFilter";
this.cmbGroupFilter.Size = new System.Drawing.Size(151, 25);
this.cmbGroupFilter.TabIndex = 653;
this.cmbGroupFilter.Visible = false;
//
// lblSourceType
//
this.lblSourceType.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.lblSourceType.AutoSize = true;
this.lblSourceType.Location = new System.Drawing.Point(689, 44);
this.lblSourceType.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
this.lblSourceType.Name = "lblSourceType";
this.lblSourceType.Size = new System.Drawing.Size(44, 17);
this.lblSourceType.TabIndex = 651;
this.lblSourceType.Text = "来源:";
this.lblSourceType.Visible = false;
//
// lblGroup
//
this.lblGroup.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.lblGroup.AutoSize = true;
this.lblGroup.Location = new System.Drawing.Point(894, 9);
this.lblGroup.Location = new System.Drawing.Point(890, 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);
@@ -555,17 +613,6 @@ namespace TemuKJD.WXForms.ProductForms
this.lblGroup.Text = "分组:";
this.lblGroup.Visible = false;
//
// cmbGroupFilter
//
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(938, 5);
this.cmbGroupFilter.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbGroupFilter.Name = "cmbGroupFilter";
this.cmbGroupFilter.Size = new System.Drawing.Size(146, 25);
this.cmbGroupFilter.TabIndex = 653;
this.cmbGroupFilter.Visible = false;
//
// cmbSourceType
//
this.cmbSourceType.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
@@ -580,42 +627,28 @@ namespace TemuKJD.WXForms.ProductForms
"机会商品",
"以图搜品",
"外部数据"});
this.cmbSourceType.Location = new System.Drawing.Point(718, 40);
this.cmbSourceType.Location = new System.Drawing.Point(733, 40);
this.cmbSourceType.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbSourceType.Name = "cmbSourceType";
this.cmbSourceType.Size = new System.Drawing.Size(146, 25);
this.cmbSourceType.Size = new System.Drawing.Size(151, 25);
this.cmbSourceType.TabIndex = 654;
this.cmbSourceType.Text = "厂商直采";
this.cmbSourceType.Visible = false;
this.cmbSourceType.SelectedIndexChanged += new System.EventHandler(this.cmbSourceType_SelectedIndexChanged);
this.cmbSourceType.TextChanged += new System.EventHandler(this.cmbSourceType_SelectedIndexChanged);
//
// lblSourceType
// lblSetShop
//
this.lblSourceType.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.lblSourceType.AutoSize = true;
this.lblSourceType.Location = new System.Drawing.Point(674, 44);
this.lblSourceType.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
this.lblSourceType.Name = "lblSourceType";
this.lblSourceType.Size = new System.Drawing.Size(44, 17);
this.lblSourceType.TabIndex = 651;
this.lblSourceType.Text = "来源:";
this.lblSourceType.Visible = false;
//
// cmbRelation
//
this.cmbRelation.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.cmbRelation.FormattingEnabled = true;
this.cmbRelation.Items.AddRange(new object[] {
"",
"是",
"否"});
this.cmbRelation.Location = new System.Drawing.Point(938, 40);
this.cmbRelation.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbRelation.Name = "cmbRelation";
this.cmbRelation.Size = new System.Drawing.Size(146, 25);
this.cmbRelation.TabIndex = 882;
this.cmbRelation.Visible = false;
this.lblSetShop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.lblSetShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lblSetShop.ForeColor = System.Drawing.Color.DarkOrange;
this.lblSetShop.Location = new System.Drawing.Point(1206, 31);
this.lblSetShop.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
this.lblSetShop.Name = "lblSetShop";
this.lblSetShop.Size = new System.Drawing.Size(214, 17);
this.lblSetShop.TabIndex = 718;
this.lblSetShop.Text = "指定店铺:";
this.lblSetShop.TextAlign = System.Drawing.ContentAlignment.TopRight;
//
// splitContainer2
//
@@ -1588,6 +1621,7 @@ namespace TemuKJD.WXForms.ProductForms
this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.PDDDBProdListForm_KeyUp);
this.Controls.SetChildIndex(this.splitContainer1, 0);
this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel1.PerformLayout();
this.splitContainer1.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
this.splitContainer1.ResumeLayout(false);
@@ -1714,5 +1748,7 @@ namespace TemuKJD.WXForms.ProductForms
public System.Windows.Forms.ComboBox cmbSourceType;
public System.Windows.Forms.ComboBox cmbRelation;
public System.Windows.Forms.Label lblRelation;
private System.Windows.Forms.Label lblHot;
private System.Windows.Forms.ComboBox cmbHot;
}
}
@@ -60,8 +60,6 @@ namespace TemuKJD.WXForms.ProductForms
chkCatBoundMoreThan.Visible = false;
lblWxSafe.Visible = false;
cmbWxSafe.Visible = false;
tableLayoutPanel1.SetColumn(lblSourceType, 0);
tableLayoutPanel1.SetColumn(cmbSourceType, 1);
dgvDbProduct.Columns["colCatBound"].Visible = false;
dgvDbProduct.Columns["colWxSafe"].Visible = false;
dgvDbProduct.Columns["colMainImg"].FillWeight = 25;
@@ -69,7 +67,11 @@ namespace TemuKJD.WXForms.ProductForms
Task.Run(() =>
{
PDDDBProdListForm.GetPDDProductGroup(new List<ComboBox> { cmbGroupFilter, }, "", "", BaseClass.UserAuthority.Contains("机会商品采集") ? ("admin," + BaseClass.UserName) : "admin");
// 同时刷新下商品分组
string addUserName = BaseClass.UserAuthority.Contains("机会商品采集") ? ("admin," + BaseClass.UserName) : "admin";
if (BaseClass.GroupId != 3)
addUserName = BaseClass.ParentAuthority.Contains("机会商品采集") ? ("admin," + BaseClass.ParentUserName) : "admin";
PDDDBProdListForm.GetPDDProductGroup(new List<ComboBox> { cmbGroupFilter, }, "", "", addUserName);
GetPddProductCate();
});
if (BaseClass.SaLevel == 1 && shop == null) // 一级管理员且不是选品状态
@@ -120,12 +122,58 @@ namespace TemuKJD.WXForms.ProductForms
cmbSourceType.Visible = true;
lblGroup.Visible = true;
cmbGroupFilter.Visible = true;
tableLayoutPanel1.ColumnStyles[9].SizeType = SizeType.Percent;
tableLayoutPanel1.ColumnStyles[9].Width = 20;
}
else
if (BaseClass.SaLevel > 0 || BaseClass.UserAuthority.ParseToString().Contains("爆款数据"))
{
tableLayoutPanel1.ColumnStyles[9].SizeType = SizeType.AutoSize;
lblHot.Visible = true;
cmbHot.Visible = true;
}
var ctrls = tableLayoutPanel1.Controls.Cast<Control>().ToList();
List<Control> ctrlLst = new List<Control>();
for (int j = 0; j < 2; j++)
{
for (int i = 0; i < 10; i++)
{
var ctrl = ctrls.FirstOrDefault(c => tableLayoutPanel1.GetRow(c) == j && tableLayoutPanel1.GetColumn(c) == i);
// tableLayoutPanel1.GetControlFromPosition(i, j); 取不到隐藏的商品
if (ctrl != null)
ctrlLst.Add(ctrl);
else
{
}
}
}
for (int i = 0; i < ctrlLst.Count - 1; i++)
{
var ctrl = ctrlLst[i];
var row = tableLayoutPanel1.GetRow(ctrl);
var column = tableLayoutPanel1.GetColumn(ctrl);
if (ctrl.Visible == false && ctrl.Name != "txtCatBoundMoreThan" && ctrl.Name != "txtCatBoundLessThan")
{
tableLayoutPanel1.SetRow(ctrlLst[i + 1], row);
tableLayoutPanel1.SetColumn(ctrlLst[i + 1], column);
}
else if (column < 9)
{
tableLayoutPanel1.SetRow(ctrlLst[i + 1], row);
tableLayoutPanel1.SetColumn(ctrlLst[i + 1], column + 1);
}
else if (column >= 9)
{
tableLayoutPanel1.SetRow(ctrlLst[i + 1], row + 1);
tableLayoutPanel1.SetColumn(ctrlLst[i + 1], 0);
}
}
for (int i = 0; i < 10; i++)
{
if (tableLayoutPanel1.GetControlFromPosition(i, 0) == null && tableLayoutPanel1.GetControlFromPosition(i, 1) == null)// 取不到隐藏的商品
{
tableLayoutPanel1.ColumnStyles[i].SizeType = SizeType.AutoSize;
}
}
}
@@ -341,7 +389,13 @@ namespace TemuKJD.WXForms.ProductForms
"&search_group=" + cmbGroupFilter.Text.Trim() +
"&search_prod_name=" + txtProdName.Text.Trim() +
"&wx_safe_status=" + cmbWxSafe.Text.Trim().Replace("安全+未校验", "安全商品,未校验").Replace("违规商品", "");
data += "&add_user_name=" + (BaseClass.UserAuthority.Contains("机会商品采集") ? ("admin," + BaseClass.UserName) : "admin");
// 同时刷新下商品分组
string addUserName = BaseClass.UserAuthority.Contains("机会商品采集") ? ("admin," + BaseClass.UserName) : "admin";
if (BaseClass.GroupId != 3)
addUserName = BaseClass.ParentAuthority.Contains("机会商品采集") ? ("admin," + BaseClass.ParentUserName) : "admin";
data += "&add_user_name=" + addUserName;
if (BaseClass.MainPath == "weixin")
data += "&ban_wx=0";
if (BaseClass.MainPath == "binxixi")
@@ -437,6 +491,9 @@ namespace TemuKJD.WXForms.ProductForms
}
if (chkWXComplateProd.Checked)
data += "&has_wx_format=1";
if (!string.IsNullOrWhiteSpace(cmbHot.Text.Trim()))
data += "&special_prod_type=" + cmbHot.Text.Replace("普通商品", "普通商品,书籍");
}));
var html = GetHtml.PostUtf8(url, data);
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
@@ -507,6 +564,7 @@ namespace TemuKJD.WXForms.ProductForms
this.cmbWxCat.Text = "是";
this.cmbExportToOutServer.Text = "是";
this.txtSecretStyleCode.Text = "";
this.cmbHot.Text = "普通商品";
}
private void cmbCat1_SelectedIndexChanged(object sender, EventArgs e)
@@ -1032,5 +1090,21 @@ namespace TemuKJD.WXForms.ProductForms
{
}
private void cmbHot_TextChanged(object sender, EventArgs e)
{
if (cmbHot.Text == "爆款数据")
{
cmbSourceType.Text = "";
cmbExportToOutServer.Text = "";
cmbWxCat.Text = "";
}
else
{
cmbSourceType.Text = "厂商直采";
cmbExportToOutServer.Text = "是";
cmbWxCat.Text = "是";
}
}
}
}