1微信用户采集店铺商品功能 2查询达人带货商品并联系达人功能
This commit is contained in:
1 parent
e1ee91dd03
commit
2759ff0f6d
33 files changed
+2464
-626
No files matched your search
+103
-90
@@ -32,14 +32,14 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.ucGroupBoxEx2 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||
this.txtShippingPriceTimes = new System.Windows.Forms.TextBox();
|
||||
@@ -108,7 +108,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.label27 = new System.Windows.Forms.Label();
|
||||
this.chkCommission = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.btnLoginAssistant = new DevComponents.DotNetBar.PanelEx();
|
||||
this.商品裂变 = new System.Windows.Forms.TabPage();
|
||||
this.裂变调试 = new System.Windows.Forms.TabPage();
|
||||
this.txtFissionTitle = new System.Windows.Forms.TextBox();
|
||||
this.line2 = new DevComponents.DotNetBar.Controls.Line();
|
||||
this.label38 = new System.Windows.Forms.Label();
|
||||
@@ -235,6 +235,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
|
||||
this.btnClear = new DevComponents.DotNetBar.PanelEx();
|
||||
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
|
||||
this.chkUseRecommand = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
@@ -246,7 +247,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.ucTabControlMetro1.SuspendLayout();
|
||||
this.上传参数.SuspendLayout();
|
||||
this.佣金上货.SuspendLayout();
|
||||
this.商品裂变.SuspendLayout();
|
||||
this.裂变调试.SuspendLayout();
|
||||
this.ucGroupBoxEx4.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbSelectProd)).BeginInit();
|
||||
this.ucGroupBoxEx1.SuspendLayout();
|
||||
@@ -714,7 +715,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.ucTabControlMetro1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(157)))));
|
||||
this.ucTabControlMetro1.Controls.Add(this.上传参数);
|
||||
this.ucTabControlMetro1.Controls.Add(this.佣金上货);
|
||||
this.ucTabControlMetro1.Controls.Add(this.商品裂变);
|
||||
this.ucTabControlMetro1.Controls.Add(this.裂变调试);
|
||||
this.ucTabControlMetro1.ItemSize = new System.Drawing.Size(72, 24);
|
||||
this.ucTabControlMetro1.Location = new System.Drawing.Point(421, 11);
|
||||
this.ucTabControlMetro1.Name = "ucTabControlMetro1";
|
||||
@@ -728,12 +729,14 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// 上传参数
|
||||
//
|
||||
this.上传参数.Controls.Add(this.chkUseWXComplateProd);
|
||||
this.上传参数.Controls.Add(this.chkUseRecommand);
|
||||
this.上传参数.Controls.Add(this.chkPreSale);
|
||||
this.上传参数.Controls.Add(this.txtDefaultBestBefore);
|
||||
this.上传参数.Controls.Add(this.chkDefaultBestBefore);
|
||||
this.上传参数.Controls.Add(this.txtMinPrice);
|
||||
this.上传参数.Controls.Add(this.btnFilterBound);
|
||||
this.上传参数.Controls.Add(this.txtFilterBoundMin);
|
||||
this.上传参数.Controls.Add(this.chkUseWXComplateProd);
|
||||
this.上传参数.Controls.Add(this.chkUpDraft);
|
||||
this.上传参数.Controls.Add(this.label25);
|
||||
this.上传参数.Controls.Add(this.chkSkipUploaded);
|
||||
@@ -744,7 +747,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.上传参数.Controls.Add(this.chkSaveBound);
|
||||
this.上传参数.Controls.Add(this.chkAiShortTitle);
|
||||
this.上传参数.Controls.Add(this.label5);
|
||||
this.上传参数.Controls.Add(this.chkPreSale);
|
||||
this.上传参数.Controls.Add(this.chkHighestPriceSku);
|
||||
this.上传参数.Controls.Add(this.txtFilterBoundMax);
|
||||
this.上传参数.Controls.Add(this.label18);
|
||||
@@ -783,7 +785,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// txtMinPrice
|
||||
//
|
||||
this.txtMinPrice.Location = new System.Drawing.Point(67, 2);
|
||||
this.txtMinPrice.Location = new System.Drawing.Point(65, 2);
|
||||
this.txtMinPrice.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtMinPrice.Name = "txtMinPrice";
|
||||
this.txtMinPrice.Size = new System.Drawing.Size(25, 23);
|
||||
@@ -830,7 +832,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// chkUseWXComplateProd
|
||||
//
|
||||
this.chkUseWXComplateProd.Location = new System.Drawing.Point(291, 28);
|
||||
this.chkUseWXComplateProd.Location = new System.Drawing.Point(541, 28);
|
||||
this.chkUseWXComplateProd.Name = "chkUseWXComplateProd";
|
||||
this.chkUseWXComplateProd.Size = new System.Drawing.Size(87, 21);
|
||||
this.chkUseWXComplateProd.TabIndex = 876;
|
||||
@@ -842,7 +844,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// chkUpDraft
|
||||
//
|
||||
this.chkUpDraft.AutoSize = true;
|
||||
this.chkUpDraft.Location = new System.Drawing.Point(461, 3);
|
||||
this.chkUpDraft.Location = new System.Drawing.Point(447, 3);
|
||||
this.chkUpDraft.Name = "chkUpDraft";
|
||||
this.chkUpDraft.Size = new System.Drawing.Size(87, 21);
|
||||
this.chkUpDraft.TabIndex = 769;
|
||||
@@ -865,7 +867,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.chkSkipUploaded.AutoSize = true;
|
||||
this.chkSkipUploaded.Checked = true;
|
||||
this.chkSkipUploaded.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkSkipUploaded.Location = new System.Drawing.Point(351, 3);
|
||||
this.chkSkipUploaded.Location = new System.Drawing.Point(341, 3);
|
||||
this.chkSkipUploaded.Name = "chkSkipUploaded";
|
||||
this.chkSkipUploaded.Size = new System.Drawing.Size(111, 21);
|
||||
this.chkSkipUploaded.TabIndex = 755;
|
||||
@@ -878,7 +880,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.chkSameSpecPrice.AutoSize = true;
|
||||
this.chkSameSpecPrice.Checked = true;
|
||||
this.chkSameSpecPrice.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkSameSpecPrice.Location = new System.Drawing.Point(253, 3);
|
||||
this.chkSameSpecPrice.Location = new System.Drawing.Point(246, 3);
|
||||
this.chkSameSpecPrice.Name = "chkSameSpecPrice";
|
||||
this.chkSameSpecPrice.Size = new System.Drawing.Size(99, 21);
|
||||
this.chkSameSpecPrice.TabIndex = 745;
|
||||
@@ -888,19 +890,19 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// txtPreDays
|
||||
//
|
||||
this.txtPreDays.Location = new System.Drawing.Point(453, 27);
|
||||
this.txtPreDays.Location = new System.Drawing.Point(347, 27);
|
||||
this.txtPreDays.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtPreDays.Name = "txtPreDays";
|
||||
this.txtPreDays.Size = new System.Drawing.Size(28, 23);
|
||||
this.txtPreDays.Size = new System.Drawing.Size(22, 23);
|
||||
this.txtPreDays.TabIndex = 790;
|
||||
this.txtPreDays.Text = "5";
|
||||
this.txtPreDays.Text = "45";
|
||||
this.txtPreDays.TextChanged += new System.EventHandler(this.txtPreDays_TextChanged);
|
||||
//
|
||||
// txtReplaceText
|
||||
//
|
||||
this.txtReplaceText.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtReplaceText.Location = new System.Drawing.Point(67, 52);
|
||||
this.txtReplaceText.Location = new System.Drawing.Point(65, 52);
|
||||
this.txtReplaceText.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtReplaceText.Multiline = true;
|
||||
this.txtReplaceText.Name = "txtReplaceText";
|
||||
@@ -936,7 +938,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.chkAiShortTitle.AutoSize = true;
|
||||
this.chkAiShortTitle.Checked = true;
|
||||
this.chkAiShortTitle.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkAiShortTitle.Location = new System.Drawing.Point(205, 28);
|
||||
this.chkAiShortTitle.Location = new System.Drawing.Point(198, 28);
|
||||
this.chkAiShortTitle.Name = "chkAiShortTitle";
|
||||
this.chkAiShortTitle.Size = new System.Drawing.Size(87, 21);
|
||||
this.chkAiShortTitle.TabIndex = 862;
|
||||
@@ -947,7 +949,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(92, 5);
|
||||
this.label5.Location = new System.Drawing.Point(89, 5);
|
||||
this.label5.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(40, 17);
|
||||
@@ -956,7 +958,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// chkPreSale
|
||||
//
|
||||
this.chkPreSale.Location = new System.Drawing.Point(386, 28);
|
||||
this.chkPreSale.Location = new System.Drawing.Point(281, 28);
|
||||
this.chkPreSale.Name = "chkPreSale";
|
||||
this.chkPreSale.Size = new System.Drawing.Size(65, 21);
|
||||
this.chkPreSale.TabIndex = 789;
|
||||
@@ -969,7 +971,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.chkHighestPriceSku.AutoSize = true;
|
||||
this.chkHighestPriceSku.Checked = true;
|
||||
this.chkHighestPriceSku.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkHighestPriceSku.Location = new System.Drawing.Point(135, 3);
|
||||
this.chkHighestPriceSku.Location = new System.Drawing.Point(129, 3);
|
||||
this.chkHighestPriceSku.Name = "chkHighestPriceSku";
|
||||
this.chkHighestPriceSku.Size = new System.Drawing.Size(119, 21);
|
||||
this.chkHighestPriceSku.TabIndex = 739;
|
||||
@@ -991,7 +993,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// label18
|
||||
//
|
||||
this.label18.AutoSize = true;
|
||||
this.label18.Location = new System.Drawing.Point(479, 30);
|
||||
this.label18.Location = new System.Drawing.Point(367, 30);
|
||||
this.label18.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label18.Name = "label18";
|
||||
this.label18.Size = new System.Drawing.Size(54, 17);
|
||||
@@ -1031,11 +1033,11 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// txtTitleHeadWord
|
||||
//
|
||||
this.txtTitleHeadWord.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.txtTitleHeadWord.Location = new System.Drawing.Point(67, 26);
|
||||
this.txtTitleHeadWord.Location = new System.Drawing.Point(65, 26);
|
||||
this.txtTitleHeadWord.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtTitleHeadWord.MaxLength = 15;
|
||||
this.txtTitleHeadWord.Name = "txtTitleHeadWord";
|
||||
this.txtTitleHeadWord.Size = new System.Drawing.Size(130, 25);
|
||||
this.txtTitleHeadWord.Size = new System.Drawing.Size(126, 25);
|
||||
this.txtTitleHeadWord.TabIndex = 835;
|
||||
this.txtTitleHeadWord.TextChanged += new System.EventHandler(this.txtTitleHeadWord_TextChanged);
|
||||
//
|
||||
@@ -1052,7 +1054,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(1, 57);
|
||||
this.label3.Location = new System.Drawing.Point(1, 52);
|
||||
this.label3.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(68, 17);
|
||||
@@ -1218,36 +1220,36 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnLoginAssistant.Text = "佣金登录";
|
||||
this.btnLoginAssistant.Click += new System.EventHandler(this.btnLoginAssistant_Click);
|
||||
//
|
||||
// 商品裂变
|
||||
// 裂变调试
|
||||
//
|
||||
this.商品裂变.Controls.Add(this.txtFissionTitle);
|
||||
this.商品裂变.Controls.Add(this.line2);
|
||||
this.商品裂变.Controls.Add(this.label38);
|
||||
this.商品裂变.Controls.Add(this.txtFissionRandomPriceChange);
|
||||
this.商品裂变.Controls.Add(this.chkFissionRandomPriceChange);
|
||||
this.商品裂变.Controls.Add(this.txtDetailBorderImgCount);
|
||||
this.商品裂变.Controls.Add(this.label35);
|
||||
this.商品裂变.Controls.Add(this.label36);
|
||||
this.商品裂变.Controls.Add(this.txtMainBorderImgCount);
|
||||
this.商品裂变.Controls.Add(this.label34);
|
||||
this.商品裂变.Controls.Add(this.label33);
|
||||
this.商品裂变.Controls.Add(this.label32);
|
||||
this.商品裂变.Controls.Add(this.txtAiImgCount);
|
||||
this.商品裂变.Controls.Add(this.chkAiImage);
|
||||
this.商品裂变.Controls.Add(this.chkRandomDetailImgOrder);
|
||||
this.商品裂变.Controls.Add(this.chkRandomMainImgOrder);
|
||||
this.商品裂变.Controls.Add(this.lblFissionTitleCount);
|
||||
this.商品裂变.Controls.Add(this.chkFissionGoodsName);
|
||||
this.商品裂变.Controls.Add(this.chkRandomImgBorder);
|
||||
this.商品裂变.Controls.Add(this.line1);
|
||||
this.商品裂变.Controls.Add(this.label37);
|
||||
this.商品裂变.Location = new System.Drawing.Point(4, 28);
|
||||
this.商品裂变.Name = "商品裂变";
|
||||
this.商品裂变.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.商品裂变.Size = new System.Drawing.Size(583, 118);
|
||||
this.商品裂变.TabIndex = 3;
|
||||
this.商品裂变.Text = "商品裂变";
|
||||
this.商品裂变.UseVisualStyleBackColor = true;
|
||||
this.裂变调试.Controls.Add(this.txtFissionTitle);
|
||||
this.裂变调试.Controls.Add(this.line2);
|
||||
this.裂变调试.Controls.Add(this.label38);
|
||||
this.裂变调试.Controls.Add(this.txtFissionRandomPriceChange);
|
||||
this.裂变调试.Controls.Add(this.chkFissionRandomPriceChange);
|
||||
this.裂变调试.Controls.Add(this.txtDetailBorderImgCount);
|
||||
this.裂变调试.Controls.Add(this.label35);
|
||||
this.裂变调试.Controls.Add(this.label36);
|
||||
this.裂变调试.Controls.Add(this.txtMainBorderImgCount);
|
||||
this.裂变调试.Controls.Add(this.label34);
|
||||
this.裂变调试.Controls.Add(this.label33);
|
||||
this.裂变调试.Controls.Add(this.label32);
|
||||
this.裂变调试.Controls.Add(this.txtAiImgCount);
|
||||
this.裂变调试.Controls.Add(this.chkAiImage);
|
||||
this.裂变调试.Controls.Add(this.chkRandomDetailImgOrder);
|
||||
this.裂变调试.Controls.Add(this.chkRandomMainImgOrder);
|
||||
this.裂变调试.Controls.Add(this.lblFissionTitleCount);
|
||||
this.裂变调试.Controls.Add(this.chkFissionGoodsName);
|
||||
this.裂变调试.Controls.Add(this.chkRandomImgBorder);
|
||||
this.裂变调试.Controls.Add(this.line1);
|
||||
this.裂变调试.Controls.Add(this.label37);
|
||||
this.裂变调试.Location = new System.Drawing.Point(4, 28);
|
||||
this.裂变调试.Name = "裂变调试";
|
||||
this.裂变调试.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.裂变调试.Size = new System.Drawing.Size(583, 118);
|
||||
this.裂变调试.TabIndex = 3;
|
||||
this.裂变调试.Text = "裂变调试";
|
||||
this.裂变调试.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// txtFissionTitle
|
||||
//
|
||||
@@ -2420,19 +2422,19 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.dgvShop.AllowUserToAddRows = false;
|
||||
this.dgvShop.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
||||
dataGridViewCellStyle9.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle9;
|
||||
this.dgvShop.AutoRowNumber = true;
|
||||
this.dgvShop.BackgroundColor = System.Drawing.Color.White;
|
||||
this.dgvShop.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
||||
dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle10.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle10.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle10.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle10.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle10;
|
||||
this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.colSelect,
|
||||
@@ -2664,19 +2666,19 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.dgvSelectProduct.AllowUserToAddRows = false;
|
||||
this.dgvSelectProduct.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle3.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvSelectProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle3;
|
||||
dataGridViewCellStyle11.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvSelectProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle11;
|
||||
this.dgvSelectProduct.AutoRowNumber = true;
|
||||
this.dgvSelectProduct.BackgroundColor = System.Drawing.Color.White;
|
||||
this.dgvSelectProduct.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvSelectProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
|
||||
dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle12.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvSelectProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle12;
|
||||
this.dgvSelectProduct.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvSelectProduct.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.colCheck,
|
||||
@@ -2738,8 +2740,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// colSupplierName
|
||||
//
|
||||
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colSupplierName.DefaultCellStyle = dataGridViewCellStyle5;
|
||||
dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colSupplierName.DefaultCellStyle = dataGridViewCellStyle13;
|
||||
this.colSupplierName.Frozen = true;
|
||||
this.colSupplierName.HeaderText = "店铺名称";
|
||||
this.colSupplierName.Name = "colSupplierName";
|
||||
@@ -2819,8 +2821,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// colProductName
|
||||
//
|
||||
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colProductName.DefaultCellStyle = dataGridViewCellStyle6;
|
||||
dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colProductName.DefaultCellStyle = dataGridViewCellStyle14;
|
||||
this.colProductName.HeaderText = "商品标题";
|
||||
this.colProductName.Name = "colProductName";
|
||||
this.colProductName.ReadOnly = true;
|
||||
@@ -2828,8 +2830,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// colProductCat
|
||||
//
|
||||
dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colProductCat.DefaultCellStyle = dataGridViewCellStyle7;
|
||||
dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colProductCat.DefaultCellStyle = dataGridViewCellStyle15;
|
||||
this.colProductCat.HeaderText = "商品类目";
|
||||
this.colProductCat.Name = "colProductCat";
|
||||
this.colProductCat.ReadOnly = true;
|
||||
@@ -2884,8 +2886,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// colAddTime
|
||||
//
|
||||
dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colAddTime.DefaultCellStyle = dataGridViewCellStyle8;
|
||||
dataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colAddTime.DefaultCellStyle = dataGridViewCellStyle16;
|
||||
this.colAddTime.HeaderText = "上传时间";
|
||||
this.colAddTime.Name = "colAddTime";
|
||||
this.colAddTime.ReadOnly = true;
|
||||
@@ -2978,6 +2980,16 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.panelEx1.Text = "停止当前操作";
|
||||
this.panelEx1.Visible = false;
|
||||
//
|
||||
// chkUseRecommand
|
||||
//
|
||||
this.chkUseRecommand.AutoSize = true;
|
||||
this.chkUseRecommand.Location = new System.Drawing.Point(422, 28);
|
||||
this.chkUseRecommand.Name = "chkUseRecommand";
|
||||
this.chkUseRecommand.Size = new System.Drawing.Size(123, 21);
|
||||
this.chkUseRecommand.TabIndex = 907;
|
||||
this.chkUseRecommand.Text = "使用推荐属性数值";
|
||||
this.chkUseRecommand.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// WXDBProdUploadForm
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
@@ -3006,8 +3018,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.上传参数.PerformLayout();
|
||||
this.佣金上货.ResumeLayout(false);
|
||||
this.佣金上货.PerformLayout();
|
||||
this.商品裂变.ResumeLayout(false);
|
||||
this.商品裂变.PerformLayout();
|
||||
this.裂变调试.ResumeLayout(false);
|
||||
this.裂变调试.PerformLayout();
|
||||
this.ucGroupBoxEx4.ResumeLayout(false);
|
||||
this.ucGroupBoxEx4.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbSelectProd)).EndInit();
|
||||
@@ -3207,7 +3219,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
private System.Windows.Forms.ComboBox cmbCommissionAddOrReduce;
|
||||
private System.Windows.Forms.Label label29;
|
||||
private System.Windows.Forms.Label label31;
|
||||
private System.Windows.Forms.TabPage 商品裂变;
|
||||
private System.Windows.Forms.TabPage 裂变调试;
|
||||
private System.Windows.Forms.TextBox txtFissionTitle;
|
||||
private UserComponent.UcCheckBox chkRandomImgBorder;
|
||||
private UserComponent.UcCheckBox chkAiImage;
|
||||
@@ -3232,5 +3244,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
private DevComponents.DotNetBar.PanelEx btnSwitchCatType;
|
||||
private System.Windows.Forms.TextBox txtRandomFissionProductCount;
|
||||
private UserComponent.UcCheckBox chkRandomFissionProduct;
|
||||
private UserComponent.UcCheckBox chkUseRecommand;
|
||||
}
|
||||
}
|
||||
@@ -355,20 +355,21 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
cmbSourceType.Items.Insert(1, "------");
|
||||
cmbSourceType.Items.Insert(1, "1688商品");
|
||||
cmbSourceType.Items.Insert(1, "多多商品");
|
||||
cmbSourceType.Items.Insert(1, "微信商品");
|
||||
|
||||
chkRandomFissionProduct.Visible = true;
|
||||
txtRandomFissionProductCount.Visible = true;
|
||||
}
|
||||
cmbHot_TextChanged(null, null);
|
||||
|
||||
if (BaseClass.UserAuthority.Contains("商品裂变"))
|
||||
if (BaseClass.UserAuthority.Contains("裂变调试"))
|
||||
{
|
||||
chkRandomFissionProduct.Visible = true;
|
||||
txtRandomFissionProductCount.Visible = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
ucTabControlMetro1.TabPages.Remove(商品裂变);
|
||||
ucTabControlMetro1.TabPages.Remove(裂变调试);
|
||||
}
|
||||
|
||||
List<Control> ctrlLst = new List<Control>()
|
||||
@@ -1453,7 +1454,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
|
||||
#region 裂变标题
|
||||
if (BaseClass.UserAuthority.Contains("商品裂变") && chkFissionGoodsName.Checked)
|
||||
if (BaseClass.UserAuthority.Contains("裂变调试") && chkFissionGoodsName.Checked)
|
||||
{
|
||||
bool isFinish = false;
|
||||
Invoke(new Action(() => {
|
||||
@@ -3066,6 +3067,30 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
#endregion
|
||||
|
||||
WXUploadProductInfoRecommendParam recommendParamRst = new WXUploadProductInfoRecommendParam();
|
||||
if (chkUseRecommand.Checked)
|
||||
{
|
||||
WXUploadProductInfoRecommendParam recommendParam = new WXUploadProductInfoRecommendParam();
|
||||
//recommendParam.productId = upProdParam.product.productKey.productId;
|
||||
recommendParam.predictTypeList = new List<int>() { 5, 4, 2 };
|
||||
recommendParam.productInfo = new RecommendProductInfoParam();
|
||||
recommendParam.productInfo.title = upProdParam.product.info.title;
|
||||
recommendParam.productInfo.headImg = new List<string>();
|
||||
recommendParam.productInfo.headImg.AddRange(upProdParam.product.info.headImg);
|
||||
recommendParam.productInfo.brandId = upProdParam.product.info.brandId.ParseToString();
|
||||
recommendParam.productInfo.category = JsonHelper.DeserializeJsonToList<categoryParam>(JsonHelper.SerializeObject(upProdParam.product.info.category));
|
||||
recommendParam.productInfo.detail = new productDetailParam(); //JsonHelper.DeserializeJsonToObject<productDetailParam>(JsonHelper.SerializeObject(upProdParam.product.info.detail));
|
||||
var recommendRst = WXUpload.generalProductInfoRecommend(shop, recommendParam);
|
||||
if (recommendRst.Contains("\"code\":0"))
|
||||
{
|
||||
recommendParamRst = JsonHelper.DeserializeJsonToObject<WXUploadProductInfoRecommendParam>(recommendRst);
|
||||
}
|
||||
}
|
||||
if (recommendParamRst.productInfo == null)
|
||||
recommendParamRst.productInfo = new RecommendProductInfoParam();
|
||||
if (recommendParamRst.productInfo.param == null)
|
||||
recommendParamRst.productInfo.param = new List<RecommendProductInfoParamResult>();
|
||||
|
||||
#region 匹配产品属性
|
||||
//真丝、蚕丝、香云纱、羊绒、羊毛、羊羔毛、羽绒、皮草
|
||||
upProdParam.product.info.param = new List<wxPropParam>(); // 商品属性值
|
||||
@@ -3548,9 +3573,22 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
attrValue = "其他";
|
||||
}
|
||||
if (attrValue.IsNullOrEmpty() && (attr.type == "decimal4_unit" || attr.type == "integer_unit"))
|
||||
if ((attrValue.IsNullOrEmpty() || attrValue == "见包装") && (attr.type == "decimal4_unit" || attr.type == "integer_unit"))
|
||||
{
|
||||
if (attr.value == "%")
|
||||
// 走系统推荐
|
||||
var param = recommendParamRst.productInfo.param.FirstOrDefault(p => p.categorys?.FirstOrDefault()?.name == attr.name);
|
||||
if (param != null && param.categorys.Count == 2)
|
||||
{
|
||||
attrValue = param.categorys[1].name;
|
||||
if (attrValue.Contains("磅") && attrValue.Replace("磅", "").ParseToDecimal() > 0)
|
||||
{
|
||||
if ((";" + attr.value + ";").Contains(";g;"))
|
||||
attrValue = (attrValue.Replace("磅", "").ParseToDecimal() * 454).ParseToInt() + "g";
|
||||
else if ((";" + attr.value + ";").Contains(";kg;"))
|
||||
attrValue = (attrValue.Replace("磅", "").ParseToDecimal() * 0.454m).ParseToDecimal() + "kg";
|
||||
}
|
||||
}
|
||||
else if (attr.value == "%")
|
||||
attrValue = "10 %";
|
||||
else if (attr.value == "g;kg")
|
||||
attrValue = "50 g";
|
||||
@@ -3617,29 +3655,27 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
prodInfo.detail.sku.FirstOrDefault().thumb_url = prodInfo.detail.galleries.FirstOrDefault(g => g.type == 1)?.url;
|
||||
|
||||
// 处理系统指定的规格名称
|
||||
if (upProdParam.product.info.category.FirstOrDefault()?.name == "食品饮料" || prodInfo.detail.cats.FirstOrDefault() == "食品饮料")
|
||||
if ((upProdParam.product.info.category.FirstOrDefault()?.name == "食品饮料" || prodInfo.detail.cats.FirstOrDefault() == "食品饮料") &&
|
||||
(selectProd.cat_name == "坚果炒货" || selectProd.cat_name == "果干"))
|
||||
{
|
||||
if (selectProd.cat_name == "坚果炒货" || selectProd.cat_name == "果干")
|
||||
if (!prodInfo.detail.sku.FirstOrDefault().spec.Any(s => s.parent_name == "规格/净含量"))
|
||||
{
|
||||
if (!prodInfo.detail.sku.FirstOrDefault().spec.Any(s => s.parent_name == "规格/净含量"))
|
||||
foreach (var sku in prodInfo.detail.sku)
|
||||
{
|
||||
foreach (var sku in prodInfo.detail.sku)
|
||||
{
|
||||
sku.spec.FirstOrDefault().parent_name = "规格/净含量";
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!prodInfo.detail.sku.FirstOrDefault().spec.Any(s => s.parent_name == "规格"))
|
||||
{
|
||||
foreach (var sku in prodInfo.detail.sku)
|
||||
{
|
||||
sku.spec.FirstOrDefault().parent_name = "规格";
|
||||
}
|
||||
sku.spec.FirstOrDefault().parent_name = "规格/净含量";
|
||||
}
|
||||
}
|
||||
}
|
||||
//else if ((upProdParam.product.info.category.FirstOrDefault()?.name == "食品饮料" || prodInfo.detail.cats.FirstOrDefault() == "食品饮料"))
|
||||
//{
|
||||
// if (!prodInfo.detail.sku.FirstOrDefault().spec.Any(s => s.parent_name == "规格"))
|
||||
// {
|
||||
// foreach (var sku in prodInfo.detail.sku)
|
||||
// {
|
||||
// sku.spec.FirstOrDefault().parent_name = "规格";
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
else
|
||||
{
|
||||
var leafCat = upProdParam.product.info.category.LastOrDefault();
|
||||
@@ -5028,7 +5064,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}));
|
||||
});
|
||||
|
||||
if (BaseClass.UserAuthority.Contains("商品裂变") && chkFissionGoodsName.Checked)
|
||||
if (BaseClass.UserAuthority.Contains("裂变调试") && chkFissionGoodsName.Checked)
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
@@ -5163,7 +5199,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
data += "&ban_wx=0";
|
||||
|
||||
data += "&in_ext_codes=" + txtExtCodeFilter.Text;
|
||||
//data += "&in_ext_codes=" + txtExtCodeFilter.Text;
|
||||
data += "&in_spu_ids=" + txtIdFilter.Text;
|
||||
|
||||
string serach_group = cmbGroupFilter.Text.Trim();
|
||||
@@ -5178,13 +5214,13 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
|
||||
data += "&product_name=" + txtSearchGoodsName.Text.Trim();
|
||||
|
||||
// 商品采集权限可以随机管理員或自己采集的商品
|
||||
// 商品采集权限可以随机管理员或自己采集的商品
|
||||
string addUserName = BaseClass.UserAuthority.Contains("商品采集") ? ("admin," + BaseClass.UserName) : "admin";
|
||||
if (BaseClass.GroupId != 3)
|
||||
addUserName = BaseClass.ParentAuthority.Contains("商品采集") ? ("admin," + BaseClass.ParentUserName) : "admin";
|
||||
// 如果指定只有自己采集的商品,则只随机自己采集的商品
|
||||
if ((cmbSourceType.Text.Trim().Contains("多多商品") || cmbSourceType.Text.Trim().Contains("1688商品")) &&
|
||||
cmbSourceType.Text.Trim().Replace("多多商品", "").Replace("1688商品", "").Trim(',').IsNullOrEmpty())
|
||||
if ((cmbSourceType.Text.Trim().Contains("多多商品") || cmbSourceType.Text.Trim().Contains("1688商品") || cmbSourceType.Text.Trim().Contains("微信商品")) &&
|
||||
cmbSourceType.Text.Trim().Replace("多多商品", "").Replace("1688商品", "").Replace("微信商品", "").Trim(',').IsNullOrEmpty())
|
||||
data += "&add_user_name=" + (BaseClass.GroupId == 3 ? BaseClass.UserName : BaseClass.ParentUserName);
|
||||
else
|
||||
data += "&add_user_name=" + addUserName;
|
||||
@@ -5193,7 +5229,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
// 采集来源判断
|
||||
data += "&product_get_type=" + cmbSourceType.Text.Trim().Replace("已采集数据", "1688外部数据")
|
||||
.Replace("多多商品", "机会商品,多多外部数据").Replace("1688商品", "1688厂家,1688外部数据");
|
||||
.Replace("多多商品", "机会商品,多多外部数据").Replace("1688商品", "1688厂家,1688外部数据").Replace("微信商品", "微信店采");
|
||||
}
|
||||
|
||||
//if (cmbSourceType.Text != "厂商直采" && cmbSourceType.Text != "1688厂家" && cmbSourceType.Text != "微信店采" && cmbSourceType.Text != "微信小店")
|
||||
@@ -5692,7 +5728,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
|
||||
private void cmbGroupFilter_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (cmbGroupFilter.Text == "我的商品" && cmbSourceType.Text != "多多商品" && cmbSourceType.Text != "1688商品")
|
||||
if (cmbGroupFilter.Text == "我的商品" && cmbSourceType.Text != "多多商品" && cmbSourceType.Text != "1688商品" && cmbSourceType.Text != "微信商品")
|
||||
{
|
||||
cmbSourceType.Text = "";
|
||||
}
|
||||
@@ -5830,7 +5866,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
var cates2 = GlobalConfig.WxCatList.Where(c => selectCate1.Any(c1 => c.f_cat_id == c1.cat_id)).ToList();
|
||||
var selectCate2 = cates2
|
||||
.Where(c => c.level == 2 && (cmbCateFilter2.Text.Trim() == cmbCateFilter1.DefaultText || (";" + cmbCateFilter2.Text.Trim() + ";")
|
||||
.Contains(c.name))).ToList();
|
||||
.Contains(";" + c.name + ";"))).ToList();
|
||||
var cates3 = GlobalConfig.WxCatList.Where(c => selectCate2.Any(c2 => c.f_cat_id == c2.cat_id)).ToList();
|
||||
//foreach (var cate3 in cates3)
|
||||
//{
|
||||
@@ -6086,7 +6122,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
if ((BaseClass.UserAuthority.Contains("商品采集") || BaseClass.ParentAuthority.Contains("商品采集")) &&
|
||||
!BaseClass.UserAuthority.Contains("货源选择") && BaseClass.SaLevel == 0)
|
||||
{
|
||||
cmbSourceType.Text = "多多商品,1688商品";
|
||||
cmbSourceType.Text = "多多商品,1688商品,微信商品";
|
||||
cmbJstInitSet.Text = "";
|
||||
}
|
||||
}
|
||||
@@ -6507,6 +6543,18 @@ Content-Type: application/octet-stream
|
||||
var result = WXHttpResponseBLL.WeiXinPostResponse(shop, url, body, referer);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public static string generalProductInfoRecommend(ShopLoginInfo shop, WXUploadProductInfoRecommendParam recommendParam)
|
||||
{
|
||||
string url = "https://store.weixin.qq.com/shop-faas/mmecnodeproductupload/aiRecommendCompat/cgi/goods/generalProductInfoRecommend?token=&lang=zh_CN";
|
||||
string referer = "https://store.weixin.qq.com/shop/goods/entry?productId=" + recommendParam.productId + "&isUpdateAuditFree=0&source=list_edit&continueEditInfo={%22isEditingContinued%22:false,%22lastEditDraftTime%22:0,%22listingTime%22:0}";
|
||||
JsonSerializerSettings jsonSetting = new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore };
|
||||
string body = JsonConvert.SerializeObject(recommendParam, jsonSetting);
|
||||
var result = WXHttpResponseBLL.WeiXinPostResponse(shop, url, body, referer);
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
public class AddPriceRule
|
||||
|
||||
+460
-19
@@ -39,6 +39,13 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.ucGroupBoxEx4 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
@@ -122,9 +129,40 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.txtContactPerson = new System.Windows.Forms.TextBox();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.pbLoading = new System.Windows.Forms.PictureBox();
|
||||
this.tabPage3 = new System.Windows.Forms.TabPage();
|
||||
this.splitContainer6 = new System.Windows.Forms.SplitContainer();
|
||||
this.btnStopSearchTalentProd = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnSearchDaRenProd = new DevComponents.DotNetBar.PanelEx();
|
||||
this.txtSaleCount = new System.Windows.Forms.TextBox();
|
||||
this.label18 = new System.Windows.Forms.Label();
|
||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||
this.dgvDaRenProd = new TemuKJD.UserComponent.DataGridViewEx();
|
||||
this.chkTestNoAuditUpload = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.splitContainer4 = new System.Windows.Forms.SplitContainer();
|
||||
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
|
||||
this.colDgvProdCheck = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.colDgvProdShopId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colDgvProdShopName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colDgvProdLogin = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.colDgvProdInShop = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.colDgvProdTalentAppid = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colDgvProdTalentFindUserId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colDgvProdNickname = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colObjectId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colLiveObjectImgUrl = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colLiveObjectImg = new System.Windows.Forms.DataGridViewImageColumn();
|
||||
this.colObjectTitle = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colLiveInfo = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colDgvProdImgUrl = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colDgvProdImg = new System.Windows.Forms.DataGridViewImageColumn();
|
||||
this.colSpuAppid = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colSpuShopName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colSpuid = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colLiveProdName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colPrice = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colMonthSale = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colTalkWithTalent = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
@@ -150,6 +188,13 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.splitContainer5.Panel2.SuspendLayout();
|
||||
this.splitContainer5.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbLoading)).BeginInit();
|
||||
this.tabPage3.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer6)).BeginInit();
|
||||
this.splitContainer6.Panel1.SuspendLayout();
|
||||
this.splitContainer6.Panel2.SuspendLayout();
|
||||
this.splitContainer6.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvDaRenProd)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).BeginInit();
|
||||
this.splitContainer4.Panel1.SuspendLayout();
|
||||
this.splitContainer4.SuspendLayout();
|
||||
@@ -808,7 +853,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.dgvTalent.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 9F);
|
||||
dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
@@ -840,7 +885,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.dgvTalent.Name = "dgvTalent";
|
||||
this.dgvTalent.ReadOnly = true;
|
||||
this.dgvTalent.RowTemplate.Height = 23;
|
||||
this.dgvTalent.Size = new System.Drawing.Size(971, 438);
|
||||
this.dgvTalent.Size = new System.Drawing.Size(1075, 438);
|
||||
this.dgvTalent.TabIndex = 187;
|
||||
this.dgvTalent.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvTalent_CellContentClick);
|
||||
//
|
||||
@@ -998,7 +1043,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// splitContainer3.Panel2
|
||||
//
|
||||
this.splitContainer3.Panel2.Controls.Add(this.splitContainer4);
|
||||
this.splitContainer3.Size = new System.Drawing.Size(1346, 641);
|
||||
this.splitContainer3.Size = new System.Drawing.Size(1450, 641);
|
||||
this.splitContainer3.SplitterDistance = 611;
|
||||
this.splitContainer3.TabIndex = 1;
|
||||
//
|
||||
@@ -1017,7 +1062,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.splitContainer2.Panel2.Controls.Add(this.ucTabControl1);
|
||||
this.splitContainer2.Panel2.Controls.Add(this.chkTestNoAuditUpload);
|
||||
this.splitContainer2.Size = new System.Drawing.Size(1346, 611);
|
||||
this.splitContainer2.Size = new System.Drawing.Size(1450, 611);
|
||||
this.splitContainer2.SplitterDistance = 365;
|
||||
this.splitContainer2.TabIndex = 0;
|
||||
//
|
||||
@@ -1026,13 +1071,15 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.ucTabControl1.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(251)))), ((int)(((byte)(251)))));
|
||||
this.ucTabControl1.Controls.Add(this.tabPage1);
|
||||
this.ucTabControl1.Controls.Add(this.tabPage2);
|
||||
this.ucTabControl1.Controls.Add(this.tabPage3);
|
||||
this.ucTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.ucTabControl1.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.ucTabControl1.ItemSize = new System.Drawing.Size(73, 28);
|
||||
this.ucTabControl1.Location = new System.Drawing.Point(0, 0);
|
||||
this.ucTabControl1.Name = "ucTabControl1";
|
||||
this.ucTabControl1.SelectedIndex = 0;
|
||||
this.ucTabControl1.ShowCloseButton = false;
|
||||
this.ucTabControl1.Size = new System.Drawing.Size(977, 611);
|
||||
this.ucTabControl1.Size = new System.Drawing.Size(1081, 611);
|
||||
this.ucTabControl1.TabIndex = 780;
|
||||
this.ucTabControl1.TabSelectColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.ucTabControl1.TabSelectTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
@@ -1043,9 +1090,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.tabPage1.Controls.Add(this.mainPanel);
|
||||
this.tabPage1.Location = new System.Drawing.Point(2, 32);
|
||||
this.tabPage1.Name = "tabPage1";
|
||||
this.tabPage1.Size = new System.Drawing.Size(971, 575);
|
||||
this.tabPage1.Size = new System.Drawing.Size(1075, 575);
|
||||
this.tabPage1.TabIndex = 1;
|
||||
this.tabPage1.Text = "达人广场";
|
||||
this.tabPage1.Text = " 达人广场 ";
|
||||
this.tabPage1.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// mainPanel
|
||||
@@ -1053,7 +1100,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.mainPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.mainPanel.Location = new System.Drawing.Point(0, 0);
|
||||
this.mainPanel.Name = "mainPanel";
|
||||
this.mainPanel.Size = new System.Drawing.Size(971, 575);
|
||||
this.mainPanel.Size = new System.Drawing.Size(1075, 575);
|
||||
this.mainPanel.TabIndex = 1;
|
||||
//
|
||||
// tabPage2
|
||||
@@ -1061,9 +1108,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.tabPage2.Controls.Add(this.splitContainer5);
|
||||
this.tabPage2.Location = new System.Drawing.Point(2, 32);
|
||||
this.tabPage2.Name = "tabPage2";
|
||||
this.tabPage2.Size = new System.Drawing.Size(971, 575);
|
||||
this.tabPage2.Size = new System.Drawing.Size(1075, 575);
|
||||
this.tabPage2.TabIndex = 2;
|
||||
this.tabPage2.Text = "操作列表";
|
||||
this.tabPage2.Text = " 操作列表 ";
|
||||
this.tabPage2.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// splitContainer5
|
||||
@@ -1071,6 +1118,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.splitContainer5.BackColor = System.Drawing.Color.White;
|
||||
this.splitContainer5.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitContainer5.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
|
||||
this.splitContainer5.Font = new System.Drawing.Font("微软雅黑", 9F);
|
||||
this.splitContainer5.Location = new System.Drawing.Point(0, 0);
|
||||
this.splitContainer5.Name = "splitContainer5";
|
||||
this.splitContainer5.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
||||
@@ -1096,7 +1144,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.splitContainer5.Panel2.Controls.Add(this.pbLoading);
|
||||
this.splitContainer5.Panel2.Controls.Add(this.dgvTalent);
|
||||
this.splitContainer5.Size = new System.Drawing.Size(971, 575);
|
||||
this.splitContainer5.Size = new System.Drawing.Size(1075, 575);
|
||||
this.splitContainer5.SplitterDistance = 133;
|
||||
this.splitContainer5.TabIndex = 0;
|
||||
//
|
||||
@@ -1119,7 +1167,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnStop2.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.btnStop2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnStop2.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnStop2.Location = new System.Drawing.Point(898, 97);
|
||||
this.btnStop2.Location = new System.Drawing.Point(1002, 97);
|
||||
this.btnStop2.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
|
||||
this.btnStop2.Name = "btnStop2";
|
||||
this.btnStop2.Size = new System.Drawing.Size(56, 25);
|
||||
@@ -1146,7 +1194,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnAddFinder.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnAddFinder.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnAddFinder.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnAddFinder.Location = new System.Drawing.Point(812, 97);
|
||||
this.btnAddFinder.Location = new System.Drawing.Point(916, 97);
|
||||
this.btnAddFinder.Name = "btnAddFinder";
|
||||
this.btnAddFinder.Size = new System.Drawing.Size(84, 25);
|
||||
this.btnAddFinder.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -1183,7 +1231,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.txtProductIds.Location = new System.Drawing.Point(630, 9);
|
||||
this.txtProductIds.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtProductIds.Name = "txtProductIds";
|
||||
this.txtProductIds.Size = new System.Drawing.Size(326, 25);
|
||||
this.txtProductIds.Size = new System.Drawing.Size(430, 25);
|
||||
this.txtProductIds.TabIndex = 849;
|
||||
//
|
||||
// label9
|
||||
@@ -1286,7 +1334,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.pbLoading.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.pbLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
|
||||
this.pbLoading.Location = new System.Drawing.Point(460, 194);
|
||||
this.pbLoading.Location = new System.Drawing.Point(512, 194);
|
||||
this.pbLoading.Name = "pbLoading";
|
||||
this.pbLoading.Size = new System.Drawing.Size(50, 50);
|
||||
this.pbLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
@@ -1294,6 +1342,176 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.pbLoading.TabStop = false;
|
||||
this.pbLoading.Visible = false;
|
||||
//
|
||||
// tabPage3
|
||||
//
|
||||
this.tabPage3.Controls.Add(this.splitContainer6);
|
||||
this.tabPage3.Location = new System.Drawing.Point(2, 32);
|
||||
this.tabPage3.Name = "tabPage3";
|
||||
this.tabPage3.Size = new System.Drawing.Size(1075, 575);
|
||||
this.tabPage3.TabIndex = 3;
|
||||
this.tabPage3.Text = " 带货商品 ";
|
||||
this.tabPage3.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// splitContainer6
|
||||
//
|
||||
this.splitContainer6.BackColor = System.Drawing.Color.White;
|
||||
this.splitContainer6.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitContainer6.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
|
||||
this.splitContainer6.Font = new System.Drawing.Font("微软雅黑", 9F);
|
||||
this.splitContainer6.Location = new System.Drawing.Point(0, 0);
|
||||
this.splitContainer6.Name = "splitContainer6";
|
||||
this.splitContainer6.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
||||
//
|
||||
// splitContainer6.Panel1
|
||||
//
|
||||
this.splitContainer6.Panel1.Controls.Add(this.btnStopSearchTalentProd);
|
||||
this.splitContainer6.Panel1.Controls.Add(this.btnSearchDaRenProd);
|
||||
this.splitContainer6.Panel1.Controls.Add(this.txtSaleCount);
|
||||
this.splitContainer6.Panel1.Controls.Add(this.label18);
|
||||
//
|
||||
// splitContainer6.Panel2
|
||||
//
|
||||
this.splitContainer6.Panel2.Controls.Add(this.pictureBox1);
|
||||
this.splitContainer6.Panel2.Controls.Add(this.dgvDaRenProd);
|
||||
this.splitContainer6.Size = new System.Drawing.Size(1075, 575);
|
||||
this.splitContainer6.SplitterDistance = 39;
|
||||
this.splitContainer6.TabIndex = 1;
|
||||
//
|
||||
// btnStopSearchTalentProd
|
||||
//
|
||||
this.btnStopSearchTalentProd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnStopSearchTalentProd.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.btnStopSearchTalentProd.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnStopSearchTalentProd.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnStopSearchTalentProd.Location = new System.Drawing.Point(1002, 8);
|
||||
this.btnStopSearchTalentProd.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
|
||||
this.btnStopSearchTalentProd.Name = "btnStopSearchTalentProd";
|
||||
this.btnStopSearchTalentProd.Size = new System.Drawing.Size(56, 25);
|
||||
this.btnStopSearchTalentProd.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnStopSearchTalentProd.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.btnStopSearchTalentProd.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.btnStopSearchTalentProd.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.btnStopSearchTalentProd.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnStopSearchTalentProd.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.btnStopSearchTalentProd.Style.GradientAngle = 90;
|
||||
this.btnStopSearchTalentProd.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnStopSearchTalentProd.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnStopSearchTalentProd.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnStopSearchTalentProd.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnStopSearchTalentProd.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnStopSearchTalentProd.TabIndex = 858;
|
||||
this.btnStopSearchTalentProd.Text = "停止查询";
|
||||
this.btnStopSearchTalentProd.Click += new System.EventHandler(this.btnStopSearchTalentProd_Click);
|
||||
//
|
||||
// btnSearchDaRenProd
|
||||
//
|
||||
this.btnSearchDaRenProd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnSearchDaRenProd.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnSearchDaRenProd.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnSearchDaRenProd.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnSearchDaRenProd.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnSearchDaRenProd.Location = new System.Drawing.Point(871, 8);
|
||||
this.btnSearchDaRenProd.Name = "btnSearchDaRenProd";
|
||||
this.btnSearchDaRenProd.Size = new System.Drawing.Size(129, 25);
|
||||
this.btnSearchDaRenProd.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSearchDaRenProd.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSearchDaRenProd.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSearchDaRenProd.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnSearchDaRenProd.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnSearchDaRenProd.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnSearchDaRenProd.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnSearchDaRenProd.Style.GradientAngle = 90;
|
||||
this.btnSearchDaRenProd.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSearchDaRenProd.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnSearchDaRenProd.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnSearchDaRenProd.TabIndex = 857;
|
||||
this.btnSearchDaRenProd.Text = "查询达人带货商品";
|
||||
this.btnSearchDaRenProd.Click += new System.EventHandler(this.btnSearch_Click);
|
||||
//
|
||||
// txtSaleCount
|
||||
//
|
||||
this.txtSaleCount.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.txtSaleCount.Location = new System.Drawing.Point(77, 8);
|
||||
this.txtSaleCount.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtSaleCount.Name = "txtSaleCount";
|
||||
this.txtSaleCount.Size = new System.Drawing.Size(114, 25);
|
||||
this.txtSaleCount.TabIndex = 841;
|
||||
this.txtSaleCount.Text = "100";
|
||||
//
|
||||
// label18
|
||||
//
|
||||
this.label18.AutoSize = true;
|
||||
this.label18.Location = new System.Drawing.Point(15, 12);
|
||||
this.label18.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label18.Name = "label18";
|
||||
this.label18.Size = new System.Drawing.Size(65, 17);
|
||||
this.label18.TabIndex = 821;
|
||||
this.label18.Text = "商品销量≥";
|
||||
//
|
||||
// pictureBox1
|
||||
//
|
||||
this.pictureBox1.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.pictureBox1.Image = global::TemuKJD.Properties.Resources.loading_blue;
|
||||
this.pictureBox1.Location = new System.Drawing.Point(512, 241);
|
||||
this.pictureBox1.Name = "pictureBox1";
|
||||
this.pictureBox1.Size = new System.Drawing.Size(50, 50);
|
||||
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.pictureBox1.TabIndex = 781;
|
||||
this.pictureBox1.TabStop = false;
|
||||
this.pictureBox1.Visible = false;
|
||||
//
|
||||
// dgvDaRenProd
|
||||
//
|
||||
this.dgvDaRenProd.AllowUserToAddRows = false;
|
||||
this.dgvDaRenProd.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle8.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvDaRenProd.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle8;
|
||||
this.dgvDaRenProd.AutoRowNumber = true;
|
||||
this.dgvDaRenProd.BackgroundColor = System.Drawing.Color.White;
|
||||
this.dgvDaRenProd.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle9.Font = new System.Drawing.Font("微软雅黑", 9F);
|
||||
dataGridViewCellStyle9.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvDaRenProd.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle9;
|
||||
this.dgvDaRenProd.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvDaRenProd.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.colDgvProdCheck,
|
||||
this.colDgvProdShopId,
|
||||
this.colDgvProdShopName,
|
||||
this.colDgvProdLogin,
|
||||
this.colDgvProdInShop,
|
||||
this.colDgvProdTalentAppid,
|
||||
this.colDgvProdTalentFindUserId,
|
||||
this.colDgvProdNickname,
|
||||
this.colObjectId,
|
||||
this.colLiveObjectImgUrl,
|
||||
this.colLiveObjectImg,
|
||||
this.colObjectTitle,
|
||||
this.colLiveInfo,
|
||||
this.colDgvProdImgUrl,
|
||||
this.colDgvProdImg,
|
||||
this.colSpuAppid,
|
||||
this.colSpuShopName,
|
||||
this.colSpuid,
|
||||
this.colLiveProdName,
|
||||
this.colPrice,
|
||||
this.colMonthSale,
|
||||
this.colTalkWithTalent,
|
||||
this.dataGridViewTextBoxColumn13});
|
||||
this.dgvDaRenProd.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dgvDaRenProd.Location = new System.Drawing.Point(0, 0);
|
||||
this.dgvDaRenProd.MultiSelectCheckBox = true;
|
||||
this.dgvDaRenProd.Name = "dgvDaRenProd";
|
||||
this.dgvDaRenProd.ReadOnly = true;
|
||||
this.dgvDaRenProd.RowTemplate.Height = 23;
|
||||
this.dgvDaRenProd.Size = new System.Drawing.Size(1075, 532);
|
||||
this.dgvDaRenProd.TabIndex = 187;
|
||||
this.dgvDaRenProd.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvDaRenProd_CellContentClick);
|
||||
//
|
||||
// chkTestNoAuditUpload
|
||||
//
|
||||
this.chkTestNoAuditUpload.AutoSize = true;
|
||||
@@ -1315,8 +1533,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// splitContainer4.Panel1
|
||||
//
|
||||
this.splitContainer4.Panel1.Controls.Add(this.statusBar);
|
||||
this.splitContainer4.Size = new System.Drawing.Size(1346, 26);
|
||||
this.splitContainer4.SplitterDistance = 964;
|
||||
this.splitContainer4.Size = new System.Drawing.Size(1450, 26);
|
||||
this.splitContainer4.SplitterDistance = 1068;
|
||||
this.splitContainer4.TabIndex = 3;
|
||||
//
|
||||
// statusBar
|
||||
@@ -1327,14 +1545,198 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
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(964, 26);
|
||||
this.statusBar.Size = new System.Drawing.Size(1068, 26);
|
||||
this.statusBar.TabIndex = 2;
|
||||
//
|
||||
// colDgvProdCheck
|
||||
//
|
||||
this.colDgvProdCheck.Frozen = true;
|
||||
this.colDgvProdCheck.HeaderText = "选择";
|
||||
this.colDgvProdCheck.Name = "colDgvProdCheck";
|
||||
this.colDgvProdCheck.ReadOnly = true;
|
||||
this.colDgvProdCheck.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colDgvProdCheck.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.colDgvProdCheck.Width = 30;
|
||||
//
|
||||
// colDgvProdShopId
|
||||
//
|
||||
this.colDgvProdShopId.Frozen = true;
|
||||
this.colDgvProdShopId.HeaderText = "店铺Id";
|
||||
this.colDgvProdShopId.Name = "colDgvProdShopId";
|
||||
this.colDgvProdShopId.ReadOnly = true;
|
||||
this.colDgvProdShopId.Visible = false;
|
||||
//
|
||||
// colDgvProdShopName
|
||||
//
|
||||
dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colDgvProdShopName.DefaultCellStyle = dataGridViewCellStyle10;
|
||||
this.colDgvProdShopName.Frozen = true;
|
||||
this.colDgvProdShopName.HeaderText = "店铺名称";
|
||||
this.colDgvProdShopName.Name = "colDgvProdShopName";
|
||||
this.colDgvProdShopName.ReadOnly = true;
|
||||
//
|
||||
// colDgvProdLogin
|
||||
//
|
||||
this.colDgvProdLogin.HeaderText = "登录";
|
||||
this.colDgvProdLogin.Name = "colDgvProdLogin";
|
||||
this.colDgvProdLogin.ReadOnly = true;
|
||||
this.colDgvProdLogin.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colDgvProdLogin.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.colDgvProdLogin.Visible = false;
|
||||
this.colDgvProdLogin.Width = 40;
|
||||
//
|
||||
// colDgvProdInShop
|
||||
//
|
||||
this.colDgvProdInShop.HeaderText = "进店";
|
||||
this.colDgvProdInShop.Name = "colDgvProdInShop";
|
||||
this.colDgvProdInShop.ReadOnly = true;
|
||||
this.colDgvProdInShop.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colDgvProdInShop.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.colDgvProdInShop.Width = 40;
|
||||
//
|
||||
// colDgvProdTalentAppid
|
||||
//
|
||||
this.colDgvProdTalentAppid.HeaderText = "达人Id";
|
||||
this.colDgvProdTalentAppid.Name = "colDgvProdTalentAppid";
|
||||
this.colDgvProdTalentAppid.ReadOnly = true;
|
||||
this.colDgvProdTalentAppid.Visible = false;
|
||||
//
|
||||
// colDgvProdTalentFindUserId
|
||||
//
|
||||
this.colDgvProdTalentFindUserId.HeaderText = "达人Id名";
|
||||
this.colDgvProdTalentFindUserId.Name = "colDgvProdTalentFindUserId";
|
||||
this.colDgvProdTalentFindUserId.ReadOnly = true;
|
||||
this.colDgvProdTalentFindUserId.Visible = false;
|
||||
//
|
||||
// colDgvProdNickname
|
||||
//
|
||||
dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colDgvProdNickname.DefaultCellStyle = dataGridViewCellStyle11;
|
||||
this.colDgvProdNickname.HeaderText = "达人昵称";
|
||||
this.colDgvProdNickname.Name = "colDgvProdNickname";
|
||||
this.colDgvProdNickname.ReadOnly = true;
|
||||
//
|
||||
// colObjectId
|
||||
//
|
||||
this.colObjectId.HeaderText = "达人活动ID";
|
||||
this.colObjectId.Name = "colObjectId";
|
||||
this.colObjectId.ReadOnly = true;
|
||||
this.colObjectId.Visible = false;
|
||||
//
|
||||
// colLiveObjectImgUrl
|
||||
//
|
||||
this.colLiveObjectImgUrl.HeaderText = "直播题图地址";
|
||||
this.colLiveObjectImgUrl.Name = "colLiveObjectImgUrl";
|
||||
this.colLiveObjectImgUrl.ReadOnly = true;
|
||||
this.colLiveObjectImgUrl.Visible = false;
|
||||
//
|
||||
// colLiveObjectImg
|
||||
//
|
||||
this.colLiveObjectImg.HeaderText = "直播题图";
|
||||
this.colLiveObjectImg.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Zoom;
|
||||
this.colLiveObjectImg.Name = "colLiveObjectImg";
|
||||
this.colLiveObjectImg.ReadOnly = true;
|
||||
this.colLiveObjectImg.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colLiveObjectImg.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.colLiveObjectImg.Width = 62;
|
||||
//
|
||||
// colObjectTitle
|
||||
//
|
||||
dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colObjectTitle.DefaultCellStyle = dataGridViewCellStyle12;
|
||||
this.colObjectTitle.HeaderText = "直播标题";
|
||||
this.colObjectTitle.Name = "colObjectTitle";
|
||||
this.colObjectTitle.ReadOnly = true;
|
||||
this.colObjectTitle.Width = 110;
|
||||
//
|
||||
// colLiveInfo
|
||||
//
|
||||
dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colLiveInfo.DefaultCellStyle = dataGridViewCellStyle13;
|
||||
this.colLiveInfo.HeaderText = "直播信息";
|
||||
this.colLiveInfo.Name = "colLiveInfo";
|
||||
this.colLiveInfo.ReadOnly = true;
|
||||
this.colLiveInfo.Width = 160;
|
||||
//
|
||||
// colDgvProdImgUrl
|
||||
//
|
||||
this.colDgvProdImgUrl.HeaderText = "商品图片地址";
|
||||
this.colDgvProdImgUrl.Name = "colDgvProdImgUrl";
|
||||
this.colDgvProdImgUrl.ReadOnly = true;
|
||||
this.colDgvProdImgUrl.Visible = false;
|
||||
//
|
||||
// colDgvProdImg
|
||||
//
|
||||
this.colDgvProdImg.HeaderText = "商品图片";
|
||||
this.colDgvProdImg.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Zoom;
|
||||
this.colDgvProdImg.Name = "colDgvProdImg";
|
||||
this.colDgvProdImg.ReadOnly = true;
|
||||
this.colDgvProdImg.Width = 62;
|
||||
//
|
||||
// colSpuAppid
|
||||
//
|
||||
this.colSpuAppid.HeaderText = "带货店铺Id";
|
||||
this.colSpuAppid.Name = "colSpuAppid";
|
||||
this.colSpuAppid.ReadOnly = true;
|
||||
this.colSpuAppid.Visible = false;
|
||||
//
|
||||
// colSpuShopName
|
||||
//
|
||||
this.colSpuShopName.HeaderText = "带货店铺名称";
|
||||
this.colSpuShopName.Name = "colSpuShopName";
|
||||
this.colSpuShopName.ReadOnly = true;
|
||||
this.colSpuShopName.Visible = false;
|
||||
//
|
||||
// colSpuid
|
||||
//
|
||||
this.colSpuid.FillWeight = 135F;
|
||||
this.colSpuid.HeaderText = "带货商品Id";
|
||||
this.colSpuid.Name = "colSpuid";
|
||||
this.colSpuid.ReadOnly = true;
|
||||
//
|
||||
// colLiveProdName
|
||||
//
|
||||
dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colLiveProdName.DefaultCellStyle = dataGridViewCellStyle14;
|
||||
this.colLiveProdName.HeaderText = "带货商品";
|
||||
this.colLiveProdName.Name = "colLiveProdName";
|
||||
this.colLiveProdName.ReadOnly = true;
|
||||
this.colLiveProdName.Width = 180;
|
||||
//
|
||||
// colPrice
|
||||
//
|
||||
this.colPrice.HeaderText = "价格";
|
||||
this.colPrice.Name = "colPrice";
|
||||
this.colPrice.ReadOnly = true;
|
||||
this.colPrice.Width = 70;
|
||||
//
|
||||
// colMonthSale
|
||||
//
|
||||
this.colMonthSale.HeaderText = "月销量";
|
||||
this.colMonthSale.Name = "colMonthSale";
|
||||
this.colMonthSale.ReadOnly = true;
|
||||
this.colMonthSale.Width = 70;
|
||||
//
|
||||
// colTalkWithTalent
|
||||
//
|
||||
this.colTalkWithTalent.HeaderText = "联系达人";
|
||||
this.colTalkWithTalent.Name = "colTalkWithTalent";
|
||||
this.colTalkWithTalent.ReadOnly = true;
|
||||
this.colTalkWithTalent.Width = 80;
|
||||
//
|
||||
// dataGridViewTextBoxColumn13
|
||||
//
|
||||
this.dataGridViewTextBoxColumn13.HeaderText = "操作结果";
|
||||
this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13";
|
||||
this.dataGridViewTextBoxColumn13.ReadOnly = true;
|
||||
this.dataGridViewTextBoxColumn13.Visible = false;
|
||||
this.dataGridViewTextBoxColumn13.Width = 240;
|
||||
//
|
||||
// WXFinderSquareForm
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.BackColor = System.Drawing.Color.White;
|
||||
this.ClientSize = new System.Drawing.Size(1346, 641);
|
||||
this.ClientSize = new System.Drawing.Size(1450, 641);
|
||||
this.Controls.Add(this.splitContainer3);
|
||||
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.KeyPreview = true;
|
||||
@@ -1371,6 +1773,14 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer5)).EndInit();
|
||||
this.splitContainer5.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbLoading)).EndInit();
|
||||
this.tabPage3.ResumeLayout(false);
|
||||
this.splitContainer6.Panel1.ResumeLayout(false);
|
||||
this.splitContainer6.Panel1.PerformLayout();
|
||||
this.splitContainer6.Panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer6)).EndInit();
|
||||
this.splitContainer6.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvDaRenProd)).EndInit();
|
||||
this.splitContainer4.Panel1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).EndInit();
|
||||
this.splitContainer4.ResumeLayout(false);
|
||||
@@ -1466,5 +1876,36 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colMessage;
|
||||
private UserComponent.UcComboBoxMutiSelect cmbFilterShopGroup;
|
||||
private System.Windows.Forms.Label label24;
|
||||
private System.Windows.Forms.TabPage tabPage3;
|
||||
private System.Windows.Forms.SplitContainer splitContainer6;
|
||||
private DevComponents.DotNetBar.PanelEx btnStopSearchTalentProd;
|
||||
private DevComponents.DotNetBar.PanelEx btnSearchDaRenProd;
|
||||
private System.Windows.Forms.TextBox txtSaleCount;
|
||||
private System.Windows.Forms.Label label18;
|
||||
private System.Windows.Forms.PictureBox pictureBox1;
|
||||
private UserComponent.DataGridViewEx dgvDaRenProd;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn colDgvProdCheck;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colDgvProdShopId;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colDgvProdShopName;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn colDgvProdLogin;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn colDgvProdInShop;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colDgvProdTalentAppid;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colDgvProdTalentFindUserId;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colDgvProdNickname;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colObjectId;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colLiveObjectImgUrl;
|
||||
private System.Windows.Forms.DataGridViewImageColumn colLiveObjectImg;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colObjectTitle;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colLiveInfo;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colDgvProdImgUrl;
|
||||
private System.Windows.Forms.DataGridViewImageColumn colDgvProdImg;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSpuAppid;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSpuShopName;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSpuid;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colLiveProdName;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colPrice;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colMonthSale;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn colTalkWithTalent;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn13;
|
||||
}
|
||||
}
|
||||
@@ -52,6 +52,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
int PageEnd = 20;
|
||||
string currentGetTalentParam = "";
|
||||
List<WXFinderTalentInfo> lstWXFinderTalentInfo = new List<WXFinderTalentInfo>();
|
||||
List<WXLiveObjectInfo> lstWXLiveObjectInfo = new List<WXLiveObjectInfo>();
|
||||
|
||||
public WXFinderSquareForm()
|
||||
{
|
||||
@@ -94,6 +95,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.dgvTalent.AddSelectorColumn("colCheck");
|
||||
dgvTalent.AddImgColumn("colImg", "colImgUrl");
|
||||
|
||||
this.dgvDaRenProd.AddSelectorColumn("colDgvProdCheck");
|
||||
dgvDaRenProd.AddImgColumn("colLiveObjectImg", "colLiveObjectImgUrl");
|
||||
dgvDaRenProd.AddImgColumn("colDgvProdImg", "colDgvProdImgUrl");
|
||||
|
||||
InitCef();
|
||||
Task.Run(() =>
|
||||
{
|
||||
@@ -154,6 +159,11 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
currentGetTalentParam = postData;
|
||||
}
|
||||
|
||||
if (/*responseData.Contains("mpAppid") ||*/ responseData.Contains("wxb32c03106e812d73"))
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
private void MainLifeHandler_OnPop(object sender, PopData e)
|
||||
{
|
||||
@@ -1120,6 +1130,317 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
wxProdIdWithListingTimeLst = wxProdIdWithListingTimeLst.OrderByDescending(p => p.soldNum).ThenByDescending(p => p.listingTime).ToList().Take(30).ToList();
|
||||
return string.Join(",", wxProdIdWithListingTimeLst.Select(p => p.spuId));
|
||||
}
|
||||
|
||||
private void btnSearch_Click(object sender, EventArgs e)
|
||||
{
|
||||
var selectRows = dgvTalent.Rows.Cast<DataGridViewRow>().Where(r => r.Cells["colCheck"].Value.ParseToBool() == true).ToList();
|
||||
if (selectRows.Count == 0)
|
||||
{
|
||||
BaseMsgForm.ShowError("请在操作列表页选择要查询的达人");
|
||||
return;
|
||||
}
|
||||
pictureBox1.Visible = true;
|
||||
string prodIds = txtProductIds.Text.Trim();
|
||||
|
||||
this.btnSearchDaRenProd.Enabled = false;
|
||||
Task.Run(() => {
|
||||
Thread.Sleep(5000);
|
||||
Invoke(new Action(() => { this.btnSearchDaRenProd.Enabled = true; }));
|
||||
});
|
||||
|
||||
dgvDaRenProd.Rows.Clear();
|
||||
lstWXLiveObjectInfo.Clear();
|
||||
|
||||
if (cancellationTokenSource != null)
|
||||
cancellationTokenSource.Cancel();
|
||||
cancellationTokenSource = new CancellationTokenSource();
|
||||
Task.Run(() =>
|
||||
{
|
||||
{
|
||||
int num = 0;
|
||||
foreach (var row in selectRows)
|
||||
{
|
||||
num++;
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
this.statusBar.lblTaskStatus.Text = "达人带货商品查询 第 " + num + " 位,共 " + selectRows.Count + " 位达人";
|
||||
row.Cells["colOpResult"].Value = "";
|
||||
}));
|
||||
if (this.cancellationTokenSource.IsCancellationRequested)
|
||||
break;
|
||||
|
||||
var shopId = row.Cells["colSupplierId"].Value.ParseToString();
|
||||
var shop = GlobalConfig.ValidShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
|
||||
if (chkReUse.Visible && chkReUse.Checked)
|
||||
shop = currentShop;
|
||||
var talentAppid = row.Cells["colTalentAppid"].Value.ParseToString();
|
||||
var talent = this.lstWXFinderTalentInfo.FirstOrDefault(t => t.talentAppid == talentAppid);
|
||||
|
||||
if (shop != null && talent != null && talent.accountList != null)
|
||||
{
|
||||
var finderUser = talent.accountList.FirstOrDefault(a => !a.finderUsername.IsNullOrEmpty() && !a.mpAppid.IsNullOrEmpty());
|
||||
finderUser = talent.accountList.FirstOrDefault(a => !a.finderUsername.IsNullOrEmpty());
|
||||
var finderUsername = finderUser?.finderUsername;
|
||||
var mpAppid = finderUser?.mpAppid;
|
||||
var endMs = BaseClass.DateTimeToTimestampMilliseconds(DateTime.Now.Date) - 1;
|
||||
var startMs = BaseClass.DateTimeToTimestampMilliseconds(DateTime.Now.Date.AddDays(-7));
|
||||
int page = 0;
|
||||
int pageSize = 10;
|
||||
|
||||
while (true)
|
||||
{
|
||||
page++;
|
||||
var getLiveObjectRst = WXFinderSquareBLL.GetDaRenLiveFeedList(shop, finderUsername, mpAppid, talent.talentAppid, startMs, endMs, 1, page, pageSize);
|
||||
Thread.Sleep(Randomx.GetId(300, 600));
|
||||
|
||||
if (!getLiveObjectRst.ParseToString().Contains("\"code\":0"))
|
||||
{
|
||||
var error = BaseRegex.GetStringJsonByRegs(ref getLiveObjectRst, getLiveObjectRst, "errmsg");
|
||||
if (error.ParseToString().Contains("biz magic invalid"))
|
||||
{
|
||||
shop.LoginStatus = "未登录";
|
||||
var selectIds = dgvShop.Rows.Cast<DataGridViewRow>().Where(r
|
||||
=> r.Cells["colSelect"]?.Value.ParseToBool() == true).Select(r => r.Cells["colShopId"]?.Value.ToString()).ToList();
|
||||
Invoke(new Action(() => { BindShop(shop, selectIds, "店铺掉线"); }));
|
||||
error = "店铺掉线";
|
||||
}
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
row.Cells["colOpResult"].Value = "达人带货商品查询失败 " + error;
|
||||
}));
|
||||
break;
|
||||
}
|
||||
|
||||
var wxLiveObjectInfoResult = JsonHelper.DeserializeJsonToObject<WXLiveObjectInfoResult>(getLiveObjectRst);
|
||||
var liveList = wxLiveObjectInfoResult.list;
|
||||
this.lstWXLiveObjectInfo.AddRange(liveList);
|
||||
foreach (var live in liveList)
|
||||
{
|
||||
foreach (var prod in live.productList.list)
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
if (prod.spuMonthSales.ParseToInt() >= txtSaleCount.Text.Trim().ParseToInt())
|
||||
{
|
||||
var startTimeStr = BaseClass.StampToDateTime(live.liveObjectStartTime.ParseToInt()).ToString("yy-MM-dd HH:mm");
|
||||
var duration = new TimeSpan(live.liveObjectDuringTimeSecond.ParseToLong() * 10000000);
|
||||
var durationStr = duration.Hours + "时" + (Math.Ceiling(duration.TotalMinutes).ParseToInt() - duration.Hours * 60) + "分";
|
||||
var rowIndex = dgvDaRenProd.Rows.Add(
|
||||
false,
|
||||
shop.ShopId,
|
||||
shop.ShopAccount,
|
||||
"登录",
|
||||
"进店",
|
||||
talent.talentAppid,
|
||||
finderUser.finderUsername,
|
||||
finderUser.nickname, // 达人昵称
|
||||
live.objectId, // 达人活动ID
|
||||
live.liveObjectImg,
|
||||
DataGridViewExtension.defaultBitmap, // 直播标题图
|
||||
live.liveObjectDescription, // 达人活动直播标题
|
||||
startTimeStr + "\r\n" + durationStr + " " + "观看人数" + live.livediagnosisFinderuinxfeedidWatchUv.ParseToInt(),
|
||||
prod.spuImgUrl,
|
||||
DataGridViewExtension.defaultBitmap,
|
||||
prod.spuAppid,
|
||||
prod.spuShopNickname,
|
||||
prod.spuId,
|
||||
prod.spuName,
|
||||
prod.spuPrice.ParseToInt() * 0.01m,
|
||||
prod.spuMonthSales.ParseToInt(),
|
||||
"联系达人"
|
||||
);
|
||||
dgvDaRenProd.Rows[rowIndex].Height = 60;
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
||||
if (live.productList.total > 10)
|
||||
{
|
||||
int prodPage = 1;
|
||||
int prodPageSize = 10;
|
||||
var prodTotalPage = Math.Ceiling(live.productList.total.ParseToInt() * 1m / prodPageSize).ParseToInt();
|
||||
|
||||
while (prodPage < prodTotalPage)
|
||||
{
|
||||
if (this.cancellationTokenSource.IsCancellationRequested)
|
||||
break;
|
||||
|
||||
prodPage++;
|
||||
var getProdRst = WXFinderSquareBLL.GetDaRenLiveProductList(shop, finderUsername, mpAppid, talentAppid, live.objectId, prodPage, prodPageSize);
|
||||
Thread.Sleep(Randomx.GetId(300, 600));
|
||||
|
||||
if (!getProdRst.ParseToString().Contains("\"code\":0"))
|
||||
{
|
||||
var error = BaseRegex.GetStringJsonByRegs(ref getProdRst, getProdRst, "errmsg");
|
||||
if (error.ParseToString().Contains("biz magic invalid"))
|
||||
{
|
||||
shop.LoginStatus = "未登录";
|
||||
var selectIds = dgvShop.Rows.Cast<DataGridViewRow>().Where(r
|
||||
=> r.Cells["colSelect"]?.Value.ParseToBool() == true).Select(r => r.Cells["colShopId"]?.Value.ToString()).ToList();
|
||||
Invoke(new Action(() => { BindShop(shop, selectIds, "店铺掉线"); }));
|
||||
error = "店铺掉线";
|
||||
}
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
row.Cells["colOpResult"].Value = "达人带货商品查询失败 " + error;
|
||||
}));
|
||||
break;
|
||||
}
|
||||
|
||||
var darenProdLst = JsonHelper.DeserializeJsonToList<WXLiveProduct>(JsonHelper.JObjectParse(getProdRst)["list"].ParseToString());
|
||||
live.productList.list.AddRange(darenProdLst);
|
||||
|
||||
foreach (var prod in darenProdLst)
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
if (prod.spuMonthSales.ParseToInt() >= txtSaleCount.Text.Trim().ParseToInt())
|
||||
{
|
||||
var startTimeStr = BaseClass.StampToDateTime(live.liveObjectStartTime.ParseToInt()).ToString("yy-MM-dd HH:mm");
|
||||
var duration = new TimeSpan(live.liveObjectDuringTimeSecond.ParseToLong() * 10000000);
|
||||
var durationStr = duration.Hours + "时" + (Math.Ceiling(duration.TotalMinutes).ParseToInt() - duration.Hours * 60) + "分";
|
||||
var rowIndex = dgvDaRenProd.Rows.Add(
|
||||
false,
|
||||
shop.ShopId,
|
||||
shop.ShopAccount,
|
||||
"登录",
|
||||
"进店",
|
||||
talent.talentAppid,
|
||||
finderUser.finderUsername,
|
||||
finderUser.nickname, // 达人昵称
|
||||
live.objectId, // 达人活动ID
|
||||
live.liveObjectImg,
|
||||
DataGridViewExtension.defaultBitmap, // 直播标题图
|
||||
live.liveObjectDescription, // 达人活动直播标题
|
||||
startTimeStr + "\r\n" + durationStr + " " + "观看人数" + live.livediagnosisFinderuinxfeedidWatchUv.ParseToInt(),
|
||||
prod.spuImgUrl,
|
||||
DataGridViewExtension.defaultBitmap,
|
||||
prod.spuAppid,
|
||||
prod.spuShopNickname,
|
||||
prod.spuId,
|
||||
prod.spuName,
|
||||
prod.spuPrice.ParseToInt() * 0.01m,
|
||||
prod.spuMonthSales.ParseToInt(),
|
||||
"联系达人"
|
||||
);
|
||||
dgvDaRenProd.Rows[rowIndex].Height = 60;
|
||||
}
|
||||
}));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
var total = wxLiveObjectInfoResult.total.ParseToInt();
|
||||
var totalPage = Math.Ceiling(total * 1m / pageSize).ParseToInt();
|
||||
if (page >= totalPage)
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
pictureBox1.Visible = false;
|
||||
this.statusBar.lblTaskStatus.Text += "达人带货商品查询操作结束";
|
||||
BaseMsgForm.ShowInfo("达人带货商品查询操作结束");
|
||||
}));
|
||||
}, cancellationTokenSource.Token);
|
||||
}
|
||||
|
||||
private void btnStopSearchTalentProd_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (this.cancellationTokenSource != null)
|
||||
this.cancellationTokenSource.Cancel();
|
||||
}
|
||||
|
||||
private void dgvDaRenProd_CellContentClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
if (e.ColumnIndex < 0 || e.RowIndex < 0)
|
||||
return;
|
||||
string headerText = dgvDaRenProd.Columns[e.ColumnIndex].HeaderText;
|
||||
var shopId = dgvDaRenProd.Rows[e.RowIndex].Cells["colDgvProdShopId"].Value.ParseToString();
|
||||
var shop = GlobalConfig.ValidShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
|
||||
var talentAppid = dgvDaRenProd.Rows[e.RowIndex].Cells["colDgvProdTalentAppid"].Value.ParseToString();
|
||||
var talent = this.lstWXFinderTalentInfo.FirstOrDefault(t => t.talentAppid == talentAppid);
|
||||
|
||||
switch (headerText)
|
||||
{
|
||||
case "删除":
|
||||
break;
|
||||
case "登录":
|
||||
{
|
||||
WXShopLoginForm shopLoginForm = new WXShopLoginForm(shop);
|
||||
shopLoginForm.openType = EnumOpenType.login;
|
||||
shopLoginForm.ShowDialog();
|
||||
RefreshShopLogin();
|
||||
}
|
||||
break;
|
||||
case "进店":
|
||||
{
|
||||
WXShopLoginForm shopLoginForm = new WXShopLoginForm(shop);
|
||||
WXShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { shop }, false);
|
||||
if (shop.LoginStatus == "登录成功")
|
||||
{
|
||||
shopLoginForm.openType = EnumOpenType.manage;
|
||||
shopLoginForm.WindowState = FormWindowState.Maximized;
|
||||
shopLoginForm.InitUrl = "https://store.weixin.qq.com/shop/home";
|
||||
shopLoginForm.Show();
|
||||
}
|
||||
else
|
||||
{
|
||||
shopLoginForm.openType = EnumOpenType.login;
|
||||
shopLoginForm.ShowDialog();
|
||||
RefreshShopLogin();
|
||||
}
|
||||
}
|
||||
break;
|
||||
case "商品图片":
|
||||
{
|
||||
ShowImgForm imgFrom = new ShowImgForm(dgvDaRenProd.Rows[e.RowIndex].Cells["colDgvProdImgUrl"].Value.ParseToString());
|
||||
imgFrom.ShowDialog();
|
||||
break;
|
||||
}
|
||||
case "直播题图":
|
||||
{
|
||||
ShowImgForm imgFrom = new ShowImgForm(dgvDaRenProd.Rows[e.RowIndex].Cells["colLiveObjectImgUrl"].Value.ParseToString());
|
||||
imgFrom.ShowDialog();
|
||||
break;
|
||||
}
|
||||
case "联系达人":
|
||||
{
|
||||
var finderUser = talent.accountList?.FirstOrDefault(a => !a.finderUsername.IsNullOrEmpty());
|
||||
if (finderUser != null)
|
||||
{
|
||||
var createChatRst = WXFinderSquareBLL.userCreateChatRoom(shop, finderUser.finderUsername, finderUser.mpAppid, talentAppid);
|
||||
|
||||
//ShowImgForm imgFrom = new ShowImgForm(dgvDaRenProd.Rows[e.RowIndex].Cells["colLiveObjectImgUrl"].Value.ParseToString());
|
||||
//imgFrom.ShowDialog();
|
||||
|
||||
var room_id = BaseRegex.GetStringJson(ref createChatRst, "room_id");
|
||||
if (string.IsNullOrEmpty(room_id))
|
||||
{
|
||||
BaseMsgForm.ShowError("联系窗口打开失败,请重试");
|
||||
}
|
||||
else
|
||||
{
|
||||
WXShopLoginForm loginForm = new WXShopLoginForm(shop);
|
||||
loginForm.openType = EnumOpenType.manage;
|
||||
loginForm.InitUrl = "https://store.weixin.qq.com/shop/kf/collab/im?mode=business&roomId=" + room_id;
|
||||
loginForm.Show();
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "":
|
||||
dgvDaRenProd.Rows[e.RowIndex].Cells["colDgvProdCheck"].Value = !(bool)dgvDaRenProd.Rows[e.RowIndex].Cells["colDgvProdCheck"].Value;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class WXFinderSquareBLL
|
||||
@@ -1183,6 +1504,65 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
var result = WXHttpResponseBLL.WeiXinPostResponse(shop, url, body, referer);
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="shop"></param>
|
||||
/// <param name="finderUsername"></param>
|
||||
/// <param name="mpAppid"></param>
|
||||
/// <param name="talentAppid"></param>
|
||||
/// <param name="liveOrFeed">直播或短视频带货 1直播 2短视频</param>
|
||||
/// <param name="page"></param>
|
||||
/// <param name="pageSize"></param>
|
||||
/// <returns></returns>
|
||||
public static string GetDaRenLiveFeedList(ShopLoginInfo shop, string finderUsername, string mpAppid, string talentAppid, long startMs, long endMs, int liveOrFeed = 1, int page = 1, int pageSize = 10)
|
||||
{
|
||||
|
||||
string url = "https://store.weixin.qq.com/shop-faas/mmchannelstradeleague/finderSquare/cgi/GetSameIndustryDetailLiveFeedList?token=&lang=zh_CN";
|
||||
//"https://store.weixin.qq.com/shop/findersquare/finder-detail?from=5&fromTab=all&finderUsername=v2_060000231003b20faec8c7e58110c3d5ca01ee32b077ca155bf8a7fb3c2469d6ba215af008d9@finder&mpAppid=wx0e6b9a6557b6c7a9&talentAppid=wx34b8353cf2e12005";
|
||||
string referer = "https://store.weixin.qq.com/shop/findersquare/finder-detail?from=5&fromTab=all&finderUsername=" + finderUsername;
|
||||
if (!mpAppid.IsNullOrEmpty())
|
||||
referer += "&mpAppid=" + mpAppid;
|
||||
referer += "&talentAppid=" + talentAppid;
|
||||
//{"appid":"wx34b8353cf2e12005","liveOrFeed":1,"page":{"limit":10,"offset":0},"startMs":1778342400000,"endMs":1780934399999,"sortControl":null}
|
||||
//{"appid":"wx34b8353cf2e12005","liveOrFeed":1,"page":{"limit":10,"offset":0},"startMs":1778342400000,"endMs":1780934399999,"sortControl":[{"sortColName":"livediagnosis_finderuinxfeedid_watch_uv","sortRule":1}]} //sortRule 1 降序
|
||||
string body = @"{""appid"":""" + talentAppid + @""",""liveOrFeed"":" + liveOrFeed + @",""page"":{""limit"":" + pageSize + @",""offset"":" + (page - 1) * 10 +
|
||||
@"},""startMs"":" + startMs + @",""endMs"":" + endMs + @",""sortControl"":null}";
|
||||
|
||||
var result = WXHttpResponseBLL.WeiXinPostResponse(shop, url, body, referer);
|
||||
return result;
|
||||
}
|
||||
public static string GetDaRenLiveProductList(ShopLoginInfo shop, string finderUsername, string mpAppid, string talentAppid, string objectId, int page = 1, int pageSize = 10)
|
||||
{
|
||||
|
||||
string url = "https://store.weixin.qq.com/shop-faas/mmchannelstradeleague/finderSquare/cgi/getLiveProductList?token=&lang=zh_CN";
|
||||
//"https://store.weixin.qq.com/shop/findersquare/finder-detail?from=5&fromTab=all&finderUsername=v2_060000231003b20faec8c7e58110c3d5ca01ee32b077ca155bf8a7fb3c2469d6ba215af008d9@finder&mpAppid=wx0e6b9a6557b6c7a9&talentAppid=wx34b8353cf2e12005";
|
||||
string referer = "https://store.weixin.qq.com/shop/findersquare/finder-detail?from=5&fromTab=all&finderUsername=" + finderUsername;
|
||||
if (!mpAppid.IsNullOrEmpty())
|
||||
referer += "&mpAppid=" + mpAppid;
|
||||
referer += "&talentAppid=" + talentAppid;
|
||||
string body = @"{""appid"":""" + talentAppid + @""",""objectId"":""" + objectId + @""",""limit"":" + pageSize + @",""offset"":" + (page - 1) * 10 + @"}";
|
||||
|
||||
var result = WXHttpResponseBLL.WeiXinPostResponse(shop, url, body, referer);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
public static string userCreateChatRoom(ShopLoginInfo shop, string finderUsername, string mpAppid, string talentAppid)
|
||||
{
|
||||
|
||||
string url = "https://store.weixin.qq.com/shop/commkf/user_room?action=user_create_room&token=&lang=zh_CN";
|
||||
//"https://store.weixin.qq.com/shop/findersquare/finder-detail?from=5&fromTab=all&finderUsername=v2_060000231003b20faec8c7e58110c3d5ca01ee32b077ca155bf8a7fb3c2469d6ba215af008d9@finder&mpAppid=wx0e6b9a6557b6c7a9&talentAppid=wx34b8353cf2e12005";
|
||||
string referer = "https://store.weixin.qq.com/shop/findersquare/finder-detail?from=1&fromTab=all&finderUsername=" + finderUsername;
|
||||
if (!mpAppid.IsNullOrEmpty())
|
||||
referer += "&mpAppid=" + mpAppid;
|
||||
referer += "&talentAppid=" + talentAppid;
|
||||
string body = @"{""open_account"":""" + talentAppid + @"""}";
|
||||
|
||||
var result = WXHttpResponseBLL.WeiXinTalentOpenKfPostResponse(shop, url, body, referer);
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
public class WXAddFinderParam
|
||||
|
||||
@@ -210,4 +210,73 @@
|
||||
<metadata name="colOpResult.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colDgvProdCheck.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colDgvProdShopId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colDgvProdShopName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colDgvProdLogin.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colDgvProdInShop.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colDgvProdTalentAppid.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colDgvProdTalentFindUserId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colDgvProdNickname.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colObjectId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colLiveObjectImgUrl.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colLiveObjectImg.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colObjectTitle.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colLiveInfo.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colDgvProdImgUrl.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colDgvProdImg.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colSpuAppid.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colSpuShopName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colSpuid.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colLiveProdName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colPrice.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colMonthSale.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colTalkWithTalent.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dataGridViewTextBoxColumn13.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
</root>
|
||||
+51
-10
@@ -143,6 +143,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.colOpResult = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.splitContainer4 = new System.Windows.Forms.SplitContainer();
|
||||
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
|
||||
this.chkNotDownCount = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.txtNotDownCount = new System.Windows.Forms.TextBox();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
@@ -439,6 +442,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.ucGroupBoxEx2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.ucGroupBoxEx2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.ucGroupBoxEx2.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
|
||||
this.ucGroupBoxEx2.Controls.Add(this.label6);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.txtNotDownCount);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.chkNotDownCount);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.chkFailDownProd);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.chkNoPreSale);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.label18);
|
||||
@@ -457,11 +463,11 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// chkFailDownProd
|
||||
//
|
||||
this.chkFailDownProd.AutoSize = true;
|
||||
this.chkFailDownProd.Location = new System.Drawing.Point(21, 64);
|
||||
this.chkFailDownProd.Location = new System.Drawing.Point(17, 64);
|
||||
this.chkFailDownProd.Name = "chkFailDownProd";
|
||||
this.chkFailDownProd.Size = new System.Drawing.Size(183, 21);
|
||||
this.chkFailDownProd.Size = new System.Drawing.Size(171, 21);
|
||||
this.chkFailDownProd.TabIndex = 820;
|
||||
this.chkFailDownProd.Text = "如果预售操作失败则下架商品";
|
||||
this.chkFailDownProd.Text = "如果预售操作失败下架商品";
|
||||
this.chkFailDownProd.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// chkNoPreSale
|
||||
@@ -469,7 +475,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.chkNoPreSale.AutoSize = true;
|
||||
this.chkNoPreSale.Checked = true;
|
||||
this.chkNoPreSale.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkNoPreSale.Location = new System.Drawing.Point(21, 30);
|
||||
this.chkNoPreSale.Location = new System.Drawing.Point(17, 30);
|
||||
this.chkNoPreSale.Name = "chkNoPreSale";
|
||||
this.chkNoPreSale.Size = new System.Drawing.Size(75, 21);
|
||||
this.chkNoPreSale.TabIndex = 810;
|
||||
@@ -480,7 +486,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// label18
|
||||
//
|
||||
this.label18.AutoSize = true;
|
||||
this.label18.Location = new System.Drawing.Point(236, 32);
|
||||
this.label18.Location = new System.Drawing.Point(232, 32);
|
||||
this.label18.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label18.Name = "label18";
|
||||
this.label18.Size = new System.Drawing.Size(54, 17);
|
||||
@@ -489,7 +495,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// txtPreDays
|
||||
//
|
||||
this.txtPreDays.Location = new System.Drawing.Point(203, 29);
|
||||
this.txtPreDays.Location = new System.Drawing.Point(199, 29);
|
||||
this.txtPreDays.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtPreDays.Name = "txtPreDays";
|
||||
this.txtPreDays.Size = new System.Drawing.Size(33, 23);
|
||||
@@ -500,7 +506,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// chkPreSale
|
||||
//
|
||||
this.chkPreSale.AutoSize = true;
|
||||
this.chkPreSale.Location = new System.Drawing.Point(111, 30);
|
||||
this.chkPreSale.Location = new System.Drawing.Point(107, 30);
|
||||
this.chkPreSale.Name = "chkPreSale";
|
||||
this.chkPreSale.Size = new System.Drawing.Size(99, 21);
|
||||
this.chkPreSale.TabIndex = 789;
|
||||
@@ -514,7 +520,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnStop.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.btnStop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnStop.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnStop.Location = new System.Drawing.Point(304, 62);
|
||||
this.btnStop.Location = new System.Drawing.Point(310, 62);
|
||||
this.btnStop.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
|
||||
this.btnStop.Name = "btnStop";
|
||||
this.btnStop.Size = new System.Drawing.Size(84, 23);
|
||||
@@ -540,7 +546,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnClearDgv.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.btnClearDgv.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnClearDgv.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnClearDgv.Location = new System.Drawing.Point(304, 93);
|
||||
this.btnClearDgv.Location = new System.Drawing.Point(310, 93);
|
||||
this.btnClearDgv.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
|
||||
this.btnClearDgv.Name = "btnClearDgv";
|
||||
this.btnClearDgv.Size = new System.Drawing.Size(84, 23);
|
||||
@@ -567,7 +573,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnSetPreSale.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnSetPreSale.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnSetPreSale.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnSetPreSale.Location = new System.Drawing.Point(304, 31);
|
||||
this.btnSetPreSale.Location = new System.Drawing.Point(310, 31);
|
||||
this.btnSetPreSale.Name = "btnSetPreSale";
|
||||
this.btnSetPreSale.Size = new System.Drawing.Size(84, 23);
|
||||
this.btnSetPreSale.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -1659,6 +1665,38 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.statusBar.Size = new System.Drawing.Size(1165, 26);
|
||||
this.statusBar.TabIndex = 2;
|
||||
//
|
||||
// chkNotDownCount
|
||||
//
|
||||
this.chkNotDownCount.AutoSize = true;
|
||||
this.chkNotDownCount.Checked = true;
|
||||
this.chkNotDownCount.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkNotDownCount.Location = new System.Drawing.Point(17, 94);
|
||||
this.chkNotDownCount.Name = "chkNotDownCount";
|
||||
this.chkNotDownCount.Size = new System.Drawing.Size(156, 21);
|
||||
this.chkNotDownCount.TabIndex = 830;
|
||||
this.chkNotDownCount.Text = "预售失败也不下架销量≥";
|
||||
this.chkNotDownCount.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// txtNotDownCount
|
||||
//
|
||||
this.txtNotDownCount.Location = new System.Drawing.Point(165, 93);
|
||||
this.txtNotDownCount.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtNotDownCount.Name = "txtNotDownCount";
|
||||
this.txtNotDownCount.Size = new System.Drawing.Size(28, 23);
|
||||
this.txtNotDownCount.TabIndex = 831;
|
||||
this.txtNotDownCount.Text = "1";
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(193, 96);
|
||||
this.label6.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
|
||||
this.label6.Size = new System.Drawing.Size(32, 17);
|
||||
this.label6.TabIndex = 832;
|
||||
this.label6.Text = "商品";
|
||||
//
|
||||
// WXProdPreSaleForm
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
@@ -1808,5 +1846,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colMessage;
|
||||
private UserComponent.UcComboBoxMutiSelect cmbFilterShopGroup;
|
||||
private System.Windows.Forms.Label label24;
|
||||
private System.Windows.Forms.TextBox txtNotDownCount;
|
||||
private UserComponent.UcCheckBox chkNotDownCount;
|
||||
private System.Windows.Forms.Label label6;
|
||||
}
|
||||
}
|
||||
@@ -624,14 +624,27 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
|
||||
if (/*chkPreSale.Checked &&*/ chkFailDownProd.Checked)
|
||||
{
|
||||
var downProd = WXPreSale.DownProd(shop, prodId);
|
||||
System.Threading.Thread.Sleep(Randomx.GetId(50, 100));
|
||||
if (downProd.Contains("\"code\":0"))
|
||||
int saleCount = 99999999;
|
||||
if (chkNotDownCount.Checked)
|
||||
{
|
||||
errmsg += " 预售设置失败 已下架";
|
||||
Invoke(new Action(() => { saleCount = txtNotDownCount.Text.Trim().ParseToInt(); }));
|
||||
}
|
||||
|
||||
if (chkNotDownCount.Checked && row.Cells["colSoldNum"].Value.ParseToInt() >= saleCount)
|
||||
{
|
||||
errmsg += " 预售设置失败 销量大于" + saleCount + ",不下架";
|
||||
}
|
||||
else
|
||||
errmsg += " 预售设置失败 下架失败";
|
||||
{
|
||||
var downProd = WXPreSale.DownProd(shop, prodId);
|
||||
System.Threading.Thread.Sleep(Randomx.GetId(50, 100));
|
||||
if (downProd.Contains("\"code\":0"))
|
||||
{
|
||||
errmsg += " 预售设置失败 已下架";
|
||||
}
|
||||
else
|
||||
errmsg += " 预售设置失败 下架失败";
|
||||
}
|
||||
}
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
|
||||
@@ -118,11 +118,11 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
SetForm(orderConsignmentForm.Value);
|
||||
break;
|
||||
case "多多商品采集":
|
||||
getChanceProdForm.Value.IsAuthorityUser = true;
|
||||
getChanceProdForm.Value.IsCollectAuthorityUser = true;
|
||||
SetForm(getChanceProdForm.Value);
|
||||
break;
|
||||
case "1688商品采集":
|
||||
get1688ProdForm.Value.IsAuthorityUser = true;
|
||||
get1688ProdForm.Value.IsCollectAuthorityUser = true;
|
||||
SetForm(get1688ProdForm.Value);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -88,7 +88,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
cmbHasFission.Visible = true;
|
||||
}));
|
||||
}
|
||||
if (BaseClass.UserAuthority.Contains("商品裂变"))
|
||||
if (BaseClass.UserAuthority.Contains("裂变调试"))
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
@@ -454,8 +454,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
if (BaseClass.GroupId != 3)
|
||||
addUserName = BaseClass.ParentAuthority.Contains("商品采集") ? ("admin," + BaseClass.ParentUserName) : "admin";
|
||||
// 如果指定只有自己采集的商品,则只随机自己采集的商品
|
||||
if ((cmbSourceType.Text.Trim().Contains("多多商品") || cmbSourceType.Text.Trim().Contains("1688商品")) &&
|
||||
cmbSourceType.Text.Trim().Replace("多多商品", "").Replace("1688商品", "").Trim(',').IsNullOrEmpty())
|
||||
if ((cmbSourceType.Text.Trim().Contains("多多商品") || cmbSourceType.Text.Trim().Contains("1688商品") || cmbSourceType.Text.Trim().Contains("微信商品")) &&
|
||||
cmbSourceType.Text.Trim().Replace("多多商品", "").Replace("1688商品", "").Replace("微信商品", "").Trim(',').IsNullOrEmpty())
|
||||
data += "&add_user_name=" + (BaseClass.GroupId == 3 ? BaseClass.UserName : BaseClass.ParentUserName);
|
||||
else
|
||||
data += "&add_user_name=" + addUserName;
|
||||
@@ -540,7 +540,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
// 采集来源判断
|
||||
data += "&product_get_type=" + cmbSourceType.Text.Trim().Replace("已采集数据", "1688外部数据")
|
||||
.Replace("多多商品", "机会商品,多多外部数据").Replace("1688商品", "1688厂家,1688外部数据");
|
||||
.Replace("多多商品", "机会商品,多多外部数据").Replace("1688商品", "1688厂家,1688外部数据").Replace("微信商品", "微信店采");
|
||||
}
|
||||
if (shop != null && !string.IsNullOrEmpty(shop.ShopId))
|
||||
{
|
||||
@@ -1236,7 +1236,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
if ((BaseClass.UserAuthority.Contains("商品采集") || BaseClass.ParentAuthority.Contains("商品采集")) &&
|
||||
!BaseClass.UserAuthority.Contains("货源选择") && BaseClass.SaLevel == 0)
|
||||
{
|
||||
cmbSourceType.Text = "多多商品,1688商品";
|
||||
cmbSourceType.Text = "多多商品,1688商品,微信商品";
|
||||
cmbExportToOutServer.Text = "";
|
||||
cmbWxCat.Text = "";
|
||||
}
|
||||
@@ -1245,7 +1245,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
|
||||
private void cmbGroupFilter_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (cmbGroupFilter.Text == "我的商品" && cmbSourceType.Text != "" && cmbSourceType.Text != "多多商品" && cmbSourceType.Text != "1688商品")
|
||||
if (cmbGroupFilter.Text == "我的商品" && cmbSourceType.Text != "多多商品" && cmbSourceType.Text != "1688商品" && cmbSourceType.Text != "微信商品")
|
||||
{
|
||||
cmbSourceType.Text = "";
|
||||
}
|
||||
|
||||
@@ -495,7 +495,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"",
|
||||
"是",
|
||||
"否"});
|
||||
this.cmbHasFission.Location = new System.Drawing.Point(889, 40);
|
||||
this.cmbHasFission.Location = new System.Drawing.Point(889, 42);
|
||||
this.cmbHasFission.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbHasFission.Name = "cmbHasFission";
|
||||
this.cmbHasFission.Size = new System.Drawing.Size(100, 25);
|
||||
@@ -593,7 +593,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat1.DropDownWidth = 1;
|
||||
this.cmbCat1.FormattingEnabled = true;
|
||||
this.cmbCat1.IntegralHeight = false;
|
||||
this.cmbCat1.Location = new System.Drawing.Point(52, 42);
|
||||
this.cmbCat1.Location = new System.Drawing.Point(52, 40);
|
||||
this.cmbCat1.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat1.Name = "cmbCat1";
|
||||
this.cmbCat1.Size = new System.Drawing.Size(99, 25);
|
||||
@@ -643,7 +643,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat2.DropDownWidth = 1;
|
||||
this.cmbCat2.FormattingEnabled = true;
|
||||
this.cmbCat2.IntegralHeight = false;
|
||||
this.cmbCat2.Location = new System.Drawing.Point(217, 42);
|
||||
this.cmbCat2.Location = new System.Drawing.Point(217, 40);
|
||||
this.cmbCat2.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat2.Name = "cmbCat2";
|
||||
this.cmbCat2.Size = new System.Drawing.Size(99, 25);
|
||||
@@ -671,7 +671,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat3.DropDownWidth = 1;
|
||||
this.cmbCat3.FormattingEnabled = true;
|
||||
this.cmbCat3.IntegralHeight = false;
|
||||
this.cmbCat3.Location = new System.Drawing.Point(366, 42);
|
||||
this.cmbCat3.Location = new System.Drawing.Point(366, 40);
|
||||
this.cmbCat3.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat3.Name = "cmbCat3";
|
||||
this.cmbCat3.Size = new System.Drawing.Size(99, 25);
|
||||
@@ -698,8 +698,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbSourceType.Items.AddRange(new object[] {
|
||||
"",
|
||||
"多多商品",
|
||||
"1688商品"});
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(366, 7);
|
||||
"1688商品",
|
||||
"微信商品"});
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(366, 5);
|
||||
this.cmbSourceType.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbSourceType.Name = "cmbSourceType";
|
||||
this.cmbSourceType.Size = new System.Drawing.Size(99, 25);
|
||||
@@ -746,7 +747,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"",
|
||||
"是",
|
||||
"否"});
|
||||
this.cmbWxCat.Location = new System.Drawing.Point(724, 7);
|
||||
this.cmbWxCat.Location = new System.Drawing.Point(724, 5);
|
||||
this.cmbWxCat.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbWxCat.Name = "cmbWxCat";
|
||||
this.cmbWxCat.Size = new System.Drawing.Size(99, 25);
|
||||
@@ -772,7 +773,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"安全+未校验",
|
||||
"安全商品",
|
||||
"未校验"});
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(889, 7);
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(889, 5);
|
||||
this.cmbWxSafe.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbWxSafe.Name = "cmbWxSafe";
|
||||
this.cmbWxSafe.Size = new System.Drawing.Size(100, 25);
|
||||
|
||||
@@ -189,39 +189,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
foreach (var prod in lstTemuDbProduct)
|
||||
{
|
||||
string catName = (prod.cat_name ?? prod.cat_id) + "(未识别)";
|
||||
if (prod.wx_cat_leaf != null)
|
||||
{
|
||||
var catN = GlobalConfig.WxCatList.FirstOrDefault(c => c.cat_id == prod.wx_cat_leaf.ParseToString())?.name;
|
||||
if (!string.IsNullOrEmpty(catN))
|
||||
{
|
||||
catName = catN;
|
||||
}
|
||||
}
|
||||
if (prod.wx_cat_3 != null)
|
||||
{
|
||||
var catN = GlobalConfig.WxCatList.FirstOrDefault(c => c.cat_id == prod.wx_cat_3.ParseToString())?.name;
|
||||
if (!string.IsNullOrEmpty(catN))
|
||||
{
|
||||
catName = catN + " >> " + catName;
|
||||
}
|
||||
}
|
||||
if (prod.wx_cat_2 != null)
|
||||
{
|
||||
var catN = GlobalConfig.WxCatList.FirstOrDefault(c => c.cat_id == prod.wx_cat_2.ParseToString())?.name;
|
||||
if (!string.IsNullOrEmpty(catN))
|
||||
{
|
||||
catName = catN + " >> " + catName;
|
||||
}
|
||||
}
|
||||
if (prod.wx_cat_1 != null)
|
||||
{
|
||||
var catN = GlobalConfig.WxCatList.FirstOrDefault(c => c.cat_id == prod.wx_cat_1.ParseToString())?.name;
|
||||
if (!string.IsNullOrEmpty(catN))
|
||||
{
|
||||
catName = catN + " >> " + catName;
|
||||
}
|
||||
}
|
||||
var catName = GetProdCateName(prod);
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
// 显示的价格需要加价10%最低1元
|
||||
@@ -266,7 +234,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
prod.fission_words.Replace("fission_goods_names:", ""),
|
||||
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("已采集数据", "1688商品").Replace("机会商品", "多多商品").Replace("多多外部数据", "多多商品"),
|
||||
.Replace("已采集数据", "1688商品").Replace("机会商品", "多多商品").Replace("多多外部数据", "多多商品").Replace("微信店采", "微信商品"),
|
||||
prod.special_prod_type,
|
||||
prod.wx_safe_status,
|
||||
prod.add_time.ToString("yy-MM-dd HH:mm"),
|
||||
@@ -292,6 +260,44 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
});
|
||||
}
|
||||
|
||||
public static string GetProdCateName(KJDDBProduct prod)
|
||||
{
|
||||
string catName = (prod.cat_name ?? prod.cat_id) + "(未识别)";
|
||||
if (prod.wx_cat_leaf != null)
|
||||
{
|
||||
var catN = GlobalConfig.WxCatList.FirstOrDefault(c => c.cat_id == prod.wx_cat_leaf.ParseToString())?.name;
|
||||
if (!string.IsNullOrEmpty(catN))
|
||||
{
|
||||
catName = catN;
|
||||
}
|
||||
}
|
||||
if (prod.wx_cat_3 != null)
|
||||
{
|
||||
var catN = GlobalConfig.WxCatList.FirstOrDefault(c => c.cat_id == prod.wx_cat_3.ParseToString())?.name;
|
||||
if (!string.IsNullOrEmpty(catN))
|
||||
{
|
||||
catName = catN + " >> " + catName;
|
||||
}
|
||||
}
|
||||
if (prod.wx_cat_2 != null)
|
||||
{
|
||||
var catN = GlobalConfig.WxCatList.FirstOrDefault(c => c.cat_id == prod.wx_cat_2.ParseToString())?.name;
|
||||
if (!string.IsNullOrEmpty(catN))
|
||||
{
|
||||
catName = catN + " >> " + catName;
|
||||
}
|
||||
}
|
||||
if (prod.wx_cat_1 != null)
|
||||
{
|
||||
var catN = GlobalConfig.WxCatList.FirstOrDefault(c => c.cat_id == prod.wx_cat_1.ParseToString())?.name;
|
||||
if (!string.IsNullOrEmpty(catN))
|
||||
{
|
||||
catName = catN + " >> " + catName;
|
||||
}
|
||||
}
|
||||
return catName;
|
||||
}
|
||||
|
||||
Bitmap defaultBitmap = null;
|
||||
void ShowDgvImg()
|
||||
{
|
||||
@@ -447,7 +453,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
// 采集来源判断
|
||||
data += "&product_get_type=" + cmbSourceType.Text.Trim().Replace("已采集数据", "1688外部数据")
|
||||
.Replace("多多商品", "机会商品,多多外部数据").Replace("1688商品", "1688厂家,1688外部数据");
|
||||
.Replace("多多商品", "机会商品,多多外部数据").Replace("1688商品", "1688厂家,1688外部数据").Replace("微信商品", "微信店采");
|
||||
}
|
||||
|
||||
if (shop != null && !string.IsNullOrEmpty(shop.ShopId))
|
||||
@@ -638,6 +644,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
dgvDbProduct.Rows[e.RowIndex].Cells["colFissionWords"].Value = dbProduct.fission_words.Replace("fission_goods_names:", "");
|
||||
dgvDbProduct.Rows[e.RowIndex].Cells["col_product_name"].Value = dbProduct.product_name;
|
||||
dgvDbProduct.Rows[e.RowIndex].Cells["colSkuReplaceImgUrl"].Value = dbProduct.sku_img_replace_url;
|
||||
dgvDbProduct.Rows[e.RowIndex].Cells["col_cat_name"].Value = GetProdCateName(dbProduct);
|
||||
dgvDbProduct.Rows[e.RowIndex].Cells["colMainCate"].Value = dbProduct.main_cat_name;
|
||||
break;
|
||||
case "主图":
|
||||
ShowImgForm imgFrom = new ShowImgForm(dgvDbProduct.Rows[e.RowIndex].Cells["colImgUrl"].Value.ParseToString().Replace("?imageView2/2/w/90/h/90", ""));
|
||||
|
||||
Reference in new issue
Block a user