增加 AI识图检测,个人收藏产品检测
This commit is contained in:
commit
09098efd34
45 files changed
+3433
-1132
No files matched your search
@@ -0,0 +1,699 @@
|
||||
|
||||
namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
partial class CloudGoodsFavoriteForm
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.cb_safe = new System.Windows.Forms.ComboBox();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.num_price = new TemuKJD.UserComponent.UcNumericRange();
|
||||
this.num_sold = new TemuKJD.UserComponent.UcNumericRange();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.btnSafeDetection = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btn_removefavorite = new DevComponents.DotNetBar.PanelEx();
|
||||
this.bt_importUploadList = new DevComponents.DotNetBar.PanelEx();
|
||||
this.label5r = new System.Windows.Forms.Label();
|
||||
this.cb_Platformr = new System.Windows.Forms.ComboBox();
|
||||
this.cmbCatSelect2 = new System.Windows.Forms.ComboBox();
|
||||
this.cmbCatSelect1 = new System.Windows.Forms.ComboBox();
|
||||
this.cmbCatSelect4 = new System.Windows.Forms.ComboBox();
|
||||
this.cmbCatSelect3 = new System.Windows.Forms.ComboBox();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.txt_title = new System.Windows.Forms.TextBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.btnSearch = new DevComponents.DotNetBar.PanelEx();
|
||||
this.pnlEmpty = new DevComponents.DotNetBar.PanelEx();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
|
||||
this.pbLoading = new System.Windows.Forms.PictureBox();
|
||||
this.dgvData = new TemuKJD.UserComponent.DataGridViewEx();
|
||||
this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.c_Platform = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column1 = new System.Windows.Forms.DataGridViewImageColumn();
|
||||
this.c_goodsid = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colDetectionResult = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ucSplitPage1 = new TemuKJD.UserControls.UcSplitPage();
|
||||
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
|
||||
this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
this.splitContainer1.SuspendLayout();
|
||||
this.panel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
|
||||
this.splitContainer2.Panel1.SuspendLayout();
|
||||
this.splitContainer2.Panel2.SuspendLayout();
|
||||
this.splitContainer2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbLoading)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvData)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// splitContainer1
|
||||
//
|
||||
this.splitContainer1.BackColor = System.Drawing.Color.White;
|
||||
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
|
||||
this.splitContainer1.Location = new System.Drawing.Point(0, 0);
|
||||
this.splitContainer1.Name = "splitContainer1";
|
||||
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
||||
//
|
||||
// splitContainer1.Panel1
|
||||
//
|
||||
this.splitContainer1.Panel1.Controls.Add(this.cb_safe);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label4);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.num_price);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.num_sold);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.panel1);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label5r);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.cb_Platformr);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.cmbCatSelect2);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.cmbCatSelect1);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.cmbCatSelect4);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.cmbCatSelect3);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label7);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label3);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.txt_title);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label1);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label6);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnSearch);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.pnlEmpty);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label2);
|
||||
//
|
||||
// splitContainer1.Panel2
|
||||
//
|
||||
this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
|
||||
this.splitContainer1.Panel2.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(1719, 530);
|
||||
this.splitContainer1.TabIndex = 35;
|
||||
//
|
||||
// cb_safe
|
||||
//
|
||||
this.cb_safe.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_safe.DropDownWidth = 150;
|
||||
this.cb_safe.FormattingEnabled = true;
|
||||
this.cb_safe.Items.AddRange(new object[] {
|
||||
"全部",
|
||||
"安全",
|
||||
"违规",
|
||||
"未检测"});
|
||||
this.cb_safe.Location = new System.Drawing.Point(1141, 13);
|
||||
this.cb_safe.Name = "cb_safe";
|
||||
this.cb_safe.Size = new System.Drawing.Size(97, 25);
|
||||
this.cb_safe.TabIndex = 930;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(1104, 17);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(44, 17);
|
||||
this.label4.TabIndex = 929;
|
||||
this.label4.Text = "检测:";
|
||||
//
|
||||
// num_price
|
||||
//
|
||||
this.num_price.Compact = true;
|
||||
this.num_price.Location = new System.Drawing.Point(391, 15);
|
||||
this.num_price.LowerValue = new decimal(new int[] {
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.num_price.Maximum = new decimal(new int[] {
|
||||
9999999,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.num_price.Minimum = new decimal(new int[] {
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.num_price.Name = "num_price";
|
||||
this.num_price.SeparatorText = "";
|
||||
this.num_price.Size = new System.Drawing.Size(108, 23);
|
||||
this.num_price.TabIndex = 922;
|
||||
this.num_price.UpperValue = new decimal(new int[] {
|
||||
9999999,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
//
|
||||
// num_sold
|
||||
//
|
||||
this.num_sold.Compact = true;
|
||||
this.num_sold.Location = new System.Drawing.Point(218, 15);
|
||||
this.num_sold.LowerValue = new decimal(new int[] {
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.num_sold.Maximum = new decimal(new int[] {
|
||||
9999999,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.num_sold.Minimum = new decimal(new int[] {
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.num_sold.Name = "num_sold";
|
||||
this.num_sold.SeparatorText = "";
|
||||
this.num_sold.Size = new System.Drawing.Size(108, 23);
|
||||
this.num_sold.TabIndex = 921;
|
||||
this.num_sold.UpperValue = new decimal(new int[] {
|
||||
9999999,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.btnSafeDetection);
|
||||
this.panel1.Controls.Add(this.btn_removefavorite);
|
||||
this.panel1.Controls.Add(this.bt_importUploadList);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.panel1.Location = new System.Drawing.Point(1509, 0);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(210, 50);
|
||||
this.panel1.TabIndex = 914;
|
||||
//
|
||||
// btnSafeDetection
|
||||
//
|
||||
this.btnSafeDetection.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnSafeDetection.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnSafeDetection.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnSafeDetection.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnSafeDetection.Location = new System.Drawing.Point(132, 14);
|
||||
this.btnSafeDetection.Name = "btnSafeDetection";
|
||||
this.btnSafeDetection.Size = new System.Drawing.Size(58, 23);
|
||||
this.btnSafeDetection.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSafeDetection.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
|
||||
this.btnSafeDetection.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
|
||||
this.btnSafeDetection.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnSafeDetection.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnSafeDetection.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnSafeDetection.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnSafeDetection.Style.GradientAngle = 90;
|
||||
this.btnSafeDetection.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSafeDetection.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnSafeDetection.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnSafeDetection.TabIndex = 451;
|
||||
this.btnSafeDetection.Text = "AI检测";
|
||||
this.btnSafeDetection.Click += new System.EventHandler(this.btnSafeDetection_Click);
|
||||
//
|
||||
// btn_removefavorite
|
||||
//
|
||||
this.btn_removefavorite.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btn_removefavorite.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btn_removefavorite.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btn_removefavorite.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btn_removefavorite.Location = new System.Drawing.Point(68, 14);
|
||||
this.btn_removefavorite.Name = "btn_removefavorite";
|
||||
this.btn_removefavorite.Size = new System.Drawing.Size(58, 23);
|
||||
this.btn_removefavorite.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btn_removefavorite.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btn_removefavorite.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btn_removefavorite.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btn_removefavorite.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btn_removefavorite.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btn_removefavorite.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btn_removefavorite.Style.GradientAngle = 90;
|
||||
this.btn_removefavorite.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btn_removefavorite.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btn_removefavorite.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btn_removefavorite.TabIndex = 447;
|
||||
this.btn_removefavorite.Text = "取消收藏";
|
||||
this.btn_removefavorite.Click += new System.EventHandler(this.btn_removefavorite_Click);
|
||||
//
|
||||
// bt_importUploadList
|
||||
//
|
||||
this.bt_importUploadList.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.bt_importUploadList.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.bt_importUploadList.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.bt_importUploadList.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.bt_importUploadList.Location = new System.Drawing.Point(3, 14);
|
||||
this.bt_importUploadList.Name = "bt_importUploadList";
|
||||
this.bt_importUploadList.Size = new System.Drawing.Size(58, 23);
|
||||
this.bt_importUploadList.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.bt_importUploadList.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.bt_importUploadList.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.bt_importUploadList.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.bt_importUploadList.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.bt_importUploadList.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.bt_importUploadList.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.bt_importUploadList.Style.GradientAngle = 90;
|
||||
this.bt_importUploadList.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.bt_importUploadList.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.bt_importUploadList.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.bt_importUploadList.TabIndex = 443;
|
||||
this.bt_importUploadList.Text = "上传选中";
|
||||
this.bt_importUploadList.Click += new System.EventHandler(this.bt_importUploadList_Click);
|
||||
//
|
||||
// label5r
|
||||
//
|
||||
this.label5r.AutoSize = true;
|
||||
this.label5r.Location = new System.Drawing.Point(942, 16);
|
||||
this.label5r.Name = "label5r";
|
||||
this.label5r.Size = new System.Drawing.Size(44, 17);
|
||||
this.label5r.TabIndex = 907;
|
||||
this.label5r.Text = "来源:";
|
||||
//
|
||||
// cb_Platformr
|
||||
//
|
||||
this.cb_Platformr.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_Platformr.DropDownWidth = 150;
|
||||
this.cb_Platformr.FormattingEnabled = true;
|
||||
this.cb_Platformr.Items.AddRange(new object[] {
|
||||
"全部",
|
||||
"多多",
|
||||
"微信"});
|
||||
this.cb_Platformr.Location = new System.Drawing.Point(992, 13);
|
||||
this.cb_Platformr.Name = "cb_Platformr";
|
||||
this.cb_Platformr.Size = new System.Drawing.Size(97, 25);
|
||||
this.cb_Platformr.TabIndex = 906;
|
||||
//
|
||||
// cmbCatSelect2
|
||||
//
|
||||
this.cmbCatSelect2.DropDownWidth = 150;
|
||||
this.cmbCatSelect2.FormattingEnabled = true;
|
||||
this.cmbCatSelect2.Location = new System.Drawing.Point(639, 12);
|
||||
this.cmbCatSelect2.Name = "cmbCatSelect2";
|
||||
this.cmbCatSelect2.Size = new System.Drawing.Size(97, 25);
|
||||
this.cmbCatSelect2.TabIndex = 897;
|
||||
//
|
||||
// cmbCatSelect1
|
||||
//
|
||||
this.cmbCatSelect1.DropDownWidth = 150;
|
||||
this.cmbCatSelect1.FormattingEnabled = true;
|
||||
this.cmbCatSelect1.Location = new System.Drawing.Point(542, 12);
|
||||
this.cmbCatSelect1.Name = "cmbCatSelect1";
|
||||
this.cmbCatSelect1.Size = new System.Drawing.Size(97, 25);
|
||||
this.cmbCatSelect1.TabIndex = 896;
|
||||
//
|
||||
// cmbCatSelect4
|
||||
//
|
||||
this.cmbCatSelect4.DropDownWidth = 150;
|
||||
this.cmbCatSelect4.FormattingEnabled = true;
|
||||
this.cmbCatSelect4.Location = new System.Drawing.Point(833, 12);
|
||||
this.cmbCatSelect4.Name = "cmbCatSelect4";
|
||||
this.cmbCatSelect4.Size = new System.Drawing.Size(97, 25);
|
||||
this.cmbCatSelect4.TabIndex = 899;
|
||||
//
|
||||
// cmbCatSelect3
|
||||
//
|
||||
this.cmbCatSelect3.DropDownWidth = 150;
|
||||
this.cmbCatSelect3.FormattingEnabled = true;
|
||||
this.cmbCatSelect3.Location = new System.Drawing.Point(736, 12);
|
||||
this.cmbCatSelect3.Name = "cmbCatSelect3";
|
||||
this.cmbCatSelect3.Size = new System.Drawing.Size(97, 25);
|
||||
this.cmbCatSelect3.TabIndex = 898;
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Location = new System.Drawing.Point(332, 17);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(64, 17);
|
||||
this.label7.TabIndex = 485;
|
||||
this.label7.Text = "价格(元):";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.ForeColor = System.Drawing.Color.Gray;
|
||||
this.label3.Location = new System.Drawing.Point(294, 17);
|
||||
this.label3.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(13, 17);
|
||||
this.label3.TabIndex = 484;
|
||||
this.label3.Text = "-";
|
||||
//
|
||||
// txt_title
|
||||
//
|
||||
this.txt_title.Location = new System.Drawing.Point(60, 14);
|
||||
this.txt_title.Name = "txt_title";
|
||||
this.txt_title.Size = new System.Drawing.Size(118, 23);
|
||||
this.txt_title.TabIndex = 468;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(8, 17);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(56, 17);
|
||||
this.label1.TabIndex = 469;
|
||||
this.label1.Text = "关键词:";
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(504, 17);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(44, 17);
|
||||
this.label6.TabIndex = 440;
|
||||
this.label6.Text = "类目:";
|
||||
//
|
||||
// btnSearch
|
||||
//
|
||||
this.btnSearch.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
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(1257, 14);
|
||||
this.btnSearch.Name = "btnSearch";
|
||||
this.btnSearch.Size = new System.Drawing.Size(58, 23);
|
||||
this.btnSearch.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSearch.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSearch.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSearch.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnSearch.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnSearch.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnSearch.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnSearch.Style.GradientAngle = 90;
|
||||
this.btnSearch.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSearch.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnSearch.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnSearch.TabIndex = 435;
|
||||
this.btnSearch.Text = "查询";
|
||||
this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
|
||||
//
|
||||
// pnlEmpty
|
||||
//
|
||||
this.pnlEmpty.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.pnlEmpty.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.pnlEmpty.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.pnlEmpty.Location = new System.Drawing.Point(1321, 15);
|
||||
this.pnlEmpty.Name = "pnlEmpty";
|
||||
this.pnlEmpty.Size = new System.Drawing.Size(58, 23);
|
||||
this.pnlEmpty.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlEmpty.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.pnlEmpty.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.pnlEmpty.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.pnlEmpty.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.pnlEmpty.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.pnlEmpty.Style.GradientAngle = 90;
|
||||
this.pnlEmpty.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlEmpty.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlEmpty.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.pnlEmpty.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.pnlEmpty.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.pnlEmpty.TabIndex = 413;
|
||||
this.pnlEmpty.Text = "清空条件";
|
||||
this.pnlEmpty.Click += new System.EventHandler(this.pnlEmpty_Click);
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(184, 17);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(44, 17);
|
||||
this.label2.TabIndex = 373;
|
||||
this.label2.Text = "销量:";
|
||||
//
|
||||
// splitContainer2
|
||||
//
|
||||
this.splitContainer2.BackColor = System.Drawing.Color.White;
|
||||
this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
|
||||
this.splitContainer2.Location = new System.Drawing.Point(0, 0);
|
||||
this.splitContainer2.Name = "splitContainer2";
|
||||
this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
||||
//
|
||||
// splitContainer2.Panel1
|
||||
//
|
||||
this.splitContainer2.Panel1.BackColor = System.Drawing.Color.White;
|
||||
this.splitContainer2.Panel1.Controls.Add(this.pbLoading);
|
||||
this.splitContainer2.Panel1.Controls.Add(this.dgvData);
|
||||
this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
//
|
||||
// splitContainer2.Panel2
|
||||
//
|
||||
this.splitContainer2.Panel2.Controls.Add(this.ucSplitPage1);
|
||||
this.splitContainer2.Panel2.Controls.Add(this.statusBar);
|
||||
this.splitContainer2.Size = new System.Drawing.Size(1719, 476);
|
||||
this.splitContainer2.SplitterDistance = 447;
|
||||
this.splitContainer2.TabIndex = 0;
|
||||
//
|
||||
// pbLoading
|
||||
//
|
||||
this.pbLoading.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.pbLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
|
||||
this.pbLoading.Location = new System.Drawing.Point(834, 198);
|
||||
this.pbLoading.Name = "pbLoading";
|
||||
this.pbLoading.Size = new System.Drawing.Size(50, 50);
|
||||
this.pbLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.pbLoading.TabIndex = 6;
|
||||
this.pbLoading.TabStop = false;
|
||||
//
|
||||
// dgvData
|
||||
//
|
||||
this.dgvData.AllowUserToAddRows = false;
|
||||
this.dgvData.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvData.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.dgvData.AutoRowNumber = true;
|
||||
this.dgvData.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
||||
this.dgvData.BackgroundColor = System.Drawing.Color.White;
|
||||
this.dgvData.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.dgvData.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.dgvData.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvData.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.colSelect,
|
||||
this.c_Platform,
|
||||
this.Column1,
|
||||
this.c_goodsid,
|
||||
this.Column2,
|
||||
this.Column3,
|
||||
this.Column4,
|
||||
this.colDetectionResult});
|
||||
this.dgvData.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dgvData.Location = new System.Drawing.Point(4, 0);
|
||||
this.dgvData.MultiSelectCheckBox = true;
|
||||
this.dgvData.Name = "dgvData";
|
||||
this.dgvData.ReadOnly = true;
|
||||
this.dgvData.RowTemplate.Height = 60;
|
||||
this.dgvData.ShowCellErrors = false;
|
||||
this.dgvData.Size = new System.Drawing.Size(1711, 447);
|
||||
this.dgvData.TabIndex = 5;
|
||||
//
|
||||
// colSelect
|
||||
//
|
||||
this.colSelect.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
||||
this.colSelect.FillWeight = 26F;
|
||||
this.colSelect.HeaderText = "选";
|
||||
this.colSelect.Name = "colSelect";
|
||||
this.colSelect.ReadOnly = true;
|
||||
this.colSelect.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colSelect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.colSelect.Width = 30;
|
||||
//
|
||||
// c_Platform
|
||||
//
|
||||
this.c_Platform.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
||||
this.c_Platform.HeaderText = "来源";
|
||||
this.c_Platform.Name = "c_Platform";
|
||||
this.c_Platform.ReadOnly = true;
|
||||
this.c_Platform.Width = 80;
|
||||
//
|
||||
// Column1
|
||||
//
|
||||
this.Column1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
||||
this.Column1.FillWeight = 44.62474F;
|
||||
this.Column1.HeaderText = "主图";
|
||||
this.Column1.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Zoom;
|
||||
this.Column1.MinimumWidth = 60;
|
||||
this.Column1.Name = "Column1";
|
||||
this.Column1.ReadOnly = true;
|
||||
this.Column1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.Column1.Width = 200;
|
||||
//
|
||||
// c_goodsid
|
||||
//
|
||||
this.c_goodsid.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
||||
this.c_goodsid.FillWeight = 60.68966F;
|
||||
this.c_goodsid.HeaderText = "商品ID";
|
||||
this.c_goodsid.Name = "c_goodsid";
|
||||
this.c_goodsid.ReadOnly = true;
|
||||
this.c_goodsid.Width = 180;
|
||||
//
|
||||
// Column2
|
||||
//
|
||||
this.Column2.FillWeight = 111.5619F;
|
||||
this.Column2.HeaderText = "标题";
|
||||
this.Column2.Name = "Column2";
|
||||
this.Column2.ReadOnly = true;
|
||||
//
|
||||
// Column3
|
||||
//
|
||||
this.Column3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
||||
this.Column3.FillWeight = 111.5619F;
|
||||
this.Column3.HeaderText = "价格";
|
||||
this.Column3.Name = "Column3";
|
||||
this.Column3.ReadOnly = true;
|
||||
this.Column3.Width = 120;
|
||||
//
|
||||
// Column4
|
||||
//
|
||||
this.Column4.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
||||
this.Column4.FillWeight = 111.5619F;
|
||||
this.Column4.HeaderText = "销量";
|
||||
this.Column4.Name = "Column4";
|
||||
this.Column4.ReadOnly = true;
|
||||
this.Column4.Width = 120;
|
||||
//
|
||||
// colDetectionResult
|
||||
//
|
||||
this.colDetectionResult.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
||||
this.colDetectionResult.HeaderText = "AI检测结果";
|
||||
this.colDetectionResult.MinimumWidth = 50;
|
||||
this.colDetectionResult.Name = "colDetectionResult";
|
||||
this.colDetectionResult.ReadOnly = true;
|
||||
this.colDetectionResult.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
this.colDetectionResult.Width = 160;
|
||||
//
|
||||
// ucSplitPage1
|
||||
//
|
||||
this.ucSplitPage1.CurrentPage = 1;
|
||||
this.ucSplitPage1.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.ucSplitPage1.IsShowPageSize = true;
|
||||
this.ucSplitPage1.IsShowTotalCount = true;
|
||||
this.ucSplitPage1.Location = new System.Drawing.Point(1257, 0);
|
||||
this.ucSplitPage1.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.ucSplitPage1.MaxPageSizeValue = 2000;
|
||||
this.ucSplitPage1.Name = "ucSplitPage1";
|
||||
this.ucSplitPage1.PageSize = 50;
|
||||
this.ucSplitPage1.Size = new System.Drawing.Size(462, 25);
|
||||
this.ucSplitPage1.TabIndex = 4;
|
||||
this.ucSplitPage1.TotalCount = ((long)(0));
|
||||
this.ucSplitPage1.TotalPage = 1;
|
||||
//
|
||||
// statusBar
|
||||
//
|
||||
this.statusBar.BackColor = System.Drawing.Color.White;
|
||||
this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.statusBar.Location = new System.Drawing.Point(0, 0);
|
||||
this.statusBar.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.statusBar.Name = "statusBar";
|
||||
this.statusBar.Size = new System.Drawing.Size(1719, 25);
|
||||
this.statusBar.TabIndex = 1;
|
||||
this.statusBar.Visible = false;
|
||||
//
|
||||
// numericUpDown1
|
||||
//
|
||||
this.numericUpDown1.Location = new System.Drawing.Point(918, 274);
|
||||
this.numericUpDown1.Name = "numericUpDown1";
|
||||
this.numericUpDown1.Size = new System.Drawing.Size(120, 21);
|
||||
this.numericUpDown1.TabIndex = 7;
|
||||
//
|
||||
// CloudGoodsFavoriteForm
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.ClientSize = new System.Drawing.Size(1719, 530);
|
||||
this.Controls.Add(this.splitContainer1);
|
||||
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.KeyPreview = true;
|
||||
this.Name = "CloudGoodsFavoriteForm";
|
||||
this.Text = "AdminCardCodeForm";
|
||||
this.Load += new System.EventHandler(this.AdminCardCodeForm_Load);
|
||||
this.splitContainer1.Panel1.ResumeLayout(false);
|
||||
this.splitContainer1.Panel1.PerformLayout();
|
||||
this.splitContainer1.Panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
|
||||
this.splitContainer1.ResumeLayout(false);
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.splitContainer2.Panel1.ResumeLayout(false);
|
||||
this.splitContainer2.Panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
|
||||
this.splitContainer2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbLoading)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvData)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.SplitContainer splitContainer1;
|
||||
private DevComponents.DotNetBar.PanelEx pnlEmpty;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.SplitContainer splitContainer2;
|
||||
private System.Windows.Forms.PictureBox pbLoading;
|
||||
private UserComponent.DataGridViewEx dgvData;
|
||||
private UserControls.UcSplitPage ucSplitPage1;
|
||||
private UserControls.StatusBarUserControl statusBar;
|
||||
private DevComponents.DotNetBar.PanelEx btnSearch;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.TextBox txt_title;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Label label7;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.ComboBox cmbCatSelect2;
|
||||
private System.Windows.Forms.ComboBox cmbCatSelect1;
|
||||
private System.Windows.Forms.ComboBox cmbCatSelect4;
|
||||
private System.Windows.Forms.ComboBox cmbCatSelect3;
|
||||
private System.Windows.Forms.Label label5r;
|
||||
private System.Windows.Forms.ComboBox cb_Platformr;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private DevComponents.DotNetBar.PanelEx btn_removefavorite;
|
||||
private DevComponents.DotNetBar.PanelEx bt_importUploadList;
|
||||
private DevComponents.DotNetBar.PanelEx btnSafeDetection;
|
||||
private System.Windows.Forms.NumericUpDown numericUpDown1;
|
||||
private UserComponent.UcNumericRange num_sold;
|
||||
private UserComponent.UcNumericRange num_price;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.ComboBox cb_safe;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn c_Platform;
|
||||
private System.Windows.Forms.DataGridViewImageColumn Column1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn c_goodsid;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colDetectionResult;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,566 @@
|
||||
using TemuKJD.BLL;
|
||||
using AllBase;
|
||||
using AllBase.Helper;
|
||||
using AllBase.Model.Result;
|
||||
using AllBase.Model.Result.PDDResult;
|
||||
using AllBase.Model.Result.WXResult;
|
||||
using NaiBa.Util.Extension;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Drawing2D;
|
||||
using System.Drawing.Printing;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Net.Http;
|
||||
using System.Security.Policy;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using TemuKJD.BaseForms;
|
||||
using TemuKJD.Extension;
|
||||
using TemuKJD.ToolForms;
|
||||
using TemuKJD.UserControls;
|
||||
using Work;
|
||||
using Work.GoodDetail;
|
||||
using Work.Services;
|
||||
|
||||
namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
public partial class CloudGoodsFavoriteForm : BaseForm
|
||||
{
|
||||
private GoodsSearchRequest search = new GoodsSearchRequest();
|
||||
private List<ComboBox> catBoxList = new List<ComboBox>();
|
||||
private BindingList<CloudGoods> dataList = new BindingList<CloudGoods>();
|
||||
private CancellationTokenSource detection;
|
||||
CheckBox chkSelectAll = null;
|
||||
public CloudGoodsFavoriteForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
Disposed += (sender, e) => detection?.Cancel();
|
||||
}
|
||||
|
||||
private void AdminCardCodeForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
pbLoading.Visible = false;
|
||||
ucSplitPage1.PageChange += UcSplitPage1_PageChange;
|
||||
InitCategory();
|
||||
InitBindingDataGridView();
|
||||
|
||||
num_sold.LowerValue = 1;
|
||||
num_sold.UpperValue = 9999999;
|
||||
num_price.LowerValue = 1;
|
||||
num_price.UpperValue = 9999999;
|
||||
|
||||
cb_Platformr.SelectedIndex = 0;
|
||||
cb_safe.SelectedIndex = 0;
|
||||
|
||||
ucSplitPage1.TotalCount = 0;
|
||||
|
||||
|
||||
if (EnvironmentHelper.IsDevelopment)
|
||||
{
|
||||
txt_title.Text = "连衣裙";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void InitBindingDataGridView()
|
||||
{
|
||||
this.dgvData.AutoGenerateColumns = false;
|
||||
this.Column1.Width = 70;
|
||||
// Column1 是图片列,DataGridViewImageColumn 无法把 ThumbUrl 的 URL 字符串直接渲染成图片,
|
||||
// 因此不绑定 DataPropertyName,改为数据加载后由 ShowDgvImg() 异步下载图片填入该列。
|
||||
this.colSelect.DataPropertyName = nameof(CloudGoods.IsSelected);
|
||||
this.colSelect.ReadOnly = false;
|
||||
this.Column2.DataPropertyName = nameof(CloudGoods.Title);
|
||||
this.Column3.DataPropertyName = nameof(CloudGoods.Price);
|
||||
this.Column4.DataPropertyName = nameof(CloudGoods.SoldQuantity);
|
||||
this.c_goodsid.DataPropertyName = nameof(CloudGoods.GoodsId);
|
||||
this.colDetectionResult.DataPropertyName = nameof(CloudGoods.DetectionResult);
|
||||
this.c_Platform.DataPropertyName = nameof(CloudGoods.Platform);
|
||||
// 2. 设置列样式
|
||||
// 时间列格式化
|
||||
//this.Column6.DefaultCellStyle.Format = "yyyy-MM-dd HH:mm:ss";
|
||||
//this.Column8.DefaultCellStyle.Format = "yyyy-MM-dd HH:mm:ss";
|
||||
this.dgvData.DataSource = dataList;
|
||||
|
||||
// 滚动到可视区时按需加载缩略图
|
||||
this.dgvData.Scroll += (s, e) => ShowDgvImg();
|
||||
this.dgvData.CellContentClick += DgvData_CellContentClick;
|
||||
dgvData.CellFormatting += DgvData_CellFormatting;
|
||||
|
||||
chkSelectAll = dgvData.Columns["colSelect"].AddHeaderCheckBox(HorizontalAlignment.Center, 0, 0, null, null, false);
|
||||
dgvData.Columns["colSelect"].HeaderText = "";
|
||||
//chkSelectAll.Width = chkSelectAll.Height = 13;
|
||||
chkSelectAll.CheckedChanged += chkSelectAll_CheckedChanged;
|
||||
//chkSelectAll.Checked = true;
|
||||
}
|
||||
|
||||
private void DgvData_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
|
||||
{
|
||||
if (e.ColumnIndex == this.c_Platform.Index && e.Value != null && e.Value != DBNull.Value)
|
||||
{
|
||||
if (int.TryParse(e.Value.ToString(), out int v))
|
||||
{
|
||||
e.Value = v == 1 ? ("多多") : v == 2 ? ("微信") : ("未知");
|
||||
e.FormattingApplied = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void chkSelectAll_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
foreach (var item in dataList)
|
||||
{
|
||||
item.IsSelected = (sender as CheckBox).Checked;
|
||||
}
|
||||
//this.dgvData.Refresh();
|
||||
}
|
||||
|
||||
private void DgvData_CellContentClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
if (dgvData.Columns[e.ColumnIndex] == colSelect)
|
||||
{
|
||||
var data = dgvData.Rows[e.RowIndex].DataBoundItem as CloudGoods;
|
||||
data.IsSelected = !data.IsSelected;
|
||||
}
|
||||
if (dgvData.Columns[e.ColumnIndex] == Column1)
|
||||
{
|
||||
var data = dgvData.Rows[e.RowIndex].DataBoundItem as CloudGoods;
|
||||
if (dgvData.Rows[e.RowIndex].Cells[e.ColumnIndex].Value is Image img)
|
||||
{
|
||||
ShowImgForm imgFrom = new ShowImgForm(img, data.ThumbUrl);
|
||||
imgFrom.ShowDialog();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 异步下载 CloudGoods.ThumbUrl 图片并填充到 Column1 图片列(只加载可视区行,避免一次下载整页)
|
||||
/// </summary>
|
||||
private void ShowDgvImg()
|
||||
{
|
||||
// 先在 UI 线程上快照“行 + 图片地址”,避免在后台线程遍历绑定的 DataGridView
|
||||
List<KeyValuePair<DataGridViewRow, string>> waitList = new List<KeyValuePair<DataGridViewRow, string>>();
|
||||
foreach (DataGridViewRow row in this.dgvData.Rows)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (row.Index < 0)
|
||||
continue;
|
||||
|
||||
// 不在可视区:先放占位图,滚动到可视区时再真正加载
|
||||
if (row.Index > 0 && row.Cells["Column1"].Displayed == false)
|
||||
{
|
||||
if (row.Cells["Column1"].Value != DataGridViewExtension.defaultBitmap)
|
||||
row.Cells["Column1"].Value = DataGridViewExtension.defaultBitmap;
|
||||
continue;
|
||||
}
|
||||
|
||||
// 已加载过就不再重复下载
|
||||
if (row.Cells["Column1"].Value != null && row.Cells["Column1"].Value != DataGridViewExtension.defaultBitmap)
|
||||
continue;
|
||||
|
||||
string imgUrl = (row.DataBoundItem as CloudGoods)?.ThumbUrl;
|
||||
if (!string.IsNullOrWhiteSpace(imgUrl))
|
||||
waitList.Add(new KeyValuePair<DataGridViewRow, string>(row, imgUrl));
|
||||
else
|
||||
row.Cells["Column1"].Value = TemuKJD.Properties.Resources.errpic;
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
if (waitList.Count == 0)
|
||||
return;
|
||||
|
||||
Task.Run(() =>
|
||||
{
|
||||
foreach (var item in waitList)
|
||||
{
|
||||
try
|
||||
{
|
||||
DataGridViewRow row = item.Key;
|
||||
string getImgError = "";
|
||||
Image image = GetHtml.GetUrlImg(item.Value, out getImgError);
|
||||
if (image == null)
|
||||
image = TemuKJD.Properties.Resources.errpic;
|
||||
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
try
|
||||
{
|
||||
if (row.Index >= 0)
|
||||
row.Cells["Column1"].Value = image;
|
||||
}
|
||||
catch { }
|
||||
}));
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void InitCategory()
|
||||
{
|
||||
catBoxList.Add(cmbCatSelect1);
|
||||
catBoxList.Add(cmbCatSelect2);
|
||||
catBoxList.Add(cmbCatSelect3);
|
||||
catBoxList.Add(cmbCatSelect4);
|
||||
|
||||
|
||||
for (int i = 0; i < catBoxList.Count; i++)
|
||||
{
|
||||
catBoxList[i].DropDownStyle = ComboBoxStyle.DropDownList;
|
||||
catBoxList[i].Tag = i;
|
||||
catBoxList[i].SelectedIndexChanged += CmbCatSelect_SelectedIndexChanged;
|
||||
catBoxList[i].DisplayMember = "cat_name";
|
||||
catBoxList[i].ValueMember = "cat_id";
|
||||
}
|
||||
|
||||
|
||||
cmbCatSelect1.Items.Add(new PddCatInfo
|
||||
{
|
||||
cat_name = "全部",
|
||||
cat_id = 0
|
||||
});
|
||||
foreach (PddCatInfo cat in GlobalConfig.PddCatList.Where(c => c.level == 1).ToList())
|
||||
{
|
||||
cmbCatSelect1.Items.Add(cat);
|
||||
}
|
||||
|
||||
catBoxList[0].SelectedIndex = 0;
|
||||
}
|
||||
|
||||
private void CmbCatSelect_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (sender is ComboBox ccb)
|
||||
{
|
||||
ccb.SelectedIndexChanged -= CmbCatSelect_SelectedIndexChanged;
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
int currentLevel = (int)ccb.Tag;
|
||||
|
||||
// 先清空并禁用所有下级 ComboBox
|
||||
for (int i = currentLevel + 1; i < catBoxList.Count; i++)
|
||||
{
|
||||
catBoxList[i].Items.Clear();
|
||||
catBoxList[i].SelectedIndex = -1;
|
||||
}
|
||||
var parentCategory = ccb.SelectedItem as PddCatInfo;
|
||||
|
||||
|
||||
// 启用并填充当前级别及上级(如果需要)
|
||||
for (int i = currentLevel + 1; i < catBoxList.Count; i++)
|
||||
{
|
||||
// 清空所有下级
|
||||
catBoxList[i].Items.Clear();
|
||||
catBoxList[i].SelectedIndex = -1;
|
||||
catBoxList[i].Text = "";
|
||||
catBoxList[i].SelectedItem = null;
|
||||
if (i == currentLevel + 1)
|
||||
{
|
||||
catBoxList[i].Enabled = true;
|
||||
|
||||
// 根据当前选中的值过滤下一级数据
|
||||
if (parentCategory != null)
|
||||
{
|
||||
var childItems = GlobalConfig.PddCatList
|
||||
.Where(c => c.level == i + 1 && c.parent_cat_id == parentCategory.cat_id)
|
||||
.ToList();
|
||||
|
||||
foreach (var cat in childItems)
|
||||
{
|
||||
catBoxList[i].Items.Add(cat);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// 更下级的全部禁用并清空
|
||||
catBoxList[i].Enabled = false;
|
||||
}
|
||||
}
|
||||
if (currentLevel == 0)
|
||||
{
|
||||
catBoxList[1].Enabled = parentCategory.cat_id != 0;
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
// 重新绑定事件
|
||||
ccb.SelectedIndexChanged += CmbCatSelect_SelectedIndexChanged;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
private void UcSplitPage1_PageChange(object obj)
|
||||
{
|
||||
btnSearch_Click(obj, null);
|
||||
}
|
||||
private async void btnSearch_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (detection != null) return;
|
||||
activeSearches++;
|
||||
try
|
||||
{
|
||||
this.pbLoading.Visible = true;
|
||||
btnSearch.Enabled = false;
|
||||
|
||||
UserFavoritesGoodsSearchRequest search = new UserFavoritesGoodsSearchRequest();
|
||||
|
||||
search.Platform = cb_Platformr.SelectedIndex == 1 ? PlatformType.PDD : cb_Platformr.SelectedIndex == 2 ? PlatformType.WX : PlatformType.None;
|
||||
search.SafeStatus = cb_safe.SelectedIndex;
|
||||
search.Title = txt_title.Text;
|
||||
search.MinSoldQuantity = (int)num_sold.LowerValue;
|
||||
search.MaxSoldQuantity = (int)num_sold.UpperValue;
|
||||
search.MinPrice = (long)(num_price.LowerValue * 100);
|
||||
search.MaxPrice = (long)(num_price.UpperValue * 100);
|
||||
if (cmbCatSelect1.SelectedItem is PddCatInfo cat1)
|
||||
{
|
||||
search.CatId1 = (int)(cat1.cat_id);
|
||||
search.CatId1 = search.CatId1 == 0 ? null : search.CatId1;
|
||||
}
|
||||
if (cmbCatSelect2.SelectedItem is PddCatInfo cat2)
|
||||
search.CatId2 = (int)(cat2.cat_id);
|
||||
if (cmbCatSelect3.SelectedItem is PddCatInfo cat3)
|
||||
search.CatId3 = (int)(cat3.cat_id);
|
||||
if (cmbCatSelect4.SelectedItem is PddCatInfo cat4)
|
||||
search.CatId4 = (int)(cat4.cat_id);
|
||||
search.PageIndex = ucSplitPage1.CurrentPage;
|
||||
search.PageSize = ucSplitPage1.PageSize;
|
||||
|
||||
|
||||
|
||||
await GetGoods(search);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
BaseMsgForm.ShowError($"查询失败:{ex.Message}");
|
||||
}
|
||||
finally
|
||||
{
|
||||
this.pbLoading.Visible = false;
|
||||
btnSearch.Enabled = --activeSearches == 0;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
private void pnlEmpty_Click(object sender, EventArgs e)
|
||||
{
|
||||
txt_title.Text = "";
|
||||
num_sold.LowerValue = 1;
|
||||
num_sold.UpperValue = 9999999;
|
||||
num_price.LowerValue = 1;
|
||||
num_price.UpperValue = 9999999;
|
||||
|
||||
cmbCatSelect1.SelectedIndex = 0;
|
||||
cb_Platformr.SelectedIndex = 0;
|
||||
cb_safe.SelectedIndex = 0;
|
||||
ucSplitPage1.PageChange -= UcSplitPage1_PageChange;
|
||||
ucSplitPage1.CurrentPage = 1;
|
||||
ucSplitPage1.PageChange += UcSplitPage1_PageChange;
|
||||
}
|
||||
|
||||
|
||||
private int latestGoodsQuery;
|
||||
private int activeSearches;
|
||||
|
||||
public async Task GetGoods(UserFavoritesGoodsSearchRequest request)
|
||||
{
|
||||
var query = ++latestGoodsQuery;
|
||||
|
||||
PageData<CloudGoods> ret = await CloudGoodsService.SearchFavorites(request);
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
if (query != latestGoodsQuery) return;
|
||||
dataList.Clear();
|
||||
foreach (var goods in ret.List)
|
||||
{
|
||||
dataList.Add(goods);
|
||||
}
|
||||
ucSplitPage1.TotalPage = Math.Max(1, ret.TotalPages);
|
||||
ucSplitPage1.TotalCount = ret.Total;
|
||||
this.pbLoading.Visible = false;
|
||||
// 异步加载商品缩略图(Column1 绑定 ThumbUrl)
|
||||
ShowDgvImg();
|
||||
}));
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 导入数据到待上传
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void bt_importUploadList_Click(object sender, EventArgs e)
|
||||
{
|
||||
int succ = 0;
|
||||
int err = 0;
|
||||
foreach (var item in dataList)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (item.IsSelected == false) continue;
|
||||
string catName = "";
|
||||
if (item.CatId4.HasValue)
|
||||
{
|
||||
catName = GlobalConfig.PddCatList.FirstOrDefault(a => a.cat_id == item.CatId4)?.cat_name ?? "";
|
||||
}
|
||||
else if (item.CatId3.HasValue)
|
||||
{
|
||||
catName = GlobalConfig.PddCatList.FirstOrDefault(a => a.cat_id == item.CatId3)?.cat_name ?? "";
|
||||
}
|
||||
else if (item.CatId2.HasValue)
|
||||
{
|
||||
catName = GlobalConfig.PddCatList.FirstOrDefault(a => a.cat_id == item.CatId2)?.cat_name ?? "";
|
||||
}
|
||||
WXDBProdUploadForm.lstTemuDBProductSelect.Add(new TemuDBProductSelect
|
||||
{
|
||||
//out_product_Id = item.GoodsId.ToString(),
|
||||
spu_id = item.GoodsId.ToString(),
|
||||
main_img = item.ThumbUrl,
|
||||
product_name = item.Title,
|
||||
cat_name = catName,
|
||||
product_get_type_text = item.Platform == 1 ? ("多多") : item.Platform == 2 ? ("微信") : ("未知"),
|
||||
db_type = "云端数据",
|
||||
});
|
||||
succ++;
|
||||
}
|
||||
catch
|
||||
{
|
||||
err++;
|
||||
}
|
||||
}
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("wx_db_prod_upload_list", WXDBProdUploadForm.lstTemuDBProductSelect);
|
||||
BaseMsgForm.ShowInfo($"导入完成!{succ} 成功 {err} 失败");
|
||||
}
|
||||
/// <summary>
|
||||
/// 取消收藏
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private async void btn_removefavorite_Click(object sender, EventArgs e)
|
||||
{
|
||||
int succ = 0;
|
||||
int err = 0;
|
||||
try
|
||||
{
|
||||
this.pbLoading.Visible = true;
|
||||
btn_removefavorite.Enabled = false;
|
||||
var goodsIds = dataList.Where(a => a.IsSelected).Select(a => a.GoodsId).ToList();
|
||||
if (goodsIds.Count == 0)
|
||||
{
|
||||
BaseMsgForm.ShowInfo($"请勾选商品");
|
||||
return;
|
||||
}
|
||||
var ret = await CloudGoodsService.RemoveFavorites(goodsIds);
|
||||
succ = ret;
|
||||
if (ret != goodsIds.Count)
|
||||
{
|
||||
err = goodsIds.Count - ret;
|
||||
}
|
||||
BaseMsgForm.ShowInfo($"取消收藏完成!{succ} 成功 {err} 失败");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
BaseMsgForm.ShowError($"取消收藏失败:{ex.Message}");
|
||||
}
|
||||
finally
|
||||
{
|
||||
this.pbLoading.Visible = false;
|
||||
btn_removefavorite.Enabled = true;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 批量AI检测
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private async void btnSafeDetection_Click(object sender, EventArgs e)
|
||||
{
|
||||
BaseMsgForm.ShowInfo($"当前AI检测剩余:{BaseClass.ImageAnalysisQuota}张");
|
||||
|
||||
if (detection != null)
|
||||
{
|
||||
detection.Cancel();
|
||||
btnSafeDetection.Text = "正在停止";
|
||||
btnSafeDetection.Enabled = false;
|
||||
return;
|
||||
}
|
||||
if (!btnSearch.Enabled || !btn_removefavorite.Enabled)
|
||||
{
|
||||
BaseMsgForm.ShowInfo("请等待当前操作完成后再检测。");
|
||||
return;
|
||||
}
|
||||
var selected = dataList.Where(x => x.IsSelected)
|
||||
.Select(x => new ComplianceGoods
|
||||
{
|
||||
id = x.GoodsId.ToString(),
|
||||
name = x.Title,
|
||||
image = x.ThumbUrl,
|
||||
type = ComplianceGoods.Cloud,
|
||||
platform = x.Platform
|
||||
}).ToList();
|
||||
var locked = splitContainer1.Panel1.Controls.Cast<Control>().Where(c => c != panel1)
|
||||
.Concat(panel1.Controls.Cast<Control>().Where(c => c != btnSafeDetection))
|
||||
.Concat(new Control[] { splitContainer2 }).Where(c => c.Enabled).ToList();
|
||||
var originalText = btnSafeDetection.Text;
|
||||
detection = new CancellationTokenSource();
|
||||
try
|
||||
{
|
||||
foreach (var control in locked) control.Enabled = false;
|
||||
btnSafeDetection.Text = "停止检测";
|
||||
var result = await GoodsComplianceService.DetectSelectedAsync(selected, ComplianceProductReader.Read, (id, status) =>
|
||||
{
|
||||
if (IsDisposed) return;
|
||||
foreach (var goods in dataList.Where(x => x.GoodsId.ToString() == id))
|
||||
goods.DetectionResult = status;
|
||||
}, detection.Token);
|
||||
if (!IsDisposed)
|
||||
{
|
||||
var title = result.Unfinished > 0 ? "AI 检测已停止" : "AI 检测完成";
|
||||
BaseMsgForm.ShowInfo($"{title}:安全 {result.Safe},有风险 {result.Risk},失败 {result.Failed},未完成 {result.Unfinished}。");
|
||||
}
|
||||
}
|
||||
catch (Exception ex) { if (!IsDisposed) MessageBox.Show(this, ex.Message); }
|
||||
finally
|
||||
{
|
||||
detection.Dispose();
|
||||
detection = null;
|
||||
if (!IsDisposed)
|
||||
{
|
||||
foreach (var control in locked) control.Enabled = true;
|
||||
btnSafeDetection.Text = originalText;
|
||||
btnSafeDetection.Enabled = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,141 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="colSelect.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="c_Platform.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="c_goodsid.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
</root>
|
||||
+636
@@ -0,0 +1,636 @@
|
||||
|
||||
namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
partial class CloudGoodsForm
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.btn_favorite = new DevComponents.DotNetBar.PanelEx();
|
||||
this.bt_importUploadList = new DevComponents.DotNetBar.PanelEx();
|
||||
this.label5r = new System.Windows.Forms.Label();
|
||||
this.cb_Platform = new System.Windows.Forms.ComboBox();
|
||||
this.cmbCatSelect2 = new System.Windows.Forms.ComboBox();
|
||||
this.cmbCatSelect1 = new System.Windows.Forms.ComboBox();
|
||||
this.cmbCatSelect4 = new System.Windows.Forms.ComboBox();
|
||||
this.cmbCatSelect3 = new System.Windows.Forms.ComboBox();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.num_maxprice = new System.Windows.Forms.NumericUpDown();
|
||||
this.num_minprice = new System.Windows.Forms.NumericUpDown();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.num_maxsold = new System.Windows.Forms.NumericUpDown();
|
||||
this.num_minsold = new System.Windows.Forms.NumericUpDown();
|
||||
this.txt_title = new System.Windows.Forms.TextBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.btnSearch = new DevComponents.DotNetBar.PanelEx();
|
||||
this.pnlEmpty = new DevComponents.DotNetBar.PanelEx();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
|
||||
this.pbLoading = new System.Windows.Forms.PictureBox();
|
||||
this.dgvData = new TemuKJD.UserComponent.DataGridViewEx();
|
||||
this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.c_Platform = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column1 = new System.Windows.Forms.DataGridViewImageColumn();
|
||||
this.c_goodsid = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ucSplitPage1 = new TemuKJD.UserControls.UcSplitPage();
|
||||
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
this.splitContainer1.SuspendLayout();
|
||||
this.panel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.num_maxprice)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.num_minprice)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.num_maxsold)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.num_minsold)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
|
||||
this.splitContainer2.Panel1.SuspendLayout();
|
||||
this.splitContainer2.Panel2.SuspendLayout();
|
||||
this.splitContainer2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbLoading)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvData)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// splitContainer1
|
||||
//
|
||||
this.splitContainer1.BackColor = System.Drawing.Color.White;
|
||||
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
|
||||
this.splitContainer1.Location = new System.Drawing.Point(0, 0);
|
||||
this.splitContainer1.Name = "splitContainer1";
|
||||
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
||||
//
|
||||
// splitContainer1.Panel1
|
||||
//
|
||||
this.splitContainer1.Panel1.Controls.Add(this.panel1);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label5r);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.cb_Platform);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.cmbCatSelect2);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.cmbCatSelect1);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.cmbCatSelect4);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.cmbCatSelect3);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label4);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.num_maxprice);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.num_minprice);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label7);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label3);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.num_maxsold);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.num_minsold);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.txt_title);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label1);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label6);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnSearch);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.pnlEmpty);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label2);
|
||||
//
|
||||
// splitContainer1.Panel2
|
||||
//
|
||||
this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
|
||||
this.splitContainer1.Panel2.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(1643, 530);
|
||||
this.splitContainer1.TabIndex = 35;
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.btn_favorite);
|
||||
this.panel1.Controls.Add(this.bt_importUploadList);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.panel1.Location = new System.Drawing.Point(1507, 0);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(136, 50);
|
||||
this.panel1.TabIndex = 914;
|
||||
//
|
||||
// btn_favorite
|
||||
//
|
||||
this.btn_favorite.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btn_favorite.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btn_favorite.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btn_favorite.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btn_favorite.Location = new System.Drawing.Point(67, 14);
|
||||
this.btn_favorite.Name = "btn_favorite";
|
||||
this.btn_favorite.Size = new System.Drawing.Size(58, 23);
|
||||
this.btn_favorite.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btn_favorite.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btn_favorite.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btn_favorite.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btn_favorite.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btn_favorite.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btn_favorite.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btn_favorite.Style.GradientAngle = 90;
|
||||
this.btn_favorite.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btn_favorite.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btn_favorite.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btn_favorite.TabIndex = 447;
|
||||
this.btn_favorite.Text = "选中收藏";
|
||||
this.btn_favorite.Click += new System.EventHandler(this.btn_favorite_Click);
|
||||
//
|
||||
// bt_importUploadList
|
||||
//
|
||||
this.bt_importUploadList.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.bt_importUploadList.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.bt_importUploadList.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.bt_importUploadList.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.bt_importUploadList.Location = new System.Drawing.Point(3, 14);
|
||||
this.bt_importUploadList.Name = "bt_importUploadList";
|
||||
this.bt_importUploadList.Size = new System.Drawing.Size(58, 23);
|
||||
this.bt_importUploadList.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.bt_importUploadList.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.bt_importUploadList.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.bt_importUploadList.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.bt_importUploadList.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.bt_importUploadList.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.bt_importUploadList.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.bt_importUploadList.Style.GradientAngle = 90;
|
||||
this.bt_importUploadList.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.bt_importUploadList.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.bt_importUploadList.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.bt_importUploadList.TabIndex = 443;
|
||||
this.bt_importUploadList.Text = "上传选中";
|
||||
this.bt_importUploadList.Click += new System.EventHandler(this.bt_importUploadList_Click);
|
||||
//
|
||||
// label5r
|
||||
//
|
||||
this.label5r.AutoSize = true;
|
||||
this.label5r.Location = new System.Drawing.Point(1048, 16);
|
||||
this.label5r.Name = "label5r";
|
||||
this.label5r.Size = new System.Drawing.Size(44, 17);
|
||||
this.label5r.TabIndex = 907;
|
||||
this.label5r.Text = "来源:";
|
||||
//
|
||||
// cb_Platform
|
||||
//
|
||||
this.cb_Platform.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_Platform.DropDownWidth = 150;
|
||||
this.cb_Platform.FormattingEnabled = true;
|
||||
this.cb_Platform.Items.AddRange(new object[] {
|
||||
"全部",
|
||||
"多多",
|
||||
"微信"});
|
||||
this.cb_Platform.Location = new System.Drawing.Point(1098, 13);
|
||||
this.cb_Platform.Name = "cb_Platform";
|
||||
this.cb_Platform.Size = new System.Drawing.Size(97, 25);
|
||||
this.cb_Platform.TabIndex = 906;
|
||||
//
|
||||
// cmbCatSelect2
|
||||
//
|
||||
this.cmbCatSelect2.DropDownWidth = 150;
|
||||
this.cmbCatSelect2.FormattingEnabled = true;
|
||||
this.cmbCatSelect2.Location = new System.Drawing.Point(745, 12);
|
||||
this.cmbCatSelect2.Name = "cmbCatSelect2";
|
||||
this.cmbCatSelect2.Size = new System.Drawing.Size(97, 25);
|
||||
this.cmbCatSelect2.TabIndex = 897;
|
||||
//
|
||||
// cmbCatSelect1
|
||||
//
|
||||
this.cmbCatSelect1.DropDownWidth = 150;
|
||||
this.cmbCatSelect1.FormattingEnabled = true;
|
||||
this.cmbCatSelect1.Location = new System.Drawing.Point(648, 12);
|
||||
this.cmbCatSelect1.Name = "cmbCatSelect1";
|
||||
this.cmbCatSelect1.Size = new System.Drawing.Size(97, 25);
|
||||
this.cmbCatSelect1.TabIndex = 896;
|
||||
//
|
||||
// cmbCatSelect4
|
||||
//
|
||||
this.cmbCatSelect4.DropDownWidth = 150;
|
||||
this.cmbCatSelect4.FormattingEnabled = true;
|
||||
this.cmbCatSelect4.Location = new System.Drawing.Point(939, 12);
|
||||
this.cmbCatSelect4.Name = "cmbCatSelect4";
|
||||
this.cmbCatSelect4.Size = new System.Drawing.Size(97, 25);
|
||||
this.cmbCatSelect4.TabIndex = 899;
|
||||
//
|
||||
// cmbCatSelect3
|
||||
//
|
||||
this.cmbCatSelect3.DropDownWidth = 150;
|
||||
this.cmbCatSelect3.FormattingEnabled = true;
|
||||
this.cmbCatSelect3.Location = new System.Drawing.Point(842, 12);
|
||||
this.cmbCatSelect3.Name = "cmbCatSelect3";
|
||||
this.cmbCatSelect3.Size = new System.Drawing.Size(97, 25);
|
||||
this.cmbCatSelect3.TabIndex = 898;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.ForeColor = System.Drawing.Color.Gray;
|
||||
this.label4.Location = new System.Drawing.Point(518, 17);
|
||||
this.label4.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(13, 17);
|
||||
this.label4.TabIndex = 488;
|
||||
this.label4.Text = "-";
|
||||
//
|
||||
// num_maxprice
|
||||
//
|
||||
this.num_maxprice.Location = new System.Drawing.Point(534, 14);
|
||||
this.num_maxprice.Maximum = new decimal(new int[] {
|
||||
99999,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.num_maxprice.Name = "num_maxprice";
|
||||
this.num_maxprice.Size = new System.Drawing.Size(70, 23);
|
||||
this.num_maxprice.TabIndex = 487;
|
||||
//
|
||||
// num_minprice
|
||||
//
|
||||
this.num_minprice.Location = new System.Drawing.Point(447, 14);
|
||||
this.num_minprice.Maximum = new decimal(new int[] {
|
||||
99999,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.num_minprice.Name = "num_minprice";
|
||||
this.num_minprice.Size = new System.Drawing.Size(70, 23);
|
||||
this.num_minprice.TabIndex = 486;
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Location = new System.Drawing.Point(388, 17);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(64, 17);
|
||||
this.label7.TabIndex = 485;
|
||||
this.label7.Text = "价格(元):";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.ForeColor = System.Drawing.Color.Gray;
|
||||
this.label3.Location = new System.Drawing.Point(294, 17);
|
||||
this.label3.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(13, 17);
|
||||
this.label3.TabIndex = 484;
|
||||
this.label3.Text = "-";
|
||||
//
|
||||
// num_maxsold
|
||||
//
|
||||
this.num_maxsold.Location = new System.Drawing.Point(310, 14);
|
||||
this.num_maxsold.Maximum = new decimal(new int[] {
|
||||
9999999,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.num_maxsold.Name = "num_maxsold";
|
||||
this.num_maxsold.Size = new System.Drawing.Size(70, 23);
|
||||
this.num_maxsold.TabIndex = 483;
|
||||
//
|
||||
// num_minsold
|
||||
//
|
||||
this.num_minsold.Location = new System.Drawing.Point(223, 14);
|
||||
this.num_minsold.Maximum = new decimal(new int[] {
|
||||
9999999,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.num_minsold.Name = "num_minsold";
|
||||
this.num_minsold.Size = new System.Drawing.Size(70, 23);
|
||||
this.num_minsold.TabIndex = 482;
|
||||
//
|
||||
// txt_title
|
||||
//
|
||||
this.txt_title.Location = new System.Drawing.Point(60, 14);
|
||||
this.txt_title.Name = "txt_title";
|
||||
this.txt_title.Size = new System.Drawing.Size(118, 23);
|
||||
this.txt_title.TabIndex = 468;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(8, 17);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(56, 17);
|
||||
this.label1.TabIndex = 469;
|
||||
this.label1.Text = "关键词:";
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(610, 17);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(44, 17);
|
||||
this.label6.TabIndex = 440;
|
||||
this.label6.Text = "类目:";
|
||||
//
|
||||
// btnSearch
|
||||
//
|
||||
this.btnSearch.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
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(1208, 14);
|
||||
this.btnSearch.Name = "btnSearch";
|
||||
this.btnSearch.Size = new System.Drawing.Size(58, 23);
|
||||
this.btnSearch.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSearch.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSearch.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSearch.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnSearch.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnSearch.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnSearch.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnSearch.Style.GradientAngle = 90;
|
||||
this.btnSearch.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSearch.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnSearch.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnSearch.TabIndex = 435;
|
||||
this.btnSearch.Text = "查询";
|
||||
this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
|
||||
//
|
||||
// pnlEmpty
|
||||
//
|
||||
this.pnlEmpty.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.pnlEmpty.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.pnlEmpty.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.pnlEmpty.Location = new System.Drawing.Point(1272, 14);
|
||||
this.pnlEmpty.Name = "pnlEmpty";
|
||||
this.pnlEmpty.Size = new System.Drawing.Size(58, 23);
|
||||
this.pnlEmpty.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlEmpty.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.pnlEmpty.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.pnlEmpty.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.pnlEmpty.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.pnlEmpty.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.pnlEmpty.Style.GradientAngle = 90;
|
||||
this.pnlEmpty.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlEmpty.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlEmpty.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.pnlEmpty.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.pnlEmpty.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.pnlEmpty.TabIndex = 413;
|
||||
this.pnlEmpty.Text = "清空条件";
|
||||
this.pnlEmpty.Click += new System.EventHandler(this.pnlEmpty_Click);
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(184, 17);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(44, 17);
|
||||
this.label2.TabIndex = 373;
|
||||
this.label2.Text = "销量:";
|
||||
//
|
||||
// splitContainer2
|
||||
//
|
||||
this.splitContainer2.BackColor = System.Drawing.Color.White;
|
||||
this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
|
||||
this.splitContainer2.Location = new System.Drawing.Point(0, 0);
|
||||
this.splitContainer2.Name = "splitContainer2";
|
||||
this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
||||
//
|
||||
// splitContainer2.Panel1
|
||||
//
|
||||
this.splitContainer2.Panel1.BackColor = System.Drawing.Color.White;
|
||||
this.splitContainer2.Panel1.Controls.Add(this.pbLoading);
|
||||
this.splitContainer2.Panel1.Controls.Add(this.dgvData);
|
||||
this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
//
|
||||
// splitContainer2.Panel2
|
||||
//
|
||||
this.splitContainer2.Panel2.Controls.Add(this.ucSplitPage1);
|
||||
this.splitContainer2.Panel2.Controls.Add(this.statusBar);
|
||||
this.splitContainer2.Size = new System.Drawing.Size(1643, 476);
|
||||
this.splitContainer2.SplitterDistance = 447;
|
||||
this.splitContainer2.TabIndex = 0;
|
||||
//
|
||||
// pbLoading
|
||||
//
|
||||
this.pbLoading.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.pbLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
|
||||
this.pbLoading.Location = new System.Drawing.Point(796, 198);
|
||||
this.pbLoading.Name = "pbLoading";
|
||||
this.pbLoading.Size = new System.Drawing.Size(50, 50);
|
||||
this.pbLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.pbLoading.TabIndex = 6;
|
||||
this.pbLoading.TabStop = false;
|
||||
//
|
||||
// dgvData
|
||||
//
|
||||
this.dgvData.AllowUserToAddRows = false;
|
||||
this.dgvData.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle3.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvData.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.dgvData.AutoRowNumber = true;
|
||||
this.dgvData.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
||||
this.dgvData.BackgroundColor = System.Drawing.Color.White;
|
||||
this.dgvData.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.dgvData.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.dgvData.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvData.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.colSelect,
|
||||
this.c_Platform,
|
||||
this.Column1,
|
||||
this.c_goodsid,
|
||||
this.Column2,
|
||||
this.Column3,
|
||||
this.Column4});
|
||||
this.dgvData.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dgvData.Location = new System.Drawing.Point(4, 0);
|
||||
this.dgvData.MultiSelectCheckBox = true;
|
||||
this.dgvData.Name = "dgvData";
|
||||
this.dgvData.ReadOnly = true;
|
||||
this.dgvData.RowTemplate.Height = 60;
|
||||
this.dgvData.ShowCellErrors = false;
|
||||
this.dgvData.Size = new System.Drawing.Size(1635, 447);
|
||||
this.dgvData.TabIndex = 5;
|
||||
//
|
||||
// colSelect
|
||||
//
|
||||
this.colSelect.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
||||
this.colSelect.FillWeight = 26F;
|
||||
this.colSelect.HeaderText = "选";
|
||||
this.colSelect.Name = "colSelect";
|
||||
this.colSelect.ReadOnly = true;
|
||||
this.colSelect.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colSelect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.colSelect.Width = 30;
|
||||
//
|
||||
// c_Platform
|
||||
//
|
||||
this.c_Platform.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
||||
this.c_Platform.HeaderText = "来源";
|
||||
this.c_Platform.Name = "c_Platform";
|
||||
this.c_Platform.ReadOnly = true;
|
||||
this.c_Platform.Width = 80;
|
||||
//
|
||||
// Column1
|
||||
//
|
||||
this.Column1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
||||
this.Column1.FillWeight = 44.62474F;
|
||||
this.Column1.HeaderText = "主图";
|
||||
this.Column1.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Zoom;
|
||||
this.Column1.MinimumWidth = 60;
|
||||
this.Column1.Name = "Column1";
|
||||
this.Column1.ReadOnly = true;
|
||||
this.Column1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.Column1.Width = 200;
|
||||
//
|
||||
// c_goodsid
|
||||
//
|
||||
this.c_goodsid.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
||||
this.c_goodsid.FillWeight = 60.68966F;
|
||||
this.c_goodsid.HeaderText = "商品ID";
|
||||
this.c_goodsid.Name = "c_goodsid";
|
||||
this.c_goodsid.ReadOnly = true;
|
||||
this.c_goodsid.Width = 180;
|
||||
//
|
||||
// Column2
|
||||
//
|
||||
this.Column2.FillWeight = 111.5619F;
|
||||
this.Column2.HeaderText = "标题";
|
||||
this.Column2.Name = "Column2";
|
||||
this.Column2.ReadOnly = true;
|
||||
//
|
||||
// Column3
|
||||
//
|
||||
this.Column3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
||||
this.Column3.FillWeight = 111.5619F;
|
||||
this.Column3.HeaderText = "价格";
|
||||
this.Column3.Name = "Column3";
|
||||
this.Column3.ReadOnly = true;
|
||||
this.Column3.Width = 120;
|
||||
//
|
||||
// Column4
|
||||
//
|
||||
this.Column4.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
||||
this.Column4.FillWeight = 111.5619F;
|
||||
this.Column4.HeaderText = "销量";
|
||||
this.Column4.Name = "Column4";
|
||||
this.Column4.ReadOnly = true;
|
||||
this.Column4.Width = 120;
|
||||
//
|
||||
// ucSplitPage1
|
||||
//
|
||||
this.ucSplitPage1.CurrentPage = 1;
|
||||
this.ucSplitPage1.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.ucSplitPage1.IsShowPageSize = true;
|
||||
this.ucSplitPage1.IsShowTotalCount = true;
|
||||
this.ucSplitPage1.Location = new System.Drawing.Point(1181, 0);
|
||||
this.ucSplitPage1.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.ucSplitPage1.MaxPageSizeValue = 2000;
|
||||
this.ucSplitPage1.Name = "ucSplitPage1";
|
||||
this.ucSplitPage1.PageSize = 50;
|
||||
this.ucSplitPage1.Size = new System.Drawing.Size(462, 25);
|
||||
this.ucSplitPage1.TabIndex = 4;
|
||||
this.ucSplitPage1.TotalCount = ((long)(0));
|
||||
this.ucSplitPage1.TotalPage = 1;
|
||||
//
|
||||
// statusBar
|
||||
//
|
||||
this.statusBar.BackColor = System.Drawing.Color.White;
|
||||
this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.statusBar.Location = new System.Drawing.Point(0, 0);
|
||||
this.statusBar.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.statusBar.Name = "statusBar";
|
||||
this.statusBar.Size = new System.Drawing.Size(1643, 25);
|
||||
this.statusBar.TabIndex = 1;
|
||||
this.statusBar.Visible = false;
|
||||
//
|
||||
// CloudGoodsForm
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.ClientSize = new System.Drawing.Size(1643, 530);
|
||||
this.Controls.Add(this.splitContainer1);
|
||||
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.KeyPreview = true;
|
||||
this.Name = "CloudGoodsForm";
|
||||
this.Text = "AdminCardCodeForm";
|
||||
this.Load += new System.EventHandler(this.AdminCardCodeForm_Load);
|
||||
this.splitContainer1.Panel1.ResumeLayout(false);
|
||||
this.splitContainer1.Panel1.PerformLayout();
|
||||
this.splitContainer1.Panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
|
||||
this.splitContainer1.ResumeLayout(false);
|
||||
this.panel1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.num_maxprice)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.num_minprice)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.num_maxsold)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.num_minsold)).EndInit();
|
||||
this.splitContainer2.Panel1.ResumeLayout(false);
|
||||
this.splitContainer2.Panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
|
||||
this.splitContainer2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbLoading)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvData)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.SplitContainer splitContainer1;
|
||||
private DevComponents.DotNetBar.PanelEx pnlEmpty;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.SplitContainer splitContainer2;
|
||||
private System.Windows.Forms.PictureBox pbLoading;
|
||||
private UserComponent.DataGridViewEx dgvData;
|
||||
private UserControls.UcSplitPage ucSplitPage1;
|
||||
private UserControls.StatusBarUserControl statusBar;
|
||||
private DevComponents.DotNetBar.PanelEx btnSearch;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.TextBox txt_title;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.NumericUpDown num_maxsold;
|
||||
private System.Windows.Forms.NumericUpDown num_minsold;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.NumericUpDown num_maxprice;
|
||||
private System.Windows.Forms.NumericUpDown num_minprice;
|
||||
private System.Windows.Forms.Label label7;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.ComboBox cmbCatSelect2;
|
||||
private System.Windows.Forms.ComboBox cmbCatSelect1;
|
||||
private System.Windows.Forms.ComboBox cmbCatSelect4;
|
||||
private System.Windows.Forms.ComboBox cmbCatSelect3;
|
||||
private System.Windows.Forms.Label label5r;
|
||||
private System.Windows.Forms.ComboBox cb_Platform;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn c_Platform;
|
||||
private System.Windows.Forms.DataGridViewImageColumn Column1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn c_goodsid;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private DevComponents.DotNetBar.PanelEx btn_favorite;
|
||||
private DevComponents.DotNetBar.PanelEx bt_importUploadList;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,484 @@
|
||||
using AllBase;
|
||||
using AllBase.Helper;
|
||||
using AllBase.Model.Result;
|
||||
using AllBase.Model.Result.PDDResult;
|
||||
using AllBase.Model.Result.WXResult;
|
||||
using NaiBa.Util.Extension;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Drawing2D;
|
||||
using System.Drawing.Printing;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Net.Http;
|
||||
using System.Security.Policy;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using TemuKJD.BaseForms;
|
||||
using TemuKJD.Extension;
|
||||
using TemuKJD.ToolForms;
|
||||
using TemuKJD.UserControls;
|
||||
using Work;
|
||||
using Work.GoodDetail;
|
||||
using Work.Services;
|
||||
|
||||
namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
public partial class CloudGoodsForm : BaseForm
|
||||
{
|
||||
private GoodsSearchRequest search = new GoodsSearchRequest();
|
||||
private List<ComboBox> catBoxList = new List<ComboBox>();
|
||||
private BindingList<CloudGoods> dataList = new BindingList<CloudGoods>();
|
||||
CheckBox chkSelectAll = null;
|
||||
public CloudGoodsForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void AdminCardCodeForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
pbLoading.Visible = false;
|
||||
ucSplitPage1.PageChange += UcSplitPage1_PageChange;
|
||||
InitCategory();
|
||||
InitBindingDataGridView();
|
||||
|
||||
|
||||
num_minsold.Value = 0;
|
||||
num_maxsold.Value = 9999999;
|
||||
num_minprice.Value = 0;
|
||||
num_maxprice.Value = 999;
|
||||
|
||||
cb_Platform.SelectedIndex = 0;
|
||||
ucSplitPage1.TotalCount = 0;
|
||||
|
||||
|
||||
if (EnvironmentHelper.IsDevelopment)
|
||||
{
|
||||
txt_title.Text = "连衣裙";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void InitBindingDataGridView()
|
||||
{
|
||||
this.dgvData.AutoGenerateColumns = false;
|
||||
this.Column1.Width = 70;
|
||||
// Column1 是图片列,DataGridViewImageColumn 无法把 ThumbUrl 的 URL 字符串直接渲染成图片,
|
||||
// 因此不绑定 DataPropertyName,改为数据加载后由 ShowDgvImg() 异步下载图片填入该列。
|
||||
this.colSelect.DataPropertyName = nameof(CloudGoods.IsSelected);
|
||||
this.colSelect.ReadOnly = false;
|
||||
this.Column2.DataPropertyName = nameof(CloudGoods.Title);
|
||||
this.Column3.DataPropertyName = nameof(CloudGoods.Price);
|
||||
this.Column4.DataPropertyName = nameof(CloudGoods.SoldQuantity);
|
||||
this.c_goodsid.DataPropertyName = nameof(CloudGoods.GoodsId);
|
||||
this.c_Platform.DataPropertyName = nameof(CloudGoods.Platform);
|
||||
// 2. 设置列样式
|
||||
// 时间列格式化
|
||||
//this.Column6.DefaultCellStyle.Format = "yyyy-MM-dd HH:mm:ss";
|
||||
//this.Column8.DefaultCellStyle.Format = "yyyy-MM-dd HH:mm:ss";
|
||||
this.dgvData.DataSource = dataList;
|
||||
|
||||
// 滚动到可视区时按需加载缩略图
|
||||
this.dgvData.Scroll += (s, e) => ShowDgvImg();
|
||||
this.dgvData.CellContentClick += DgvData_CellContentClick;
|
||||
dgvData.CellFormatting += DgvData_CellFormatting;
|
||||
|
||||
chkSelectAll = dgvData.Columns["colSelect"].AddHeaderCheckBox(HorizontalAlignment.Center, 0, 0, null, null, false);
|
||||
dgvData.Columns["colSelect"].HeaderText = "";
|
||||
//chkSelectAll.Width = chkSelectAll.Height = 13;
|
||||
chkSelectAll.CheckedChanged += chkSelectAll_CheckedChanged;
|
||||
//chkSelectAll.Checked = true;
|
||||
}
|
||||
|
||||
private void DgvData_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
|
||||
{
|
||||
if (e.ColumnIndex == this.c_Platform.Index && e.Value != null && e.Value != DBNull.Value)
|
||||
{
|
||||
if (int.TryParse(e.Value.ToString(), out int v))
|
||||
{
|
||||
e.Value = v == 1 ? ("多多") : v == 2 ? ("微信") : ("未知");
|
||||
e.FormattingApplied = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void chkSelectAll_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
foreach (var item in dataList)
|
||||
{
|
||||
item.IsSelected = (sender as CheckBox).Checked;
|
||||
}
|
||||
//this.dgvData.Refresh();
|
||||
}
|
||||
|
||||
private void DgvData_CellContentClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
if (dgvData.Columns[e.ColumnIndex] == colSelect)
|
||||
{
|
||||
var data = dgvData.Rows[e.RowIndex].DataBoundItem as CloudGoods;
|
||||
data.IsSelected = !data.IsSelected;
|
||||
}
|
||||
if (dgvData.Columns[e.ColumnIndex] == Column1)
|
||||
{
|
||||
var data = dgvData.Rows[e.RowIndex].DataBoundItem as CloudGoods;
|
||||
if (dgvData.Rows[e.RowIndex].Cells[e.ColumnIndex].Value is Image img)
|
||||
{
|
||||
ShowImgForm imgFrom = new ShowImgForm(img, data.ThumbUrl);
|
||||
imgFrom.ShowDialog();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 异步下载 CloudGoods.ThumbUrl 图片并填充到 Column1 图片列(只加载可视区行,避免一次下载整页)
|
||||
/// </summary>
|
||||
private void ShowDgvImg()
|
||||
{
|
||||
// 先在 UI 线程上快照“行 + 图片地址”,避免在后台线程遍历绑定的 DataGridView
|
||||
List<KeyValuePair<DataGridViewRow, string>> waitList = new List<KeyValuePair<DataGridViewRow, string>>();
|
||||
foreach (DataGridViewRow row in this.dgvData.Rows)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (row.Index < 0)
|
||||
continue;
|
||||
|
||||
// 不在可视区:先放占位图,滚动到可视区时再真正加载
|
||||
if (row.Index > 0 && row.Cells["Column1"].Displayed == false)
|
||||
{
|
||||
if (row.Cells["Column1"].Value != DataGridViewExtension.defaultBitmap)
|
||||
row.Cells["Column1"].Value = DataGridViewExtension.defaultBitmap;
|
||||
continue;
|
||||
}
|
||||
|
||||
// 已加载过就不再重复下载
|
||||
if (row.Cells["Column1"].Value != null && row.Cells["Column1"].Value != DataGridViewExtension.defaultBitmap)
|
||||
continue;
|
||||
|
||||
string imgUrl = (row.DataBoundItem as CloudGoods)?.ThumbUrl;
|
||||
if (!string.IsNullOrWhiteSpace(imgUrl))
|
||||
waitList.Add(new KeyValuePair<DataGridViewRow, string>(row, imgUrl));
|
||||
else
|
||||
row.Cells["Column1"].Value = TemuKJD.Properties.Resources.errpic;
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
if (waitList.Count == 0)
|
||||
return;
|
||||
|
||||
Task.Run(() =>
|
||||
{
|
||||
foreach (var item in waitList)
|
||||
{
|
||||
try
|
||||
{
|
||||
DataGridViewRow row = item.Key;
|
||||
string getImgError = "";
|
||||
Image image = GetHtml.GetUrlImg(item.Value, out getImgError);
|
||||
if (image == null)
|
||||
image = TemuKJD.Properties.Resources.errpic;
|
||||
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
try
|
||||
{
|
||||
if (row.Index >= 0)
|
||||
row.Cells["Column1"].Value = image;
|
||||
}
|
||||
catch { }
|
||||
}));
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void InitCategory()
|
||||
{
|
||||
catBoxList.Add(cmbCatSelect1);
|
||||
catBoxList.Add(cmbCatSelect2);
|
||||
catBoxList.Add(cmbCatSelect3);
|
||||
catBoxList.Add(cmbCatSelect4);
|
||||
|
||||
|
||||
for (int i = 0; i < catBoxList.Count; i++)
|
||||
{
|
||||
catBoxList[i].DropDownStyle = ComboBoxStyle.DropDownList;
|
||||
catBoxList[i].Tag = i;
|
||||
catBoxList[i].SelectedIndexChanged += CmbCatSelect_SelectedIndexChanged;
|
||||
catBoxList[i].DisplayMember = "cat_name";
|
||||
catBoxList[i].ValueMember = "cat_id";
|
||||
}
|
||||
|
||||
|
||||
cmbCatSelect1.Items.Add(new PddCatInfo
|
||||
{
|
||||
cat_name = "全部",
|
||||
cat_id = 0
|
||||
});
|
||||
foreach (PddCatInfo cat in GlobalConfig.PddCatList.Where(c => c.level == 1).ToList())
|
||||
{
|
||||
cmbCatSelect1.Items.Add(cat);
|
||||
}
|
||||
|
||||
catBoxList[0].SelectedIndex = 0;
|
||||
}
|
||||
|
||||
private void CmbCatSelect_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (sender is ComboBox ccb)
|
||||
{
|
||||
ccb.SelectedIndexChanged -= CmbCatSelect_SelectedIndexChanged;
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
int currentLevel = (int)ccb.Tag;
|
||||
|
||||
// 先清空并禁用所有下级 ComboBox
|
||||
for (int i = currentLevel + 1; i < catBoxList.Count; i++)
|
||||
{
|
||||
catBoxList[i].Items.Clear();
|
||||
catBoxList[i].SelectedIndex = -1;
|
||||
}
|
||||
var parentCategory = ccb.SelectedItem as PddCatInfo;
|
||||
|
||||
|
||||
// 启用并填充当前级别及上级(如果需要)
|
||||
for (int i = currentLevel + 1; i < catBoxList.Count; i++)
|
||||
{
|
||||
// 清空所有下级
|
||||
catBoxList[i].Items.Clear();
|
||||
catBoxList[i].SelectedIndex = -1;
|
||||
catBoxList[i].Text = "";
|
||||
catBoxList[i].SelectedItem = null;
|
||||
if (i == currentLevel + 1)
|
||||
{
|
||||
catBoxList[i].Enabled = true;
|
||||
|
||||
// 根据当前选中的值过滤下一级数据
|
||||
if (parentCategory != null)
|
||||
{
|
||||
var childItems = GlobalConfig.PddCatList
|
||||
.Where(c => c.level == i + 1 && c.parent_cat_id == parentCategory.cat_id)
|
||||
.ToList();
|
||||
|
||||
foreach (var cat in childItems)
|
||||
{
|
||||
catBoxList[i].Items.Add(cat);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// 更下级的全部禁用并清空
|
||||
catBoxList[i].Enabled = false;
|
||||
}
|
||||
}
|
||||
if (currentLevel == 0)
|
||||
{
|
||||
catBoxList[1].Enabled = parentCategory.cat_id != 0;
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
// 重新绑定事件
|
||||
ccb.SelectedIndexChanged += CmbCatSelect_SelectedIndexChanged;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
private void UcSplitPage1_PageChange(object obj)
|
||||
{
|
||||
btnSearch_Click(obj, null);
|
||||
}
|
||||
private async void btnSearch_Click(object sender, EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
this.pbLoading.Visible = true;
|
||||
btnSearch.Enabled = false;
|
||||
|
||||
GoodsSearchRequest search = new GoodsSearchRequest();
|
||||
|
||||
search.Platform = cb_Platform.SelectedIndex == 1 ? PlatformType.PDD : cb_Platform.SelectedIndex == 2 ? PlatformType.WX : PlatformType.None;
|
||||
search.Title = txt_title.Text;
|
||||
search.MinSoldQuantity = (int)num_minsold.Value;
|
||||
search.MaxSoldQuantity = (int)num_maxsold.Value;
|
||||
search.MinPrice = (long)num_minprice.Value * 100;
|
||||
search.MaxPrice = (long)num_maxprice.Value * 100;
|
||||
if (cmbCatSelect1.SelectedItem is PddCatInfo cat1)
|
||||
{
|
||||
search.CatId1 = (int)(cat1.cat_id);
|
||||
search.CatId1 = search.CatId1 == 0 ? null : search.CatId1;
|
||||
}
|
||||
if (cmbCatSelect2.SelectedItem is PddCatInfo cat2)
|
||||
search.CatId2 = (int)(cat2.cat_id);
|
||||
if (cmbCatSelect3.SelectedItem is PddCatInfo cat3)
|
||||
search.CatId3 = (int)(cat3.cat_id);
|
||||
if (cmbCatSelect4.SelectedItem is PddCatInfo cat4)
|
||||
search.CatId4 = (int)(cat4.cat_id);
|
||||
search.PageIndex = ucSplitPage1.CurrentPage;
|
||||
search.PageSize = ucSplitPage1.PageSize;
|
||||
|
||||
|
||||
|
||||
await GetGoods(search);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
BaseMsgForm.ShowError($"查询失败:{ex.Message}");
|
||||
}
|
||||
finally
|
||||
{
|
||||
this.pbLoading.Visible = false;
|
||||
btnSearch.Enabled = true;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
private void pnlEmpty_Click(object sender, EventArgs e)
|
||||
{
|
||||
txt_title.Text = "";
|
||||
num_minsold.Value = 0;
|
||||
num_maxsold.Value = 999;
|
||||
num_minprice.Value = 0;
|
||||
num_maxprice.Value = 999;
|
||||
cmbCatSelect1.SelectedIndex = 0;
|
||||
cb_Platform.SelectedIndex = 0;
|
||||
ucSplitPage1.PageChange -= UcSplitPage1_PageChange;
|
||||
ucSplitPage1.CurrentPage = 1;
|
||||
ucSplitPage1.PageChange += UcSplitPage1_PageChange;
|
||||
}
|
||||
|
||||
|
||||
public async Task GetGoods(GoodsSearchRequest request)
|
||||
{
|
||||
dataList.Clear();
|
||||
|
||||
PageData<CloudGoods> ret = await CloudGoodsService.GetGoods(request);
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
ret.List.ForEach(a => dataList.Add(a));
|
||||
ucSplitPage1.TotalPage = Math.Max(1, ret.TotalPages);
|
||||
ucSplitPage1.TotalCount = ret.Total;
|
||||
this.pbLoading.Visible = false;
|
||||
// 异步加载商品缩略图(Column1 绑定 ThumbUrl)
|
||||
ShowDgvImg();
|
||||
}));
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 导入数据到待上传
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void bt_importUploadList_Click(object sender, EventArgs e)
|
||||
{
|
||||
int succ = 0;
|
||||
int err = 0;
|
||||
foreach (var item in dataList)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (item.IsSelected == false) continue;
|
||||
string catName = "";
|
||||
if (item.CatId4.HasValue)
|
||||
{
|
||||
catName = GlobalConfig.PddCatList.FirstOrDefault(a => a.cat_id == item.CatId4)?.cat_name ?? "";
|
||||
}
|
||||
else if (item.CatId3.HasValue)
|
||||
{
|
||||
catName = GlobalConfig.PddCatList.FirstOrDefault(a => a.cat_id == item.CatId3)?.cat_name ?? "";
|
||||
}
|
||||
else if (item.CatId2.HasValue)
|
||||
{
|
||||
catName = GlobalConfig.PddCatList.FirstOrDefault(a => a.cat_id == item.CatId2)?.cat_name ?? "";
|
||||
}
|
||||
WXDBProdUploadForm.lstTemuDBProductSelect.Add(new TemuDBProductSelect
|
||||
{
|
||||
//out_product_Id = item.GoodsId.ToString(),
|
||||
spu_id = item.GoodsId.ToString(),
|
||||
main_img = item.ThumbUrl,
|
||||
product_name = item.Title,
|
||||
cat_name = catName,
|
||||
product_get_type_text = item.Platform == 1 ? ("多多") : item.Platform == 2 ? ("微信") : ("未知"),
|
||||
db_type = "云端数据",
|
||||
});
|
||||
succ++;
|
||||
}
|
||||
catch
|
||||
{
|
||||
err++;
|
||||
}
|
||||
}
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("wx_db_prod_upload_list", WXDBProdUploadForm.lstTemuDBProductSelect);
|
||||
BaseMsgForm.ShowInfo($"导入完成!{succ} 成功 {err} 失败");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 选中收藏
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private async void btn_favorite_Click(object sender, EventArgs e)
|
||||
{
|
||||
int succ = 0;
|
||||
int err = 0;
|
||||
try
|
||||
{
|
||||
this.pbLoading.Visible = true;
|
||||
btn_favorite.Enabled = false;
|
||||
|
||||
var goodsIds = dataList.Where(a => a.IsSelected).Select(a => a.GoodsId).ToList();
|
||||
if (goodsIds.Count == 0)
|
||||
{
|
||||
BaseMsgForm.ShowInfo($"请勾选商品");
|
||||
return;
|
||||
}
|
||||
var ret = await CloudGoodsService.Favorite(goodsIds);
|
||||
succ = ret;
|
||||
if (ret != goodsIds.Count)
|
||||
{
|
||||
err = goodsIds.Count - ret;
|
||||
}
|
||||
BaseMsgForm.ShowInfo($"收藏完成!{succ} 成功 {err} 失败");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
BaseMsgForm.ShowError($"收藏失败:{ex.Message}");
|
||||
}
|
||||
finally
|
||||
{
|
||||
this.pbLoading.Visible = false;
|
||||
btn_favorite.Enabled = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,141 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="colSelect.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="c_Platform.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="c_goodsid.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
</root>
|
||||
@@ -1586,54 +1586,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
/// <param name="noBanWx">校验微信禁售商品</param>
|
||||
/// <returns></returns>
|
||||
public static KJDDBProduct GetProductDetail(string prodDbId, out string errMsg, bool noViolationProduct = false, bool noBanWx = false)
|
||||
{
|
||||
errMsg = "";
|
||||
|
||||
if (string.IsNullOrEmpty(prodDbId))
|
||||
{
|
||||
errMsg = "产品编号为空";
|
||||
return new KJDDBProduct();
|
||||
}
|
||||
|
||||
List<KJDDBProduct> list = new List<KJDDBProduct>();
|
||||
|
||||
var url = BaseClass.BuildObjString("product/get_pdd_product_detail_list");
|
||||
var data = UserLogin.GetSignaturex() + "&search_db_ids=" + prodDbId;
|
||||
if (noViolationProduct)
|
||||
data += "&wx_safe_status=安全商品,未校验";
|
||||
if (noBanWx)
|
||||
data += "&ban_wx=0";
|
||||
if (BaseClass.SaLevel > 0 || BaseClass.UserAuthority.Contains("爆款数据") || BaseClass.UserAuthority.Contains("学员数据") || BaseClass.ParentAuthority.Contains("学员数据"))
|
||||
data += "&special_prod_type=普通商品,爆款数据";
|
||||
|
||||
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"))
|
||||
html = GetHtml.PostUtf8(url, data);
|
||||
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
var jArr = JObject.Parse(html)["data"];
|
||||
if (jArr.Count() == 0)
|
||||
return null;
|
||||
var sProd = JsonHelper.SerializeObject(jArr);
|
||||
|
||||
try
|
||||
{
|
||||
list = JsonHelper.DeserializeJsonToList<KJDDBProduct>(sProd);
|
||||
var item = list.FirstOrDefault();
|
||||
if (item == null)
|
||||
item = new KJDDBProduct();
|
||||
return item;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
=> ComplianceProductReader.GetProductDetail(prodDbId, out errMsg, noViolationProduct, noBanWx);
|
||||
|
||||
public static KJDDBProduct GetCloudProductDetail(TemuDBProductSelect selectProd, out string errMsg, bool noViolationProduct = false, bool noBanWx = false)
|
||||
{
|
||||
|
||||
+230
-156
@@ -30,23 +30,23 @@ 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();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle30 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle31 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle32 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle33 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle34 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WXUserCollectAuthProdListForm));
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.btn_import_wx = new DevComponents.DotNetBar.PanelEx();
|
||||
@@ -66,6 +66,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnGetProdWxCate = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnDel = new DevComponents.DotNetBar.PanelEx();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.cb_safe = new System.Windows.Forms.ComboBox();
|
||||
this.label11 = new System.Windows.Forms.Label();
|
||||
this.cmbNotes = new System.Windows.Forms.ComboBox();
|
||||
this.label9 = new System.Windows.Forms.Label();
|
||||
this.cmbHasFission = new System.Windows.Forms.ComboBox();
|
||||
@@ -94,6 +96,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.chkTime = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.dtpStart = new System.Windows.Forms.DateTimePicker();
|
||||
this.dtpEnd = new System.Windows.Forms.DateTimePicker();
|
||||
this.btnSafeDetection = new DevComponents.DotNetBar.PanelEx();
|
||||
this.txt_listing_time = new System.Windows.Forms.TextBox();
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
|
||||
@@ -147,6 +151,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.colGetType = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colSpProdType = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colWxSafe = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colDetectionResult = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colAddTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colMdyTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.col_edit = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
@@ -155,7 +160,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.ucSplitPage1 = new TemuKJD.UserControls.UcSplitPage();
|
||||
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
|
||||
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
|
||||
this.txt_listing_time = new System.Windows.Forms.TextBox();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
@@ -581,6 +585,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16.66667F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
||||
this.tableLayoutPanel1.Controls.Add(this.cb_safe, 5, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label11, 4, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.cmbNotes, 7, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label9, 2, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.cmbHasFission, 11, 1);
|
||||
@@ -609,8 +615,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.tableLayoutPanel1.Controls.Add(this.chkTime, 0, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.dtpStart, 1, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.dtpEnd, 3, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label10, 10, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.txt_listing_time, 11, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.btnSafeDetection, 11, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.txt_listing_time, 7, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label10, 6, 2);
|
||||
this.tableLayoutPanel1.Location = new System.Drawing.Point(4, 6);
|
||||
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||
this.tableLayoutPanel1.RowCount = 3;
|
||||
@@ -620,12 +627,40 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(992, 105);
|
||||
this.tableLayoutPanel1.TabIndex = 679;
|
||||
//
|
||||
// cb_safe
|
||||
//
|
||||
this.cb_safe.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cb_safe.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_safe.FormattingEnabled = true;
|
||||
this.cb_safe.Items.AddRange(new object[] {
|
||||
"全部",
|
||||
"安全",
|
||||
"违规",
|
||||
"未检测"});
|
||||
this.cb_safe.Location = new System.Drawing.Point(386, 73);
|
||||
this.cb_safe.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cb_safe.Name = "cb_safe";
|
||||
this.cb_safe.Size = new System.Drawing.Size(99, 25);
|
||||
this.cb_safe.TabIndex = 1201;
|
||||
//
|
||||
// label11
|
||||
//
|
||||
this.label11.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label11.AutoSize = true;
|
||||
this.label11.Location = new System.Drawing.Point(342, 77);
|
||||
this.label11.Margin = new System.Windows.Forms.Padding(3, 7, 0, 0);
|
||||
this.label11.Name = "label11";
|
||||
this.label11.Size = new System.Drawing.Size(44, 17);
|
||||
this.label11.TabIndex = 1199;
|
||||
this.label11.Text = "AI检测";
|
||||
//
|
||||
// cmbNotes
|
||||
//
|
||||
this.cmbNotes.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cmbNotes.FormattingEnabled = true;
|
||||
this.cmbNotes.Location = new System.Drawing.Point(554, 3);
|
||||
this.cmbNotes.Location = new System.Drawing.Point(555, 3);
|
||||
this.cmbNotes.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbNotes.Name = "cmbNotes";
|
||||
this.cmbNotes.Size = new System.Drawing.Size(99, 25);
|
||||
@@ -651,17 +686,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"",
|
||||
"是",
|
||||
"否"});
|
||||
this.cmbHasFission.Location = new System.Drawing.Point(888, 38);
|
||||
this.cmbHasFission.Location = new System.Drawing.Point(889, 38);
|
||||
this.cmbHasFission.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbHasFission.Name = "cmbHasFission";
|
||||
this.cmbHasFission.Size = new System.Drawing.Size(101, 25);
|
||||
this.cmbHasFission.Size = new System.Drawing.Size(100, 25);
|
||||
this.cmbHasFission.TabIndex = 982;
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label8.AutoSize = true;
|
||||
this.label8.Location = new System.Drawing.Point(832, 42);
|
||||
this.label8.Location = new System.Drawing.Point(833, 42);
|
||||
this.label8.Margin = new System.Windows.Forms.Padding(3, 7, 0, 0);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(56, 17);
|
||||
@@ -674,7 +709,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtCatBoundLessThan.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.txtCatBoundLessThan.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.txtCatBoundLessThan.Location = new System.Drawing.Point(723, 38);
|
||||
this.txtCatBoundLessThan.Location = new System.Drawing.Point(724, 38);
|
||||
this.txtCatBoundLessThan.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtCatBoundLessThan.Name = "txtCatBoundLessThan";
|
||||
this.txtCatBoundLessThan.Size = new System.Drawing.Size(99, 25);
|
||||
@@ -684,7 +719,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// chkCatBoundLessThan
|
||||
//
|
||||
this.chkCatBoundLessThan.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.chkCatBoundLessThan.Location = new System.Drawing.Point(659, 40);
|
||||
this.chkCatBoundLessThan.Location = new System.Drawing.Point(660, 40);
|
||||
this.chkCatBoundLessThan.Margin = new System.Windows.Forms.Padding(3, 5, 0, 0);
|
||||
this.chkCatBoundLessThan.Name = "chkCatBoundLessThan";
|
||||
this.chkCatBoundLessThan.Size = new System.Drawing.Size(64, 21);
|
||||
@@ -774,7 +809,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtCatBoundMoreThan.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.txtCatBoundMoreThan.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.txtCatBoundMoreThan.Location = new System.Drawing.Point(554, 38);
|
||||
this.txtCatBoundMoreThan.Location = new System.Drawing.Point(555, 38);
|
||||
this.txtCatBoundMoreThan.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtCatBoundMoreThan.Name = "txtCatBoundMoreThan";
|
||||
this.txtCatBoundMoreThan.Size = new System.Drawing.Size(99, 25);
|
||||
@@ -784,7 +819,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// chkCatBoundMoreThan
|
||||
//
|
||||
this.chkCatBoundMoreThan.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.chkCatBoundMoreThan.Location = new System.Drawing.Point(490, 40);
|
||||
this.chkCatBoundMoreThan.Location = new System.Drawing.Point(491, 40);
|
||||
this.chkCatBoundMoreThan.Margin = new System.Windows.Forms.Padding(3, 5, 0, 0);
|
||||
this.chkCatBoundMoreThan.Name = "chkCatBoundMoreThan";
|
||||
this.chkCatBoundMoreThan.Size = new System.Drawing.Size(64, 21);
|
||||
@@ -826,7 +861,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label17.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label17.AutoSize = true;
|
||||
this.label17.Location = new System.Drawing.Point(342, 42);
|
||||
this.label17.Location = new System.Drawing.Point(343, 42);
|
||||
this.label17.Margin = new System.Windows.Forms.Padding(3, 7, 0, 0);
|
||||
this.label17.Name = "label17";
|
||||
this.label17.Size = new System.Drawing.Size(43, 17);
|
||||
@@ -842,7 +877,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat3.DropDownWidth = 1;
|
||||
this.cmbCat3.FormattingEnabled = true;
|
||||
this.cmbCat3.IntegralHeight = false;
|
||||
this.cmbCat3.Location = new System.Drawing.Point(385, 38);
|
||||
this.cmbCat3.Location = new System.Drawing.Point(386, 38);
|
||||
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);
|
||||
@@ -855,7 +890,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.lblSourceType.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.lblSourceType.AutoSize = true;
|
||||
this.lblSourceType.Location = new System.Drawing.Point(353, 7);
|
||||
this.lblSourceType.Location = new System.Drawing.Point(354, 7);
|
||||
this.lblSourceType.Margin = new System.Windows.Forms.Padding(3, 7, 0, 0);
|
||||
this.lblSourceType.Name = "lblSourceType";
|
||||
this.lblSourceType.Size = new System.Drawing.Size(32, 17);
|
||||
@@ -872,7 +907,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"多多商品",
|
||||
"1688商品",
|
||||
"微信商品"});
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(385, 3);
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(386, 3);
|
||||
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);
|
||||
@@ -884,7 +919,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.lblNotes.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.lblNotes.AutoSize = true;
|
||||
this.lblNotes.Location = new System.Drawing.Point(518, 7);
|
||||
this.lblNotes.Location = new System.Drawing.Point(519, 7);
|
||||
this.lblNotes.Margin = new System.Windows.Forms.Padding(3, 7, 0, 0);
|
||||
this.lblNotes.Name = "lblNotes";
|
||||
this.lblNotes.Size = new System.Drawing.Size(36, 17);
|
||||
@@ -895,7 +930,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label12.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label12.AutoSize = true;
|
||||
this.label12.Location = new System.Drawing.Point(663, 7);
|
||||
this.label12.Location = new System.Drawing.Point(664, 7);
|
||||
this.label12.Margin = new System.Windows.Forms.Padding(3, 7, 0, 0);
|
||||
this.label12.Name = "label12";
|
||||
this.label12.Size = new System.Drawing.Size(60, 17);
|
||||
@@ -911,7 +946,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"",
|
||||
"是",
|
||||
"否"});
|
||||
this.cmbWxCat.Location = new System.Drawing.Point(723, 3);
|
||||
this.cmbWxCat.Location = new System.Drawing.Point(724, 3);
|
||||
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);
|
||||
@@ -921,7 +956,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.lblWxSafe.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.lblWxSafe.AutoSize = true;
|
||||
this.lblWxSafe.Location = new System.Drawing.Point(828, 7);
|
||||
this.lblWxSafe.Location = new System.Drawing.Point(829, 7);
|
||||
this.lblWxSafe.Margin = new System.Windows.Forms.Padding(3, 7, 0, 0);
|
||||
this.lblWxSafe.Name = "lblWxSafe";
|
||||
this.lblWxSafe.Size = new System.Drawing.Size(60, 17);
|
||||
@@ -938,10 +973,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"安全+未校验",
|
||||
"安全商品",
|
||||
"未校验"});
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(888, 3);
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(889, 3);
|
||||
this.cmbWxSafe.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbWxSafe.Name = "cmbWxSafe";
|
||||
this.cmbWxSafe.Size = new System.Drawing.Size(101, 25);
|
||||
this.cmbWxSafe.Size = new System.Drawing.Size(100, 25);
|
||||
this.cmbWxSafe.TabIndex = 676;
|
||||
this.cmbWxSafe.Text = "安全+未校验";
|
||||
//
|
||||
@@ -977,17 +1012,54 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.dtpEnd.Size = new System.Drawing.Size(99, 23);
|
||||
this.dtpEnd.TabIndex = 982;
|
||||
//
|
||||
// btnSafeDetection
|
||||
//
|
||||
this.btnSafeDetection.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnSafeDetection.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnSafeDetection.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnSafeDetection.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnSafeDetection.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnSafeDetection.Location = new System.Drawing.Point(893, 73);
|
||||
this.btnSafeDetection.Name = "btnSafeDetection";
|
||||
this.btnSafeDetection.Size = new System.Drawing.Size(96, 25);
|
||||
this.btnSafeDetection.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSafeDetection.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSafeDetection.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSafeDetection.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnSafeDetection.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnSafeDetection.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnSafeDetection.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnSafeDetection.Style.GradientAngle = 90;
|
||||
this.btnSafeDetection.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSafeDetection.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnSafeDetection.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnSafeDetection.TabIndex = 1202;
|
||||
this.btnSafeDetection.Text = "AI检测";
|
||||
this.btnSafeDetection.Click += new System.EventHandler(this.btnSafeDetection_Click);
|
||||
//
|
||||
// txt_listing_time
|
||||
//
|
||||
this.txt_listing_time.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txt_listing_time.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.txt_listing_time.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.txt_listing_time.Location = new System.Drawing.Point(555, 73);
|
||||
this.txt_listing_time.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txt_listing_time.Name = "txt_listing_time";
|
||||
this.txt_listing_time.Size = new System.Drawing.Size(99, 25);
|
||||
this.txt_listing_time.TabIndex = 984;
|
||||
this.txt_listing_time.Text = "365";
|
||||
//
|
||||
// label10
|
||||
//
|
||||
this.label10.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label10.AutoSize = true;
|
||||
this.label10.Location = new System.Drawing.Point(832, 77);
|
||||
this.label10.Location = new System.Drawing.Point(499, 77);
|
||||
this.label10.Margin = new System.Windows.Forms.Padding(3, 7, 0, 0);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(56, 17);
|
||||
this.label10.TabIndex = 983;
|
||||
this.label10.Text = "上架日期";
|
||||
this.toolTip1.SetToolTip(this.label10, "导入数据时超出时间(天)范围的不导入");
|
||||
//
|
||||
// label7
|
||||
//
|
||||
@@ -1036,14 +1108,14 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.splitContainer2.Panel2.Controls.Add(this.ucSplitPage1);
|
||||
this.splitContainer2.Panel2.Controls.Add(this.statusBar);
|
||||
this.splitContainer2.Size = new System.Drawing.Size(1438, 567);
|
||||
this.splitContainer2.SplitterDistance = 538;
|
||||
this.splitContainer2.SplitterDistance = 537;
|
||||
this.splitContainer2.TabIndex = 0;
|
||||
//
|
||||
// lblRelation
|
||||
//
|
||||
this.lblRelation.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.lblRelation.AutoSize = true;
|
||||
this.lblRelation.Location = new System.Drawing.Point(246, 69);
|
||||
this.lblRelation.Location = new System.Drawing.Point(246, 68);
|
||||
this.lblRelation.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.lblRelation.Name = "lblRelation";
|
||||
this.lblRelation.Size = new System.Drawing.Size(68, 17);
|
||||
@@ -1055,7 +1127,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(694, 244);
|
||||
this.pbLoading.Location = new System.Drawing.Point(694, 243);
|
||||
this.pbLoading.Name = "pbLoading";
|
||||
this.pbLoading.Size = new System.Drawing.Size(50, 50);
|
||||
this.pbLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
@@ -1066,7 +1138,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label16.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label16.AutoSize = true;
|
||||
this.label16.Location = new System.Drawing.Point(22, 197);
|
||||
this.label16.Location = new System.Drawing.Point(22, 196);
|
||||
this.label16.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label16.Name = "label16";
|
||||
this.label16.Size = new System.Drawing.Size(69, 17);
|
||||
@@ -1077,7 +1149,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// 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(91, 129);
|
||||
this.txtRealCoid.Location = new System.Drawing.Point(91, 128);
|
||||
this.txtRealCoid.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtRealCoid.Name = "txtRealCoid";
|
||||
this.txtRealCoid.Size = new System.Drawing.Size(133, 23);
|
||||
@@ -1087,7 +1159,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// 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(91, 194);
|
||||
this.txtSKC.Location = new System.Drawing.Point(91, 193);
|
||||
this.txtSKC.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtSKC.Name = "txtSKC";
|
||||
this.txtSKC.Size = new System.Drawing.Size(133, 23);
|
||||
@@ -1098,7 +1170,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label13.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label13.AutoSize = true;
|
||||
this.label13.Location = new System.Drawing.Point(23, 163);
|
||||
this.label13.Location = new System.Drawing.Point(23, 162);
|
||||
this.label13.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label13.Name = "label13";
|
||||
this.label13.Size = new System.Drawing.Size(68, 17);
|
||||
@@ -1109,7 +1181,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// 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(91, 37);
|
||||
this.txtSecretStyleCode.Location = new System.Drawing.Point(91, 36);
|
||||
this.txtSecretStyleCode.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtSecretStyleCode.Name = "txtSecretStyleCode";
|
||||
this.txtSecretStyleCode.Size = new System.Drawing.Size(133, 23);
|
||||
@@ -1120,7 +1192,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label1.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(22, 133);
|
||||
this.label1.Location = new System.Drawing.Point(22, 132);
|
||||
this.label1.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(69, 17);
|
||||
@@ -1131,7 +1203,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// chkWXComplateProd
|
||||
//
|
||||
this.chkWXComplateProd.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.chkWXComplateProd.Location = new System.Drawing.Point(25, 233);
|
||||
this.chkWXComplateProd.Location = new System.Drawing.Point(25, 232);
|
||||
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);
|
||||
@@ -1144,7 +1216,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.lblGroup.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.lblGroup.AutoSize = true;
|
||||
this.lblGroup.Location = new System.Drawing.Point(270, 37);
|
||||
this.lblGroup.Location = new System.Drawing.Point(270, 36);
|
||||
this.lblGroup.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.lblGroup.Name = "lblGroup";
|
||||
this.lblGroup.Size = new System.Drawing.Size(44, 17);
|
||||
@@ -1156,7 +1228,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.cmbGroupFilter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cmbGroupFilter.FormattingEnabled = true;
|
||||
this.cmbGroupFilter.Location = new System.Drawing.Point(314, 34);
|
||||
this.cmbGroupFilter.Location = new System.Drawing.Point(314, 33);
|
||||
this.cmbGroupFilter.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbGroupFilter.Name = "cmbGroupFilter";
|
||||
this.cmbGroupFilter.Size = new System.Drawing.Size(146, 25);
|
||||
@@ -1167,7 +1239,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label15.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label15.AutoSize = true;
|
||||
this.label15.Location = new System.Drawing.Point(47, 40);
|
||||
this.label15.Location = new System.Drawing.Point(47, 39);
|
||||
this.label15.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label15.Name = "label15";
|
||||
this.label15.Size = new System.Drawing.Size(44, 17);
|
||||
@@ -1178,7 +1250,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// 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(91, 67);
|
||||
this.txtExtCode.Location = new System.Drawing.Point(91, 66);
|
||||
this.txtExtCode.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtExtCode.Name = "txtExtCode";
|
||||
this.txtExtCode.Size = new System.Drawing.Size(133, 23);
|
||||
@@ -1189,7 +1261,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label4.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(47, 70);
|
||||
this.label4.Location = new System.Drawing.Point(47, 69);
|
||||
this.label4.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(44, 17);
|
||||
@@ -1206,7 +1278,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"是",
|
||||
"否",
|
||||
"导出未拉回"});
|
||||
this.cmbExportToOutServer.Location = new System.Drawing.Point(91, 159);
|
||||
this.cmbExportToOutServer.Location = new System.Drawing.Point(91, 158);
|
||||
this.cmbExportToOutServer.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbExportToOutServer.Name = "cmbExportToOutServer";
|
||||
this.cmbExportToOutServer.Size = new System.Drawing.Size(133, 25);
|
||||
@@ -1221,7 +1293,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"",
|
||||
"是",
|
||||
"否"});
|
||||
this.cmbRelation.Location = new System.Drawing.Point(314, 69);
|
||||
this.cmbRelation.Location = new System.Drawing.Point(314, 68);
|
||||
this.cmbRelation.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbRelation.Name = "cmbRelation";
|
||||
this.cmbRelation.Size = new System.Drawing.Size(146, 25);
|
||||
@@ -1235,7 +1307,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbSort.Items.AddRange(new object[] {
|
||||
"入库时间",
|
||||
"认领总数"});
|
||||
this.cmbSort.Location = new System.Drawing.Point(91, 96);
|
||||
this.cmbSort.Location = new System.Drawing.Point(91, 95);
|
||||
this.cmbSort.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbSort.Name = "cmbSort";
|
||||
this.cmbSort.Size = new System.Drawing.Size(133, 25);
|
||||
@@ -1247,7 +1319,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label6.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(47, 100);
|
||||
this.label6.Location = new System.Drawing.Point(47, 99);
|
||||
this.label6.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(44, 17);
|
||||
@@ -1259,20 +1331,20 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.dgvDbProduct.AllowUserToAddRows = false;
|
||||
this.dgvDbProduct.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvDbProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
||||
dataGridViewCellStyle18.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvDbProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle18;
|
||||
this.dgvDbProduct.AutoRowNumber = true;
|
||||
this.dgvDbProduct.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
||||
this.dgvDbProduct.BackgroundColor = System.Drawing.Color.White;
|
||||
this.dgvDbProduct.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.dgvDbProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
||||
dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle19.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle19.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle19.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle19.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle19.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle19.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvDbProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle19;
|
||||
this.dgvDbProduct.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvDbProduct.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.colSelect,
|
||||
@@ -1306,6 +1378,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.colGetType,
|
||||
this.colSpProdType,
|
||||
this.colWxSafe,
|
||||
this.colDetectionResult,
|
||||
this.colAddTime,
|
||||
this.colMdyTime,
|
||||
this.col_edit,
|
||||
@@ -1317,7 +1390,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.dgvDbProduct.Name = "dgvDbProduct";
|
||||
this.dgvDbProduct.ReadOnly = true;
|
||||
this.dgvDbProduct.RowTemplate.Height = 23;
|
||||
this.dgvDbProduct.Size = new System.Drawing.Size(1430, 538);
|
||||
this.dgvDbProduct.Size = new System.Drawing.Size(1430, 537);
|
||||
this.dgvDbProduct.TabIndex = 6;
|
||||
this.dgvDbProduct.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvDbProduct_CellContentClick);
|
||||
this.dgvDbProduct.Scroll += new System.Windows.Forms.ScrollEventHandler(this.dgvDbProduct_Scroll);
|
||||
@@ -1355,8 +1428,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// col_product_name
|
||||
//
|
||||
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.col_product_name.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
dataGridViewCellStyle20.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.col_product_name.DefaultCellStyle = dataGridViewCellStyle20;
|
||||
this.col_product_name.FillWeight = 140F;
|
||||
this.col_product_name.HeaderText = "标题";
|
||||
this.col_product_name.Name = "col_product_name";
|
||||
@@ -1399,8 +1472,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// col_spu_id
|
||||
//
|
||||
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.col_spu_id.DefaultCellStyle = dataGridViewCellStyle4;
|
||||
dataGridViewCellStyle21.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.col_spu_id.DefaultCellStyle = dataGridViewCellStyle21;
|
||||
this.col_spu_id.HeaderText = "真实商品Id";
|
||||
this.col_spu_id.Name = "col_spu_id";
|
||||
this.col_spu_id.ReadOnly = true;
|
||||
@@ -1422,8 +1495,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// colMainCate
|
||||
//
|
||||
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colMainCate.DefaultCellStyle = dataGridViewCellStyle5;
|
||||
dataGridViewCellStyle22.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colMainCate.DefaultCellStyle = dataGridViewCellStyle22;
|
||||
this.colMainCate.FillWeight = 50F;
|
||||
this.colMainCate.HeaderText = "主类目";
|
||||
this.colMainCate.Name = "colMainCate";
|
||||
@@ -1431,8 +1504,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// col_cat_name
|
||||
//
|
||||
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.col_cat_name.DefaultCellStyle = dataGridViewCellStyle6;
|
||||
dataGridViewCellStyle23.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.col_cat_name.DefaultCellStyle = dataGridViewCellStyle23;
|
||||
this.col_cat_name.FillWeight = 60F;
|
||||
this.col_cat_name.HeaderText = "类目";
|
||||
this.col_cat_name.Name = "col_cat_name";
|
||||
@@ -1447,8 +1520,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// col_ext_code
|
||||
//
|
||||
dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.col_ext_code.DefaultCellStyle = dataGridViewCellStyle7;
|
||||
dataGridViewCellStyle24.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.col_ext_code.DefaultCellStyle = dataGridViewCellStyle24;
|
||||
this.col_ext_code.HeaderText = "货号";
|
||||
this.col_ext_code.Name = "col_ext_code";
|
||||
this.col_ext_code.ReadOnly = true;
|
||||
@@ -1456,8 +1529,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// colStyleCode
|
||||
//
|
||||
dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colStyleCode.DefaultCellStyle = dataGridViewCellStyle8;
|
||||
dataGridViewCellStyle25.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colStyleCode.DefaultCellStyle = dataGridViewCellStyle25;
|
||||
this.colStyleCode.HeaderText = "资料编码/真实上家";
|
||||
this.colStyleCode.Name = "colStyleCode";
|
||||
this.colStyleCode.ReadOnly = true;
|
||||
@@ -1465,8 +1538,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// colGroup
|
||||
//
|
||||
dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colGroup.DefaultCellStyle = dataGridViewCellStyle9;
|
||||
dataGridViewCellStyle26.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colGroup.DefaultCellStyle = dataGridViewCellStyle26;
|
||||
this.colGroup.HeaderText = "分组";
|
||||
this.colGroup.Name = "colGroup";
|
||||
this.colGroup.ReadOnly = true;
|
||||
@@ -1474,8 +1547,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// colPriceText
|
||||
//
|
||||
dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colPriceText.DefaultCellStyle = dataGridViewCellStyle10;
|
||||
dataGridViewCellStyle27.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colPriceText.DefaultCellStyle = dataGridViewCellStyle27;
|
||||
this.colPriceText.FillWeight = 60F;
|
||||
this.colPriceText.HeaderText = "母店价格";
|
||||
this.colPriceText.Name = "colPriceText";
|
||||
@@ -1525,8 +1598,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// col_notes
|
||||
//
|
||||
dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.col_notes.DefaultCellStyle = dataGridViewCellStyle11;
|
||||
dataGridViewCellStyle28.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.col_notes.DefaultCellStyle = dataGridViewCellStyle28;
|
||||
this.col_notes.FillWeight = 70F;
|
||||
this.col_notes.HeaderText = "备注";
|
||||
this.col_notes.Name = "col_notes";
|
||||
@@ -1534,8 +1607,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// colHeadWords
|
||||
//
|
||||
dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colHeadWords.DefaultCellStyle = dataGridViewCellStyle12;
|
||||
dataGridViewCellStyle29.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colHeadWords.DefaultCellStyle = dataGridViewCellStyle29;
|
||||
this.colHeadWords.HeaderText = "标题前缀";
|
||||
this.colHeadWords.Name = "colHeadWords";
|
||||
this.colHeadWords.ReadOnly = true;
|
||||
@@ -1543,8 +1616,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// colEndWords
|
||||
//
|
||||
dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colEndWords.DefaultCellStyle = dataGridViewCellStyle13;
|
||||
dataGridViewCellStyle30.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colEndWords.DefaultCellStyle = dataGridViewCellStyle30;
|
||||
this.colEndWords.HeaderText = "标题后缀";
|
||||
this.colEndWords.Name = "colEndWords";
|
||||
this.colEndWords.ReadOnly = true;
|
||||
@@ -1552,16 +1625,16 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// colFissionWords
|
||||
//
|
||||
dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colFissionWords.DefaultCellStyle = dataGridViewCellStyle14;
|
||||
dataGridViewCellStyle31.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colFissionWords.DefaultCellStyle = dataGridViewCellStyle31;
|
||||
this.colFissionWords.HeaderText = "裂变标题";
|
||||
this.colFissionWords.Name = "colFissionWords";
|
||||
this.colFissionWords.ReadOnly = true;
|
||||
//
|
||||
// colGetType
|
||||
//
|
||||
dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colGetType.DefaultCellStyle = dataGridViewCellStyle15;
|
||||
dataGridViewCellStyle32.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colGetType.DefaultCellStyle = dataGridViewCellStyle32;
|
||||
this.colGetType.FillWeight = 70F;
|
||||
this.colGetType.HeaderText = "采集来源";
|
||||
this.colGetType.Name = "colGetType";
|
||||
@@ -1582,10 +1655,20 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.colWxSafe.Name = "colWxSafe";
|
||||
this.colWxSafe.ReadOnly = true;
|
||||
//
|
||||
// colDetectionResult
|
||||
//
|
||||
this.colDetectionResult.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
||||
this.colDetectionResult.HeaderText = "AI检测结果";
|
||||
this.colDetectionResult.MinimumWidth = 50;
|
||||
this.colDetectionResult.Name = "colDetectionResult";
|
||||
this.colDetectionResult.ReadOnly = true;
|
||||
this.colDetectionResult.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
this.colDetectionResult.Width = 160;
|
||||
//
|
||||
// colAddTime
|
||||
//
|
||||
dataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colAddTime.DefaultCellStyle = dataGridViewCellStyle16;
|
||||
dataGridViewCellStyle33.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colAddTime.DefaultCellStyle = dataGridViewCellStyle33;
|
||||
this.colAddTime.FillWeight = 70F;
|
||||
this.colAddTime.HeaderText = "入库时间";
|
||||
this.colAddTime.Name = "colAddTime";
|
||||
@@ -1593,8 +1676,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// colMdyTime
|
||||
//
|
||||
dataGridViewCellStyle17.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colMdyTime.DefaultCellStyle = dataGridViewCellStyle17;
|
||||
dataGridViewCellStyle34.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colMdyTime.DefaultCellStyle = dataGridViewCellStyle34;
|
||||
this.colMdyTime.FillWeight = 70F;
|
||||
this.colMdyTime.HeaderText = "更新时间";
|
||||
this.colMdyTime.Name = "colMdyTime";
|
||||
@@ -1639,7 +1722,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.ucSplitPage1.Name = "ucSplitPage1";
|
||||
this.ucSplitPage1.Padding = new System.Windows.Forms.Padding(0, 0, 1, 0);
|
||||
this.ucSplitPage1.PageSize = 100;
|
||||
this.ucSplitPage1.Size = new System.Drawing.Size(453, 25);
|
||||
this.ucSplitPage1.Size = new System.Drawing.Size(453, 26);
|
||||
this.ucSplitPage1.TabIndex = 6;
|
||||
this.ucSplitPage1.TotalCount = ((long)(0));
|
||||
this.ucSplitPage1.TotalPage = 1;
|
||||
@@ -1652,22 +1735,9 @@ 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(1438, 25);
|
||||
this.statusBar.Size = new System.Drawing.Size(1438, 26);
|
||||
this.statusBar.TabIndex = 5;
|
||||
//
|
||||
// txt_listing_time
|
||||
//
|
||||
this.txt_listing_time.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txt_listing_time.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.txt_listing_time.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.txt_listing_time.Location = new System.Drawing.Point(888, 73);
|
||||
this.txt_listing_time.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txt_listing_time.Name = "txt_listing_time";
|
||||
this.txt_listing_time.Size = new System.Drawing.Size(101, 25);
|
||||
this.txt_listing_time.TabIndex = 984;
|
||||
this.txt_listing_time.Text = "365";
|
||||
//
|
||||
// WXUserCollectAuthProdListForm
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
@@ -1764,54 +1834,58 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
private System.Windows.Forms.Label label8;
|
||||
private System.Windows.Forms.ComboBox cmbHasFission;
|
||||
private DevComponents.DotNetBar.PanelEx btnAITitleFission;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_db_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colFromShopId;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colFromShopName;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_product_name;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colImgUrl;
|
||||
private System.Windows.Forms.DataGridViewImageColumn colMainImg;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSkuReplaceImgUrl;
|
||||
private System.Windows.Forms.DataGridViewImageColumn colSkuReplaceImg;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_spu_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSpuIdShow;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_skc_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colMainCate;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_cat_name;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colCatBound;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_ext_code;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colStyleCode;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colGroup;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colPriceText;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colExtCodePrice;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn colEdit;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colAddTimes;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSelectTotalCount;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSaleCount;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_notes;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colHeadWords;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colEndWords;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colFissionWords;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colGetType;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSpProdType;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colWxSafe;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colAddTime;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colMdyTime;
|
||||
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 btnBatchEditNotes;
|
||||
private System.Windows.Forms.DateTimePicker dtpStart;
|
||||
private System.Windows.Forms.DateTimePicker dtpEnd;
|
||||
private UserComponent.UcCheckBox chkTime;
|
||||
private System.Windows.Forms.Label label9;
|
||||
private DevComponents.DotNetBar.PanelEx btnEditNotes;
|
||||
public System.Windows.Forms.ComboBox cmbNotes;
|
||||
public System.Windows.Forms.ComboBox cmbBatchEditNotes;
|
||||
private DevComponents.DotNetBar.PanelEx btnBatchEditCate;
|
||||
private DevComponents.DotNetBar.PanelEx btn_import_wx;
|
||||
private System.Windows.Forms.Label label10;
|
||||
private System.Windows.Forms.ToolTip toolTip1;
|
||||
private System.Windows.Forms.Label label9;
|
||||
private UserComponent.UcCheckBox chkTime;
|
||||
private System.Windows.Forms.DateTimePicker dtpStart;
|
||||
private System.Windows.Forms.DateTimePicker dtpEnd;
|
||||
private System.Windows.Forms.Label label10;
|
||||
private System.Windows.Forms.TextBox txt_listing_time;
|
||||
private System.Windows.Forms.Label label11;
|
||||
public System.Windows.Forms.ComboBox cb_safe;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_db_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colFromShopId;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colFromShopName;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_product_name;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colImgUrl;
|
||||
private System.Windows.Forms.DataGridViewImageColumn colMainImg;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSkuReplaceImgUrl;
|
||||
private System.Windows.Forms.DataGridViewImageColumn colSkuReplaceImg;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_spu_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSpuIdShow;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_skc_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colMainCate;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_cat_name;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colCatBound;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_ext_code;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colStyleCode;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colGroup;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colPriceText;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colExtCodePrice;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn colEdit;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colAddTimes;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSelectTotalCount;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSaleCount;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn col_notes;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colHeadWords;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colEndWords;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colFissionWords;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colGetType;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSpProdType;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colWxSafe;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colDetectionResult;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colAddTime;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colMdyTime;
|
||||
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 btnSafeDetection;
|
||||
}
|
||||
}
|
||||
@@ -28,12 +28,14 @@ using TemuKJD.Extension;
|
||||
using TemuKJD.PDDForms.ProductSelectForms;
|
||||
using TemuKJD.ToolForms;
|
||||
using Work;
|
||||
using Work.Services;
|
||||
|
||||
namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
public partial class WXUserCollectAuthProdListForm : BaseGeneralForm
|
||||
{
|
||||
ShopLoginInfo shop = null;
|
||||
private CancellationTokenSource detection;
|
||||
public CancellationTokenSource cancellationTokenSource { get; set; } = new CancellationTokenSource();
|
||||
|
||||
ConcurrentList<KJDDBProduct> lstTemuDbProduct = new ConcurrentList<KJDDBProduct>();
|
||||
@@ -42,11 +44,13 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
public WXUserCollectAuthProdListForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
Disposed += (sender, e) => detection?.Cancel();
|
||||
}
|
||||
|
||||
public WXUserCollectAuthProdListForm(ShopLoginInfo _shop)
|
||||
{
|
||||
InitializeComponent();
|
||||
Disposed += (sender, e) => detection?.Cancel();
|
||||
shop = _shop;
|
||||
}
|
||||
|
||||
@@ -61,7 +65,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
PDDDBProdListForm.GetPDDProductNotes(new List<ComboBox> { cmbNotes }, addUserName);
|
||||
PDDDBProdListForm.GetPDDProductNotes(new List<ComboBox> { cmbBatchEditNotes }, addUserName);
|
||||
});
|
||||
|
||||
cb_safe.SelectedIndex = 0;
|
||||
//chkCatBoundLessThan.Visible = false;
|
||||
//chkCatBoundMoreThan.Visible = false;
|
||||
//tableLayoutPanel1.SetColumn(lblSourceType, 2);
|
||||
@@ -271,11 +275,13 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
.Replace("已采集数据", "1688商品").Replace("机会商品", "多多商品").Replace("多多外部数据", "多多商品").Replace("微信店采", "微信商品"),
|
||||
prod.special_prod_type,
|
||||
prod.wx_safe_status,
|
||||
prod.is_safe == null ? "未检测" : prod.is_safe.Value ==true ? "安全" : "违规",
|
||||
prod.add_time.ToString("yy-MM-dd HH:mm"),
|
||||
prod.mdy_time.ToString("yy-MM-dd HH:mm"),
|
||||
"编辑",
|
||||
"删除",
|
||||
"认领"
|
||||
"认领",
|
||||
"未检测"
|
||||
);
|
||||
|
||||
dgvDbProduct.Rows[rowIndex].Height = dgvDbProduct.Columns["colMainImg"].Width;
|
||||
@@ -523,9 +529,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
data += "&no_fission_words=true";
|
||||
}
|
||||
|
||||
data += "&safe_status=" + cb_safe.SelectedIndex;
|
||||
if (isNotCount)
|
||||
data += "&is_not_count=true";
|
||||
data += "&is_not_count=true";
|
||||
}));
|
||||
var html = GetHtml.PostUtf8(url, data);
|
||||
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
|
||||
@@ -981,6 +987,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
|
||||
private void WXUserProdListForm_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
detection?.Cancel();
|
||||
this.Hide();
|
||||
e.Cancel = true;
|
||||
}
|
||||
@@ -1275,6 +1282,89 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
SearchDbProd(1);
|
||||
}
|
||||
|
||||
private async void btnSafeDetection_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (detection != null)
|
||||
{
|
||||
detection.Cancel();
|
||||
btnSafeDetection.Text = "正在停止";
|
||||
return;
|
||||
}
|
||||
if (pbLoading.Visible || !btnSelect.Enabled || !btn_import_wx.Enabled)
|
||||
{
|
||||
BaseMsgForm.ShowInfo("请等待当前操作完成后再检测。");
|
||||
return;
|
||||
}
|
||||
var rows = dgvDbProduct.Rows.Cast<DataGridViewRow>()
|
||||
.Where(row => row.Cells["colSelect"].Value.ParseToBool()).ToList();
|
||||
var ids = rows.Select(row => row.Cells["col_db_id"].Value.ParseToInt()).ToList();
|
||||
var productDict = lstTemuDbProduct
|
||||
.Where(p => ids.Contains(p.id))
|
||||
.ToDictionary(p => p.id);
|
||||
|
||||
var selected = ids
|
||||
.Where(id => productDict.ContainsKey(id))
|
||||
.Select(id =>
|
||||
{
|
||||
var prod = productDict[id];
|
||||
return new ComplianceGoods
|
||||
{
|
||||
id = prod.id.ToString(),
|
||||
name = prod.product_name,
|
||||
image = prod.main_img,
|
||||
type = ComplianceGoods.Library
|
||||
};
|
||||
})
|
||||
.ToList();
|
||||
|
||||
|
||||
if (selected.Count == 0)
|
||||
{
|
||||
BaseMsgForm.ShowInfo("请选择商品");
|
||||
return;
|
||||
}
|
||||
if (BaseClass.ImageAnalysisQuota > 0)
|
||||
{
|
||||
BaseMsgForm.ShowInfo($"当前AI检测剩余:{BaseClass.ImageAnalysisQuota}张");
|
||||
}
|
||||
else
|
||||
{
|
||||
BaseMsgForm.ShowInfo($"当前AI检测剩余:{BaseClass.ImageAnalysisQuota}张,请兑换");
|
||||
return;
|
||||
}
|
||||
|
||||
var originalText = btnSafeDetection.Text;
|
||||
detection = new CancellationTokenSource();
|
||||
try
|
||||
{
|
||||
|
||||
btnSafeDetection.Text = "停止检测";
|
||||
var result = await GoodsComplianceService.DetectSelectedAsync(selected, ComplianceProductReader.Read, (id, status) =>
|
||||
{
|
||||
if (IsDisposed) return;
|
||||
foreach (var row in rows.Where(r => r.Cells["col_db_id"].Value.ParseToString() == id))
|
||||
row.Cells["colDetectionResult"].Value = status;
|
||||
}, detection.Token);
|
||||
if (!IsDisposed)
|
||||
{
|
||||
var title = result.Unfinished > 0 ? "AI 检测已停止" : "AI 检测完成";
|
||||
BaseMsgForm.ShowInfo($"{title}:安全 {result.Safe},有风险 {result.Risk},失败 {result.Failed},未完成 {result.Unfinished}。");
|
||||
}
|
||||
}
|
||||
catch (Exception ex) { if (!IsDisposed) MessageBox.Show(this, ex.Message); }
|
||||
finally
|
||||
{
|
||||
detection.Dispose();
|
||||
detection = null;
|
||||
if (!IsDisposed)
|
||||
{
|
||||
|
||||
btnSafeDetection.Text = originalText;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void btnAITitleFission_Click(object sender, EventArgs e)
|
||||
{
|
||||
var lstProdId = dgvDbProduct.Rows.Cast<DataGridViewRow>().Where(row
|
||||
@@ -1375,6 +1465,5 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
SearchDbProd(this.ucSplitPage1.CurrentPage);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -117,9 +117,6 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="colSelect.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
@@ -228,6 +225,9 @@
|
||||
<metadata name="col_select_product.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
|
||||
Reference in new issue
Block a user