1拼多多买手读单优化 2商品类目查询优化
This commit is contained in:
1 parent
7601f5b2f3
commit
4ae8e4f1b2
40 files changed
+4743
-745
No files matched your search
+169
-139
@@ -109,9 +109,15 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.chkCommission = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.btnLoginAssistant = new DevComponents.DotNetBar.PanelEx();
|
||||
this.商品裂变 = new System.Windows.Forms.TabPage();
|
||||
this.line2 = new DevComponents.DotNetBar.Controls.Line();
|
||||
this.label38 = new System.Windows.Forms.Label();
|
||||
this.txtFissionRandomPriceChange = new System.Windows.Forms.TextBox();
|
||||
this.chkFissionRandomPriceChange = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.txtDetailBorderImgCount = new System.Windows.Forms.TextBox();
|
||||
this.label35 = new System.Windows.Forms.Label();
|
||||
this.label36 = new System.Windows.Forms.Label();
|
||||
this.txtMainBorderImgCount = new System.Windows.Forms.TextBox();
|
||||
this.label34 = new System.Windows.Forms.Label();
|
||||
this.label33 = new System.Windows.Forms.Label();
|
||||
this.label32 = new System.Windows.Forms.Label();
|
||||
this.txtAiImgCount = new System.Windows.Forms.TextBox();
|
||||
@@ -122,6 +128,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.chkFissionGoodsName = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.chkRandomImgBorder = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.txtFissionTitle = new System.Windows.Forms.TextBox();
|
||||
this.line1 = new DevComponents.DotNetBar.Controls.Line();
|
||||
this.label37 = new System.Windows.Forms.Label();
|
||||
this.ucGroupBoxEx4 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||
this.cmbHot = new System.Windows.Forms.ComboBox();
|
||||
this.btnProdDb = new DevComponents.DotNetBar.PanelEx();
|
||||
@@ -137,7 +145,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbGroupFilter = new System.Windows.Forms.ComboBox();
|
||||
this.txtIdFilter = new System.Windows.Forms.TextBox();
|
||||
this.cmbCateFilter2 = new TemuKJD.UserComponent.UcComboBoxMutiSelect();
|
||||
this.label19 = new System.Windows.Forms.Label();
|
||||
this.btnClearFilter = new DevComponents.DotNetBar.PanelEx();
|
||||
this.lblGoodsCount = new System.Windows.Forms.Label();
|
||||
this.cmbWxSafe = new System.Windows.Forms.ComboBox();
|
||||
@@ -154,6 +161,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.label20 = new System.Windows.Forms.Label();
|
||||
this.lblIdFilter = new System.Windows.Forms.Label();
|
||||
this.lblHot = new System.Windows.Forms.Label();
|
||||
this.label19 = new System.Windows.Forms.Label();
|
||||
this.ucGroupBoxEx1 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||
this.cmbFilterShopGroup = new TemuKJD.UserComponent.UcComboBoxMutiSelect();
|
||||
this.label24 = new System.Windows.Forms.Label();
|
||||
@@ -224,14 +232,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
|
||||
this.btnClear = new DevComponents.DotNetBar.PanelEx();
|
||||
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
|
||||
this.label35 = new System.Windows.Forms.Label();
|
||||
this.label34 = new System.Windows.Forms.Label();
|
||||
this.line1 = new DevComponents.DotNetBar.Controls.Line();
|
||||
this.chkFissionRandomPriceChange = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.txtFissionRandomPriceChange = new System.Windows.Forms.TextBox();
|
||||
this.label37 = new System.Windows.Forms.Label();
|
||||
this.label38 = new System.Windows.Forms.Label();
|
||||
this.line2 = new DevComponents.DotNetBar.Controls.Line();
|
||||
this.btnSwitchCatType = new DevComponents.DotNetBar.PanelEx();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
@@ -754,7 +755,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.上传参数.Location = new System.Drawing.Point(4, 28);
|
||||
this.上传参数.Name = "上传参数";
|
||||
this.上传参数.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.上传参数.Size = new System.Drawing.Size(531, 118);
|
||||
this.上传参数.Size = new System.Drawing.Size(583, 118);
|
||||
this.上传参数.TabIndex = 1;
|
||||
this.上传参数.Text = "上传参数";
|
||||
this.上传参数.UseVisualStyleBackColor = true;
|
||||
@@ -901,7 +902,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.txtReplaceText.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtReplaceText.Multiline = true;
|
||||
this.txtReplaceText.Name = "txtReplaceText";
|
||||
this.txtReplaceText.Size = new System.Drawing.Size(458, 40);
|
||||
this.txtReplaceText.Size = new System.Drawing.Size(510, 40);
|
||||
this.txtReplaceText.TabIndex = 740;
|
||||
this.txtReplaceText.Text = "真丝,蚕丝,香云纱,羊绒,羊毛,羊羔绒,羊羔毛,羽绒,皮草";
|
||||
this.txtReplaceText.TextChanged += new System.EventHandler(this.txtReplaceText_TextChanged);
|
||||
@@ -1073,7 +1074,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.佣金上货.Location = new System.Drawing.Point(4, 28);
|
||||
this.佣金上货.Name = "佣金上货";
|
||||
this.佣金上货.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.佣金上货.Size = new System.Drawing.Size(531, 118);
|
||||
this.佣金上货.Size = new System.Drawing.Size(583, 118);
|
||||
this.佣金上货.TabIndex = 2;
|
||||
this.佣金上货.Text = "佣金上货";
|
||||
this.佣金上货.UseVisualStyleBackColor = true;
|
||||
@@ -1246,6 +1247,47 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.商品裂变.Text = "商品裂变";
|
||||
this.商品裂变.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// line2
|
||||
//
|
||||
this.line2.ForeColor = System.Drawing.SystemColors.ControlDark;
|
||||
this.line2.Location = new System.Drawing.Point(435, 90);
|
||||
this.line2.Name = "line2";
|
||||
this.line2.Size = new System.Drawing.Size(10, 23);
|
||||
this.line2.TabIndex = 909;
|
||||
this.line2.Text = "line2";
|
||||
this.line2.VerticalLine = true;
|
||||
//
|
||||
// label38
|
||||
//
|
||||
this.label38.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label38.AutoSize = true;
|
||||
this.label38.Location = new System.Drawing.Point(259, 93);
|
||||
this.label38.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label38.Name = "label38";
|
||||
this.label38.Size = new System.Drawing.Size(80, 17);
|
||||
this.label38.TabIndex = 908;
|
||||
this.label38.Text = "随机图片顺序";
|
||||
//
|
||||
// txtFissionRandomPriceChange
|
||||
//
|
||||
this.txtFissionRandomPriceChange.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.txtFissionRandomPriceChange.Location = new System.Drawing.Point(513, 90);
|
||||
this.txtFissionRandomPriceChange.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtFissionRandomPriceChange.Name = "txtFissionRandomPriceChange";
|
||||
this.txtFissionRandomPriceChange.Size = new System.Drawing.Size(24, 23);
|
||||
this.txtFissionRandomPriceChange.TabIndex = 906;
|
||||
this.txtFissionRandomPriceChange.Text = "2";
|
||||
//
|
||||
// chkFissionRandomPriceChange
|
||||
//
|
||||
this.chkFissionRandomPriceChange.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.chkFissionRandomPriceChange.Location = new System.Drawing.Point(446, 91);
|
||||
this.chkFissionRandomPriceChange.Name = "chkFissionRandomPriceChange";
|
||||
this.chkFissionRandomPriceChange.Size = new System.Drawing.Size(75, 21);
|
||||
this.chkFissionRandomPriceChange.TabIndex = 905;
|
||||
this.chkFissionRandomPriceChange.Text = "价格波动";
|
||||
this.chkFissionRandomPriceChange.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// txtDetailBorderImgCount
|
||||
//
|
||||
this.txtDetailBorderImgCount.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
@@ -1256,6 +1298,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.txtDetailBorderImgCount.TabIndex = 902;
|
||||
this.txtDetailBorderImgCount.Text = "0";
|
||||
//
|
||||
// label35
|
||||
//
|
||||
this.label35.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label35.AutoSize = true;
|
||||
this.label35.Location = new System.Drawing.Point(171, 93);
|
||||
this.label35.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label35.Name = "label35";
|
||||
this.label35.Size = new System.Drawing.Size(44, 17);
|
||||
this.label35.TabIndex = 904;
|
||||
this.label35.Text = "详情图";
|
||||
//
|
||||
// label36
|
||||
//
|
||||
this.label36.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
@@ -1277,6 +1330,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.txtMainBorderImgCount.TabIndex = 899;
|
||||
this.txtMainBorderImgCount.Text = "9";
|
||||
//
|
||||
// label34
|
||||
//
|
||||
this.label34.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label34.AutoSize = true;
|
||||
this.label34.Location = new System.Drawing.Point(101, 93);
|
||||
this.label34.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label34.Name = "label34";
|
||||
this.label34.Size = new System.Drawing.Size(32, 17);
|
||||
this.label34.TabIndex = 901;
|
||||
this.label34.Text = "主图";
|
||||
//
|
||||
// label33
|
||||
//
|
||||
this.label33.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
@@ -1386,12 +1450,34 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.txtFissionTitle.TabIndex = 0;
|
||||
this.txtFissionTitle.TextChanged += new System.EventHandler(this.txtFissionTitle_TextChanged);
|
||||
//
|
||||
// line1
|
||||
//
|
||||
this.line1.ForeColor = System.Drawing.SystemColors.ControlDark;
|
||||
this.line1.Location = new System.Drawing.Point(250, 90);
|
||||
this.line1.Name = "line1";
|
||||
this.line1.Size = new System.Drawing.Size(10, 23);
|
||||
this.line1.TabIndex = 822;
|
||||
this.line1.Text = "line1";
|
||||
this.line1.VerticalLine = true;
|
||||
//
|
||||
// label37
|
||||
//
|
||||
this.label37.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label37.AutoSize = true;
|
||||
this.label37.Location = new System.Drawing.Point(536, 93);
|
||||
this.label37.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label37.Name = "label37";
|
||||
this.label37.Size = new System.Drawing.Size(20, 17);
|
||||
this.label37.TabIndex = 907;
|
||||
this.label37.Text = "元";
|
||||
//
|
||||
// ucGroupBoxEx4
|
||||
//
|
||||
this.ucGroupBoxEx4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| 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.btnSwitchCatType);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.cmbHot);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.btnProdDb);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.chkWXComplateProd);
|
||||
@@ -1406,7 +1492,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.ucGroupBoxEx4.Controls.Add(this.cmbGroupFilter);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.txtIdFilter);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.cmbCateFilter2);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.label19);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.btnClearFilter);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.lblGoodsCount);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.cmbWxSafe);
|
||||
@@ -1423,6 +1508,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.ucGroupBoxEx4.Controls.Add(this.label20);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.lblIdFilter);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.lblHot);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.label19);
|
||||
this.ucGroupBoxEx4.Location = new System.Drawing.Point(186, 2);
|
||||
this.ucGroupBoxEx4.Name = "ucGroupBoxEx4";
|
||||
this.ucGroupBoxEx4.Size = new System.Drawing.Size(410, 165);
|
||||
@@ -1437,7 +1523,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"",
|
||||
"爆款数据",
|
||||
"普通商品"});
|
||||
this.cmbHot.Location = new System.Drawing.Point(309, 73);
|
||||
this.cmbHot.Location = new System.Drawing.Point(312, 73);
|
||||
this.cmbHot.Name = "cmbHot";
|
||||
this.cmbHot.Size = new System.Drawing.Size(92, 25);
|
||||
this.cmbHot.TabIndex = 837;
|
||||
@@ -1452,9 +1538,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnProdDb.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnProdDb.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnProdDb.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnProdDb.Location = new System.Drawing.Point(368, 131);
|
||||
this.btnProdDb.Location = new System.Drawing.Point(372, 131);
|
||||
this.btnProdDb.Name = "btnProdDb";
|
||||
this.btnProdDb.Size = new System.Drawing.Size(33, 25);
|
||||
this.btnProdDb.Size = new System.Drawing.Size(32, 25);
|
||||
this.btnProdDb.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnProdDb.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnProdDb.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
@@ -1472,7 +1558,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// chkWXComplateProd
|
||||
//
|
||||
this.chkWXComplateProd.Location = new System.Drawing.Point(277, 102);
|
||||
this.chkWXComplateProd.Location = new System.Drawing.Point(282, 102);
|
||||
this.chkWXComplateProd.Name = "chkWXComplateProd";
|
||||
this.chkWXComplateProd.Size = new System.Drawing.Size(87, 21);
|
||||
this.chkWXComplateProd.TabIndex = 807;
|
||||
@@ -1482,11 +1568,12 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// txtAddCount
|
||||
//
|
||||
this.txtAddCount.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.txtAddCount.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.txtAddCount.Location = new System.Drawing.Point(273, 131);
|
||||
this.txtAddCount.Location = new System.Drawing.Point(278, 131);
|
||||
this.txtAddCount.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtAddCount.Name = "txtAddCount";
|
||||
this.txtAddCount.Size = new System.Drawing.Size(35, 25);
|
||||
this.txtAddCount.Size = new System.Drawing.Size(33, 25);
|
||||
this.txtAddCount.TabIndex = 536;
|
||||
this.txtAddCount.Text = "500";
|
||||
//
|
||||
@@ -1497,7 +1584,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"",
|
||||
"已设置",
|
||||
"未设置"});
|
||||
this.cmbJstInitSet.Location = new System.Drawing.Point(178, 100);
|
||||
this.cmbJstInitSet.Location = new System.Drawing.Point(184, 100);
|
||||
this.cmbJstInitSet.Name = "cmbJstInitSet";
|
||||
this.cmbJstInitSet.Size = new System.Drawing.Size(92, 25);
|
||||
this.cmbJstInitSet.TabIndex = 697;
|
||||
@@ -1506,17 +1593,18 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// txtSearchGoodsName
|
||||
//
|
||||
this.txtSearchGoodsName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.txtSearchGoodsName.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.txtSearchGoodsName.Location = new System.Drawing.Point(178, 46);
|
||||
this.txtSearchGoodsName.Location = new System.Drawing.Point(184, 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.Size = new System.Drawing.Size(220, 25);
|
||||
this.txtSearchGoodsName.TabIndex = 795;
|
||||
//
|
||||
// lblJstInitSet
|
||||
//
|
||||
this.lblJstInitSet.AutoSize = true;
|
||||
this.lblJstInitSet.Location = new System.Drawing.Point(147, 104);
|
||||
this.lblJstInitSet.Location = new System.Drawing.Point(155, 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);
|
||||
@@ -1543,14 +1631,14 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"",
|
||||
"厂商直采",
|
||||
"1688厂家",
|
||||
"1688外部数据",
|
||||
"已采集数据",
|
||||
"微信小店",
|
||||
"微信店采",
|
||||
"母店采集",
|
||||
"机会商品",
|
||||
"以图搜品",
|
||||
"外部数据"});
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(47, 73);
|
||||
"多多外部数据"});
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(56, 73);
|
||||
this.cmbSourceType.Name = "cmbSourceType";
|
||||
this.cmbSourceType.Size = new System.Drawing.Size(92, 25);
|
||||
this.cmbSourceType.TabIndex = 673;
|
||||
@@ -1566,7 +1654,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, 19);
|
||||
this.cmbCateFilter3.Location = new System.Drawing.Point(312, 19);
|
||||
this.cmbCateFilter3.Name = "cmbCateFilter3";
|
||||
this.cmbCateFilter3.Size = new System.Drawing.Size(92, 25);
|
||||
this.cmbCateFilter3.TabIndex = 710;
|
||||
@@ -1577,7 +1665,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// label21
|
||||
//
|
||||
this.label21.AutoSize = true;
|
||||
this.label21.Location = new System.Drawing.Point(271, 23);
|
||||
this.label21.Location = new System.Drawing.Point(276, 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);
|
||||
@@ -1587,7 +1675,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// cmbGroupFilter
|
||||
//
|
||||
this.cmbGroupFilter.FormattingEnabled = true;
|
||||
this.cmbGroupFilter.Location = new System.Drawing.Point(178, 73);
|
||||
this.cmbGroupFilter.Location = new System.Drawing.Point(184, 73);
|
||||
this.cmbGroupFilter.Name = "cmbGroupFilter";
|
||||
this.cmbGroupFilter.Size = new System.Drawing.Size(92, 25);
|
||||
this.cmbGroupFilter.TabIndex = 641;
|
||||
@@ -1596,8 +1684,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// txtIdFilter
|
||||
//
|
||||
this.txtIdFilter.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.txtIdFilter.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.txtIdFilter.Location = new System.Drawing.Point(47, 100);
|
||||
this.txtIdFilter.Location = new System.Drawing.Point(56, 100);
|
||||
this.txtIdFilter.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtIdFilter.Name = "txtIdFilter";
|
||||
this.txtIdFilter.Size = new System.Drawing.Size(92, 25);
|
||||
@@ -1611,7 +1700,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, 19);
|
||||
this.cmbCateFilter2.Location = new System.Drawing.Point(184, 19);
|
||||
this.cmbCateFilter2.Name = "cmbCateFilter2";
|
||||
this.cmbCateFilter2.Size = new System.Drawing.Size(92, 25);
|
||||
this.cmbCateFilter2.TabIndex = 708;
|
||||
@@ -1619,26 +1708,16 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCateFilter2.SelectedIndexChanged += new System.EventHandler(this.cmbCateFilter2_SelectedIndexChanged);
|
||||
this.cmbCateFilter2.TextChanged += new System.EventHandler(this.cmbCateFilter2_TextChanged);
|
||||
//
|
||||
// label19
|
||||
//
|
||||
this.label19.AutoSize = true;
|
||||
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);
|
||||
this.label19.TabIndex = 707;
|
||||
this.label19.Text = "类目2";
|
||||
//
|
||||
// btnClearFilter
|
||||
//
|
||||
this.btnClearFilter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
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, 100);
|
||||
this.btnClearFilter.Location = new System.Drawing.Point(372, 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);
|
||||
this.btnClearFilter.Size = new System.Drawing.Size(32, 25);
|
||||
this.btnClearFilter.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnClearFilter.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.btnClearFilter.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
@@ -1673,7 +1752,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"安全+未校验",
|
||||
"安全商品",
|
||||
"未校验"});
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(47, 46);
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(56, 46);
|
||||
this.cmbWxSafe.Name = "cmbWxSafe";
|
||||
this.cmbWxSafe.Size = new System.Drawing.Size(92, 25);
|
||||
this.cmbWxSafe.TabIndex = 675;
|
||||
@@ -1685,10 +1764,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnClearUpload.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.btnClearUpload.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnClearUpload.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnClearUpload.Location = new System.Drawing.Point(238, 131);
|
||||
this.btnClearUpload.Location = new System.Drawing.Point(244, 131);
|
||||
this.btnClearUpload.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
|
||||
this.btnClearUpload.Name = "btnClearUpload";
|
||||
this.btnClearUpload.Size = new System.Drawing.Size(33, 25);
|
||||
this.btnClearUpload.Size = new System.Drawing.Size(32, 25);
|
||||
this.btnClearUpload.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnClearUpload.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.btnClearUpload.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
@@ -1712,7 +1791,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, 19);
|
||||
this.cmbCateFilter1.Location = new System.Drawing.Point(56, 19);
|
||||
this.cmbCateFilter1.Name = "cmbCateFilter1";
|
||||
this.cmbCateFilter1.Size = new System.Drawing.Size(92, 25);
|
||||
this.cmbCateFilter1.TabIndex = 663;
|
||||
@@ -1723,7 +1802,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(9, 23);
|
||||
this.label2.Location = new System.Drawing.Point(21, 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);
|
||||
@@ -1750,9 +1829,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnRandomAdd.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnRandomAdd.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnRandomAdd.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnRandomAdd.Location = new System.Drawing.Point(310, 131);
|
||||
this.btnRandomAdd.Location = new System.Drawing.Point(313, 131);
|
||||
this.btnRandomAdd.Name = "btnRandomAdd";
|
||||
this.btnRandomAdd.Size = new System.Drawing.Size(56, 25);
|
||||
this.btnRandomAdd.Size = new System.Drawing.Size(57, 25);
|
||||
this.btnRandomAdd.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnRandomAdd.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnRandomAdd.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
@@ -1789,7 +1868,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// lblSourceType
|
||||
//
|
||||
this.lblSourceType.AutoSize = true;
|
||||
this.lblSourceType.Location = new System.Drawing.Point(16, 77);
|
||||
this.lblSourceType.Location = new System.Drawing.Point(28, 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);
|
||||
@@ -1800,7 +1879,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// lblGroupFilter
|
||||
//
|
||||
this.lblGroupFilter.AutoSize = true;
|
||||
this.lblGroupFilter.Location = new System.Drawing.Point(147, 77);
|
||||
this.lblGroupFilter.Location = new System.Drawing.Point(155, 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);
|
||||
@@ -1814,14 +1893,14 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
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);
|
||||
this.lblWxSafe.Size = new System.Drawing.Size(56, 17);
|
||||
this.lblWxSafe.TabIndex = 674;
|
||||
this.lblWxSafe.Text = "微安检";
|
||||
this.lblWxSafe.Text = "微信安检";
|
||||
//
|
||||
// label20
|
||||
//
|
||||
this.label20.AutoSize = true;
|
||||
this.label20.Location = new System.Drawing.Point(147, 50);
|
||||
this.label20.Location = new System.Drawing.Point(155, 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);
|
||||
@@ -1831,7 +1910,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// lblIdFilter
|
||||
//
|
||||
this.lblIdFilter.AutoSize = true;
|
||||
this.lblIdFilter.Location = new System.Drawing.Point(27, 104);
|
||||
this.lblIdFilter.Location = new System.Drawing.Point(39, 104);
|
||||
this.lblIdFilter.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.lblIdFilter.Name = "lblIdFilter";
|
||||
this.lblIdFilter.Size = new System.Drawing.Size(21, 17);
|
||||
@@ -1842,7 +1921,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// lblHot
|
||||
//
|
||||
this.lblHot.AutoSize = true;
|
||||
this.lblHot.Location = new System.Drawing.Point(278, 77);
|
||||
this.lblHot.Location = new System.Drawing.Point(283, 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);
|
||||
@@ -1850,6 +1929,16 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.lblHot.Text = "爆品";
|
||||
this.lblHot.Visible = false;
|
||||
//
|
||||
// label19
|
||||
//
|
||||
this.label19.AutoSize = true;
|
||||
this.label19.Location = new System.Drawing.Point(148, 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);
|
||||
this.label19.TabIndex = 707;
|
||||
this.label19.Text = "类目2";
|
||||
//
|
||||
// ucGroupBoxEx1
|
||||
//
|
||||
this.ucGroupBoxEx1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
@@ -2830,89 +2919,29 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.panelEx1.Text = "停止当前操作";
|
||||
this.panelEx1.Visible = false;
|
||||
//
|
||||
// label35
|
||||
// btnSwitchCatType
|
||||
//
|
||||
this.label35.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label35.AutoSize = true;
|
||||
this.label35.Location = new System.Drawing.Point(171, 93);
|
||||
this.label35.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label35.Name = "label35";
|
||||
this.label35.Size = new System.Drawing.Size(44, 17);
|
||||
this.label35.TabIndex = 904;
|
||||
this.label35.Text = "详情图";
|
||||
//
|
||||
// label34
|
||||
//
|
||||
this.label34.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label34.AutoSize = true;
|
||||
this.label34.Location = new System.Drawing.Point(101, 93);
|
||||
this.label34.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label34.Name = "label34";
|
||||
this.label34.Size = new System.Drawing.Size(32, 17);
|
||||
this.label34.TabIndex = 901;
|
||||
this.label34.Text = "主图";
|
||||
//
|
||||
// line1
|
||||
//
|
||||
this.line1.ForeColor = System.Drawing.SystemColors.ControlDark;
|
||||
this.line1.Location = new System.Drawing.Point(250, 90);
|
||||
this.line1.Name = "line1";
|
||||
this.line1.Size = new System.Drawing.Size(10, 23);
|
||||
this.line1.TabIndex = 822;
|
||||
this.line1.Text = "line1";
|
||||
this.line1.VerticalLine = true;
|
||||
//
|
||||
// chkFissionPriceChange
|
||||
//
|
||||
this.chkFissionRandomPriceChange.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.chkFissionRandomPriceChange.Location = new System.Drawing.Point(446, 91);
|
||||
this.chkFissionRandomPriceChange.Name = "chkFissionPriceChange";
|
||||
this.chkFissionRandomPriceChange.Size = new System.Drawing.Size(75, 21);
|
||||
this.chkFissionRandomPriceChange.TabIndex = 905;
|
||||
this.chkFissionRandomPriceChange.Text = "价格波动";
|
||||
this.chkFissionRandomPriceChange.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// txtFissionPriceChange
|
||||
//
|
||||
this.txtFissionRandomPriceChange.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.txtFissionRandomPriceChange.Location = new System.Drawing.Point(513, 90);
|
||||
this.txtFissionRandomPriceChange.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtFissionRandomPriceChange.Name = "txtFissionPriceChange";
|
||||
this.txtFissionRandomPriceChange.Size = new System.Drawing.Size(24, 23);
|
||||
this.txtFissionRandomPriceChange.TabIndex = 906;
|
||||
this.txtFissionRandomPriceChange.Text = "2";
|
||||
//
|
||||
// label37
|
||||
//
|
||||
this.label37.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label37.AutoSize = true;
|
||||
this.label37.Location = new System.Drawing.Point(536, 93);
|
||||
this.label37.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label37.Name = "label37";
|
||||
this.label37.Size = new System.Drawing.Size(20, 17);
|
||||
this.label37.TabIndex = 907;
|
||||
this.label37.Text = "元";
|
||||
//
|
||||
// label38
|
||||
//
|
||||
this.label38.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label38.AutoSize = true;
|
||||
this.label38.Location = new System.Drawing.Point(259, 93);
|
||||
this.label38.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label38.Name = "label38";
|
||||
this.label38.Size = new System.Drawing.Size(80, 17);
|
||||
this.label38.TabIndex = 908;
|
||||
this.label38.Text = "随机图片顺序";
|
||||
//
|
||||
// line2
|
||||
//
|
||||
this.line2.ForeColor = System.Drawing.SystemColors.ControlDark;
|
||||
this.line2.Location = new System.Drawing.Point(435, 90);
|
||||
this.line2.Name = "line2";
|
||||
this.line2.Size = new System.Drawing.Size(10, 23);
|
||||
this.line2.TabIndex = 909;
|
||||
this.line2.Text = "line2";
|
||||
this.line2.VerticalLine = true;
|
||||
this.btnSwitchCatType.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnSwitchCatType.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnSwitchCatType.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnSwitchCatType.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnSwitchCatType.Location = new System.Drawing.Point(6, 21);
|
||||
this.btnSwitchCatType.Name = "btnSwitchCatType";
|
||||
this.btnSwitchCatType.Size = new System.Drawing.Size(17, 21);
|
||||
this.btnSwitchCatType.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSwitchCatType.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSwitchCatType.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSwitchCatType.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnSwitchCatType.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnSwitchCatType.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnSwitchCatType.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnSwitchCatType.Style.GradientAngle = 90;
|
||||
this.btnSwitchCatType.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSwitchCatType.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnSwitchCatType.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnSwitchCatType.TabIndex = 856;
|
||||
this.btnSwitchCatType.Text = "W";
|
||||
this.btnSwitchCatType.Click += new System.EventHandler(this.btnSwitchCatType_Click);
|
||||
//
|
||||
// WXDBProdUploadForm
|
||||
//
|
||||
@@ -3165,5 +3194,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
private System.Windows.Forms.Label label34;
|
||||
private DevComponents.DotNetBar.Controls.Line line1;
|
||||
private System.Windows.Forms.Label label37;
|
||||
private DevComponents.DotNetBar.PanelEx btnSwitchCatType;
|
||||
}
|
||||
}
|
||||
@@ -405,7 +405,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
List<Task> tList = new List<Task>();
|
||||
if (idRefreshTodayHasGet)
|
||||
GlobalConfig.lstWxShopAuthInfo.RemoveAll(s => updateIds.Contains(s.ShopId));
|
||||
foreach (var shop in GlobalConfig.ShopLoginList.Where(s => updateIds.Contains(s.ShopId)))
|
||||
foreach (var shop in GlobalConfig.ValidShopLoginList.Where(s => updateIds.Contains(s.ShopId)))
|
||||
{
|
||||
Invoke(new Action(() => { BindShop(shop, selectIds, ""); }));
|
||||
var t = Task.Run(() =>
|
||||
@@ -477,7 +477,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
else
|
||||
{
|
||||
//var list = GlobalConfig.ShopLoginList.Where(s => s.LoginStatus == "登录成功").Select(ss => ss.ShopId);
|
||||
//var list = GlobalConfig.ValidShopLoginList.Where(s => s.LoginStatus == "登录成功").Select(ss => ss.ShopId);
|
||||
foreach (DataGridViewRow row in dgvShop.Rows)
|
||||
{
|
||||
//if (list.Any(l => l == row.Cells["colShopId"]?.Value?.ToString()))
|
||||
@@ -512,7 +512,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
Task.Run(() =>
|
||||
{
|
||||
foreach (var shop in GlobalConfig.ShopLoginList)
|
||||
foreach (var shop in GlobalConfig.ValidShopLoginList)
|
||||
{
|
||||
//if (shop.LoginStatus == "登录成功")
|
||||
//{
|
||||
@@ -554,6 +554,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
GetPddProductCate();
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
this.btnSwitchCatType.Text = "P";
|
||||
btnSwitchCatType_Click(null, null);
|
||||
pbLoadingShop.Visible = false;
|
||||
}));
|
||||
});
|
||||
@@ -578,17 +580,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
pdd_product_cates = BaseRegex.GetStringJson(ref html, "data");
|
||||
}
|
||||
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
if (cmbSourceType.Text.Trim() != "厂商直采" && cmbSourceType.Text.Trim() != "微信店采" && cmbSourceType.Text.Trim() != "微信小店")
|
||||
{
|
||||
fillPddCate();
|
||||
}
|
||||
else
|
||||
{
|
||||
fillWxCate();
|
||||
}
|
||||
}));
|
||||
//Invoke(new Action(() =>
|
||||
//{
|
||||
// if (cmbSourceType.Text.Trim() != "厂商直采" && cmbSourceType.Text.Trim() != "微信店采" && cmbSourceType.Text.Trim() != "微信小店")
|
||||
// {
|
||||
// fillPddCate();
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// fillWxCate();
|
||||
// }
|
||||
//}));
|
||||
}
|
||||
|
||||
void fillPddCate()
|
||||
@@ -627,25 +629,25 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
=> row.Cells["colSelect"]?.Value.ParseToBool() == true).Select(r => r.Cells["colShopId"]?.Value.ToString()).ToList();
|
||||
// 获取被删除的店铺
|
||||
List<DataGridViewRow> dgvRowList = dgvShop.Rows.Cast<DataGridViewRow>().Where(row
|
||||
=> !GlobalConfig.ShopLoginList.Any(s => s.ShopId == row.Cells["colShopId"]?.Value?.ToString())).ToList();
|
||||
=> !GlobalConfig.ValidShopLoginList.Any(s => s.ShopId == row.Cells["colShopId"]?.Value?.ToString())).ToList();
|
||||
// 更新被删除的店铺列表
|
||||
foreach (var row in dgvRowList)
|
||||
{
|
||||
dgvShop.Rows.Remove(row);
|
||||
}
|
||||
// 绑定其他店铺(含新导入的店铺)
|
||||
foreach (ShopLoginInfo shopEntity in GlobalConfig.ShopLoginList)
|
||||
foreach (ShopLoginInfo shopEntity in GlobalConfig.ValidShopLoginList)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(shopEntity.ShopId))
|
||||
BindShop(shopEntity, selectIds);
|
||||
}
|
||||
cmbFilterShopNotes.Items.Clear();
|
||||
foreach (var note in GlobalConfig.ShopLoginList.Select(s => s.Notes).Where(s => !s.IsNullOrEmpty()).Distinct())
|
||||
foreach (var note in GlobalConfig.ValidShopLoginList.Select(s => s.Notes).Where(s => !s.IsNullOrEmpty()).Distinct())
|
||||
{
|
||||
cmbFilterShopNotes.Items.Add(note);
|
||||
}
|
||||
cmbFilterShopGroup.Items.Clear();
|
||||
foreach (var note in GlobalConfig.ShopLoginList.Select(s => s.GroupName).Where(s => !s.IsNullOrEmpty()).Distinct())
|
||||
foreach (var note in GlobalConfig.ValidShopLoginList.Select(s => s.GroupName).Where(s => !s.IsNullOrEmpty()).Distinct())
|
||||
{
|
||||
cmbFilterShopGroup.Items.Add(note);
|
||||
}
|
||||
@@ -725,12 +727,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
if (e.ColumnIndex < 0 || e.RowIndex < 0)
|
||||
return;
|
||||
var row = dgvShop.Rows[e.RowIndex];
|
||||
string headerText = dgvShop.Columns[e.ColumnIndex].HeaderText;
|
||||
string columnName = dgvShop.Columns[e.ColumnIndex].Name;
|
||||
string shopId = dgvShop.Rows[e.RowIndex].Cells["colShopId"].Value.ParseToString();
|
||||
string shopAccount = dgvShop.Rows[e.RowIndex].Cells["colShopName"].Value.ToString();
|
||||
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId.ToString());
|
||||
var row = dgvShop.Rows[e.RowIndex];
|
||||
var shop = GlobalConfig.ValidShopLoginList.FirstOrDefault(s => s.ShopId == shopId.ToString());
|
||||
if (shop == null)
|
||||
{
|
||||
BaseMsgForm.ShowError("店铺不存在或已过期");
|
||||
return;
|
||||
}
|
||||
switch (columnName)
|
||||
{
|
||||
case "colSelect":
|
||||
@@ -746,9 +753,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
chkSelectAll.CheckedChanged += chkSelectAll_CheckedChanged;
|
||||
}
|
||||
//else
|
||||
{
|
||||
//BaseMsgForm.ShowInfo("店铺未登录!");
|
||||
}
|
||||
//{
|
||||
// BaseMsgForm.ShowInfo("店铺未登录!");
|
||||
//}
|
||||
|
||||
dicCheckedShopId[row.Cells["colShopId"].Value.ParseToString()] = row.Cells["colSelect"].Value.ParseToBool();
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("wx_checked_shop_dic", dicCheckedShopId);
|
||||
@@ -801,13 +808,18 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
if (e.ColumnIndex < 0 || e.RowIndex < 0)
|
||||
return;
|
||||
string headerText = dgvSelectProduct.Columns[e.ColumnIndex].HeaderText;
|
||||
var row = dgvShop.Rows[e.RowIndex];
|
||||
var headerText = dgvSelectProduct.Columns[e.ColumnIndex].HeaderText;
|
||||
var dbId = dgvSelectProduct.Rows[e.RowIndex].Cells["colSelectId"].Value.ParseToString();
|
||||
var dbProduct = lstTemuDBProductSelect.FirstOrDefault(p => p.id.ToString() == dbId);
|
||||
var shopId = dgvSelectProduct.Rows[e.RowIndex].Cells["colSupplierId"].Value.ParseToString();
|
||||
var draftId = dgvSelectProduct.Rows[e.RowIndex].Cells["colDraftId"].Value.ParseToString();
|
||||
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
|
||||
|
||||
var shop = GlobalConfig.ValidShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
|
||||
if (shop == null)
|
||||
{
|
||||
BaseMsgForm.ShowError("店铺不存在或已过期");
|
||||
return;
|
||||
}
|
||||
switch (headerText)
|
||||
{
|
||||
case "删除":
|
||||
@@ -862,7 +874,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void btnUpload_Click(object sender, EventArgs e)
|
||||
{
|
||||
var shopIdLst = dgvShop.Rows.Cast<DataGridViewRow>().Where(row
|
||||
@@ -973,7 +984,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
continue;
|
||||
}
|
||||
var randomShopLst = new ConcurrentList<ShopLoginInfo>();
|
||||
randomShopLst.AddRange(GlobalConfig.ShopLoginList.Where(s => shopIdLst.Contains(s.ShopId) && s.LoginStatus == "登录成功"));
|
||||
randomShopLst.AddRange(GlobalConfig.ValidShopLoginList.Where(s => shopIdLst.Contains(s.ShopId) && s.LoginStatus == "登录成功"));
|
||||
if (randomShopLst.Count <= 0)
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
@@ -1113,7 +1124,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
DateTime startTime = DateTime.Now;
|
||||
for (int j = 0; j < 1; j++)
|
||||
{
|
||||
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == selectProd.shop_id);
|
||||
var shop = GlobalConfig.ValidShopLoginList.FirstOrDefault(s => s.ShopId == selectProd.shop_id);
|
||||
if (shop == null)
|
||||
continue;
|
||||
|
||||
@@ -5048,10 +5059,15 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
else
|
||||
data += "&add_user_name=" + addUserName;
|
||||
|
||||
// 采集来源判断
|
||||
data += "&product_get_type=" + cmbSourceType.Text.Trim().Replace("多多商品","机会商品").Replace("1688商品", "1688厂家,1688外部数据");
|
||||
if (!string.IsNullOrWhiteSpace(cmbSourceType.Text.Trim()))
|
||||
{
|
||||
// 采集来源判断
|
||||
data += "&product_get_type=" + cmbSourceType.Text.Trim().Replace("已采集数据", "1688外部数据")
|
||||
.Replace("多多商品", "机会商品,多多外部数据").Replace("1688商品", "1688厂家,1688外部数据");
|
||||
}
|
||||
|
||||
if (cmbSourceType.Text != "厂商直采" && cmbSourceType.Text != "1688厂家" && cmbSourceType.Text != "微信店采" && cmbSourceType.Text != "微信小店")
|
||||
//if (cmbSourceType.Text != "厂商直采" && cmbSourceType.Text != "1688厂家" && cmbSourceType.Text != "微信店采" && cmbSourceType.Text != "微信小店")
|
||||
if (btnSwitchCatType.Text == "P")
|
||||
data += "&in_cates=" + (cmbCateFilter1.Text == "全部" ? "" : cmbCateFilter1.Text);
|
||||
else
|
||||
{
|
||||
@@ -5397,7 +5413,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
var row = this.dgvSelectProduct.Rows.Cast<DataGridViewRow>().FirstOrDefault(r => r.Cells["colDraftId"].Value.ParseToString() == prodParam.product.productKey.productId);
|
||||
if (row == null)
|
||||
continue;
|
||||
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == row.Cells["colSupplierId"].Value.ParseToString());
|
||||
var shop = GlobalConfig.ValidShopLoginList.FirstOrDefault(s => s.ShopId == row.Cells["colSupplierId"].Value.ParseToString());
|
||||
if (shop == null)
|
||||
continue;
|
||||
var t =Task.Run(() =>
|
||||
@@ -5548,10 +5564,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
|
||||
private void cmbSourceType_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (cmbSourceType.Text != "厂商直采" && cmbSourceType.Text != "1688厂家" && cmbSourceType.Text != "微信店采" && cmbSourceType.Text != "微信小店")
|
||||
fillPddCate();
|
||||
else
|
||||
fillWxCate();
|
||||
//if (cmbSourceType.Text != "厂商直采" && cmbSourceType.Text != "1688厂家" && cmbSourceType.Text != "微信店采" && cmbSourceType.Text != "微信小店")
|
||||
// fillPddCate();
|
||||
//else
|
||||
// fillWxCate();
|
||||
|
||||
if (cmbSourceType.Text != "厂商直采"/* && cmbSourceType.Text != "1688厂家"*/)
|
||||
{
|
||||
@@ -5562,7 +5578,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
cmbJstInitSet.Text = "已设置";
|
||||
}
|
||||
|
||||
string sourceType = cmbSourceType.Text.Trim();
|
||||
string sourceType = cmbSourceType.Text.Trim().Replace("已采集数据", "1688外部数据");
|
||||
Task.Run(() =>
|
||||
{
|
||||
// 同时刷新下商品分组
|
||||
@@ -5948,6 +5964,20 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("wx_prod_fission_title", txtFissionTitle.Text);
|
||||
lblFissionTitleCount.Text = "标题数:" + txtFissionTitle.Text.Split(new string[] { "\r", "\n" }, StringSplitOptions.RemoveEmptyEntries).ToList().Count();
|
||||
}
|
||||
|
||||
private void btnSwitchCatType_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (btnSwitchCatType.Text == "W")
|
||||
{
|
||||
btnSwitchCatType.Text = "P";
|
||||
fillPddCate();
|
||||
}
|
||||
else
|
||||
{
|
||||
btnSwitchCatType.Text = "W";
|
||||
fillWxCate();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class WXUpload
|
||||
|
||||
+11
-11
@@ -42,7 +42,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.ucGroupBoxEx4 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
this.txtCurrentShop = new System.Windows.Forms.TextBox();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.txtPageEnd = new System.Windows.Forms.TextBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
@@ -184,7 +184,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
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.label5);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.textBox1);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.txtCurrentShop);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.label3);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.txtPageEnd);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.label1);
|
||||
@@ -210,15 +210,15 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.label5.TabIndex = 818;
|
||||
this.label5.Text = "达人广场页面上选好查询\r\n条件后点击达人搜索按钮";
|
||||
//
|
||||
// textBox1
|
||||
// txtCurrentShop
|
||||
//
|
||||
this.textBox1.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.textBox1.ForeColor = System.Drawing.Color.Red;
|
||||
this.textBox1.Location = new System.Drawing.Point(59, 64);
|
||||
this.textBox1.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.Size = new System.Drawing.Size(114, 25);
|
||||
this.textBox1.TabIndex = 830;
|
||||
this.txtCurrentShop.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.txtCurrentShop.ForeColor = System.Drawing.Color.Red;
|
||||
this.txtCurrentShop.Location = new System.Drawing.Point(59, 64);
|
||||
this.txtCurrentShop.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtCurrentShop.Name = "txtCurrentShop";
|
||||
this.txtCurrentShop.Size = new System.Drawing.Size(114, 25);
|
||||
this.txtCurrentShop.TabIndex = 830;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
@@ -1416,7 +1416,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
private System.Windows.Forms.PictureBox pbLoading;
|
||||
private System.Windows.Forms.TextBox txtPageEnd;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.TextBox textBox1;
|
||||
private System.Windows.Forms.TextBox txtCurrentShop;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.TextBox txtMobile;
|
||||
private System.Windows.Forms.Label label7;
|
||||
|
||||
@@ -100,11 +100,11 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// 直到店铺加载完后再加载客服内容
|
||||
while (!StartUp.IsShopInit)
|
||||
Thread.Sleep(100);
|
||||
currentShop = GlobalConfig.ShopLoginList.FirstOrDefault();
|
||||
currentShop = GlobalConfig.ValidShopLoginList.FirstOrDefault();
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
this.textBox1.Text = currentShop?.ShopAccount;
|
||||
this.textBox1.Tag = currentShop?.ShopId;
|
||||
this.txtCurrentShop.Text = currentShop?.ShopAccount;
|
||||
this.txtCurrentShop.Tag = currentShop?.ShopId;
|
||||
}));
|
||||
if (currentShop != null)
|
||||
SetMainBrowserUrl(currentShop);
|
||||
@@ -185,7 +185,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
else
|
||||
{
|
||||
//var list = GlobalConfig.ShopLoginList.Where(s => s.LoginStatus == "登录成功").Select(ss => ss.ShopId);
|
||||
//var list = GlobalConfig.ValidShopLoginList.Where(s => s.LoginStatus == "登录成功").Select(ss => ss.ShopId);
|
||||
foreach (DataGridViewRow row in dgvShop.Rows)
|
||||
{
|
||||
//if (list.Any(l => l == row.Cells["colShopId"]?.Value?.ToString()))
|
||||
@@ -222,25 +222,25 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
=> row.Cells["colSelect"]?.Value.ParseToBool() == true).Select(r => r.Cells["colShopId"]?.Value.ToString()).ToList();
|
||||
// 获取被删除的店铺
|
||||
List<DataGridViewRow> dgvRowList = dgvShop.Rows.Cast<DataGridViewRow>().Where(row
|
||||
=> !GlobalConfig.ShopLoginList.Any(s => s.ShopId == row.Cells["colShopId"]?.Value?.ToString())).ToList();
|
||||
=> !GlobalConfig.ValidShopLoginList.Any(s => s.ShopId == row.Cells["colShopId"]?.Value?.ToString())).ToList();
|
||||
// 更新被删除的店铺列表
|
||||
foreach (var row in dgvRowList)
|
||||
{
|
||||
dgvShop.Rows.Remove(row);
|
||||
}
|
||||
// 绑定其他店铺(含新导入的店铺)
|
||||
foreach (ShopLoginInfo shopEntity in GlobalConfig.ShopLoginList)
|
||||
foreach (ShopLoginInfo shopEntity in GlobalConfig.ValidShopLoginList)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(shopEntity.ShopId))
|
||||
BindShop(shopEntity, selectIds);
|
||||
}
|
||||
cmbFilterShopNotes.Items.Clear();
|
||||
foreach (var note in GlobalConfig.ShopLoginList.Select(s => s.Notes).Where(s => !s.IsNullOrEmpty()).Distinct())
|
||||
foreach (var note in GlobalConfig.ValidShopLoginList.Select(s => s.Notes).Where(s => !s.IsNullOrEmpty()).Distinct())
|
||||
{
|
||||
cmbFilterShopNotes.Items.Add(note);
|
||||
}
|
||||
cmbFilterShopGroup.Items.Clear();
|
||||
foreach (var group in GlobalConfig.ShopLoginList.Select(s => s.GroupName).Where(s => !s.IsNullOrEmpty()).Distinct())
|
||||
foreach (var group in GlobalConfig.ValidShopLoginList.Select(s => s.GroupName).Where(s => !s.IsNullOrEmpty()).Distinct())
|
||||
{
|
||||
cmbFilterShopGroup.Items.Add(group);
|
||||
}
|
||||
@@ -325,7 +325,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
string columnName = dgvShop.Columns[e.ColumnIndex].Name;
|
||||
string shopId = dgvShop.Rows[e.RowIndex].Cells["colShopId"].Value.ParseToString();
|
||||
string shopAccount = dgvShop.Rows[e.RowIndex].Cells["colShopName"].Value.ToString();
|
||||
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId.ToString());
|
||||
var shop = GlobalConfig.ValidShopLoginList.FirstOrDefault(s => s.ShopId == shopId.ToString());
|
||||
var row = dgvShop.Rows[e.RowIndex];
|
||||
foreach(DataGridViewRow r in dgvShop.Rows)
|
||||
{
|
||||
@@ -338,8 +338,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
|
||||
if (currentShop != shop)
|
||||
{
|
||||
this.textBox1.Text = shopAccount;
|
||||
this.textBox1.Tag = shopId;
|
||||
this.txtCurrentShop.Text = shopAccount;
|
||||
this.txtCurrentShop.Tag = shopId;
|
||||
currentShop = shop;
|
||||
|
||||
Task.Run(() =>
|
||||
@@ -356,11 +356,11 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
string columnName = dgvShop.Columns[e.ColumnIndex].Name;
|
||||
string shopId = dgvShop.Rows[e.RowIndex].Cells["colShopId"].Value.ParseToString();
|
||||
string shopAccount = dgvShop.Rows[e.RowIndex].Cells["colShopName"].Value.ToString();
|
||||
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId.ToString());
|
||||
var shop = GlobalConfig.ValidShopLoginList.FirstOrDefault(s => s.ShopId == shopId.ToString());
|
||||
var row = dgvShop.Rows[e.RowIndex];
|
||||
|
||||
this.textBox1.Text = shopAccount;
|
||||
this.textBox1.Tag = shopId;
|
||||
this.txtCurrentShop.Text = shopAccount;
|
||||
this.txtCurrentShop.Tag = shopId;
|
||||
currentShop = shop;
|
||||
|
||||
switch (columnName)
|
||||
@@ -424,7 +424,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
return;
|
||||
string headerText = dgvTalent.Columns[e.ColumnIndex].HeaderText;
|
||||
var shopId = dgvTalent.Rows[e.RowIndex].Cells["colSupplierId"].Value.ParseToString();
|
||||
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
|
||||
var shop = GlobalConfig.ValidShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
|
||||
var talentAppid = dgvTalent.Rows[e.RowIndex].Cells["colTalentAppid"].Value.ParseToString();
|
||||
var talent = this.lstWXFinderTalentInfo.FirstOrDefault(t => t.talentAppid == talentAppid);
|
||||
|
||||
@@ -906,7 +906,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
if (string.IsNullOrEmpty(prodIds))
|
||||
{
|
||||
var shopId = selectRows.FirstOrDefault().Cells["colSupplierId"].Value.ParseToString();
|
||||
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
|
||||
var shop = GlobalConfig.ValidShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
|
||||
if(chkReUse.Visible && chkReUse.Checked)
|
||||
shop = currentShop;
|
||||
var talentAppid = selectRows.FirstOrDefault().Cells["colTalentAppid"].Value.ParseToString();
|
||||
@@ -949,7 +949,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
break;
|
||||
|
||||
var shopId = row.Cells["colSupplierId"].Value.ParseToString();
|
||||
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
|
||||
var shop = GlobalConfig.ValidShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
|
||||
if (chkReUse.Visible && chkReUse.Checked)
|
||||
shop = currentShop;
|
||||
var talentAppid = row.Cells["colTalentAppid"].Value.ParseToString();
|
||||
|
||||
@@ -49,6 +49,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WXUserCollectAuthProdListForm));
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.btnImportPddOutData = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnSelect = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnSearch = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnStopStop = new DevComponents.DotNetBar.PanelEx();
|
||||
@@ -98,6 +99,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbSort = new System.Windows.Forms.ComboBox();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.dgvDbProduct = new TemuKJD.UserComponent.DataGridViewEx();
|
||||
this.ucSplitPage1 = new TemuKJD.UserControls.UcSplitPage();
|
||||
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
|
||||
this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.col_db_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colFromShopId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@@ -108,6 +111,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.colSkuReplaceImgUrl = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colSkuReplaceImg = new System.Windows.Forms.DataGridViewImageColumn();
|
||||
this.col_spu_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colSpuIdShow = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_skc_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colMainCate = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_cat_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@@ -133,8 +137,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.col_edit = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.col_delete = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.col_select_product = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.ucSplitPage1 = new TemuKJD.UserControls.UcSplitPage();
|
||||
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
@@ -159,6 +161,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// splitContainer1.Panel1
|
||||
//
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnImportPddOutData);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnSelect);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnSearch);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnStopStop);
|
||||
@@ -174,6 +177,31 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.splitContainer1.SplitterDistance = 74;
|
||||
this.splitContainer1.TabIndex = 1;
|
||||
//
|
||||
// btnImportPddOutData
|
||||
//
|
||||
this.btnImportPddOutData.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnImportPddOutData.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnImportPddOutData.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnImportPddOutData.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnImportPddOutData.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnImportPddOutData.Location = new System.Drawing.Point(1176, 44);
|
||||
this.btnImportPddOutData.Name = "btnImportPddOutData";
|
||||
this.btnImportPddOutData.Size = new System.Drawing.Size(105, 25);
|
||||
this.btnImportPddOutData.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnImportPddOutData.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnImportPddOutData.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnImportPddOutData.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnImportPddOutData.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnImportPddOutData.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnImportPddOutData.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnImportPddOutData.Style.GradientAngle = 90;
|
||||
this.btnImportPddOutData.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnImportPddOutData.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnImportPddOutData.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnImportPddOutData.TabIndex = 919;
|
||||
this.btnImportPddOutData.Text = "导入外部多多数据";
|
||||
this.btnImportPddOutData.Click += new System.EventHandler(this.btnImportPddOutData_Click);
|
||||
//
|
||||
// btnSelect
|
||||
//
|
||||
this.btnSelect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
@@ -377,17 +405,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// 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(759, 41);
|
||||
this.txtCatBoundLessThan.Location = new System.Drawing.Point(763, 41);
|
||||
this.txtCatBoundLessThan.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtCatBoundLessThan.Name = "txtCatBoundLessThan";
|
||||
this.txtCatBoundLessThan.Size = new System.Drawing.Size(108, 23);
|
||||
this.txtCatBoundLessThan.Size = new System.Drawing.Size(109, 23);
|
||||
this.txtCatBoundLessThan.TabIndex = 883;
|
||||
this.txtCatBoundLessThan.Text = "100000";
|
||||
//
|
||||
// chkCatBoundLessThan
|
||||
//
|
||||
this.chkCatBoundLessThan.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.chkCatBoundLessThan.Location = new System.Drawing.Point(692, 42);
|
||||
this.chkCatBoundLessThan.Location = new System.Drawing.Point(696, 42);
|
||||
this.chkCatBoundLessThan.Margin = new System.Windows.Forms.Padding(10, 3, 3, 3);
|
||||
this.chkCatBoundLessThan.Name = "chkCatBoundLessThan";
|
||||
this.chkCatBoundLessThan.Size = new System.Drawing.Size(64, 21);
|
||||
@@ -402,7 +430,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.txtSPU.Location = new System.Drawing.Point(52, 6);
|
||||
this.txtSPU.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtSPU.Name = "txtSPU";
|
||||
this.txtSPU.Size = new System.Drawing.Size(108, 23);
|
||||
this.txtSPU.Size = new System.Drawing.Size(109, 23);
|
||||
this.txtSPU.TabIndex = 434;
|
||||
//
|
||||
// label5
|
||||
@@ -424,27 +452,27 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"",
|
||||
"是",
|
||||
"否"});
|
||||
this.cmbWxCat.Location = new System.Drawing.Point(933, 7);
|
||||
this.cmbWxCat.Location = new System.Drawing.Point(938, 7);
|
||||
this.cmbWxCat.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbWxCat.Name = "cmbWxCat";
|
||||
this.cmbWxCat.Size = new System.Drawing.Size(108, 25);
|
||||
this.cmbWxCat.Size = new System.Drawing.Size(109, 25);
|
||||
this.cmbWxCat.TabIndex = 802;
|
||||
//
|
||||
// txtProdName
|
||||
//
|
||||
this.txtProdName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.tableLayoutPanel1.SetColumnSpan(this.txtProdName, 3);
|
||||
this.txtProdName.Location = new System.Drawing.Point(226, 6);
|
||||
this.txtProdName.Location = new System.Drawing.Point(227, 6);
|
||||
this.txtProdName.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtProdName.Name = "txtProdName";
|
||||
this.txtProdName.Size = new System.Drawing.Size(265, 23);
|
||||
this.txtProdName.Size = new System.Drawing.Size(267, 23);
|
||||
this.txtProdName.TabIndex = 427;
|
||||
//
|
||||
// label12
|
||||
//
|
||||
this.label12.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label12.AutoSize = true;
|
||||
this.label12.Location = new System.Drawing.Point(873, 9);
|
||||
this.label12.Location = new System.Drawing.Point(878, 9);
|
||||
this.label12.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label12.Name = "label12";
|
||||
this.label12.Size = new System.Drawing.Size(60, 17);
|
||||
@@ -455,7 +483,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label3.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(166, 9);
|
||||
this.label3.Location = new System.Drawing.Point(167, 9);
|
||||
this.label3.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(60, 17);
|
||||
@@ -484,7 +512,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat1.Location = new System.Drawing.Point(52, 42);
|
||||
this.cmbCat1.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat1.Name = "cmbCat1";
|
||||
this.cmbCat1.Size = new System.Drawing.Size(108, 25);
|
||||
this.cmbCat1.Size = new System.Drawing.Size(109, 25);
|
||||
this.cmbCat1.TabIndex = 805;
|
||||
this.cmbCat1.Text = "全部";
|
||||
this.cmbCat1.SelectedIndexChanged += new System.EventHandler(this.cmbCat1_SelectedIndexChanged);
|
||||
@@ -493,17 +521,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// 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(571, 41);
|
||||
this.txtCatBoundMoreThan.Location = new System.Drawing.Point(574, 41);
|
||||
this.txtCatBoundMoreThan.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtCatBoundMoreThan.Name = "txtCatBoundMoreThan";
|
||||
this.txtCatBoundMoreThan.Size = new System.Drawing.Size(108, 23);
|
||||
this.txtCatBoundMoreThan.Size = new System.Drawing.Size(109, 23);
|
||||
this.txtCatBoundMoreThan.TabIndex = 882;
|
||||
this.txtCatBoundMoreThan.Text = "1000";
|
||||
//
|
||||
// chkCatBoundMoreThan
|
||||
//
|
||||
this.chkCatBoundMoreThan.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.chkCatBoundMoreThan.Location = new System.Drawing.Point(504, 42);
|
||||
this.chkCatBoundMoreThan.Location = new System.Drawing.Point(507, 42);
|
||||
this.chkCatBoundMoreThan.Margin = new System.Windows.Forms.Padding(10, 3, 3, 3);
|
||||
this.chkCatBoundMoreThan.Name = "chkCatBoundMoreThan";
|
||||
this.chkCatBoundMoreThan.Size = new System.Drawing.Size(64, 21);
|
||||
@@ -516,7 +544,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label14.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label14.AutoSize = true;
|
||||
this.label14.Location = new System.Drawing.Point(183, 44);
|
||||
this.label14.Location = new System.Drawing.Point(184, 44);
|
||||
this.label14.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label14.Name = "label14";
|
||||
this.label14.Size = new System.Drawing.Size(43, 17);
|
||||
@@ -531,10 +559,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat2.DropDownWidth = 1;
|
||||
this.cmbCat2.FormattingEnabled = true;
|
||||
this.cmbCat2.IntegralHeight = false;
|
||||
this.cmbCat2.Location = new System.Drawing.Point(226, 42);
|
||||
this.cmbCat2.Location = new System.Drawing.Point(227, 42);
|
||||
this.cmbCat2.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat2.Name = "cmbCat2";
|
||||
this.cmbCat2.Size = new System.Drawing.Size(108, 25);
|
||||
this.cmbCat2.Size = new System.Drawing.Size(109, 25);
|
||||
this.cmbCat2.TabIndex = 804;
|
||||
this.cmbCat2.Text = "全部";
|
||||
this.cmbCat2.SelectedIndexChanged += new System.EventHandler(this.cmbCat2_SelectedIndexChanged);
|
||||
@@ -544,7 +572,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label17.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label17.AutoSize = true;
|
||||
this.label17.Location = new System.Drawing.Point(340, 44);
|
||||
this.label17.Location = new System.Drawing.Point(342, 44);
|
||||
this.label17.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label17.Name = "label17";
|
||||
this.label17.Size = new System.Drawing.Size(43, 17);
|
||||
@@ -559,10 +587,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat3.DropDownWidth = 1;
|
||||
this.cmbCat3.FormattingEnabled = true;
|
||||
this.cmbCat3.IntegralHeight = false;
|
||||
this.cmbCat3.Location = new System.Drawing.Point(383, 42);
|
||||
this.cmbCat3.Location = new System.Drawing.Point(385, 42);
|
||||
this.cmbCat3.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat3.Name = "cmbCat3";
|
||||
this.cmbCat3.Size = new System.Drawing.Size(108, 25);
|
||||
this.cmbCat3.Size = new System.Drawing.Size(109, 25);
|
||||
this.cmbCat3.TabIndex = 811;
|
||||
this.cmbCat3.Text = "全部";
|
||||
this.cmbCat3.SelectedIndexChanged += new System.EventHandler(this.cmbCat3_SelectedIndexChanged);
|
||||
@@ -572,7 +600,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.lblWxSafe.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.lblWxSafe.AutoSize = true;
|
||||
this.lblWxSafe.Location = new System.Drawing.Point(873, 44);
|
||||
this.lblWxSafe.Location = new System.Drawing.Point(878, 44);
|
||||
this.lblWxSafe.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.lblWxSafe.Name = "lblWxSafe";
|
||||
this.lblWxSafe.Size = new System.Drawing.Size(60, 17);
|
||||
@@ -588,27 +616,27 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"安全+未校验",
|
||||
"安全商品",
|
||||
"未校验"});
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(933, 42);
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(938, 42);
|
||||
this.cmbWxSafe.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbWxSafe.Name = "cmbWxSafe";
|
||||
this.cmbWxSafe.Size = new System.Drawing.Size(108, 25);
|
||||
this.cmbWxSafe.Size = new System.Drawing.Size(109, 25);
|
||||
this.cmbWxSafe.TabIndex = 676;
|
||||
this.cmbWxSafe.Text = "安全+未校验";
|
||||
//
|
||||
// txtNotes
|
||||
//
|
||||
this.txtNotes.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtNotes.Location = new System.Drawing.Point(759, 6);
|
||||
this.txtNotes.Location = new System.Drawing.Point(763, 6);
|
||||
this.txtNotes.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtNotes.Name = "txtNotes";
|
||||
this.txtNotes.Size = new System.Drawing.Size(108, 23);
|
||||
this.txtNotes.Size = new System.Drawing.Size(109, 23);
|
||||
this.txtNotes.TabIndex = 439;
|
||||
//
|
||||
// lblNotes
|
||||
//
|
||||
this.lblNotes.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.lblNotes.AutoSize = true;
|
||||
this.lblNotes.Location = new System.Drawing.Point(723, 9);
|
||||
this.lblNotes.Location = new System.Drawing.Point(727, 9);
|
||||
this.lblNotes.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.lblNotes.Name = "lblNotes";
|
||||
this.lblNotes.Size = new System.Drawing.Size(36, 17);
|
||||
@@ -623,10 +651,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"",
|
||||
"多多商品",
|
||||
"1688商品"});
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(571, 7);
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(574, 7);
|
||||
this.cmbSourceType.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbSourceType.Name = "cmbSourceType";
|
||||
this.cmbSourceType.Size = new System.Drawing.Size(108, 25);
|
||||
this.cmbSourceType.Size = new System.Drawing.Size(109, 25);
|
||||
this.cmbSourceType.TabIndex = 654;
|
||||
this.cmbSourceType.SelectedIndexChanged += new System.EventHandler(this.cmbSourceType_SelectedIndexChanged);
|
||||
this.cmbSourceType.TextChanged += new System.EventHandler(this.cmbSourceType_SelectedIndexChanged);
|
||||
@@ -635,7 +663,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.lblSourceType.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.lblSourceType.AutoSize = true;
|
||||
this.lblSourceType.Location = new System.Drawing.Point(527, 9);
|
||||
this.lblSourceType.Location = new System.Drawing.Point(530, 9);
|
||||
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);
|
||||
@@ -927,6 +955,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.colSkuReplaceImgUrl,
|
||||
this.colSkuReplaceImg,
|
||||
this.col_spu_id,
|
||||
this.colSpuIdShow,
|
||||
this.col_skc_id,
|
||||
this.colMainCate,
|
||||
this.col_cat_name,
|
||||
@@ -963,6 +992,31 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.dgvDbProduct.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvDbProduct_CellContentClick);
|
||||
this.dgvDbProduct.Scroll += new System.Windows.Forms.ScrollEventHandler(this.dgvDbProduct_Scroll);
|
||||
//
|
||||
// ucSplitPage1
|
||||
//
|
||||
this.ucSplitPage1.CurrentPage = 1;
|
||||
this.ucSplitPage1.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.ucSplitPage1.IsShowPageSize = true;
|
||||
this.ucSplitPage1.Location = new System.Drawing.Point(985, 0);
|
||||
this.ucSplitPage1.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.ucSplitPage1.Name = "ucSplitPage1";
|
||||
this.ucSplitPage1.Padding = new System.Windows.Forms.Padding(0, 0, 1, 0);
|
||||
this.ucSplitPage1.PageSize = 100;
|
||||
this.ucSplitPage1.Size = new System.Drawing.Size(453, 25);
|
||||
this.ucSplitPage1.TabIndex = 6;
|
||||
this.ucSplitPage1.TotalPage = 1;
|
||||
//
|
||||
// statusBar
|
||||
//
|
||||
this.statusBar.BackColor = System.Drawing.Color.White;
|
||||
this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.statusBar.Location = new System.Drawing.Point(0, 0);
|
||||
this.statusBar.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.statusBar.Name = "statusBar";
|
||||
this.statusBar.Size = new System.Drawing.Size(1438, 25);
|
||||
this.statusBar.TabIndex = 5;
|
||||
//
|
||||
// colSelect
|
||||
//
|
||||
this.colSelect.FillWeight = 26F;
|
||||
@@ -1042,9 +1096,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.col_spu_id.DefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.col_spu_id.HeaderText = "商品Id";
|
||||
this.col_spu_id.HeaderText = "真实商品Id";
|
||||
this.col_spu_id.Name = "col_spu_id";
|
||||
this.col_spu_id.ReadOnly = true;
|
||||
this.col_spu_id.Visible = false;
|
||||
//
|
||||
// colSpuIdShow
|
||||
//
|
||||
this.colSpuIdShow.FillWeight = 70F;
|
||||
this.colSpuIdShow.HeaderText = "商品Id";
|
||||
this.colSpuIdShow.Name = "colSpuIdShow";
|
||||
this.colSpuIdShow.ReadOnly = true;
|
||||
//
|
||||
// col_skc_id
|
||||
//
|
||||
@@ -1261,31 +1323,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.col_select_product.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.col_select_product.Visible = false;
|
||||
//
|
||||
// ucSplitPage1
|
||||
//
|
||||
this.ucSplitPage1.CurrentPage = 1;
|
||||
this.ucSplitPage1.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.ucSplitPage1.IsShowPageSize = true;
|
||||
this.ucSplitPage1.Location = new System.Drawing.Point(985, 0);
|
||||
this.ucSplitPage1.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.ucSplitPage1.Name = "ucSplitPage1";
|
||||
this.ucSplitPage1.Padding = new System.Windows.Forms.Padding(0, 0, 1, 0);
|
||||
this.ucSplitPage1.PageSize = 100;
|
||||
this.ucSplitPage1.Size = new System.Drawing.Size(453, 25);
|
||||
this.ucSplitPage1.TabIndex = 6;
|
||||
this.ucSplitPage1.TotalPage = 1;
|
||||
//
|
||||
// statusBar
|
||||
//
|
||||
this.statusBar.BackColor = System.Drawing.Color.White;
|
||||
this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.statusBar.Location = new System.Drawing.Point(0, 0);
|
||||
this.statusBar.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.statusBar.Name = "statusBar";
|
||||
this.statusBar.Size = new System.Drawing.Size(1438, 25);
|
||||
this.statusBar.TabIndex = 5;
|
||||
//
|
||||
// WXUserCollectAuthProdListForm
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
@@ -1373,6 +1410,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
public System.Windows.Forms.ComboBox cmbRelation;
|
||||
public System.Windows.Forms.Label lblRelation;
|
||||
private DevComponents.DotNetBar.PanelEx btnGetProdWxCate;
|
||||
private DevComponents.DotNetBar.PanelEx btnSelect;
|
||||
private DevComponents.DotNetBar.PanelEx btnImportPddOutData;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_db_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colFromShopId;
|
||||
@@ -1383,6 +1422,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSkuReplaceImgUrl;
|
||||
private System.Windows.Forms.DataGridViewImageColumn colSkuReplaceImg;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_spu_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSpuIdShow;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_skc_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colMainCate;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_cat_name;
|
||||
@@ -1408,6 +1448,5 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
private System.Windows.Forms.DataGridViewLinkColumn col_edit;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn col_delete;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn col_select_product;
|
||||
private DevComponents.DotNetBar.PanelEx btnSelect;
|
||||
}
|
||||
}
|
||||
@@ -228,6 +228,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
price2 += Math.Max(100, price2 * 0.1m).ParseToInt();
|
||||
price1 = price1 * 0.01m;
|
||||
price2 = price2 * 0.01m;
|
||||
var collectAuthorityTag = "-" + BaseClass.UserName;
|
||||
if (BaseClass.GroupId != 3)
|
||||
collectAuthorityTag = "-" + BaseClass.ParentUserName;
|
||||
|
||||
int rowIndex = this.dgvDbProduct.Rows.Add(
|
||||
false,
|
||||
@@ -239,7 +242,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
defaultBitmap, // prod.main_img,
|
||||
prod.sku_img_replace_url,
|
||||
DataGridViewExtension.defaultBitmap,
|
||||
(prod.spu_id).Trim(),
|
||||
prod.spu_id,
|
||||
prod.spu_id.Replace(collectAuthorityTag, ""),
|
||||
prod.skc_id,
|
||||
prod.main_cat_name ?? prod.main_cat_id,
|
||||
catName, //catName.Split('>').LastOrDefault()?.Trim(),
|
||||
@@ -258,7 +262,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
prod.end_words,
|
||||
prod.fission_words,
|
||||
prod.product_get_type_text == "厂商直采" ? (prod.product_get_type_text + " " + prod.skc_id).Trim() :
|
||||
prod.product_get_type_text.Replace("1688厂家", "1688商品").Replace("1688外部数据", "1688商品").Replace("机会商品", "多多商品"),
|
||||
prod.product_get_type_text.Replace("1688厂家", "1688商品").Replace("1688外部数据", "1688商品")
|
||||
.Replace("已采集数据", "1688商品").Replace("机会商品", "多多商品").Replace("多多外部数据", "多多商品"),
|
||||
prod.special_prod_type,
|
||||
prod.wx_safe_status,
|
||||
prod.add_time.ToString("yy-MM-dd HH:mm"),
|
||||
@@ -344,10 +349,13 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
var collectAuthorityTag = "-" + BaseClass.UserName;
|
||||
if (BaseClass.GroupId != 3)
|
||||
collectAuthorityTag = "-" + BaseClass.ParentUserName;
|
||||
data = UserLogin.GetSignaturex() +
|
||||
"&page=" + page +
|
||||
"&page_size=" + pageSize +
|
||||
"&search_spu=" + txtSPU.Text.Trim() +
|
||||
"&search_spu=" + string.Join(",", txtSPU.Text.Trim().Split(new string[] { ",", ",", " " }, StringSplitOptions.RemoveEmptyEntries).Select(s => s + collectAuthorityTag)) +
|
||||
"&search_skc=" + txtSKC.Text.Trim() +
|
||||
"&search_notes=" + txtNotes.Text.Trim() +
|
||||
"&search_ext_code=" + txtExtCode.Text.Trim() +
|
||||
@@ -431,13 +439,11 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
data += "&send_to_out_server=2";
|
||||
}
|
||||
|
||||
if (cmbSourceType.Text.Trim() == "多多商品")
|
||||
if (!string.IsNullOrEmpty(cmbSourceType.Text.Trim()))
|
||||
{
|
||||
data += "&product_get_type=机会商品";
|
||||
}
|
||||
else if (cmbSourceType.Text.Trim() == "1688商品")
|
||||
{
|
||||
data += "&product_get_type=1688厂家,1688外部数据";
|
||||
// 采集来源判断
|
||||
data += "&product_get_type=" + cmbSourceType.Text.Trim().Replace("已采集数据", "1688外部数据")
|
||||
.Replace("多多商品", "机会商品,多多外部数据").Replace("1688商品", "1688厂家,1688外部数据");
|
||||
}
|
||||
|
||||
if (shop != null && !string.IsNullOrEmpty(shop.ShopId))
|
||||
@@ -1022,5 +1028,66 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
WXDBProdUploadForm.Instance.dbProdList_SaveComplete(WXDBProdUploadForm.Instance.lstTemuDBProductSelect);
|
||||
}
|
||||
}
|
||||
|
||||
private void btnImportPddOutData_Click(object sender, EventArgs e)
|
||||
{
|
||||
OpenFileDialog openFileDialog = new OpenFileDialog();
|
||||
openFileDialog.Multiselect = true;
|
||||
// 设置过滤条件,只显示文本文件
|
||||
openFileDialog.Filter = "文本文件 (*.txt)|*.txt|All files (*.*)|*.*";
|
||||
// 显示对话框并获取结果
|
||||
if (openFileDialog.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
var filePathLst = openFileDialog.FileNames.ToList();
|
||||
pbLoading.Visible = true;
|
||||
this.statusBar.pgbTaskProgress.Maximum = filePathLst.Count;
|
||||
this.statusBar.UpdateProgressBar(0);
|
||||
Task.Run(() =>
|
||||
{
|
||||
int successNum = 0;
|
||||
int failedNum = 0;
|
||||
foreach (var path in filePathLst)
|
||||
{
|
||||
string content = "";
|
||||
string rst = "";
|
||||
try
|
||||
{
|
||||
using (StreamReader sr = new StreamReader(path))
|
||||
{
|
||||
content = sr.ReadToEnd();
|
||||
}
|
||||
|
||||
if (content.Contains("\"spec_keys\"") && content.Contains("\"spec_values\"") && content.Contains("\"is_sku_pre_sale\""))
|
||||
{
|
||||
rst = new PDDProdFormConverter().PddFrontToPddBackConvert(content, true, null, true);
|
||||
}
|
||||
else if (content.Contains("\"destination_url\"") && content.Contains("\"destination_type\"") && content.Contains("\"pre_render_url\""))
|
||||
{
|
||||
rst = new PDDProdFormConverter().PddFrontToPddBackConvert2(content, true, null, true);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
rst = ex.Message;
|
||||
}
|
||||
if (string.IsNullOrEmpty(rst))
|
||||
successNum++;
|
||||
else
|
||||
failedNum++;
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
this.statusBar.UpdateProgressBar(this.statusBar.pgbTaskProgress.Value + 1);
|
||||
this.statusBar.lblTaskStatus.Text = "正在导入";
|
||||
}));
|
||||
}
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
pbLoading.Visible = false;
|
||||
this.statusBar.lblTaskStatus.Text = "导入完成";
|
||||
BaseMsgForm.ShowInfo("导入完成!");
|
||||
}));
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -147,6 +147,9 @@
|
||||
<metadata name="col_spu_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colSpuIdShow.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_skc_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
|
||||
+33
-33
@@ -330,16 +330,16 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// txtViewUvMin
|
||||
//
|
||||
this.txtViewUvMin.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtViewUvMin.Location = new System.Drawing.Point(1128, 41);
|
||||
this.txtViewUvMin.Location = new System.Drawing.Point(1132, 41);
|
||||
this.txtViewUvMin.Name = "txtViewUvMin";
|
||||
this.txtViewUvMin.Size = new System.Drawing.Size(62, 23);
|
||||
this.txtViewUvMin.Size = new System.Drawing.Size(58, 23);
|
||||
this.txtViewUvMin.TabIndex = 882;
|
||||
this.txtViewUvMin.Visible = false;
|
||||
//
|
||||
// chkViewUvMin
|
||||
//
|
||||
this.chkViewUvMin.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.chkViewUvMin.Location = new System.Drawing.Point(1074, 42);
|
||||
this.chkViewUvMin.Location = new System.Drawing.Point(1078, 42);
|
||||
this.chkViewUvMin.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3);
|
||||
this.chkViewUvMin.Name = "chkViewUvMin";
|
||||
this.chkViewUvMin.Size = new System.Drawing.Size(48, 21);
|
||||
@@ -356,10 +356,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"",
|
||||
"爆款数据",
|
||||
"普通商品"});
|
||||
this.cmbHot.Location = new System.Drawing.Point(918, 7);
|
||||
this.cmbHot.Location = new System.Drawing.Point(921, 7);
|
||||
this.cmbHot.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbHot.Name = "cmbHot";
|
||||
this.cmbHot.Size = new System.Drawing.Size(147, 25);
|
||||
this.cmbHot.Size = new System.Drawing.Size(148, 25);
|
||||
this.cmbHot.TabIndex = 882;
|
||||
this.cmbHot.Text = "普通商品";
|
||||
this.cmbHot.Visible = false;
|
||||
@@ -369,7 +369,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.lblHot.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.lblHot.AutoSize = true;
|
||||
this.lblHot.Location = new System.Drawing.Point(874, 9);
|
||||
this.lblHot.Location = new System.Drawing.Point(877, 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);
|
||||
@@ -384,7 +384,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(1071, 5);
|
||||
this.btnSearch.Location = new System.Drawing.Point(1075, 5);
|
||||
this.btnSearch.Name = "btnSearch";
|
||||
this.btnSearch.Size = new System.Drawing.Size(51, 25);
|
||||
this.btnSearch.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -408,9 +408,9 @@ 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(1128, 5);
|
||||
this.btnEmpty.Location = new System.Drawing.Point(1132, 5);
|
||||
this.btnEmpty.Name = "btnEmpty";
|
||||
this.btnEmpty.Size = new System.Drawing.Size(62, 25);
|
||||
this.btnEmpty.Size = new System.Drawing.Size(58, 25);
|
||||
this.btnEmpty.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnEmpty.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.btnEmpty.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
@@ -435,10 +435,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat3.DropDownWidth = 1;
|
||||
this.cmbCat3.FormattingEnabled = true;
|
||||
this.cmbCat3.IntegralHeight = false;
|
||||
this.cmbCat3.Location = new System.Drawing.Point(721, 7);
|
||||
this.cmbCat3.Location = new System.Drawing.Point(723, 7);
|
||||
this.cmbCat3.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat3.Name = "cmbCat3";
|
||||
this.cmbCat3.Size = new System.Drawing.Size(147, 25);
|
||||
this.cmbCat3.Size = new System.Drawing.Size(148, 25);
|
||||
this.cmbCat3.TabIndex = 811;
|
||||
this.cmbCat3.Text = "全部";
|
||||
this.cmbCat3.SelectedIndexChanged += new System.EventHandler(this.cmbCat3_SelectedIndexChanged);
|
||||
@@ -448,7 +448,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label17.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label17.AutoSize = true;
|
||||
this.label17.Location = new System.Drawing.Point(670, 9);
|
||||
this.label17.Location = new System.Drawing.Point(672, 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);
|
||||
@@ -463,7 +463,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat2.DropDownWidth = 1;
|
||||
this.cmbCat2.FormattingEnabled = true;
|
||||
this.cmbCat2.IntegralHeight = false;
|
||||
this.cmbCat2.Location = new System.Drawing.Point(517, 7);
|
||||
this.cmbCat2.Location = new System.Drawing.Point(519, 7);
|
||||
this.cmbCat2.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat2.Name = "cmbCat2";
|
||||
this.cmbCat2.Size = new System.Drawing.Size(147, 25);
|
||||
@@ -476,7 +476,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label14.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label14.AutoSize = true;
|
||||
this.label14.Location = new System.Drawing.Point(466, 9);
|
||||
this.label14.Location = new System.Drawing.Point(468, 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);
|
||||
@@ -491,10 +491,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat1.DropDownWidth = 1;
|
||||
this.cmbCat1.FormattingEnabled = true;
|
||||
this.cmbCat1.IntegralHeight = false;
|
||||
this.cmbCat1.Location = new System.Drawing.Point(294, 7);
|
||||
this.cmbCat1.Location = new System.Drawing.Point(295, 5);
|
||||
this.cmbCat1.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat1.Name = "cmbCat1";
|
||||
this.cmbCat1.Size = new System.Drawing.Size(147, 25);
|
||||
this.cmbCat1.Size = new System.Drawing.Size(148, 25);
|
||||
this.cmbCat1.TabIndex = 805;
|
||||
this.cmbCat1.Text = "全部";
|
||||
this.cmbCat1.SelectedIndexChanged += new System.EventHandler(this.cmbCat1_SelectedIndexChanged);
|
||||
@@ -504,7 +504,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label2.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(243, 9);
|
||||
this.label2.Location = new System.Drawing.Point(244, 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);
|
||||
@@ -517,7 +517,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(147, 23);
|
||||
this.txtProdName.Size = new System.Drawing.Size(148, 23);
|
||||
this.txtProdName.TabIndex = 427;
|
||||
//
|
||||
// label3
|
||||
@@ -551,17 +551,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"安全+未校验",
|
||||
"安全商品",
|
||||
"未校验"});
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(71, 42);
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(71, 40);
|
||||
this.cmbWxSafe.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbWxSafe.Name = "cmbWxSafe";
|
||||
this.cmbWxSafe.Size = new System.Drawing.Size(147, 25);
|
||||
this.cmbWxSafe.Size = new System.Drawing.Size(148, 25);
|
||||
this.cmbWxSafe.TabIndex = 676;
|
||||
this.cmbWxSafe.Text = "安全+未校验";
|
||||
//
|
||||
// chkCatBoundMoreThan
|
||||
//
|
||||
this.chkCatBoundMoreThan.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.chkCatBoundMoreThan.Location = new System.Drawing.Point(227, 42);
|
||||
this.chkCatBoundMoreThan.Location = new System.Drawing.Point(228, 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);
|
||||
@@ -573,10 +573,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// 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(294, 41);
|
||||
this.txtCatBoundMoreThan.Location = new System.Drawing.Point(295, 41);
|
||||
this.txtCatBoundMoreThan.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtCatBoundMoreThan.Name = "txtCatBoundMoreThan";
|
||||
this.txtCatBoundMoreThan.Size = new System.Drawing.Size(147, 23);
|
||||
this.txtCatBoundMoreThan.Size = new System.Drawing.Size(148, 23);
|
||||
this.txtCatBoundMoreThan.TabIndex = 882;
|
||||
this.txtCatBoundMoreThan.Text = "1000";
|
||||
this.txtCatBoundMoreThan.Visible = false;
|
||||
@@ -584,7 +584,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// chkCatBoundLessThan
|
||||
//
|
||||
this.chkCatBoundLessThan.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.chkCatBoundLessThan.Location = new System.Drawing.Point(450, 42);
|
||||
this.chkCatBoundLessThan.Location = new System.Drawing.Point(452, 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);
|
||||
@@ -596,7 +596,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// 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(517, 41);
|
||||
this.txtCatBoundLessThan.Location = new System.Drawing.Point(519, 41);
|
||||
this.txtCatBoundLessThan.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtCatBoundLessThan.Name = "txtCatBoundLessThan";
|
||||
this.txtCatBoundLessThan.Size = new System.Drawing.Size(147, 23);
|
||||
@@ -608,10 +608,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
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(918, 42);
|
||||
this.cmbGroupFilter.Location = new System.Drawing.Point(921, 42);
|
||||
this.cmbGroupFilter.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbGroupFilter.Name = "cmbGroupFilter";
|
||||
this.cmbGroupFilter.Size = new System.Drawing.Size(147, 25);
|
||||
this.cmbGroupFilter.Size = new System.Drawing.Size(148, 25);
|
||||
this.cmbGroupFilter.TabIndex = 653;
|
||||
this.cmbGroupFilter.Visible = false;
|
||||
this.cmbGroupFilter.SelectedIndexChanged += new System.EventHandler(this.cmbGroupFilter_SelectedIndexChanged);
|
||||
@@ -620,7 +620,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.lblSourceType.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.lblSourceType.AutoSize = true;
|
||||
this.lblSourceType.Location = new System.Drawing.Point(677, 44);
|
||||
this.lblSourceType.Location = new System.Drawing.Point(679, 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);
|
||||
@@ -632,7 +632,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.lblGroupFilter.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.lblGroupFilter.AutoSize = true;
|
||||
this.lblGroupFilter.Location = new System.Drawing.Point(874, 44);
|
||||
this.lblGroupFilter.Location = new System.Drawing.Point(877, 44);
|
||||
this.lblGroupFilter.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.lblGroupFilter.Name = "lblGroupFilter";
|
||||
this.lblGroupFilter.Size = new System.Drawing.Size(44, 17);
|
||||
@@ -648,17 +648,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"",
|
||||
"厂商直采",
|
||||
"1688厂家",
|
||||
"1688外部数据",
|
||||
"已采集数据",
|
||||
"微信小店",
|
||||
"微信店采",
|
||||
"母店采集",
|
||||
"机会商品",
|
||||
"以图搜品",
|
||||
"外部数据"});
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(721, 42);
|
||||
"多多外部数据"});
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(723, 42);
|
||||
this.cmbSourceType.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbSourceType.Name = "cmbSourceType";
|
||||
this.cmbSourceType.Size = new System.Drawing.Size(147, 25);
|
||||
this.cmbSourceType.Size = new System.Drawing.Size(148, 25);
|
||||
this.cmbSourceType.TabIndex = 654;
|
||||
this.cmbSourceType.Text = "厂商直采";
|
||||
this.cmbSourceType.Visible = false;
|
||||
|
||||
@@ -503,22 +503,24 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
if (!string.IsNullOrEmpty(cmbWxCat.Text))
|
||||
{
|
||||
data += "&has_wx_cat=" + (cmbWxCat.Text.Trim() == "是").ParseToString().ToLower();
|
||||
//data += "&has_wx_cat=" + (cmbWxCat.Text.Trim() == "是").ParseToString().ToLower();
|
||||
}
|
||||
if (!string.IsNullOrEmpty(cmbExportToOutServer.Text) && cmbGroupFilter.Text != "我的商品") // 用户自己的商品没有聚水潭商品,不用考虑是否导出
|
||||
{
|
||||
//data += "&has_send_to_out_server=" + (cmbExportToOutServer.Text.Trim() == "是").ParseToString().ToLower();
|
||||
if (cmbExportToOutServer.Text.Trim() == "是")
|
||||
data += "&send_to_out_server=1";
|
||||
else if (cmbExportToOutServer.Text.Trim() == "否")
|
||||
data += "&send_to_out_server=0";
|
||||
else if (cmbExportToOutServer.Text.Trim() == "导出未拉回")
|
||||
data += "&send_to_out_server=2";
|
||||
////data += "&has_send_to_out_server=" + (cmbExportToOutServer.Text.Trim() == "是").ParseToString().ToLower();
|
||||
//if (cmbExportToOutServer.Text.Trim() == "是")
|
||||
// data += "&send_to_out_server=1";
|
||||
//else if (cmbExportToOutServer.Text.Trim() == "否")
|
||||
// data += "&send_to_out_server=0";
|
||||
//else if (cmbExportToOutServer.Text.Trim() == "导出未拉回")
|
||||
// data += "&send_to_out_server=2";
|
||||
}
|
||||
|
||||
if (cmbSourceType.Text.Trim() != "全部")
|
||||
if (!string.IsNullOrEmpty(cmbSourceType.Text.Trim()))
|
||||
{
|
||||
data += "&product_get_type=" + cmbSourceType.Text.Trim().Replace("多多商品", "机会商品").Replace("1688商品", "1688厂家,1688外部数据");
|
||||
// 采集来源判断
|
||||
data += "&product_get_type=" + cmbSourceType.Text.Trim().Replace("已采集数据", "1688外部数据")
|
||||
.Replace("多多商品", "机会商品,多多外部数据").Replace("1688商品", "1688厂家,1688外部数据");
|
||||
}
|
||||
if (shop != null && !string.IsNullOrEmpty(shop.ShopId))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user