Merge branch 'master' of github.com:jtt-fan/KJD
This commit is contained in:
commit
d370a58554
16 files changed
+893
-387
No files matched your search
@@ -31,7 +31,7 @@ namespace AllBase
|
||||
/// <summary>
|
||||
/// 版本ID
|
||||
/// </summary>
|
||||
public static int VersionCount = 1300;
|
||||
public static int VersionCount = 1306;
|
||||
public static string MainPath = "29wx";
|
||||
//public static string MainPath = "29wx";
|
||||
//public static string MainPath = "29pdd";
|
||||
@@ -166,6 +166,7 @@ namespace AllBase
|
||||
/// </summary>
|
||||
//public static string LoginApiUrl = "http://new.qixiaoke.com/";
|
||||
public static string LoginApiUrl = ServerUrl;
|
||||
public static string ImgApiUrl = "http://119.45.29.75:9000"; // ServerUrl;
|
||||
public static string BigDataApiUrl = "http://bigdata.qixiaoke.com/";
|
||||
public static string GateApi = "";
|
||||
public static string QqGroupNum = "";
|
||||
@@ -777,6 +778,10 @@ namespace AllBase
|
||||
{
|
||||
return LoginApiUrl + "/wxxd_" + file + "?obj=" + BaseClass.MainPath + "/wxxd_" + file;
|
||||
}
|
||||
public static string BuildWXImgObjString(string file, bool IsLoginDef = false)
|
||||
{
|
||||
return ImgApiUrl + "/wxxd_" + file + "?obj=" + BaseClass.MainPath + "/wxxd_" + file;
|
||||
}
|
||||
|
||||
private static char[] constant =
|
||||
{
|
||||
|
||||
@@ -85,5 +85,6 @@ namespace AllBase.Model.DBModel
|
||||
退货包裹扣费支出 = 26,
|
||||
支付宝在线充值 = 30,
|
||||
云仓退货支出 = 31,
|
||||
礼物单退费 = 34,
|
||||
}
|
||||
}
|
||||
@@ -101,6 +101,7 @@ namespace AllBase.Model.Result
|
||||
|
||||
public int? view_uv { get; set; }
|
||||
public int? sale_count { get; set; }
|
||||
public int? sale_count_num { get; set; }
|
||||
public string sale_count_text { get; set; }
|
||||
public string wx_safe_status { get; set; }
|
||||
public string special_prod_type { get; set; }
|
||||
@@ -115,5 +116,6 @@ namespace AllBase.Model.Result
|
||||
/// </summary>
|
||||
public string has_wx_format { get; set; }
|
||||
public string add_user_name { get; set; }
|
||||
public int? is_del { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -230,7 +230,7 @@ namespace AllBase.Model.Result.PDDResult
|
||||
{
|
||||
public string url { get; set; } // "https://img.pddpic.com/goods/images/2019-12-14/3d66ace6-62cd-4d82-bfff-65c84b268361.jpg",
|
||||
public long? id { get; set; } // 20969775049,
|
||||
public int? aspectRatio { get; set; } // 1
|
||||
public decimal? aspectRatio { get; set; } // 0.75
|
||||
|
||||
}
|
||||
}
|
||||
+257
-87
@@ -51,6 +51,9 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.ucTabControlMetro1 = new TemuKJD.UserControls.UcTabControlMetro();
|
||||
this.tabPage1 = new System.Windows.Forms.TabPage();
|
||||
this.plRealDel = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnUpdateSaleCountNum = new DevComponents.DotNetBar.PanelEx();
|
||||
this.chkGetSaleCountLess0 = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.btnEditGroup = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnAddUserProd = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnTitleFission = new DevComponents.DotNetBar.PanelEx();
|
||||
@@ -59,6 +62,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.cmbGroup = new System.Windows.Forms.ComboBox();
|
||||
this.cmbSetWxSafe = new System.Windows.Forms.ComboBox();
|
||||
this.btnSetWxSafe = new DevComponents.DotNetBar.PanelEx();
|
||||
this.chkShowDelProd = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.tabPage4 = new System.Windows.Forms.TabPage();
|
||||
this.btnOutProdSaveDb = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnImport = new DevComponents.DotNetBar.PanelEx();
|
||||
@@ -83,10 +87,12 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.btnPushToOutServer = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnGetProdWxCate = new DevComponents.DotNetBar.PanelEx();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.numFilterViewUv = new System.Windows.Forms.NumericUpDown();
|
||||
this.chkFilterSaleCountNum = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.numFilterSaleCountNum = new System.Windows.Forms.NumericUpDown();
|
||||
this.cmbTime = new System.Windows.Forms.ComboBox();
|
||||
this.cmbHasFission = new System.Windows.Forms.ComboBox();
|
||||
this.label20 = new System.Windows.Forms.Label();
|
||||
this.txtViewUvMin = new System.Windows.Forms.TextBox();
|
||||
this.chkViewUvMin = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.cmbPddRelation = new System.Windows.Forms.ComboBox();
|
||||
this.label19 = new System.Windows.Forms.Label();
|
||||
@@ -167,6 +173,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.colSelectTotalCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colViewUv = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colSaleCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colSaleCountNum = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_notes = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colHeadWords = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colEndWords = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@@ -176,6 +183,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.colWxSafe = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colAddTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colMdyTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colDelStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_edit = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.col_delete = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.col_select_product = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
@@ -192,6 +200,8 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.tabPage2.SuspendLayout();
|
||||
this.flowLayoutPanel1.SuspendLayout();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numFilterViewUv)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numFilterSaleCountNum)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
|
||||
this.splitContainer2.Panel1.SuspendLayout();
|
||||
@@ -226,7 +236,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(1438, 686);
|
||||
this.splitContainer1.SplitterDistance = 110;
|
||||
this.splitContainer1.SplitterDistance = 158;
|
||||
this.splitContainer1.TabIndex = 1;
|
||||
//
|
||||
// ucTabControlMetro1
|
||||
@@ -243,7 +253,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.ucTabControlMetro1.Name = "ucTabControlMetro1";
|
||||
this.ucTabControlMetro1.SelectedIndex = 0;
|
||||
this.ucTabControlMetro1.ShowCloseButton = false;
|
||||
this.ucTabControlMetro1.Size = new System.Drawing.Size(415, 110);
|
||||
this.ucTabControlMetro1.Size = new System.Drawing.Size(415, 158);
|
||||
this.ucTabControlMetro1.TabIndex = 1007;
|
||||
this.ucTabControlMetro1.TabSelectColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.ucTabControlMetro1.TabSelectTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
@@ -251,6 +261,9 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
// tabPage1
|
||||
//
|
||||
this.tabPage1.Controls.Add(this.plRealDel);
|
||||
this.tabPage1.Controls.Add(this.btnUpdateSaleCountNum);
|
||||
this.tabPage1.Controls.Add(this.chkGetSaleCountLess0);
|
||||
this.tabPage1.Controls.Add(this.btnEditGroup);
|
||||
this.tabPage1.Controls.Add(this.btnAddUserProd);
|
||||
this.tabPage1.Controls.Add(this.btnTitleFission);
|
||||
@@ -259,14 +272,76 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.tabPage1.Controls.Add(this.cmbGroup);
|
||||
this.tabPage1.Controls.Add(this.cmbSetWxSafe);
|
||||
this.tabPage1.Controls.Add(this.btnSetWxSafe);
|
||||
this.tabPage1.Controls.Add(this.chkShowDelProd);
|
||||
this.tabPage1.Location = new System.Drawing.Point(4, 26);
|
||||
this.tabPage1.Name = "tabPage1";
|
||||
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.tabPage1.Size = new System.Drawing.Size(407, 80);
|
||||
this.tabPage1.Size = new System.Drawing.Size(407, 128);
|
||||
this.tabPage1.TabIndex = 0;
|
||||
this.tabPage1.Text = "数据操作";
|
||||
this.tabPage1.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// plRealDel
|
||||
//
|
||||
this.plRealDel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.plRealDel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.plRealDel.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.plRealDel.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.plRealDel.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.plRealDel.Location = new System.Drawing.Point(271, 97);
|
||||
this.plRealDel.Name = "plRealDel";
|
||||
this.plRealDel.Size = new System.Drawing.Size(130, 25);
|
||||
this.plRealDel.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.plRealDel.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.plRealDel.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.plRealDel.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.plRealDel.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.plRealDel.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.plRealDel.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.plRealDel.Style.GradientAngle = 90;
|
||||
this.plRealDel.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.plRealDel.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.plRealDel.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.plRealDel.TabIndex = 1024;
|
||||
this.plRealDel.Text = "彻底删除已删除商品";
|
||||
this.plRealDel.Visible = false;
|
||||
this.plRealDel.Click += new System.EventHandler(this.pnlRealDel_Click);
|
||||
//
|
||||
// btnUpdateSaleCountNum
|
||||
//
|
||||
this.btnUpdateSaleCountNum.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnUpdateSaleCountNum.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnUpdateSaleCountNum.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnUpdateSaleCountNum.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnUpdateSaleCountNum.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnUpdateSaleCountNum.Location = new System.Drawing.Point(6, 97);
|
||||
this.btnUpdateSaleCountNum.Name = "btnUpdateSaleCountNum";
|
||||
this.btnUpdateSaleCountNum.Size = new System.Drawing.Size(87, 25);
|
||||
this.btnUpdateSaleCountNum.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnUpdateSaleCountNum.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnUpdateSaleCountNum.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnUpdateSaleCountNum.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnUpdateSaleCountNum.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnUpdateSaleCountNum.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnUpdateSaleCountNum.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnUpdateSaleCountNum.Style.GradientAngle = 90;
|
||||
this.btnUpdateSaleCountNum.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnUpdateSaleCountNum.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnUpdateSaleCountNum.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnUpdateSaleCountNum.TabIndex = 999;
|
||||
this.btnUpdateSaleCountNum.Text = "更新爆款销量";
|
||||
this.btnUpdateSaleCountNum.Click += new System.EventHandler(this.btnUpdateSaleCountNum_Click);
|
||||
//
|
||||
// chkGetSaleCountLess0
|
||||
//
|
||||
this.chkGetSaleCountLess0.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.chkGetSaleCountLess0.Location = new System.Drawing.Point(6, 75);
|
||||
this.chkGetSaleCountLess0.Name = "chkGetSaleCountLess0";
|
||||
this.chkGetSaleCountLess0.Size = new System.Drawing.Size(87, 21);
|
||||
this.chkGetSaleCountLess0.TabIndex = 981;
|
||||
this.chkGetSaleCountLess0.Text = "查询销量<0";
|
||||
this.chkGetSaleCountLess0.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// btnEditGroup
|
||||
//
|
||||
this.btnEditGroup.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
@@ -442,6 +517,19 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.btnSetWxSafe.Text = "设置微信安检";
|
||||
this.btnSetWxSafe.Click += new System.EventHandler(this.btnSetWxSafe_Click);
|
||||
//
|
||||
// chkShowDelProd
|
||||
//
|
||||
this.chkShowDelProd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.chkShowDelProd.AutoSize = true;
|
||||
this.chkShowDelProd.Location = new System.Drawing.Point(189, 99);
|
||||
this.chkShowDelProd.Name = "chkShowDelProd";
|
||||
this.chkShowDelProd.Size = new System.Drawing.Size(87, 21);
|
||||
this.chkShowDelProd.TabIndex = 1020;
|
||||
this.chkShowDelProd.Text = "已删除数据";
|
||||
this.chkShowDelProd.UseVisualStyleBackColor = true;
|
||||
this.chkShowDelProd.Visible = false;
|
||||
this.chkShowDelProd.CheckedChanged += new System.EventHandler(this.chkShowDelProd_CheckedChanged);
|
||||
//
|
||||
// tabPage4
|
||||
//
|
||||
this.tabPage4.Controls.Add(this.btnOutProdSaveDb);
|
||||
@@ -449,7 +537,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.tabPage4.Location = new System.Drawing.Point(4, 26);
|
||||
this.tabPage4.Name = "tabPage4";
|
||||
this.tabPage4.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.tabPage4.Size = new System.Drawing.Size(407, 80);
|
||||
this.tabPage4.Size = new System.Drawing.Size(407, 128);
|
||||
this.tabPage4.TabIndex = 3;
|
||||
this.tabPage4.Text = "商品导入";
|
||||
this.tabPage4.UseVisualStyleBackColor = true;
|
||||
@@ -518,7 +606,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.tabPage3.Controls.Add(this.btnExportTxt);
|
||||
this.tabPage3.Location = new System.Drawing.Point(4, 26);
|
||||
this.tabPage3.Name = "tabPage3";
|
||||
this.tabPage3.Size = new System.Drawing.Size(407, 80);
|
||||
this.tabPage3.Size = new System.Drawing.Size(407, 128);
|
||||
this.tabPage3.TabIndex = 2;
|
||||
this.tabPage3.Text = "商品导出";
|
||||
//
|
||||
@@ -551,7 +639,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.btnExportIdImg.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnExportIdImg.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnExportIdImg.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnExportIdImg.Location = new System.Drawing.Point(270, 54);
|
||||
this.btnExportIdImg.Location = new System.Drawing.Point(270, 102);
|
||||
this.btnExportIdImg.Name = "btnExportIdImg";
|
||||
this.btnExportIdImg.Size = new System.Drawing.Size(134, 23);
|
||||
this.btnExportIdImg.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -659,7 +747,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.tabPage2.Location = new System.Drawing.Point(4, 26);
|
||||
this.tabPage2.Name = "tabPage2";
|
||||
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.tabPage2.Size = new System.Drawing.Size(407, 80);
|
||||
this.tabPage2.Size = new System.Drawing.Size(407, 128);
|
||||
this.tabPage2.TabIndex = 1;
|
||||
this.tabPage2.Text = "数据修复 3.15前";
|
||||
//
|
||||
@@ -872,10 +960,12 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 12.50328F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
this.tableLayoutPanel1.Controls.Add(this.numFilterViewUv, 13, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.chkFilterSaleCountNum, 0, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.numFilterSaleCountNum, 1, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.cmbTime, 8, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.cmbHasFission, 15, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label20, 14, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.txtViewUvMin, 13, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.chkViewUvMin, 12, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.cmbPddRelation, 13, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label19, 12, 0);
|
||||
@@ -920,14 +1010,75 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.tableLayoutPanel1.Controls.Add(this.panel1, 13, 2);
|
||||
this.tableLayoutPanel1.Location = new System.Drawing.Point(4, 4);
|
||||
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||
this.tableLayoutPanel1.RowCount = 3;
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33444F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33445F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33112F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(908, 105);
|
||||
this.tableLayoutPanel1.RowCount = 4;
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25.00145F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25.00146F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 24.99896F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 24.99813F));
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(908, 151);
|
||||
this.tableLayoutPanel1.TabIndex = 679;
|
||||
//
|
||||
// numFilterViewUv
|
||||
//
|
||||
this.numFilterViewUv.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.numFilterViewUv.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.numFilterViewUv.Location = new System.Drawing.Point(687, 43);
|
||||
this.numFilterViewUv.Margin = new System.Windows.Forms.Padding(0, 0, 3, 0);
|
||||
this.numFilterViewUv.Maximum = new decimal(new int[] {
|
||||
99999999,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numFilterViewUv.Minimum = new decimal(new int[] {
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numFilterViewUv.Name = "numFilterViewUv";
|
||||
this.numFilterViewUv.Size = new System.Drawing.Size(51, 25);
|
||||
this.numFilterViewUv.TabIndex = 932;
|
||||
this.numFilterViewUv.Value = new decimal(new int[] {
|
||||
200,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
//
|
||||
// chkFilterSaleCountNum
|
||||
//
|
||||
this.chkFilterSaleCountNum.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.chkFilterSaleCountNum.Location = new System.Drawing.Point(16, 122);
|
||||
this.chkFilterSaleCountNum.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.chkFilterSaleCountNum.Name = "chkFilterSaleCountNum";
|
||||
this.chkFilterSaleCountNum.Size = new System.Drawing.Size(44, 17);
|
||||
this.chkFilterSaleCountNum.TabIndex = 991;
|
||||
this.chkFilterSaleCountNum.Text = "销量";
|
||||
this.chkFilterSaleCountNum.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// numFilterSaleCountNum
|
||||
//
|
||||
this.numFilterSaleCountNum.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.numFilterSaleCountNum.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.numFilterSaleCountNum.Location = new System.Drawing.Point(60, 118);
|
||||
this.numFilterSaleCountNum.Margin = new System.Windows.Forms.Padding(0, 0, 3, 0);
|
||||
this.numFilterSaleCountNum.Maximum = new decimal(new int[] {
|
||||
99999999,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numFilterSaleCountNum.Minimum = new decimal(new int[] {
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numFilterSaleCountNum.Name = "numFilterSaleCountNum";
|
||||
this.numFilterSaleCountNum.Size = new System.Drawing.Size(51, 25);
|
||||
this.numFilterSaleCountNum.TabIndex = 932;
|
||||
this.numFilterSaleCountNum.Value = new decimal(new int[] {
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
//
|
||||
// cmbTime
|
||||
//
|
||||
this.cmbTime.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
@@ -936,7 +1087,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
"",
|
||||
"修改时间",
|
||||
"入库时间"});
|
||||
this.cmbTime.Location = new System.Drawing.Point(402, 77);
|
||||
this.cmbTime.Location = new System.Drawing.Point(402, 80);
|
||||
this.cmbTime.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbTime.Name = "cmbTime";
|
||||
this.cmbTime.Size = new System.Drawing.Size(56, 25);
|
||||
@@ -950,7 +1101,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
"",
|
||||
"是",
|
||||
"否"});
|
||||
this.cmbHasFission.Location = new System.Drawing.Point(800, 42);
|
||||
this.cmbHasFission.Location = new System.Drawing.Point(800, 43);
|
||||
this.cmbHasFission.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbHasFission.Name = "cmbHasFission";
|
||||
this.cmbHasFission.Size = new System.Drawing.Size(51, 25);
|
||||
@@ -960,26 +1111,17 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.label20.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label20.AutoSize = true;
|
||||
this.label20.Location = new System.Drawing.Point(744, 44);
|
||||
this.label20.Location = new System.Drawing.Point(744, 47);
|
||||
this.label20.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label20.Name = "label20";
|
||||
this.label20.Size = new System.Drawing.Size(56, 17);
|
||||
this.label20.TabIndex = 805;
|
||||
this.label20.Text = "裂变标题";
|
||||
//
|
||||
// txtViewUvMin
|
||||
//
|
||||
this.txtViewUvMin.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtViewUvMin.Location = new System.Drawing.Point(687, 41);
|
||||
this.txtViewUvMin.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtViewUvMin.Name = "txtViewUvMin";
|
||||
this.txtViewUvMin.Size = new System.Drawing.Size(51, 23);
|
||||
this.txtViewUvMin.TabIndex = 980;
|
||||
//
|
||||
// chkViewUvMin
|
||||
//
|
||||
this.chkViewUvMin.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.chkViewUvMin.Location = new System.Drawing.Point(634, 42);
|
||||
this.chkViewUvMin.Location = new System.Drawing.Point(634, 45);
|
||||
this.chkViewUvMin.Name = "chkViewUvMin";
|
||||
this.chkViewUvMin.Size = new System.Drawing.Size(50, 21);
|
||||
this.chkViewUvMin.TabIndex = 978;
|
||||
@@ -994,7 +1136,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
"",
|
||||
"是",
|
||||
"否"});
|
||||
this.cmbPddRelation.Location = new System.Drawing.Point(687, 7);
|
||||
this.cmbPddRelation.Location = new System.Drawing.Point(687, 6);
|
||||
this.cmbPddRelation.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbPddRelation.Name = "cmbPddRelation";
|
||||
this.cmbPddRelation.Size = new System.Drawing.Size(51, 25);
|
||||
@@ -1004,7 +1146,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.label19.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label19.AutoSize = true;
|
||||
this.label19.Location = new System.Drawing.Point(631, 9);
|
||||
this.label19.Location = new System.Drawing.Point(631, 10);
|
||||
this.label19.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label19.Name = "label19";
|
||||
this.label19.Size = new System.Drawing.Size(56, 17);
|
||||
@@ -1017,7 +1159,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.tableLayoutPanel1.SetColumnSpan(this.dtpEnd, 2);
|
||||
this.dtpEnd.CustomFormat = "yyyy-MM-dd HH:mm";
|
||||
this.dtpEnd.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
||||
this.dtpEnd.Location = new System.Drawing.Point(574, 76);
|
||||
this.dtpEnd.Location = new System.Drawing.Point(574, 81);
|
||||
this.dtpEnd.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.dtpEnd.Name = "dtpEnd";
|
||||
this.dtpEnd.Size = new System.Drawing.Size(110, 23);
|
||||
@@ -1029,7 +1171,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.tableLayoutPanel1.SetColumnSpan(this.dtpStart, 2);
|
||||
this.dtpStart.CustomFormat = "yyyy-MM-dd HH:mm";
|
||||
this.dtpStart.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
||||
this.dtpStart.Location = new System.Drawing.Point(461, 76);
|
||||
this.dtpStart.Location = new System.Drawing.Point(461, 81);
|
||||
this.dtpStart.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.dtpStart.Name = "dtpStart";
|
||||
this.dtpStart.Size = new System.Drawing.Size(110, 23);
|
||||
@@ -1039,7 +1181,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.cmbCat2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cmbCat2.FormattingEnabled = true;
|
||||
this.cmbCat2.Location = new System.Drawing.Point(252, 77);
|
||||
this.cmbCat2.Location = new System.Drawing.Point(252, 80);
|
||||
this.cmbCat2.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat2.Name = "cmbCat2";
|
||||
this.cmbCat2.Size = new System.Drawing.Size(51, 25);
|
||||
@@ -1050,7 +1192,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.label16.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label16.AutoSize = true;
|
||||
this.label16.Location = new System.Drawing.Point(3, 44);
|
||||
this.label16.Location = new System.Drawing.Point(3, 47);
|
||||
this.label16.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label16.Name = "label16";
|
||||
this.label16.Size = new System.Drawing.Size(57, 17);
|
||||
@@ -1061,7 +1203,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.label1.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(3, 79);
|
||||
this.label1.Location = new System.Drawing.Point(3, 84);
|
||||
this.label1.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(57, 17);
|
||||
@@ -1071,7 +1213,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// txtSecretStyleCode
|
||||
//
|
||||
this.txtSecretStyleCode.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtSecretStyleCode.Location = new System.Drawing.Point(252, 6);
|
||||
this.txtSecretStyleCode.Location = new System.Drawing.Point(252, 7);
|
||||
this.txtSecretStyleCode.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtSecretStyleCode.Name = "txtSecretStyleCode";
|
||||
this.txtSecretStyleCode.Size = new System.Drawing.Size(51, 23);
|
||||
@@ -1081,7 +1223,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.label14.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label14.AutoSize = true;
|
||||
this.label14.Location = new System.Drawing.Point(213, 79);
|
||||
this.label14.Location = new System.Drawing.Point(213, 84);
|
||||
this.label14.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label14.Name = "label14";
|
||||
this.label14.Size = new System.Drawing.Size(39, 17);
|
||||
@@ -1092,7 +1234,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.label15.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label15.AutoSize = true;
|
||||
this.label15.Location = new System.Drawing.Point(220, 9);
|
||||
this.label15.Location = new System.Drawing.Point(220, 10);
|
||||
this.label15.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label15.Name = "label15";
|
||||
this.label15.Size = new System.Drawing.Size(32, 17);
|
||||
@@ -1103,7 +1245,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.label13.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label13.AutoSize = true;
|
||||
this.label13.Location = new System.Drawing.Point(518, 44);
|
||||
this.label13.Location = new System.Drawing.Point(518, 47);
|
||||
this.label13.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label13.Name = "label13";
|
||||
this.label13.Size = new System.Drawing.Size(56, 17);
|
||||
@@ -1125,7 +1267,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
"机会商品",
|
||||
"以图搜品",
|
||||
"多多外部数据"});
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(252, 42);
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(252, 43);
|
||||
this.cmbSourceType.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbSourceType.Name = "cmbSourceType";
|
||||
this.cmbSourceType.Size = new System.Drawing.Size(51, 25);
|
||||
@@ -1136,7 +1278,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.label10.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label10.AutoSize = true;
|
||||
this.label10.Location = new System.Drawing.Point(220, 44);
|
||||
this.label10.Location = new System.Drawing.Point(220, 47);
|
||||
this.label10.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(32, 17);
|
||||
@@ -1147,7 +1289,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.label5.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(15, 9);
|
||||
this.label5.Location = new System.Drawing.Point(15, 10);
|
||||
this.label5.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(45, 17);
|
||||
@@ -1157,7 +1299,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// txtSPU
|
||||
//
|
||||
this.txtSPU.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtSPU.Location = new System.Drawing.Point(60, 6);
|
||||
this.txtSPU.Location = new System.Drawing.Point(60, 7);
|
||||
this.txtSPU.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtSPU.Name = "txtSPU";
|
||||
this.txtSPU.Size = new System.Drawing.Size(51, 23);
|
||||
@@ -1171,7 +1313,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
"",
|
||||
"是",
|
||||
"否"});
|
||||
this.cmbWxCat.Location = new System.Drawing.Point(574, 7);
|
||||
this.cmbWxCat.Location = new System.Drawing.Point(574, 6);
|
||||
this.cmbWxCat.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbWxCat.Name = "cmbWxCat";
|
||||
this.cmbWxCat.Size = new System.Drawing.Size(51, 25);
|
||||
@@ -1180,7 +1322,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// txtSKC
|
||||
//
|
||||
this.txtSKC.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtSKC.Location = new System.Drawing.Point(60, 41);
|
||||
this.txtSKC.Location = new System.Drawing.Point(60, 44);
|
||||
this.txtSKC.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtSKC.Name = "txtSKC";
|
||||
this.txtSKC.Size = new System.Drawing.Size(51, 23);
|
||||
@@ -1193,7 +1335,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.cmbSort.Items.AddRange(new object[] {
|
||||
"入库时间",
|
||||
"曝光量"});
|
||||
this.cmbSort.Location = new System.Drawing.Point(348, 42);
|
||||
this.cmbSort.Location = new System.Drawing.Point(348, 43);
|
||||
this.cmbSort.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbSort.Name = "cmbSort";
|
||||
this.cmbSort.Size = new System.Drawing.Size(51, 25);
|
||||
@@ -1204,7 +1346,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.label6.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(316, 44);
|
||||
this.label6.Location = new System.Drawing.Point(316, 47);
|
||||
this.label6.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(32, 17);
|
||||
@@ -1215,7 +1357,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.label4.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(316, 9);
|
||||
this.label4.Location = new System.Drawing.Point(316, 10);
|
||||
this.label4.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(32, 17);
|
||||
@@ -1226,7 +1368,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.label12.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label12.AutoSize = true;
|
||||
this.label12.Location = new System.Drawing.Point(518, 9);
|
||||
this.label12.Location = new System.Drawing.Point(518, 10);
|
||||
this.label12.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label12.Name = "label12";
|
||||
this.label12.Size = new System.Drawing.Size(56, 17);
|
||||
@@ -1236,7 +1378,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// txtExtCode
|
||||
//
|
||||
this.txtExtCode.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtExtCode.Location = new System.Drawing.Point(348, 6);
|
||||
this.txtExtCode.Location = new System.Drawing.Point(348, 7);
|
||||
this.txtExtCode.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtExtCode.Name = "txtExtCode";
|
||||
this.txtExtCode.Size = new System.Drawing.Size(51, 23);
|
||||
@@ -1246,7 +1388,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.lblGroup.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.lblGroup.AutoSize = true;
|
||||
this.lblGroup.Location = new System.Drawing.Point(124, 44);
|
||||
this.lblGroup.Location = new System.Drawing.Point(124, 47);
|
||||
this.lblGroup.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.lblGroup.Name = "lblGroup";
|
||||
this.lblGroup.Size = new System.Drawing.Size(32, 17);
|
||||
@@ -1257,7 +1399,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.cmbGroupFilter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cmbGroupFilter.FormattingEnabled = true;
|
||||
this.cmbGroupFilter.Location = new System.Drawing.Point(156, 42);
|
||||
this.cmbGroupFilter.Location = new System.Drawing.Point(156, 43);
|
||||
this.cmbGroupFilter.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbGroupFilter.Name = "cmbGroupFilter";
|
||||
this.cmbGroupFilter.Size = new System.Drawing.Size(51, 25);
|
||||
@@ -1272,7 +1414,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
"是",
|
||||
"否",
|
||||
"导出未拉回"});
|
||||
this.cmbExportToOutServer.Location = new System.Drawing.Point(574, 42);
|
||||
this.cmbExportToOutServer.Location = new System.Drawing.Point(574, 43);
|
||||
this.cmbExportToOutServer.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbExportToOutServer.Name = "cmbExportToOutServer";
|
||||
this.cmbExportToOutServer.Size = new System.Drawing.Size(51, 25);
|
||||
@@ -1282,7 +1424,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.label3.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(405, 9);
|
||||
this.label3.Location = new System.Drawing.Point(405, 10);
|
||||
this.label3.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(56, 17);
|
||||
@@ -1292,7 +1434,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// txtProdName
|
||||
//
|
||||
this.txtProdName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtProdName.Location = new System.Drawing.Point(461, 6);
|
||||
this.txtProdName.Location = new System.Drawing.Point(461, 7);
|
||||
this.txtProdName.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtProdName.Name = "txtProdName";
|
||||
this.txtProdName.Size = new System.Drawing.Size(51, 23);
|
||||
@@ -1308,7 +1450,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
"安全商品",
|
||||
"违规商品",
|
||||
"未校验"});
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(461, 42);
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(461, 43);
|
||||
this.cmbWxSafe.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbWxSafe.Name = "cmbWxSafe";
|
||||
this.cmbWxSafe.Size = new System.Drawing.Size(51, 25);
|
||||
@@ -1319,7 +1461,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.lblWxSafe.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.lblWxSafe.AutoSize = true;
|
||||
this.lblWxSafe.Location = new System.Drawing.Point(405, 44);
|
||||
this.lblWxSafe.Location = new System.Drawing.Point(405, 47);
|
||||
this.lblWxSafe.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.lblWxSafe.Name = "lblWxSafe";
|
||||
this.lblWxSafe.Size = new System.Drawing.Size(56, 17);
|
||||
@@ -1330,7 +1472,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.lblNotes.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.lblNotes.AutoSize = true;
|
||||
this.lblNotes.Location = new System.Drawing.Point(124, 9);
|
||||
this.lblNotes.Location = new System.Drawing.Point(124, 10);
|
||||
this.lblNotes.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.lblNotes.Name = "lblNotes";
|
||||
this.lblNotes.Size = new System.Drawing.Size(32, 17);
|
||||
@@ -1340,7 +1482,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// txtNotes
|
||||
//
|
||||
this.txtNotes.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtNotes.Location = new System.Drawing.Point(156, 6);
|
||||
this.txtNotes.Location = new System.Drawing.Point(156, 7);
|
||||
this.txtNotes.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtNotes.Name = "txtNotes";
|
||||
this.txtNotes.Size = new System.Drawing.Size(51, 23);
|
||||
@@ -1350,7 +1492,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.cmbCat1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cmbCat1.FormattingEnabled = true;
|
||||
this.cmbCat1.Location = new System.Drawing.Point(156, 77);
|
||||
this.cmbCat1.Location = new System.Drawing.Point(156, 80);
|
||||
this.cmbCat1.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat1.Name = "cmbCat1";
|
||||
this.cmbCat1.Size = new System.Drawing.Size(51, 25);
|
||||
@@ -1361,7 +1503,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.label2.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(117, 79);
|
||||
this.label2.Location = new System.Drawing.Point(117, 84);
|
||||
this.label2.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(39, 17);
|
||||
@@ -1372,7 +1514,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.cmbCat3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cmbCat3.FormattingEnabled = true;
|
||||
this.cmbCat3.Location = new System.Drawing.Point(348, 77);
|
||||
this.cmbCat3.Location = new System.Drawing.Point(348, 80);
|
||||
this.cmbCat3.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat3.Name = "cmbCat3";
|
||||
this.cmbCat3.Size = new System.Drawing.Size(51, 25);
|
||||
@@ -1383,7 +1525,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.label17.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label17.AutoSize = true;
|
||||
this.label17.Location = new System.Drawing.Point(309, 79);
|
||||
this.label17.Location = new System.Drawing.Point(309, 84);
|
||||
this.label17.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label17.Name = "label17";
|
||||
this.label17.Size = new System.Drawing.Size(39, 17);
|
||||
@@ -1393,7 +1535,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
// txtRealCoid
|
||||
//
|
||||
this.txtRealCoid.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtRealCoid.Location = new System.Drawing.Point(60, 76);
|
||||
this.txtRealCoid.Location = new System.Drawing.Point(60, 81);
|
||||
this.txtRealCoid.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtRealCoid.Name = "txtRealCoid";
|
||||
this.txtRealCoid.Size = new System.Drawing.Size(51, 23);
|
||||
@@ -1405,7 +1547,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.btnEmpty.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.btnEmpty.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnEmpty.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnEmpty.Location = new System.Drawing.Point(857, 40);
|
||||
this.btnEmpty.Location = new System.Drawing.Point(857, 43);
|
||||
this.btnEmpty.Name = "btnEmpty";
|
||||
this.btnEmpty.Size = new System.Drawing.Size(46, 25);
|
||||
this.btnEmpty.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -1431,7 +1573,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.btnSearch.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnSearch.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnSearch.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnSearch.Location = new System.Drawing.Point(857, 5);
|
||||
this.btnSearch.Location = new System.Drawing.Point(857, 6);
|
||||
this.btnSearch.Name = "btnSearch";
|
||||
this.btnSearch.Size = new System.Drawing.Size(46, 25);
|
||||
this.btnSearch.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -1453,7 +1595,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.label11.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label11.AutoSize = true;
|
||||
this.label11.Location = new System.Drawing.Point(744, 9);
|
||||
this.label11.Location = new System.Drawing.Point(744, 10);
|
||||
this.label11.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label11.Name = "label11";
|
||||
this.label11.Size = new System.Drawing.Size(56, 17);
|
||||
@@ -1468,7 +1610,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
"",
|
||||
"普通商品",
|
||||
"爆款数据"});
|
||||
this.cmbSpProdType.Location = new System.Drawing.Point(800, 7);
|
||||
this.cmbSpProdType.Location = new System.Drawing.Point(800, 6);
|
||||
this.cmbSpProdType.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbSpProdType.Name = "cmbSpProdType";
|
||||
this.cmbSpProdType.Size = new System.Drawing.Size(51, 25);
|
||||
@@ -1482,15 +1624,15 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.tableLayoutPanel1.SetColumnSpan(this.panel1, 4);
|
||||
this.panel1.Controls.Add(this.chkWXComplateProd);
|
||||
this.panel1.Controls.Add(this.chkNoUserProduct);
|
||||
this.panel1.Location = new System.Drawing.Point(690, 73);
|
||||
this.panel1.Location = new System.Drawing.Point(690, 77);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(215, 29);
|
||||
this.panel1.Size = new System.Drawing.Size(215, 31);
|
||||
this.panel1.TabIndex = 982;
|
||||
//
|
||||
// chkWXComplateProd
|
||||
//
|
||||
this.chkWXComplateProd.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.chkWXComplateProd.Location = new System.Drawing.Point(1, 4);
|
||||
this.chkWXComplateProd.Location = new System.Drawing.Point(1, 5);
|
||||
this.chkWXComplateProd.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3);
|
||||
this.chkWXComplateProd.Name = "chkWXComplateProd";
|
||||
this.chkWXComplateProd.Size = new System.Drawing.Size(87, 21);
|
||||
@@ -1504,7 +1646,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.chkNoUserProduct.AutoSize = true;
|
||||
this.chkNoUserProduct.Checked = true;
|
||||
this.chkNoUserProduct.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkNoUserProduct.Location = new System.Drawing.Point(98, 4);
|
||||
this.chkNoUserProduct.Location = new System.Drawing.Point(98, 5);
|
||||
this.chkNoUserProduct.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3);
|
||||
this.chkNoUserProduct.Name = "chkNoUserProduct";
|
||||
this.chkNoUserProduct.Size = new System.Drawing.Size(111, 21);
|
||||
@@ -1546,8 +1688,8 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.splitContainer2.Panel2.Controls.Add(this.ucSplitPage1);
|
||||
this.splitContainer2.Panel2.Controls.Add(this.statusBar);
|
||||
this.splitContainer2.Size = new System.Drawing.Size(1438, 572);
|
||||
this.splitContainer2.SplitterDistance = 543;
|
||||
this.splitContainer2.Size = new System.Drawing.Size(1438, 524);
|
||||
this.splitContainer2.SplitterDistance = 495;
|
||||
this.splitContainer2.TabIndex = 0;
|
||||
//
|
||||
// panelEx1
|
||||
@@ -1607,7 +1749,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.pnlEditExtCodePrice.Controls.Add(this.lblExtCode);
|
||||
this.pnlEditExtCodePrice.Controls.Add(this.panel2);
|
||||
this.pnlEditExtCodePrice.Controls.Add(this.lblExtCodePrice);
|
||||
this.pnlEditExtCodePrice.Location = new System.Drawing.Point(482, 73);
|
||||
this.pnlEditExtCodePrice.Location = new System.Drawing.Point(482, 49);
|
||||
this.pnlEditExtCodePrice.Name = "pnlEditExtCodePrice";
|
||||
this.pnlEditExtCodePrice.Size = new System.Drawing.Size(474, 146);
|
||||
this.pnlEditExtCodePrice.TabIndex = 434;
|
||||
@@ -1702,7 +1844,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
this.pbLoading.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.pbLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
|
||||
this.pbLoading.Location = new System.Drawing.Point(694, 246);
|
||||
this.pbLoading.Location = new System.Drawing.Point(694, 222);
|
||||
this.pbLoading.Name = "pbLoading";
|
||||
this.pbLoading.Size = new System.Drawing.Size(50, 50);
|
||||
this.pbLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
@@ -1752,6 +1894,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.colSelectTotalCount,
|
||||
this.colViewUv,
|
||||
this.colSaleCount,
|
||||
this.colSaleCountNum,
|
||||
this.col_notes,
|
||||
this.colHeadWords,
|
||||
this.colEndWords,
|
||||
@@ -1761,6 +1904,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.colWxSafe,
|
||||
this.colAddTime,
|
||||
this.colMdyTime,
|
||||
this.colDelStatus,
|
||||
this.col_edit,
|
||||
this.col_delete,
|
||||
this.col_select_product});
|
||||
@@ -1770,7 +1914,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.dgvDbProduct.Name = "dgvDbProduct";
|
||||
this.dgvDbProduct.ReadOnly = true;
|
||||
this.dgvDbProduct.RowTemplate.Height = 23;
|
||||
this.dgvDbProduct.Size = new System.Drawing.Size(1430, 543);
|
||||
this.dgvDbProduct.Size = new System.Drawing.Size(1430, 495);
|
||||
this.dgvDbProduct.TabIndex = 6;
|
||||
this.dgvDbProduct.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvDbProduct_CellClick);
|
||||
this.dgvDbProduct.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvDbProduct_CellContentClick);
|
||||
@@ -1957,11 +2101,18 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//
|
||||
// colSaleCount
|
||||
//
|
||||
this.colSaleCount.FillWeight = 60F;
|
||||
this.colSaleCount.FillWeight = 50F;
|
||||
this.colSaleCount.HeaderText = "销量";
|
||||
this.colSaleCount.Name = "colSaleCount";
|
||||
this.colSaleCount.ReadOnly = true;
|
||||
//
|
||||
// colSaleCountNum
|
||||
//
|
||||
this.colSaleCountNum.FillWeight = 50F;
|
||||
this.colSaleCountNum.HeaderText = "销量数";
|
||||
this.colSaleCountNum.Name = "colSaleCountNum";
|
||||
this.colSaleCountNum.ReadOnly = true;
|
||||
//
|
||||
// col_notes
|
||||
//
|
||||
dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
@@ -2038,6 +2189,14 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.colMdyTime.Name = "colMdyTime";
|
||||
this.colMdyTime.ReadOnly = true;
|
||||
//
|
||||
// colDelStatus
|
||||
//
|
||||
this.colDelStatus.FillWeight = 50F;
|
||||
this.colDelStatus.HeaderText = "已删除";
|
||||
this.colDelStatus.Name = "colDelStatus";
|
||||
this.colDelStatus.ReadOnly = true;
|
||||
this.colDelStatus.Visible = false;
|
||||
//
|
||||
// col_edit
|
||||
//
|
||||
this.col_edit.FillWeight = 40F;
|
||||
@@ -2111,6 +2270,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.splitContainer1.ResumeLayout(false);
|
||||
this.ucTabControlMetro1.ResumeLayout(false);
|
||||
this.tabPage1.ResumeLayout(false);
|
||||
this.tabPage1.PerformLayout();
|
||||
this.tabPage4.ResumeLayout(false);
|
||||
this.tabPage3.ResumeLayout(false);
|
||||
this.tabPage3.PerformLayout();
|
||||
@@ -2119,6 +2279,8 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.flowLayoutPanel1.PerformLayout();
|
||||
this.tableLayoutPanel1.ResumeLayout(false);
|
||||
this.tableLayoutPanel1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numFilterViewUv)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numFilterSaleCountNum)).EndInit();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
this.splitContainer2.Panel1.ResumeLayout(false);
|
||||
@@ -2222,11 +2384,24 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
private System.Windows.Forms.ComboBox cmbPddRelation;
|
||||
private System.Windows.Forms.Label label19;
|
||||
private DevComponents.DotNetBar.PanelEx btnExportIdImg;
|
||||
private System.Windows.Forms.TextBox txtViewUvMin;
|
||||
private UserComponent.UcCheckBox chkViewUvMin;
|
||||
private DevComponents.DotNetBar.PanelEx btnTitleFission;
|
||||
private System.Windows.Forms.ComboBox cmbHasFission;
|
||||
private System.Windows.Forms.Label label20;
|
||||
private DevComponents.DotNetBar.PanelEx btnOutProdSaveDb;
|
||||
private System.Windows.Forms.TabPage tabPage4;
|
||||
private System.Windows.Forms.Label label8;
|
||||
private UserComponent.UcCheckBox chkNoUserProduct;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private DevComponents.DotNetBar.PanelEx btnAddUserProd;
|
||||
private DevComponents.DotNetBar.PanelEx btnEditGroup;
|
||||
private System.Windows.Forms.ComboBox cmbTime;
|
||||
private DevComponents.DotNetBar.PanelEx btnUpdateSaleCountNum;
|
||||
private UserComponent.UcCheckBox chkGetSaleCountLess0;
|
||||
private System.Windows.Forms.NumericUpDown numFilterSaleCountNum;
|
||||
private UserComponent.UcCheckBox chkFilterSaleCountNum;
|
||||
private System.Windows.Forms.NumericUpDown numFilterViewUv;
|
||||
private UserComponent.UcCheckBox chkShowDelProd;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_db_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colFromShopId;
|
||||
@@ -2250,6 +2425,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSelectTotalCount;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colViewUv;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSaleCount;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSaleCountNum;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_notes;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colHeadWords;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colEndWords;
|
||||
@@ -2259,16 +2435,10 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colWxSafe;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colAddTime;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colMdyTime;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colDelStatus;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn col_edit;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn col_delete;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn col_select_product;
|
||||
private DevComponents.DotNetBar.PanelEx btnOutProdSaveDb;
|
||||
private System.Windows.Forms.TabPage tabPage4;
|
||||
private System.Windows.Forms.Label label8;
|
||||
private UserComponent.UcCheckBox chkNoUserProduct;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private DevComponents.DotNetBar.PanelEx btnAddUserProd;
|
||||
private DevComponents.DotNetBar.PanelEx btnEditGroup;
|
||||
private System.Windows.Forms.ComboBox cmbTime;
|
||||
private DevComponents.DotNetBar.PanelEx plRealDel;
|
||||
}
|
||||
}
|
||||
@@ -137,6 +137,12 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
WXDBProdUploadForm.lstWXShopTokenInfo = NaiBa.Util.Helper.ConfigHelper.LoadConfig<NaiBa.Util.ConcurrentList<WXShopTokenInfo>>("wx_shop_token_list");
|
||||
if (WXDBProdUploadForm.lstWXShopTokenInfo == null)
|
||||
WXDBProdUploadForm.lstWXShopTokenInfo = new ConcurrentList<WXShopTokenInfo>();
|
||||
|
||||
if (BaseClass.UserName == "15288888888")
|
||||
{
|
||||
chkShowDelProd.Visible = true;
|
||||
plRealDel.Visible = true;
|
||||
}
|
||||
}
|
||||
|
||||
private void btnSearch_Click(object sender, EventArgs e)
|
||||
@@ -252,6 +258,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
prod.select_total_count,
|
||||
prod.view_uv,
|
||||
prod.sale_count_text, // 销售数量
|
||||
prod.sale_count_num,
|
||||
prod.notes,
|
||||
prod.head_words,
|
||||
prod.end_words,
|
||||
@@ -261,6 +268,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
prod.wx_safe_status,
|
||||
prod.add_time.ToString("yy-MM-dd HH:mm"),
|
||||
prod.mdy_time.ToString("yy-MM-dd HH:mm"),
|
||||
prod.is_del == 1 ? "是" : "否",
|
||||
"编辑",
|
||||
"删除",
|
||||
"认领");
|
||||
@@ -369,7 +377,11 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
|
||||
if (chkViewUvMin.Checked)
|
||||
{
|
||||
data += "&min_view_uv=" + txtViewUvMin.Text.ParseToInt();
|
||||
data += "&min_view_uv=" + numFilterViewUv.Value.ParseToInt();
|
||||
}
|
||||
if (chkFilterSaleCountNum.Checked)
|
||||
{
|
||||
data += "&sale_count_num_more=" + numFilterSaleCountNum.Value.ParseToInt();
|
||||
}
|
||||
|
||||
if (cmbTime.Text == "修改时间")
|
||||
@@ -480,6 +492,11 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
data += "&is_relation=0";
|
||||
else if (cmbPddRelation.Text == "是")
|
||||
data += "&is_relation=1";
|
||||
|
||||
if (chkGetSaleCountLess0.Checked)
|
||||
data += "&sale_count_num_less=-1";
|
||||
if (chkShowDelProd.Checked)
|
||||
data += "&is_del=1";
|
||||
}));
|
||||
var html = GetHtml.PostUtf8(url, data);
|
||||
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
|
||||
@@ -552,7 +569,10 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
this.chkWXComplateProd.Checked = false;
|
||||
this.cmbHasFission.Text = "";
|
||||
this.cmbPddRelation.Text = "";
|
||||
this.txtViewUvMin.Text = "";
|
||||
this.chkViewUvMin.Checked = false;
|
||||
this.numFilterViewUv.Value = 1;
|
||||
this.chkFilterSaleCountNum.Checked = false;
|
||||
this.numFilterSaleCountNum.Value = 1;
|
||||
}
|
||||
|
||||
private void cmbCateFilter1_SelectedIndexChanged(object sender, EventArgs e)
|
||||
@@ -715,11 +735,11 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
}
|
||||
}
|
||||
|
||||
private void DeleteProduct(string dbId, bool isUpdate = true)
|
||||
private void DeleteProduct(string dbId, bool isRealDel = false, bool isUpdate = true)
|
||||
{
|
||||
var url = BaseClass.BuildPDDObjString("product/del_db_product");
|
||||
var data = UserLogin.GetSignaturex() +
|
||||
"&db_id=" + dbId;
|
||||
"&db_id=" + dbId + "&is_real_del=" + isRealDel;
|
||||
var html = GetHtml.PostUtf8(url, data);
|
||||
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
|
||||
html = GetHtml.PostUtf8(url, data);
|
||||
@@ -757,7 +777,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
{
|
||||
foreach (var prod in prodList)
|
||||
{
|
||||
DeleteProduct(prod.id.ToString(), false);
|
||||
DeleteProduct(prod.id.ToString(), false, false);
|
||||
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
@@ -1284,7 +1304,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
html = GetHtml.PostUtf8(url, data);
|
||||
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
|
||||
{
|
||||
BaseMsgForm.ShowError("商品分组编辑失败,请重试!" + BaseRegex.GetStringJson(ref html, "msg"));
|
||||
BaseMsgForm.ShowError("商品安全信息编辑失败,请重试!" + BaseRegex.GetStringJson(ref html, "msg"));
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -1549,7 +1569,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
foreach (var img in mainImgLst3)
|
||||
{
|
||||
// 盗链识别
|
||||
var urlImg = BaseClass.BuildPDDObjString("product/wx_api_upload_image");
|
||||
var urlImg = BaseClass.BuildWXImgObjString("product/wx_api_upload_image");
|
||||
var upDate = UserLogin.GetSignaturex();
|
||||
var upDateRst = "";
|
||||
|
||||
@@ -1589,7 +1609,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
//break;
|
||||
}
|
||||
|
||||
urlImg = BaseClass.BuildPDDObjString("product/wx_api_upload_image");
|
||||
urlImg = BaseClass.BuildWXImgObjString("product/wx_api_upload_image");
|
||||
upDate = UserLogin.GetSignaturex();
|
||||
upDate += "&token=" + token.accessToken;
|
||||
//upDate += "&is_file=true";
|
||||
@@ -2777,5 +2797,94 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
GetPDDProductGroup(new List<ComboBox> { cmbGroup }, "", "无分组");
|
||||
GetPDDProductGroup(new List<ComboBox> { cmbGroupFilter }, "", "无分组");
|
||||
}
|
||||
|
||||
private async void btnUpdateSaleCountNum_Click(object sender, EventArgs e)
|
||||
{
|
||||
var rows = dgvDbProduct.Rows.Cast<DataGridViewRow>().Where(row
|
||||
=> row.Cells["colSelect"]?.Value.ParseToBool() == true);
|
||||
var lstProdDbId = rows.Select(r => r.Cells["col_db_id"]?.Value.ToString()).ToList();
|
||||
var prodList = this.lstTemuDbProduct.Where(p => lstProdDbId.Contains(p.id.ParseToString())).ToList();
|
||||
if (prodList.Count <= 0)
|
||||
{
|
||||
BaseMsgForm.ShowError("请选择商品!");
|
||||
return;
|
||||
}
|
||||
|
||||
int cnt = 0;
|
||||
int successCnt = 0;
|
||||
int failedCnt = 0;
|
||||
foreach (var prod in prodList)
|
||||
{
|
||||
cnt++;
|
||||
var url = BaseClass.BuildPDDObjString("product/mdy_product");
|
||||
var data = UserLogin.GetSignaturex() +
|
||||
"&spu_id=" + prod.spu_id + "&sale_count=" + prod.sale_count + "&mdy_time=" + prod.mdy_time.ToString("yyyy-MM-dd HH:mm:ss");
|
||||
await Task.Run(() =>
|
||||
{
|
||||
var html = GetHtml.PostUtf8(url, data);
|
||||
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
|
||||
html = GetHtml.PostUtf8(url, data);
|
||||
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
|
||||
{
|
||||
//BaseMsgForm.ShowError("商品销量编辑失败,请重试!" + BaseRegex.GetStringJson(ref html, "msg"));
|
||||
failedCnt++;
|
||||
}
|
||||
else
|
||||
{
|
||||
successCnt++;
|
||||
}
|
||||
});
|
||||
this.statusBar.UpdateProgressBar(cnt);
|
||||
this.statusBar.pgbTaskProgress.Maximum = prodList.Count;
|
||||
this.statusBar.lblTaskStatus.Text = "正在编辑商品销量,共:" + prodList.Count + " 成功:" + successCnt + "/失败:" + failedCnt;
|
||||
}
|
||||
|
||||
//foreach (var row in rows)
|
||||
//{
|
||||
// row.Cells["colWxSafe"].Value = cmbSetWxSafe.Text.Trim();
|
||||
//}
|
||||
|
||||
SearchDbProd(this.ucSplitPage1.CurrentPage);
|
||||
}
|
||||
|
||||
private void pnlRealDel_Click(object sender, EventArgs e)
|
||||
{
|
||||
var lstProdId = dgvDbProduct.Rows.Cast<DataGridViewRow>().Where(row
|
||||
=> row.Cells["colSelect"]?.Value.ParseToBool() == true).Select(r => r.Cells["col_spu_id"]?.Value.ToString()).ToList();
|
||||
var prodList = this.lstTemuDbProduct.Where(p => lstProdId.Contains(p.spu_id)).ToArray();
|
||||
|
||||
if (BaseMsgForm.ShowConfirm("确定删除商品吗?删除后不可恢复!").DialogResult == DialogResult.Cancel)
|
||||
return;
|
||||
this.pbLoading.Visible = true;
|
||||
this.statusBar.pgbTaskProgress.Maximum = lstProdId.Count;
|
||||
this.statusBar.UpdateProgressBar(0);
|
||||
Task.Run(() =>
|
||||
{
|
||||
foreach (var prod in prodList)
|
||||
{
|
||||
if (prod.is_del > 0)
|
||||
{
|
||||
DeleteProduct(prod.id.ToString(), prod.is_del > 0, false);
|
||||
}
|
||||
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
this.statusBar.UpdateProgressBar(this.statusBar.pgbTaskProgress.Value + 1);
|
||||
this.statusBar.lblTaskStatus.Text = "正在彻底删除(跳过未删除) " + this.statusBar.pgbTaskProgress.Value + "/" + lstProdId.Count;
|
||||
}));
|
||||
}
|
||||
SearchDbProd(this.ucSplitPage1.CurrentPage);
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
pbLoading.Visible = false;
|
||||
BaseMsgForm.ShowInfo("彻底删除(跳过未删除)完成!");
|
||||
}));
|
||||
});
|
||||
}
|
||||
|
||||
private void chkShowDelProd_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
dgvDbProduct.Columns["colDelStatus"].Visible = chkShowDelProd.Checked;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -186,6 +186,9 @@
|
||||
<metadata name="colSaleCount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colSaleCountNum.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_notes.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
@@ -213,6 +216,9 @@
|
||||
<metadata name="colMdyTime.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colDelStatus.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="col_edit.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
|
||||
@@ -161,7 +161,9 @@ namespace TemuKJD.UserForm
|
||||
private void loginPanel_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (rbtDev.Checked)
|
||||
{
|
||||
BaseClass.LoginApiUrl = "http://localhost:9000";
|
||||
}
|
||||
else
|
||||
BaseClass.LoginApiUrl = BaseClass.ServerUrl;
|
||||
//"http://localhost:8000/user/user_login"
|
||||
|
||||
@@ -455,7 +455,7 @@ namespace TemuKJD.WXForms.AdminForms
|
||||
"充值",
|
||||
"管理员充值",
|
||||
"支付宝充值",
|
||||
"礼物单支出",
|
||||
"礼物单支出/礼物单退费",
|
||||
"拍单扣除/作废返还",
|
||||
"超重扣费支出",
|
||||
"退货包裹扣费支出",
|
||||
|
||||
@@ -98,8 +98,8 @@ namespace TemuKJD.WXForms.AdminForms
|
||||
data3 += "&type_in=1";
|
||||
else if (cmbType.Text == "支付宝充值")
|
||||
data3 += "&type_in=30";
|
||||
else if (cmbType.Text == "礼物单支出")
|
||||
data3 += "&type_in=16";
|
||||
else if (cmbType.Text == "礼物单支出/礼物单退费")
|
||||
data3 += "&type_in=16,34";
|
||||
else if (cmbType.Text == "拍单扣除/作废返还")
|
||||
data3 += "&type_in=20,23";
|
||||
else if (cmbType.Text == "超重扣费支出")
|
||||
|
||||
@@ -187,7 +187,7 @@ namespace TemuKJD.WXForms.AiTalkForms
|
||||
currentShop = GlobalConfig.ValidShopLoginList.FirstOrDefault();
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
lblCurrentShop.Text = "当前店铺:" + currentShop.ShopAccount;
|
||||
lblCurrentShop.Text = "当前店铺:" + currentShop?.ShopAccount;
|
||||
}));
|
||||
SetMainBrowserUrl(currentShop);
|
||||
LoadShop();
|
||||
@@ -424,7 +424,8 @@ namespace TemuKJD.WXForms.AiTalkForms
|
||||
{
|
||||
if (aiTalkWebBrowser == null)
|
||||
{
|
||||
aiTalkWebBrowser = CEFBrowser.CreateChromiumWebBrowser("about:blank", true);
|
||||
//aiTalkWebBrowser = CEFBrowser.CreateChromiumWebBrowser("about:blank", true);
|
||||
aiTalkWebBrowser = CEFBrowser.CreateChromiumWebBrowser("about:blank", false);
|
||||
CustomResourceRequestHandler resourceRequestHandler = new CustomResourceRequestHandler();
|
||||
var handler = resourceRequestHandler;
|
||||
handler.ResourceLoadCompleteEvent += AiRequestHandler_ResourceLoadComplete;
|
||||
|
||||
+405
-244
File diff suppressed because it is too large.
Load diff
@@ -366,14 +366,21 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
lblHot.Visible = true;
|
||||
cmbHot.Visible = true;
|
||||
chkFilterViewUv.Visible = true;
|
||||
numFilterViewUv.Visible = true;
|
||||
if (!string.IsNullOrWhiteSpace(cmbSourceType.Text))
|
||||
chkFilterViewUv.Visible = true;
|
||||
//numFilterViewUv.Visible = true;
|
||||
pnlFilterViewUv.Visible = true;
|
||||
chkFilterSaleCountNum.Visible = true;
|
||||
pnlFilterSaleCountNum.Visible = true;
|
||||
if (!string.IsNullOrWhiteSpace(cmbSourceType.Text))
|
||||
{
|
||||
//lblGroupFilter.Visible = true;
|
||||
//cmbGroupFilter.Visible = true;
|
||||
}
|
||||
}
|
||||
cmbUpdateInDays.Visible = true;
|
||||
chkUpdateInDays.Visible = true;
|
||||
txtUpdateInDays.Visible = true;
|
||||
lblUpdateInDays.Visible = true;
|
||||
}
|
||||
if (BaseClass.UserAuthority.Contains("商品采集") || BaseClass.ParentAuthority.Contains("商品采集"))
|
||||
{
|
||||
if (BaseClass.UserAuthority.Contains("学员数据") || BaseClass.ParentAuthority.Contains("学员数据"))
|
||||
@@ -429,7 +436,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
List<Control> ctrlLst = new List<Control>()
|
||||
{
|
||||
lblSourceType, cmbSourceType, lblGroupFilter, cmbGroupFilter, lblHot, cmbHot, lblIdFilter, txtIdFilter,
|
||||
chkFilterViewUv, numFilterViewUv /*chkRandomFissionProduct, txtRandomFissionProductCount, lblNotes, cmbNotes*//*, lblJstInitSet, cmbJstInitSet*/
|
||||
chkFilterViewUv, pnlFilterViewUv, chkFilterSaleCountNum, pnlFilterSaleCountNum,
|
||||
/*chkRandomFissionProduct, txtRandomFissionProductCount, lblNotes, cmbNotes*//*, lblJstInitSet, cmbJstInitSet*/
|
||||
};
|
||||
for (int i = 0; i < ctrlLst.Count - 2; i += 2)
|
||||
{
|
||||
@@ -453,8 +461,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
if (chkWXComplateProd.Visible == false)
|
||||
{
|
||||
chkRandomFissionProduct.Location = new Point(chkRandomFissionProduct.Location.X + 54, chkRandomFissionProduct.Location.Y);
|
||||
txtRandomFissionProductCount.Location = new Point(txtRandomFissionProductCount.Location.X + 54, txtRandomFissionProductCount.Location.Y);
|
||||
//chkRandomFissionProduct.Location = new Point(chkRandomFissionProduct.Location.X + 54, chkRandomFissionProduct.Location.Y);
|
||||
//txtRandomFissionProductCount.Location = new Point(txtRandomFissionProductCount.Location.X + 54, txtRandomFissionProductCount.Location.Y);
|
||||
}
|
||||
|
||||
IsFormLoad = true;
|
||||
@@ -1300,7 +1308,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
result.Contains("提审次数已达上限") || result.Contains("拥金上货失败:需要开通优选联盟") || result.Contains("本店铺近期提审失败比例较高,已被限"))
|
||||
{
|
||||
shop.upLimitRetryCount++;
|
||||
if (shop.upLimitRetryCount >= 3)
|
||||
if (shop.upLimitRetryCount >= globalShopUploadCntLimitRetryTimes)
|
||||
{
|
||||
shop.upLimitRetryCount = 0;
|
||||
|
||||
@@ -1309,7 +1317,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
Invoke(new Action(() => { shopRow.Cells["colSelect"].Value = false; }));
|
||||
}
|
||||
}
|
||||
else
|
||||
else if (result.Contains("\"success\":true"))
|
||||
{
|
||||
shop.upLimitRetryCount = Math.Max(0, shop.upLimitRetryCount - 1);
|
||||
}
|
||||
@@ -2407,7 +2415,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
else
|
||||
{
|
||||
// 使用接口链接传主图
|
||||
var urlImg = BaseClass.BuildPDDObjString("product/wx_api_upload_image");
|
||||
var urlImg = BaseClass.BuildWXImgObjString("product/wx_api_upload_image");
|
||||
var upDate = UserLogin.GetSignaturex();
|
||||
upDate += "&token=" + token.accessToken;
|
||||
upDate += "&post_data=" + GetHtml.UrlEncodeUtf8("{\"img_url\":\"" + gallery_item.url.Replace("https://", "http://") + "\"}");
|
||||
@@ -2458,7 +2466,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
return errMsg;
|
||||
}
|
||||
|
||||
var urlImg = BaseClass.BuildPDDObjString("product/wx_api_upload_image");
|
||||
var urlImg = BaseClass.BuildWXImgObjString("product/wx_api_upload_image");
|
||||
var upDate = UserLogin.GetSignaturex();
|
||||
upDate += "&token=" + token.accessToken;
|
||||
//upDate += "&is_file=true";
|
||||
@@ -2643,8 +2651,14 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
var aiGalleries = prodInfo.detail.galleries.Where(g => g.type == 1).Take(3).ToList();
|
||||
foreach (var gallery_item in aiGalleries) // 9张主图
|
||||
{
|
||||
string getImgError;
|
||||
var image = GetHtml.GetUrlImg(gallery_item.url.Replace("https://", "http://"), out getImgError);
|
||||
imgId++;
|
||||
string getImgError;
|
||||
var imgUrl = gallery_item.url;
|
||||
{
|
||||
if (!imgUrl.Contains("wxapp") && imgUrl.Contains("mmecimage.cn"))
|
||||
imgUrl = imgUrl.Replace("https://", "http://");
|
||||
}
|
||||
var image = GetHtml.GetUrlImg(imgUrl, out getImgError);
|
||||
var imageBg = new Bitmap(800, 800);
|
||||
if (!string.IsNullOrEmpty(getImgError) || image == null)
|
||||
{
|
||||
@@ -2663,7 +2677,24 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
string imgFullPath = tempImgPath + "\\图片" + imgId + ".jpg";
|
||||
tempImgFullPathLst.Add(imgFullPath);
|
||||
if (imgId == 1)
|
||||
image.Save(imgFullPath, System.Drawing.Imaging.ImageFormat.Jpeg);
|
||||
{
|
||||
try
|
||||
{
|
||||
image.Save(imgFullPath, System.Drawing.Imaging.ImageFormat.Jpeg);
|
||||
}
|
||||
catch
|
||||
{
|
||||
// 真实图像失败传假图也能识别
|
||||
int fileSize = Randomx.GetId(1024, 10240);
|
||||
using (BinaryWriter writer = new BinaryWriter(File.Create(imgFullPath)))
|
||||
{
|
||||
for (int i = 0; i < fileSize; i++)
|
||||
{
|
||||
writer.Write((byte)Randomx.GetId(256)); // 生成0到255之间的随机字节
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// 只需要传一张真实图像即可
|
||||
@@ -3325,7 +3356,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
else
|
||||
{
|
||||
// 使用接口链接传详情图
|
||||
var urlImg = BaseClass.BuildPDDObjString("product/wx_api_upload_image");
|
||||
var urlImg = BaseClass.BuildWXImgObjString("product/wx_api_upload_image");
|
||||
var upDate = UserLogin.GetSignaturex();
|
||||
upDate += "&token=" + token.accessToken;
|
||||
upDate += "&post_data=" + GetHtml.UrlEncodeUtf8("{\"img_url\":\"" + gallery_item.url.Replace("https://", "http://") + "\"}");
|
||||
@@ -3375,7 +3406,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
return errMsg;
|
||||
}
|
||||
|
||||
var urlImg = BaseClass.BuildPDDObjString("product/wx_api_upload_image");
|
||||
var urlImg = BaseClass.BuildWXImgObjString("product/wx_api_upload_image");
|
||||
var upDate = UserLogin.GetSignaturex();
|
||||
upDate += "&token=" + token.accessToken;
|
||||
//upDate += "&is_file=true";
|
||||
@@ -4387,7 +4418,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// 使用接口链接传sku图
|
||||
if (1 == 1 && !sku.thumb_url.Contains("wst.wxapp.tc.qq.com"))
|
||||
{
|
||||
var urlImg = BaseClass.BuildPDDObjString("product/wx_api_upload_image");
|
||||
var urlImg = BaseClass.BuildWXImgObjString("product/wx_api_upload_image");
|
||||
var upDate = UserLogin.GetSignaturex();
|
||||
upDate += "&token=" + token.accessToken;
|
||||
upDate += "&post_data=" + GetHtml.UrlEncodeUtf8("{\"img_url\":\"" + sku.thumb_url.Replace("https://", "http://") + "\"}");
|
||||
@@ -4433,7 +4464,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
return errMsg;
|
||||
}
|
||||
|
||||
var urlImg = BaseClass.BuildPDDObjString("product/wx_api_upload_image");
|
||||
var urlImg = BaseClass.BuildWXImgObjString("product/wx_api_upload_image");
|
||||
var upDate = UserLogin.GetSignaturex();
|
||||
upDate += "&token=" + token.accessToken;
|
||||
//upDate += "&is_file=true";
|
||||
@@ -5091,7 +5122,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
byte[] imageBytes = memoryStream.ToArray();
|
||||
var imgBase64 = Convert.ToBase64String(imageBytes);
|
||||
|
||||
var urlImg = BaseClass.BuildPDDObjString("product/wx_api_upload_image");
|
||||
var urlImg = BaseClass.BuildWXImgObjString("product/wx_api_upload_image");
|
||||
var upDate = UserLogin.GetSignaturex();
|
||||
upDate += "&token=" + token.accessToken;
|
||||
//upDate += "&is_file=true";
|
||||
@@ -5152,7 +5183,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
|
||||
foreach (var propParam in upProdParam.product.info.param)
|
||||
{
|
||||
if (propParam.categorys[0].name.Contains("食品名称") && !propParam.categorys[1].name.Contains("见包装") && !propParam.categorys[1].name.Contains("见外包装"))
|
||||
if (propParam.categorys[0].name.Contains("食品名称") && !propParam.categorys[1].name.Contains("见包装") && !propParam.categorys[1].name.Contains("见外包装") &&
|
||||
!propParam.categorys[1].name.Contains("1") && propParam.categorys[1].name.Length > 5)
|
||||
foodName = "食品名称:" + propParam.categorys[1].name;
|
||||
else if (propParam.categorys[0].name.Contains("生产企业名称") && !propParam.categorys[1].name.Contains("见包装") && !propParam.categorys[1].name.Contains("见外包装"))
|
||||
companyName = "生产商名称:" + propParam.categorys[1].name;
|
||||
@@ -5380,7 +5412,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//return errMsg;
|
||||
}
|
||||
|
||||
var urlImg = BaseClass.BuildPDDObjString("product/wx_api_upload_image");
|
||||
var urlImg = BaseClass.BuildWXImgObjString("product/wx_api_upload_image");
|
||||
var upDate = UserLogin.GetSignaturex();
|
||||
upDate += "&token=" + token.accessToken;
|
||||
//upDate += "&is_file=true";
|
||||
@@ -5472,7 +5504,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
return errMsg;
|
||||
}
|
||||
|
||||
var urlImg = BaseClass.BuildPDDObjString("product/wx_api_upload_image");
|
||||
var urlImg = BaseClass.BuildWXImgObjString("product/wx_api_upload_image");
|
||||
var upDate = UserLogin.GetSignaturex();
|
||||
upDate += "&token=" + token.accessToken;
|
||||
//upDate += "&is_file=true";
|
||||
@@ -5532,7 +5564,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
return errMsg;
|
||||
}
|
||||
|
||||
var urlImg = BaseClass.BuildPDDObjString("product/wx_api_upload_image");
|
||||
var urlImg = BaseClass.BuildWXImgObjString("product/wx_api_upload_image");
|
||||
var upDate = UserLogin.GetSignaturex();
|
||||
upDate += "&token=" + token.accessToken;
|
||||
//upDate += "&is_file=true";
|
||||
@@ -6301,7 +6333,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//if (chkSevenDays.Checked)
|
||||
// data += "&add_days_less=21";
|
||||
if (chkUpdateInDays.Checked)
|
||||
{
|
||||
data += "&add_days_less=" + txtUpdateInDays.Text.Trim();
|
||||
data += "&add_days_less_type=" + (cmbUpdateInDays.Text == "更新" ? "mdy" : "add");
|
||||
}
|
||||
|
||||
// 回采数据
|
||||
if (chkWXComplateProd.Checked)
|
||||
@@ -6313,6 +6348,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
|
||||
if (chkFilterViewUv.Checked)
|
||||
data += "&min_view_uv=" + numFilterViewUv.Value;
|
||||
|
||||
if (chkFilterSaleCountNum.Checked)
|
||||
data += "&sale_count_num_more=" + numFilterSaleCountNum.Value;
|
||||
}));
|
||||
var html = GetHtml.PostUtf8(url, data);
|
||||
//if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
|
||||
@@ -6572,8 +6610,13 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
cmbHot_TextChanged(null, null);
|
||||
chkFilterViewUv.Checked = false;
|
||||
numFilterViewUv.Value = 200;
|
||||
if (chkWXComplateProd.Visible == true) chkWXComplateProd.Checked = false;
|
||||
if (chkRandomFissionProduct.Visible == true) chkRandomFissionProduct.Checked = false;
|
||||
if (txtRandomFissionProductCount.Visible == true) txtRandomFissionProductCount.Text = "";
|
||||
|
||||
int prodCount;
|
||||
|
||||
|
||||
int prodCount;
|
||||
pbSelectProd.Visible = true;
|
||||
Task.Run(() =>
|
||||
{
|
||||
@@ -7189,9 +7232,15 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
wxUploadRule.IsUseShanghaiReturnOrderAddress = chkUseShanghaiReturnOrderAddress.Checked;
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("wx_upload_rule", wxUploadRule);
|
||||
}
|
||||
}
|
||||
|
||||
public class WXUpload
|
||||
int globalShopUploadCntLimitRetryTimes = 5;
|
||||
private void numJumpCnt_ValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
globalShopUploadCntLimitRetryTimes = numJumpCnt.Value.ParseToInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class WXUpload
|
||||
{
|
||||
public static string searchProduct(ShopLoginInfo shop, string extCode, string extCode2 = "")
|
||||
{
|
||||
|
||||
@@ -399,7 +399,7 @@ namespace Work._29Tools.Forms.UserForms
|
||||
"充值",
|
||||
"管理员充值",
|
||||
"支付宝充值",
|
||||
"礼物单支出",
|
||||
"礼物单支出/礼物单退费",
|
||||
"拍单扣除/作废返还",
|
||||
"超重扣费支出",
|
||||
"退货包裹扣费支出",
|
||||
|
||||
@@ -141,8 +141,8 @@ namespace Work._29Tools.Forms.UserForms
|
||||
data3 += "&type_in=1";
|
||||
else if (cmbType.Text == "支付宝充值")
|
||||
data3 += "&type_in=30";
|
||||
else if (cmbType.Text == "礼物单支出")
|
||||
data3 += "&type_in=16";
|
||||
else if (cmbType.Text == "礼物单支出/礼物单退费")
|
||||
data3 += "&type_in=16,34";
|
||||
else if (cmbType.Text == "拍单扣除/作废返还")
|
||||
data3 += "&type_in=20,23";
|
||||
else if (cmbType.Text == "超重扣费支出")
|
||||
@@ -233,8 +233,8 @@ namespace Work._29Tools.Forms.UserForms
|
||||
data3 += "&type_in=1";
|
||||
else if (cmbType.Text == "支付宝充值")
|
||||
data3 += "&type_in=30";
|
||||
else if (cmbType.Text == "礼物单支出")
|
||||
data3 += "&type_in=16";
|
||||
else if (cmbType.Text == "礼物单支出/礼物单退费")
|
||||
data3 += "&type_in=16,34";
|
||||
else if (cmbType.Text == "拍单扣除/作废返还")
|
||||
data3 += "&type_in=20,23";
|
||||
else if (cmbType.Text == "超重扣费支出")
|
||||
|
||||
@@ -620,7 +620,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
}
|
||||
}
|
||||
|
||||
private void btnExportCSV_Click(object sender, EventArgs e)
|
||||
private async void btnExportCSV_Click(object sender, EventArgs e)
|
||||
{
|
||||
var selectRows = dgvShop.Rows.Cast<DataGridViewRow>().Where(r => r.Cells["colSelect"].Value.ParseToBool() == true).ToList();
|
||||
if (selectRows.Count == 0)
|
||||
@@ -644,6 +644,7 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
dialog.FileName = "用户 " + BaseClass.NickName + DateTime.Now.ToString(" 订单流水yyyyMMddHHmmss") + ".csv";
|
||||
if (dialog.ShowDialog() != DialogResult.OK)
|
||||
return;
|
||||
|
||||
var path = dialog.FileName;
|
||||
|
||||
//FolderBrowserDialog dialog = new FolderBrowserDialog();
|
||||
@@ -657,16 +658,12 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
|
||||
this.btnExport.Enabled = false;
|
||||
this.btnSearch.Enabled = false;
|
||||
Task.Run(() => {
|
||||
Thread.Sleep(5000);
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
this.btnExport.Enabled = true;
|
||||
this.btnSearch.Enabled = true;
|
||||
}));
|
||||
});
|
||||
|
||||
Task.Run(() =>
|
||||
if (cancellationTokenSource != null)
|
||||
cancellationTokenSource.Cancel();
|
||||
cancellationTokenSource = new CancellationTokenSource();
|
||||
|
||||
await Task.Run(() =>
|
||||
{
|
||||
int num = 0;
|
||||
foreach (var row in selectRows)
|
||||
@@ -706,6 +703,9 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
}
|
||||
}));
|
||||
}, cancellationTokenSource.Token);
|
||||
|
||||
this.btnExport.Enabled = true;
|
||||
this.btnSearch.Enabled = true;
|
||||
}
|
||||
|
||||
private void dgvDaRenProd_CellContentClick(object sender, DataGridViewCellEventArgs e)
|
||||
|
||||
Reference in new issue
Block a user