商品预售/下架 改名 商品管理
增加本地搜索功能
This commit is contained in:
1 parent
09769d8d48
commit
a95658cac6
5 files changed
+272
-153
No files matched your search
@@ -381,7 +381,7 @@ namespace TemuKJD.WXForms.AdminForms
|
|||||||
this.lblShopPointsPerMonthUserId.Text = uid;
|
this.lblShopPointsPerMonthUserId.Text = uid;
|
||||||
|
|
||||||
|
|
||||||
this.num_shop_renewal_platform_floor_fee.Value = AllUsers.FirstOrDefault(a => a.user_name == mobile)?.shop_renewal_platform_floor_fee ?? 0;
|
this.num_shop_renewal_platform_floor_fee.Value = AllUsers.FirstOrDefault(a => a.user_name == mobile)?.shop_renewal_platform_floor_fee ?? 5;
|
||||||
}
|
}
|
||||||
if (columName == "colChangePostagePerOrder")
|
if (columName == "colChangePostagePerOrder")
|
||||||
{
|
{
|
||||||
|
|||||||
+130
-61
@@ -43,6 +43,10 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = 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 dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||||
|
this.ucGroupBoxEx5 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||||
|
this.btn_prodFilter = new DevComponents.DotNetBar.PanelEx();
|
||||||
|
this.txt_filter_keywrods = new System.Windows.Forms.TextBox();
|
||||||
|
this.label8 = new System.Windows.Forms.Label();
|
||||||
this.ucGroupBoxEx3 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
this.ucGroupBoxEx3 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||||
this.btnBatchRealDel = new DevComponents.DotNetBar.PanelEx();
|
this.btnBatchRealDel = new DevComponents.DotNetBar.PanelEx();
|
||||||
this.btnSelectLimit2 = new DevComponents.DotNetBar.PanelEx();
|
this.btnSelectLimit2 = new DevComponents.DotNetBar.PanelEx();
|
||||||
@@ -72,6 +76,7 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
this.btnClearDgv = new DevComponents.DotNetBar.PanelEx();
|
this.btnClearDgv = new DevComponents.DotNetBar.PanelEx();
|
||||||
this.btnSetPreSale = new DevComponents.DotNetBar.PanelEx();
|
this.btnSetPreSale = new DevComponents.DotNetBar.PanelEx();
|
||||||
this.ucGroupBoxEx4 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
this.ucGroupBoxEx4 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||||
|
this.comboBox1 = new System.Windows.Forms.ComboBox();
|
||||||
this.label5 = new System.Windows.Forms.Label();
|
this.label5 = new System.Windows.Forms.Label();
|
||||||
this.chkSearchPromotionLink = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
this.chkSearchPromotionLink = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||||
this.cmbOnSaleStatus = new System.Windows.Forms.ComboBox();
|
this.cmbOnSaleStatus = new System.Windows.Forms.ComboBox();
|
||||||
@@ -159,11 +164,11 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
this.colOpResult = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.colOpResult = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.splitContainer4 = new System.Windows.Forms.SplitContainer();
|
this.splitContainer4 = new System.Windows.Forms.SplitContainer();
|
||||||
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
|
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
|
||||||
this.comboBox1 = new System.Windows.Forms.ComboBox();
|
|
||||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||||
this.splitContainer1.Panel1.SuspendLayout();
|
this.splitContainer1.Panel1.SuspendLayout();
|
||||||
this.splitContainer1.Panel2.SuspendLayout();
|
this.splitContainer1.Panel2.SuspendLayout();
|
||||||
this.splitContainer1.SuspendLayout();
|
this.splitContainer1.SuspendLayout();
|
||||||
|
this.ucGroupBoxEx5.SuspendLayout();
|
||||||
this.ucGroupBoxEx3.SuspendLayout();
|
this.ucGroupBoxEx3.SuspendLayout();
|
||||||
this.ucGroupBoxEx2.SuspendLayout();
|
this.ucGroupBoxEx2.SuspendLayout();
|
||||||
this.ucGroupBoxEx4.SuspendLayout();
|
this.ucGroupBoxEx4.SuspendLayout();
|
||||||
@@ -195,6 +200,7 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
//
|
//
|
||||||
// splitContainer1.Panel1
|
// splitContainer1.Panel1
|
||||||
//
|
//
|
||||||
|
this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx5);
|
||||||
this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx3);
|
this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx3);
|
||||||
this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx2);
|
this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx2);
|
||||||
this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx4);
|
this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx4);
|
||||||
@@ -203,10 +209,72 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
// splitContainer1.Panel2
|
// splitContainer1.Panel2
|
||||||
//
|
//
|
||||||
this.splitContainer1.Panel2.Controls.Add(this.splitContainer3);
|
this.splitContainer1.Panel2.Controls.Add(this.splitContainer3);
|
||||||
this.splitContainer1.Size = new System.Drawing.Size(1346, 641);
|
this.splitContainer1.Size = new System.Drawing.Size(1339, 641);
|
||||||
this.splitContainer1.SplitterDistance = 165;
|
this.splitContainer1.SplitterDistance = 165;
|
||||||
this.splitContainer1.TabIndex = 11;
|
this.splitContainer1.TabIndex = 11;
|
||||||
//
|
//
|
||||||
|
// ucGroupBoxEx5
|
||||||
|
//
|
||||||
|
this.ucGroupBoxEx5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||||
|
| System.Windows.Forms.AnchorStyles.Left)));
|
||||||
|
this.ucGroupBoxEx5.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||||
|
this.ucGroupBoxEx5.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
|
||||||
|
this.ucGroupBoxEx5.Controls.Add(this.btn_prodFilter);
|
||||||
|
this.ucGroupBoxEx5.Controls.Add(this.txt_filter_keywrods);
|
||||||
|
this.ucGroupBoxEx5.Controls.Add(this.label8);
|
||||||
|
this.ucGroupBoxEx5.Location = new System.Drawing.Point(466, 3);
|
||||||
|
this.ucGroupBoxEx5.Name = "ucGroupBoxEx5";
|
||||||
|
this.ucGroupBoxEx5.Size = new System.Drawing.Size(197, 159);
|
||||||
|
this.ucGroupBoxEx5.TabIndex = 669;
|
||||||
|
this.ucGroupBoxEx5.TabStop = false;
|
||||||
|
this.ucGroupBoxEx5.Text = "商品过滤";
|
||||||
|
//
|
||||||
|
// btn_prodFilter
|
||||||
|
//
|
||||||
|
this.btn_prodFilter.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||||
|
this.btn_prodFilter.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
|
this.btn_prodFilter.DisabledBackColor = System.Drawing.Color.Empty;
|
||||||
|
this.btn_prodFilter.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
|
this.btn_prodFilter.Location = new System.Drawing.Point(10, 128);
|
||||||
|
this.btn_prodFilter.Name = "btn_prodFilter";
|
||||||
|
this.btn_prodFilter.Size = new System.Drawing.Size(175, 25);
|
||||||
|
this.btn_prodFilter.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||||
|
this.btn_prodFilter.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||||
|
this.btn_prodFilter.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||||
|
this.btn_prodFilter.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||||
|
this.btn_prodFilter.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||||
|
this.btn_prodFilter.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||||
|
this.btn_prodFilter.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||||
|
this.btn_prodFilter.Style.GradientAngle = 90;
|
||||||
|
this.btn_prodFilter.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||||
|
this.btn_prodFilter.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||||
|
this.btn_prodFilter.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||||
|
this.btn_prodFilter.TabIndex = 1010;
|
||||||
|
this.btn_prodFilter.Text = "过滤";
|
||||||
|
this.btn_prodFilter.Click += new System.EventHandler(this.btn_prodFilter_Click);
|
||||||
|
//
|
||||||
|
// txt_filter_keywrods
|
||||||
|
//
|
||||||
|
this.txt_filter_keywrods.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||||
|
this.txt_filter_keywrods.Location = new System.Drawing.Point(10, 38);
|
||||||
|
this.txt_filter_keywrods.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||||
|
this.txt_filter_keywrods.Multiline = true;
|
||||||
|
this.txt_filter_keywrods.Name = "txt_filter_keywrods";
|
||||||
|
this.txt_filter_keywrods.Size = new System.Drawing.Size(175, 85);
|
||||||
|
this.txt_filter_keywrods.TabIndex = 1005;
|
||||||
|
this.txt_filter_keywrods.Text = "手表\r\n鞋子";
|
||||||
|
//
|
||||||
|
// label8
|
||||||
|
//
|
||||||
|
this.label8.AutoSize = true;
|
||||||
|
this.label8.Location = new System.Drawing.Point(10, 19);
|
||||||
|
this.label8.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||||
|
this.label8.Name = "label8";
|
||||||
|
this.label8.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
|
||||||
|
this.label8.Size = new System.Drawing.Size(56, 17);
|
||||||
|
this.label8.TabIndex = 1006;
|
||||||
|
this.label8.Text = "标题过滤";
|
||||||
|
//
|
||||||
// ucGroupBoxEx3
|
// ucGroupBoxEx3
|
||||||
//
|
//
|
||||||
this.ucGroupBoxEx3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
this.ucGroupBoxEx3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||||
@@ -224,21 +292,20 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
this.ucGroupBoxEx3.Controls.Add(this.btnStopUpDownOrDel);
|
this.ucGroupBoxEx3.Controls.Add(this.btnStopUpDownOrDel);
|
||||||
this.ucGroupBoxEx3.Controls.Add(this.btnClearList);
|
this.ucGroupBoxEx3.Controls.Add(this.btnClearList);
|
||||||
this.ucGroupBoxEx3.Controls.Add(this.btnDown);
|
this.ucGroupBoxEx3.Controls.Add(this.btnDown);
|
||||||
this.ucGroupBoxEx3.Location = new System.Drawing.Point(1004, 2);
|
this.ucGroupBoxEx3.Location = new System.Drawing.Point(1070, 3);
|
||||||
this.ucGroupBoxEx3.Name = "ucGroupBoxEx3";
|
this.ucGroupBoxEx3.Name = "ucGroupBoxEx3";
|
||||||
this.ucGroupBoxEx3.Size = new System.Drawing.Size(340, 165);
|
this.ucGroupBoxEx3.Size = new System.Drawing.Size(265, 165);
|
||||||
this.ucGroupBoxEx3.TabIndex = 668;
|
this.ucGroupBoxEx3.TabIndex = 668;
|
||||||
this.ucGroupBoxEx3.TabStop = false;
|
this.ucGroupBoxEx3.TabStop = false;
|
||||||
this.ucGroupBoxEx3.Text = "商品下架";
|
this.ucGroupBoxEx3.Text = "商品下架";
|
||||||
//
|
//
|
||||||
// btnBatchRealDel
|
// btnBatchRealDel
|
||||||
//
|
//
|
||||||
this.btnBatchRealDel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
||||||
this.btnBatchRealDel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
this.btnBatchRealDel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||||
this.btnBatchRealDel.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.btnBatchRealDel.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.btnBatchRealDel.DisabledBackColor = System.Drawing.Color.Empty;
|
this.btnBatchRealDel.DisabledBackColor = System.Drawing.Color.Empty;
|
||||||
this.btnBatchRealDel.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
this.btnBatchRealDel.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
this.btnBatchRealDel.Location = new System.Drawing.Point(234, 91);
|
this.btnBatchRealDel.Location = new System.Drawing.Point(169, 90);
|
||||||
this.btnBatchRealDel.Name = "btnBatchRealDel";
|
this.btnBatchRealDel.Name = "btnBatchRealDel";
|
||||||
this.btnBatchRealDel.Size = new System.Drawing.Size(84, 23);
|
this.btnBatchRealDel.Size = new System.Drawing.Size(84, 23);
|
||||||
this.btnBatchRealDel.Style.Alignment = System.Drawing.StringAlignment.Center;
|
this.btnBatchRealDel.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||||
@@ -262,7 +329,7 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
this.btnSelectLimit2.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.btnSelectLimit2.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.btnSelectLimit2.DisabledBackColor = System.Drawing.Color.Empty;
|
this.btnSelectLimit2.DisabledBackColor = System.Drawing.Color.Empty;
|
||||||
this.btnSelectLimit2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
this.btnSelectLimit2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
this.btnSelectLimit2.Location = new System.Drawing.Point(32, 91);
|
this.btnSelectLimit2.Location = new System.Drawing.Point(13, 90);
|
||||||
this.btnSelectLimit2.Name = "btnSelectLimit2";
|
this.btnSelectLimit2.Name = "btnSelectLimit2";
|
||||||
this.btnSelectLimit2.Size = new System.Drawing.Size(153, 23);
|
this.btnSelectLimit2.Size = new System.Drawing.Size(153, 23);
|
||||||
this.btnSelectLimit2.Style.Alignment = System.Drawing.StringAlignment.Center;
|
this.btnSelectLimit2.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||||
@@ -286,7 +353,7 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
this.btnSelectLimit1.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.btnSelectLimit1.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.btnSelectLimit1.DisabledBackColor = System.Drawing.Color.Empty;
|
this.btnSelectLimit1.DisabledBackColor = System.Drawing.Color.Empty;
|
||||||
this.btnSelectLimit1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
this.btnSelectLimit1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
this.btnSelectLimit1.Location = new System.Drawing.Point(32, 61);
|
this.btnSelectLimit1.Location = new System.Drawing.Point(13, 60);
|
||||||
this.btnSelectLimit1.Name = "btnSelectLimit1";
|
this.btnSelectLimit1.Name = "btnSelectLimit1";
|
||||||
this.btnSelectLimit1.Size = new System.Drawing.Size(153, 23);
|
this.btnSelectLimit1.Size = new System.Drawing.Size(153, 23);
|
||||||
this.btnSelectLimit1.Style.Alignment = System.Drawing.StringAlignment.Center;
|
this.btnSelectLimit1.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||||
@@ -306,12 +373,11 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
//
|
//
|
||||||
// btnBatchDel
|
// btnBatchDel
|
||||||
//
|
//
|
||||||
this.btnBatchDel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
||||||
this.btnBatchDel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
this.btnBatchDel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||||
this.btnBatchDel.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.btnBatchDel.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.btnBatchDel.DisabledBackColor = System.Drawing.Color.Empty;
|
this.btnBatchDel.DisabledBackColor = System.Drawing.Color.Empty;
|
||||||
this.btnBatchDel.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
this.btnBatchDel.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
this.btnBatchDel.Location = new System.Drawing.Point(234, 61);
|
this.btnBatchDel.Location = new System.Drawing.Point(169, 60);
|
||||||
this.btnBatchDel.Name = "btnBatchDel";
|
this.btnBatchDel.Name = "btnBatchDel";
|
||||||
this.btnBatchDel.Size = new System.Drawing.Size(84, 23);
|
this.btnBatchDel.Size = new System.Drawing.Size(84, 23);
|
||||||
this.btnBatchDel.Style.Alignment = System.Drawing.StringAlignment.Center;
|
this.btnBatchDel.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||||
@@ -332,7 +398,7 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
// label4
|
// label4
|
||||||
//
|
//
|
||||||
this.label4.AutoSize = true;
|
this.label4.AutoSize = true;
|
||||||
this.label4.Location = new System.Drawing.Point(96, 34);
|
this.label4.Location = new System.Drawing.Point(77, 33);
|
||||||
this.label4.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
this.label4.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||||
this.label4.Name = "label4";
|
this.label4.Name = "label4";
|
||||||
this.label4.Size = new System.Drawing.Size(56, 17);
|
this.label4.Size = new System.Drawing.Size(56, 17);
|
||||||
@@ -341,7 +407,7 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
//
|
//
|
||||||
// txtFiltSaleNum
|
// txtFiltSaleNum
|
||||||
//
|
//
|
||||||
this.txtFiltSaleNum.Location = new System.Drawing.Point(152, 31);
|
this.txtFiltSaleNum.Location = new System.Drawing.Point(133, 30);
|
||||||
this.txtFiltSaleNum.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
this.txtFiltSaleNum.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||||
this.txtFiltSaleNum.Name = "txtFiltSaleNum";
|
this.txtFiltSaleNum.Name = "txtFiltSaleNum";
|
||||||
this.txtFiltSaleNum.Size = new System.Drawing.Size(33, 23);
|
this.txtFiltSaleNum.Size = new System.Drawing.Size(33, 23);
|
||||||
@@ -354,7 +420,7 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
this.btnFiltSelect.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.btnFiltSelect.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.btnFiltSelect.DisabledBackColor = System.Drawing.Color.Empty;
|
this.btnFiltSelect.DisabledBackColor = System.Drawing.Color.Empty;
|
||||||
this.btnFiltSelect.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
this.btnFiltSelect.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
this.btnFiltSelect.Location = new System.Drawing.Point(32, 31);
|
this.btnFiltSelect.Location = new System.Drawing.Point(13, 30);
|
||||||
this.btnFiltSelect.Name = "btnFiltSelect";
|
this.btnFiltSelect.Name = "btnFiltSelect";
|
||||||
this.btnFiltSelect.Size = new System.Drawing.Size(62, 23);
|
this.btnFiltSelect.Size = new System.Drawing.Size(62, 23);
|
||||||
this.btnFiltSelect.Style.Alignment = System.Drawing.StringAlignment.Center;
|
this.btnFiltSelect.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||||
@@ -374,11 +440,10 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
//
|
//
|
||||||
// btnStopUpDownOrDel
|
// btnStopUpDownOrDel
|
||||||
//
|
//
|
||||||
this.btnStopUpDownOrDel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
||||||
this.btnStopUpDownOrDel.CanvasColor = System.Drawing.SystemColors.Control;
|
this.btnStopUpDownOrDel.CanvasColor = System.Drawing.SystemColors.Control;
|
||||||
this.btnStopUpDownOrDel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
this.btnStopUpDownOrDel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||||
this.btnStopUpDownOrDel.DisabledBackColor = System.Drawing.Color.Empty;
|
this.btnStopUpDownOrDel.DisabledBackColor = System.Drawing.Color.Empty;
|
||||||
this.btnStopUpDownOrDel.Location = new System.Drawing.Point(234, 121);
|
this.btnStopUpDownOrDel.Location = new System.Drawing.Point(169, 120);
|
||||||
this.btnStopUpDownOrDel.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
|
this.btnStopUpDownOrDel.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
|
||||||
this.btnStopUpDownOrDel.Name = "btnStopUpDownOrDel";
|
this.btnStopUpDownOrDel.Name = "btnStopUpDownOrDel";
|
||||||
this.btnStopUpDownOrDel.Size = new System.Drawing.Size(84, 23);
|
this.btnStopUpDownOrDel.Size = new System.Drawing.Size(84, 23);
|
||||||
@@ -403,10 +468,10 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
this.btnClearList.CanvasColor = System.Drawing.SystemColors.Control;
|
this.btnClearList.CanvasColor = System.Drawing.SystemColors.Control;
|
||||||
this.btnClearList.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
this.btnClearList.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||||
this.btnClearList.DisabledBackColor = System.Drawing.Color.Empty;
|
this.btnClearList.DisabledBackColor = System.Drawing.Color.Empty;
|
||||||
this.btnClearList.Location = new System.Drawing.Point(33, 121);
|
this.btnClearList.Location = new System.Drawing.Point(14, 120);
|
||||||
this.btnClearList.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
|
this.btnClearList.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
|
||||||
this.btnClearList.Name = "btnClearList";
|
this.btnClearList.Name = "btnClearList";
|
||||||
this.btnClearList.Size = new System.Drawing.Size(84, 23);
|
this.btnClearList.Size = new System.Drawing.Size(152, 23);
|
||||||
this.btnClearList.Style.Alignment = System.Drawing.StringAlignment.Center;
|
this.btnClearList.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||||
this.btnClearList.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
this.btnClearList.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||||
this.btnClearList.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
this.btnClearList.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||||
@@ -425,12 +490,11 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
//
|
//
|
||||||
// btnDown
|
// btnDown
|
||||||
//
|
//
|
||||||
this.btnDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
||||||
this.btnDown.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
this.btnDown.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||||
this.btnDown.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.btnDown.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.btnDown.DisabledBackColor = System.Drawing.Color.Empty;
|
this.btnDown.DisabledBackColor = System.Drawing.Color.Empty;
|
||||||
this.btnDown.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
this.btnDown.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
this.btnDown.Location = new System.Drawing.Point(234, 31);
|
this.btnDown.Location = new System.Drawing.Point(169, 30);
|
||||||
this.btnDown.Name = "btnDown";
|
this.btnDown.Name = "btnDown";
|
||||||
this.btnDown.Size = new System.Drawing.Size(84, 23);
|
this.btnDown.Size = new System.Drawing.Size(84, 23);
|
||||||
this.btnDown.Style.Alignment = System.Drawing.StringAlignment.Center;
|
this.btnDown.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||||
@@ -472,9 +536,9 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
this.ucGroupBoxEx2.Controls.Add(this.btnStop);
|
this.ucGroupBoxEx2.Controls.Add(this.btnStop);
|
||||||
this.ucGroupBoxEx2.Controls.Add(this.btnClearDgv);
|
this.ucGroupBoxEx2.Controls.Add(this.btnClearDgv);
|
||||||
this.ucGroupBoxEx2.Controls.Add(this.btnSetPreSale);
|
this.ucGroupBoxEx2.Controls.Add(this.btnSetPreSale);
|
||||||
this.ucGroupBoxEx2.Location = new System.Drawing.Point(595, 2);
|
this.ucGroupBoxEx2.Location = new System.Drawing.Point(666, 0);
|
||||||
this.ucGroupBoxEx2.Name = "ucGroupBoxEx2";
|
this.ucGroupBoxEx2.Name = "ucGroupBoxEx2";
|
||||||
this.ucGroupBoxEx2.Size = new System.Drawing.Size(410, 165);
|
this.ucGroupBoxEx2.Size = new System.Drawing.Size(403, 165);
|
||||||
this.ucGroupBoxEx2.TabIndex = 667;
|
this.ucGroupBoxEx2.TabIndex = 667;
|
||||||
this.ucGroupBoxEx2.TabStop = false;
|
this.ucGroupBoxEx2.TabStop = false;
|
||||||
this.ucGroupBoxEx2.Text = "设置预售/价格";
|
this.ucGroupBoxEx2.Text = "设置预售/价格";
|
||||||
@@ -653,7 +717,7 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
this.btnStop.CanvasColor = System.Drawing.SystemColors.Control;
|
this.btnStop.CanvasColor = System.Drawing.SystemColors.Control;
|
||||||
this.btnStop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
this.btnStop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||||
this.btnStop.DisabledBackColor = System.Drawing.Color.Empty;
|
this.btnStop.DisabledBackColor = System.Drawing.Color.Empty;
|
||||||
this.btnStop.Location = new System.Drawing.Point(310, 62);
|
this.btnStop.Location = new System.Drawing.Point(303, 62);
|
||||||
this.btnStop.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
|
this.btnStop.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
|
||||||
this.btnStop.Name = "btnStop";
|
this.btnStop.Name = "btnStop";
|
||||||
this.btnStop.Size = new System.Drawing.Size(84, 23);
|
this.btnStop.Size = new System.Drawing.Size(84, 23);
|
||||||
@@ -679,7 +743,7 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
this.btnClearDgv.CanvasColor = System.Drawing.SystemColors.Control;
|
this.btnClearDgv.CanvasColor = System.Drawing.SystemColors.Control;
|
||||||
this.btnClearDgv.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
this.btnClearDgv.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||||
this.btnClearDgv.DisabledBackColor = System.Drawing.Color.Empty;
|
this.btnClearDgv.DisabledBackColor = System.Drawing.Color.Empty;
|
||||||
this.btnClearDgv.Location = new System.Drawing.Point(310, 93);
|
this.btnClearDgv.Location = new System.Drawing.Point(303, 93);
|
||||||
this.btnClearDgv.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
|
this.btnClearDgv.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
|
||||||
this.btnClearDgv.Name = "btnClearDgv";
|
this.btnClearDgv.Name = "btnClearDgv";
|
||||||
this.btnClearDgv.Size = new System.Drawing.Size(84, 23);
|
this.btnClearDgv.Size = new System.Drawing.Size(84, 23);
|
||||||
@@ -706,7 +770,7 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
this.btnSetPreSale.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.btnSetPreSale.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.btnSetPreSale.DisabledBackColor = System.Drawing.Color.Empty;
|
this.btnSetPreSale.DisabledBackColor = System.Drawing.Color.Empty;
|
||||||
this.btnSetPreSale.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
this.btnSetPreSale.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
this.btnSetPreSale.Location = new System.Drawing.Point(310, 31);
|
this.btnSetPreSale.Location = new System.Drawing.Point(303, 31);
|
||||||
this.btnSetPreSale.Name = "btnSetPreSale";
|
this.btnSetPreSale.Name = "btnSetPreSale";
|
||||||
this.btnSetPreSale.Size = new System.Drawing.Size(84, 23);
|
this.btnSetPreSale.Size = new System.Drawing.Size(84, 23);
|
||||||
this.btnSetPreSale.Style.Alignment = System.Drawing.StringAlignment.Center;
|
this.btnSetPreSale.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||||
@@ -726,8 +790,9 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
//
|
//
|
||||||
// ucGroupBoxEx4
|
// ucGroupBoxEx4
|
||||||
//
|
//
|
||||||
this.ucGroupBoxEx4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
this.ucGroupBoxEx4.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||||
| System.Windows.Forms.AnchorStyles.Left)));
|
| System.Windows.Forms.AnchorStyles.Left)
|
||||||
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.ucGroupBoxEx4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
this.ucGroupBoxEx4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||||
this.ucGroupBoxEx4.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
|
this.ucGroupBoxEx4.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
|
||||||
this.ucGroupBoxEx4.Controls.Add(this.comboBox1);
|
this.ucGroupBoxEx4.Controls.Add(this.comboBox1);
|
||||||
@@ -745,15 +810,27 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
this.ucGroupBoxEx4.Controls.Add(this.chkProdTime);
|
this.ucGroupBoxEx4.Controls.Add(this.chkProdTime);
|
||||||
this.ucGroupBoxEx4.Location = new System.Drawing.Point(186, 2);
|
this.ucGroupBoxEx4.Location = new System.Drawing.Point(186, 2);
|
||||||
this.ucGroupBoxEx4.Name = "ucGroupBoxEx4";
|
this.ucGroupBoxEx4.Name = "ucGroupBoxEx4";
|
||||||
this.ucGroupBoxEx4.Size = new System.Drawing.Size(410, 165);
|
this.ucGroupBoxEx4.Size = new System.Drawing.Size(267, 165);
|
||||||
this.ucGroupBoxEx4.TabIndex = 666;
|
this.ucGroupBoxEx4.TabIndex = 666;
|
||||||
this.ucGroupBoxEx4.TabStop = false;
|
this.ucGroupBoxEx4.TabStop = false;
|
||||||
this.ucGroupBoxEx4.Text = "商品查询";
|
this.ucGroupBoxEx4.Text = "商品查询";
|
||||||
//
|
//
|
||||||
|
// comboBox1
|
||||||
|
//
|
||||||
|
this.comboBox1.FormattingEnabled = true;
|
||||||
|
this.comboBox1.Items.AddRange(new object[] {
|
||||||
|
"短链",
|
||||||
|
"长链"});
|
||||||
|
this.comboBox1.Location = new System.Drawing.Point(154, 134);
|
||||||
|
this.comboBox1.Name = "comboBox1";
|
||||||
|
this.comboBox1.Size = new System.Drawing.Size(49, 25);
|
||||||
|
this.comboBox1.TabIndex = 995;
|
||||||
|
this.comboBox1.Text = "短链";
|
||||||
|
//
|
||||||
// label5
|
// label5
|
||||||
//
|
//
|
||||||
this.label5.AutoSize = true;
|
this.label5.AutoSize = true;
|
||||||
this.label5.Location = new System.Drawing.Point(14, 61);
|
this.label5.Location = new System.Drawing.Point(14, 80);
|
||||||
this.label5.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
this.label5.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||||
this.label5.Name = "label5";
|
this.label5.Name = "label5";
|
||||||
this.label5.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
|
this.label5.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
|
||||||
@@ -764,7 +841,7 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
// chkSearchPromotionLink
|
// chkSearchPromotionLink
|
||||||
//
|
//
|
||||||
this.chkSearchPromotionLink.AutoSize = true;
|
this.chkSearchPromotionLink.AutoSize = true;
|
||||||
this.chkSearchPromotionLink.Location = new System.Drawing.Point(17, 91);
|
this.chkSearchPromotionLink.Location = new System.Drawing.Point(13, 136);
|
||||||
this.chkSearchPromotionLink.Name = "chkSearchPromotionLink";
|
this.chkSearchPromotionLink.Name = "chkSearchPromotionLink";
|
||||||
this.chkSearchPromotionLink.Size = new System.Drawing.Size(147, 21);
|
this.chkSearchPromotionLink.Size = new System.Drawing.Size(147, 21);
|
||||||
this.chkSearchPromotionLink.TabIndex = 827;
|
this.chkSearchPromotionLink.TabIndex = 827;
|
||||||
@@ -782,7 +859,7 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
"审核待处理",
|
"审核待处理",
|
||||||
"草稿箱",
|
"草稿箱",
|
||||||
"回收站"});
|
"回收站"});
|
||||||
this.cmbOnSaleStatus.Location = new System.Drawing.Point(71, 57);
|
this.cmbOnSaleStatus.Location = new System.Drawing.Point(70, 76);
|
||||||
this.cmbOnSaleStatus.Name = "cmbOnSaleStatus";
|
this.cmbOnSaleStatus.Name = "cmbOnSaleStatus";
|
||||||
this.cmbOnSaleStatus.Size = new System.Drawing.Size(134, 25);
|
this.cmbOnSaleStatus.Size = new System.Drawing.Size(134, 25);
|
||||||
this.cmbOnSaleStatus.TabIndex = 817;
|
this.cmbOnSaleStatus.TabIndex = 817;
|
||||||
@@ -794,7 +871,7 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
//
|
//
|
||||||
this.dtpStartTime.CustomFormat = "yyyy-MM-dd HH:mm";
|
this.dtpStartTime.CustomFormat = "yyyy-MM-dd HH:mm";
|
||||||
this.dtpStartTime.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
this.dtpStartTime.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
||||||
this.dtpStartTime.Location = new System.Drawing.Point(262, 58);
|
this.dtpStartTime.Location = new System.Drawing.Point(69, 107);
|
||||||
this.dtpStartTime.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
this.dtpStartTime.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||||
this.dtpStartTime.Name = "dtpStartTime";
|
this.dtpStartTime.Name = "dtpStartTime";
|
||||||
this.dtpStartTime.Size = new System.Drawing.Size(134, 23);
|
this.dtpStartTime.Size = new System.Drawing.Size(134, 23);
|
||||||
@@ -807,7 +884,7 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
"",
|
"",
|
||||||
"预售",
|
"预售",
|
||||||
"非预售"});
|
"非预售"});
|
||||||
this.cmbPreType.Location = new System.Drawing.Point(263, 25);
|
this.cmbPreType.Location = new System.Drawing.Point(70, 45);
|
||||||
this.cmbPreType.Name = "cmbPreType";
|
this.cmbPreType.Name = "cmbPreType";
|
||||||
this.cmbPreType.Size = new System.Drawing.Size(134, 25);
|
this.cmbPreType.Size = new System.Drawing.Size(134, 25);
|
||||||
this.cmbPreType.TabIndex = 807;
|
this.cmbPreType.TabIndex = 807;
|
||||||
@@ -816,7 +893,7 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
// label3
|
// label3
|
||||||
//
|
//
|
||||||
this.label3.AutoSize = true;
|
this.label3.AutoSize = true;
|
||||||
this.label3.Location = new System.Drawing.Point(207, 29);
|
this.label3.Location = new System.Drawing.Point(14, 46);
|
||||||
this.label3.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
this.label3.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||||
this.label3.Name = "label3";
|
this.label3.Name = "label3";
|
||||||
this.label3.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
|
this.label3.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
|
||||||
@@ -826,11 +903,10 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
//
|
//
|
||||||
// btnStopSearch
|
// btnStopSearch
|
||||||
//
|
//
|
||||||
this.btnStopSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
||||||
this.btnStopSearch.CanvasColor = System.Drawing.SystemColors.Control;
|
this.btnStopSearch.CanvasColor = System.Drawing.SystemColors.Control;
|
||||||
this.btnStopSearch.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
this.btnStopSearch.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||||
this.btnStopSearch.DisabledBackColor = System.Drawing.Color.Empty;
|
this.btnStopSearch.DisabledBackColor = System.Drawing.Color.Empty;
|
||||||
this.btnStopSearch.Location = new System.Drawing.Point(338, 127);
|
this.btnStopSearch.Location = new System.Drawing.Point(207, 74);
|
||||||
this.btnStopSearch.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
|
this.btnStopSearch.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
|
||||||
this.btnStopSearch.Name = "btnStopSearch";
|
this.btnStopSearch.Name = "btnStopSearch";
|
||||||
this.btnStopSearch.Size = new System.Drawing.Size(58, 25);
|
this.btnStopSearch.Size = new System.Drawing.Size(58, 25);
|
||||||
@@ -853,7 +929,7 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
// txtPageEnd
|
// txtPageEnd
|
||||||
//
|
//
|
||||||
this.txtPageEnd.Font = new System.Drawing.Font("微软雅黑", 10F);
|
this.txtPageEnd.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||||
this.txtPageEnd.Location = new System.Drawing.Point(70, 25);
|
this.txtPageEnd.Location = new System.Drawing.Point(70, 15);
|
||||||
this.txtPageEnd.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
this.txtPageEnd.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||||
this.txtPageEnd.Name = "txtPageEnd";
|
this.txtPageEnd.Name = "txtPageEnd";
|
||||||
this.txtPageEnd.Size = new System.Drawing.Size(134, 25);
|
this.txtPageEnd.Size = new System.Drawing.Size(134, 25);
|
||||||
@@ -864,7 +940,7 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
// label2
|
// label2
|
||||||
//
|
//
|
||||||
this.label2.AutoSize = true;
|
this.label2.AutoSize = true;
|
||||||
this.label2.Location = new System.Drawing.Point(14, 30);
|
this.label2.Location = new System.Drawing.Point(14, 20);
|
||||||
this.label2.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
this.label2.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||||
this.label2.Name = "label2";
|
this.label2.Name = "label2";
|
||||||
this.label2.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
|
this.label2.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
|
||||||
@@ -874,11 +950,10 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
//
|
//
|
||||||
// btnClearFilter
|
// btnClearFilter
|
||||||
//
|
//
|
||||||
this.btnClearFilter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
||||||
this.btnClearFilter.CanvasColor = System.Drawing.SystemColors.Control;
|
this.btnClearFilter.CanvasColor = System.Drawing.SystemColors.Control;
|
||||||
this.btnClearFilter.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
this.btnClearFilter.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||||
this.btnClearFilter.DisabledBackColor = System.Drawing.Color.Empty;
|
this.btnClearFilter.DisabledBackColor = System.Drawing.Color.Empty;
|
||||||
this.btnClearFilter.Location = new System.Drawing.Point(276, 127);
|
this.btnClearFilter.Location = new System.Drawing.Point(207, 45);
|
||||||
this.btnClearFilter.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
|
this.btnClearFilter.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
|
||||||
this.btnClearFilter.Name = "btnClearFilter";
|
this.btnClearFilter.Name = "btnClearFilter";
|
||||||
this.btnClearFilter.Size = new System.Drawing.Size(58, 25);
|
this.btnClearFilter.Size = new System.Drawing.Size(58, 25);
|
||||||
@@ -904,7 +979,7 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
this.btnSearchProd.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.btnSearchProd.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.btnSearchProd.DisabledBackColor = System.Drawing.Color.Empty;
|
this.btnSearchProd.DisabledBackColor = System.Drawing.Color.Empty;
|
||||||
this.btnSearchProd.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
this.btnSearchProd.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
this.btnSearchProd.Location = new System.Drawing.Point(213, 127);
|
this.btnSearchProd.Location = new System.Drawing.Point(207, 15);
|
||||||
this.btnSearchProd.Name = "btnSearchProd";
|
this.btnSearchProd.Name = "btnSearchProd";
|
||||||
this.btnSearchProd.Size = new System.Drawing.Size(58, 25);
|
this.btnSearchProd.Size = new System.Drawing.Size(58, 25);
|
||||||
this.btnSearchProd.Style.Alignment = System.Drawing.StringAlignment.Center;
|
this.btnSearchProd.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||||
@@ -925,7 +1000,7 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
// chkProdTime
|
// chkProdTime
|
||||||
//
|
//
|
||||||
this.chkProdTime.AutoSize = true;
|
this.chkProdTime.AutoSize = true;
|
||||||
this.chkProdTime.Location = new System.Drawing.Point(211, 59);
|
this.chkProdTime.Location = new System.Drawing.Point(14, 107);
|
||||||
this.chkProdTime.Name = "chkProdTime";
|
this.chkProdTime.Name = "chkProdTime";
|
||||||
this.chkProdTime.Size = new System.Drawing.Size(60, 21);
|
this.chkProdTime.Size = new System.Drawing.Size(60, 21);
|
||||||
this.chkProdTime.TabIndex = 837;
|
this.chkProdTime.TabIndex = 837;
|
||||||
@@ -1233,7 +1308,7 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
// splitContainer3.Panel2
|
// splitContainer3.Panel2
|
||||||
//
|
//
|
||||||
this.splitContainer3.Panel2.Controls.Add(this.splitContainer4);
|
this.splitContainer3.Panel2.Controls.Add(this.splitContainer4);
|
||||||
this.splitContainer3.Size = new System.Drawing.Size(1346, 472);
|
this.splitContainer3.Size = new System.Drawing.Size(1339, 472);
|
||||||
this.splitContainer3.SplitterDistance = 442;
|
this.splitContainer3.SplitterDistance = 442;
|
||||||
this.splitContainer3.TabIndex = 1;
|
this.splitContainer3.TabIndex = 1;
|
||||||
//
|
//
|
||||||
@@ -1266,7 +1341,7 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
this.splitContainer2.Panel2.Controls.Add(this.chkTestNoAuditUpload);
|
this.splitContainer2.Panel2.Controls.Add(this.chkTestNoAuditUpload);
|
||||||
this.splitContainer2.Panel2.Controls.Add(this.dgvSelectProduct);
|
this.splitContainer2.Panel2.Controls.Add(this.dgvSelectProduct);
|
||||||
this.splitContainer2.Panel2.Padding = new System.Windows.Forms.Padding(0, 0, 4, 0);
|
this.splitContainer2.Panel2.Padding = new System.Windows.Forms.Padding(0, 0, 4, 0);
|
||||||
this.splitContainer2.Size = new System.Drawing.Size(1346, 442);
|
this.splitContainer2.Size = new System.Drawing.Size(1339, 442);
|
||||||
this.splitContainer2.SplitterDistance = 350;
|
this.splitContainer2.SplitterDistance = 350;
|
||||||
this.splitContainer2.TabIndex = 0;
|
this.splitContainer2.TabIndex = 0;
|
||||||
//
|
//
|
||||||
@@ -1553,7 +1628,7 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
//
|
//
|
||||||
this.pbLoading.Anchor = System.Windows.Forms.AnchorStyles.None;
|
this.pbLoading.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||||
this.pbLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
|
this.pbLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
|
||||||
this.pbLoading.Location = new System.Drawing.Point(471, 196);
|
this.pbLoading.Location = new System.Drawing.Point(467, 196);
|
||||||
this.pbLoading.Name = "pbLoading";
|
this.pbLoading.Name = "pbLoading";
|
||||||
this.pbLoading.Size = new System.Drawing.Size(50, 50);
|
this.pbLoading.Size = new System.Drawing.Size(50, 50);
|
||||||
this.pbLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
this.pbLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||||
@@ -1624,7 +1699,7 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
this.dgvSelectProduct.Name = "dgvSelectProduct";
|
this.dgvSelectProduct.Name = "dgvSelectProduct";
|
||||||
this.dgvSelectProduct.ReadOnly = true;
|
this.dgvSelectProduct.ReadOnly = true;
|
||||||
this.dgvSelectProduct.RowTemplate.Height = 23;
|
this.dgvSelectProduct.RowTemplate.Height = 23;
|
||||||
this.dgvSelectProduct.Size = new System.Drawing.Size(988, 442);
|
this.dgvSelectProduct.Size = new System.Drawing.Size(981, 442);
|
||||||
this.dgvSelectProduct.TabIndex = 187;
|
this.dgvSelectProduct.TabIndex = 187;
|
||||||
this.dgvSelectProduct.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvSelectProduct_CellContentClick);
|
this.dgvSelectProduct.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvSelectProduct_CellContentClick);
|
||||||
//
|
//
|
||||||
@@ -1861,8 +1936,8 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
// splitContainer4.Panel1
|
// splitContainer4.Panel1
|
||||||
//
|
//
|
||||||
this.splitContainer4.Panel1.Controls.Add(this.statusBar);
|
this.splitContainer4.Panel1.Controls.Add(this.statusBar);
|
||||||
this.splitContainer4.Size = new System.Drawing.Size(1346, 26);
|
this.splitContainer4.Size = new System.Drawing.Size(1339, 26);
|
||||||
this.splitContainer4.SplitterDistance = 1165;
|
this.splitContainer4.SplitterDistance = 1158;
|
||||||
this.splitContainer4.TabIndex = 3;
|
this.splitContainer4.TabIndex = 3;
|
||||||
//
|
//
|
||||||
// statusBar
|
// statusBar
|
||||||
@@ -1873,26 +1948,14 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
this.statusBar.Location = new System.Drawing.Point(0, 0);
|
this.statusBar.Location = new System.Drawing.Point(0, 0);
|
||||||
this.statusBar.Margin = new System.Windows.Forms.Padding(0);
|
this.statusBar.Margin = new System.Windows.Forms.Padding(0);
|
||||||
this.statusBar.Name = "statusBar";
|
this.statusBar.Name = "statusBar";
|
||||||
this.statusBar.Size = new System.Drawing.Size(1165, 26);
|
this.statusBar.Size = new System.Drawing.Size(1158, 26);
|
||||||
this.statusBar.TabIndex = 2;
|
this.statusBar.TabIndex = 2;
|
||||||
//
|
//
|
||||||
// comboBox1
|
|
||||||
//
|
|
||||||
this.comboBox1.FormattingEnabled = true;
|
|
||||||
this.comboBox1.Items.AddRange(new object[] {
|
|
||||||
"短链",
|
|
||||||
"长链"});
|
|
||||||
this.comboBox1.Location = new System.Drawing.Point(156, 89);
|
|
||||||
this.comboBox1.Name = "comboBox1";
|
|
||||||
this.comboBox1.Size = new System.Drawing.Size(49, 25);
|
|
||||||
this.comboBox1.TabIndex = 995;
|
|
||||||
this.comboBox1.Text = "短链";
|
|
||||||
//
|
|
||||||
// WXProdPreSaleForm
|
// WXProdPreSaleForm
|
||||||
//
|
//
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||||
this.BackColor = System.Drawing.Color.White;
|
this.BackColor = System.Drawing.Color.White;
|
||||||
this.ClientSize = new System.Drawing.Size(1346, 641);
|
this.ClientSize = new System.Drawing.Size(1339, 641);
|
||||||
this.Controls.Add(this.splitContainer1);
|
this.Controls.Add(this.splitContainer1);
|
||||||
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
this.KeyPreview = true;
|
this.KeyPreview = true;
|
||||||
@@ -1904,6 +1967,8 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
this.splitContainer1.Panel2.ResumeLayout(false);
|
this.splitContainer1.Panel2.ResumeLayout(false);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
|
||||||
this.splitContainer1.ResumeLayout(false);
|
this.splitContainer1.ResumeLayout(false);
|
||||||
|
this.ucGroupBoxEx5.ResumeLayout(false);
|
||||||
|
this.ucGroupBoxEx5.PerformLayout();
|
||||||
this.ucGroupBoxEx3.ResumeLayout(false);
|
this.ucGroupBoxEx3.ResumeLayout(false);
|
||||||
this.ucGroupBoxEx3.PerformLayout();
|
this.ucGroupBoxEx3.PerformLayout();
|
||||||
this.ucGroupBoxEx2.ResumeLayout(false);
|
this.ucGroupBoxEx2.ResumeLayout(false);
|
||||||
@@ -2053,5 +2118,9 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
private System.Windows.Forms.Label label9;
|
private System.Windows.Forms.Label label9;
|
||||||
private System.Windows.Forms.ComboBox cmbChangePriceType;
|
private System.Windows.Forms.ComboBox cmbChangePriceType;
|
||||||
private System.Windows.Forms.ComboBox comboBox1;
|
private System.Windows.Forms.ComboBox comboBox1;
|
||||||
|
private UserComponent.UcGroupBoxEx ucGroupBoxEx5;
|
||||||
|
private DevComponents.DotNetBar.PanelEx btn_prodFilter;
|
||||||
|
private System.Windows.Forms.TextBox txt_filter_keywrods;
|
||||||
|
private System.Windows.Forms.Label label8;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -34,6 +34,30 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
{
|
{
|
||||||
public partial class WXProdPreSaleForm : BaseForm
|
public partial class WXProdPreSaleForm : BaseForm
|
||||||
{
|
{
|
||||||
|
private sealed class PreSaleProduct
|
||||||
|
{
|
||||||
|
public bool IsSelected { get; set; }
|
||||||
|
public string ShopId { get; set; }
|
||||||
|
public string ShopName { get; set; }
|
||||||
|
public string ProductId { get; set; }
|
||||||
|
public string ImageUrl { get; set; }
|
||||||
|
public string Title { get; set; }
|
||||||
|
public string PromotionLink { get; set; }
|
||||||
|
public string Category { get; set; }
|
||||||
|
public string ProductCode { get; set; }
|
||||||
|
public string SkuList { get; set; }
|
||||||
|
public string Price { get; set; }
|
||||||
|
public int SoldCount { get; set; }
|
||||||
|
public string Status { get; set; }
|
||||||
|
public string PreSale { get; set; }
|
||||||
|
public DateTime EditTime { get; set; }
|
||||||
|
public string OperationResult { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
private readonly List<PreSaleProduct> products = new List<PreSaleProduct>();
|
||||||
|
private readonly BindingList<PreSaleProduct> visibleProducts = new BindingList<PreSaleProduct>();
|
||||||
|
private string[] titleKeywords = new string[0];
|
||||||
|
|
||||||
int PageBegin = 1;
|
int PageBegin = 1;
|
||||||
int PageEnd = 999;
|
int PageEnd = 999;
|
||||||
string PreType = "";
|
string PreType = "";
|
||||||
@@ -115,7 +139,41 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
chkSelectAll.CheckedChanged += chkSelectAll_CheckedChanged;
|
chkSelectAll.CheckedChanged += chkSelectAll_CheckedChanged;
|
||||||
//chkSelectAll.Checked = true;
|
//chkSelectAll.Checked = true;
|
||||||
|
|
||||||
this.dgvSelectProduct.AddSelectorColumn("colCheck");
|
dgvSelectProduct.AutoGenerateColumns = false;
|
||||||
|
colCheck.DataPropertyName = nameof(PreSaleProduct.IsSelected);
|
||||||
|
colSupplierId.DataPropertyName = nameof(PreSaleProduct.ShopId);
|
||||||
|
colSupplierName.DataPropertyName = nameof(PreSaleProduct.ShopName);
|
||||||
|
colDraftId.DataPropertyName = nameof(PreSaleProduct.ProductId);
|
||||||
|
colImgUrl.DataPropertyName = nameof(PreSaleProduct.ImageUrl);
|
||||||
|
colProductName.DataPropertyName = nameof(PreSaleProduct.Title);
|
||||||
|
colPromotionLink.DataPropertyName = nameof(PreSaleProduct.PromotionLink);
|
||||||
|
colProductCat.DataPropertyName = nameof(PreSaleProduct.Category);
|
||||||
|
colExtCode.DataPropertyName = nameof(PreSaleProduct.ProductCode);
|
||||||
|
colSkuMultiPrice.DataPropertyName = nameof(PreSaleProduct.SkuList);
|
||||||
|
colPrice.DataPropertyName = nameof(PreSaleProduct.Price);
|
||||||
|
colSoldNum.DataPropertyName = nameof(PreSaleProduct.SoldCount);
|
||||||
|
colMsg.DataPropertyName = nameof(PreSaleProduct.Status);
|
||||||
|
colPreSale.DataPropertyName = nameof(PreSaleProduct.PreSale);
|
||||||
|
colAddTime.DataPropertyName = nameof(PreSaleProduct.EditTime);
|
||||||
|
colOpResult.DataPropertyName = nameof(PreSaleProduct.OperationResult);
|
||||||
|
colAddTime.DefaultCellStyle.Format = "yy-MM-dd HH:mm";
|
||||||
|
colProductSkcPic.DefaultCellStyle.NullValue = DataGridViewExtension.defaultBitmap;
|
||||||
|
colLogin.Text = "登录";
|
||||||
|
colLogin.UseColumnTextForLinkValue = true;
|
||||||
|
colInShop.Text = "进店";
|
||||||
|
colInShop.UseColumnTextForLinkValue = true;
|
||||||
|
ColDelete.Text = "删除";
|
||||||
|
ColDelete.UseColumnTextForLinkValue = true;
|
||||||
|
dgvSelectProduct.RowTemplate.Height = 60;
|
||||||
|
dgvSelectProduct.CellFormatting += ProductCellFormatting;
|
||||||
|
dgvSelectProduct.DataSource = visibleProducts;
|
||||||
|
dgvSelectProduct.AddSelectorColumn("colCheck", column => column.AddHeaderCheckBox(
|
||||||
|
getValue: item => ((PreSaleProduct)item).IsSelected,
|
||||||
|
setValue: (item, value) =>
|
||||||
|
{
|
||||||
|
((PreSaleProduct)item).IsSelected = value;
|
||||||
|
dgvSelectProduct.InvalidateColumn(colCheck.Index);
|
||||||
|
}));
|
||||||
|
|
||||||
dgvSelectProduct.AddImgColumn("colProductSkcPic", "colImgUrl");
|
dgvSelectProduct.AddImgColumn("colProductSkcPic", "colImgUrl");
|
||||||
dgvSelectProduct.AddImgColumn("colSkuFakeImg", "colSkuFakeImgUrl");
|
dgvSelectProduct.AddImgColumn("colSkuFakeImg", "colSkuFakeImgUrl");
|
||||||
@@ -650,7 +708,8 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
btnSearchProd.Enabled = false;
|
btnSearchProd.Enabled = false;
|
||||||
pbLoading.Visible = true;
|
pbLoading.Visible = true;
|
||||||
cancellationTokenSource = new CancellationTokenSource();
|
cancellationTokenSource = new CancellationTokenSource();
|
||||||
dgvSelectProduct.Rows.Clear();
|
visibleProducts.Clear();
|
||||||
|
products.Clear();
|
||||||
Task.Run(() =>
|
Task.Run(() =>
|
||||||
{
|
{
|
||||||
GetProduct(shopIdLst);
|
GetProduct(shopIdLst);
|
||||||
@@ -749,8 +808,6 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
List<Task> tList = new List<Task>();
|
List<Task> tList = new List<Task>();
|
||||||
foreach (JObject prod in prodObjs["productList"])
|
foreach (JObject prod in prodObjs["productList"])
|
||||||
{
|
{
|
||||||
string StatusStr = "";
|
|
||||||
int rowIndex = 0;
|
|
||||||
var pStr = JsonHelper.SerializeObject(prod);
|
var pStr = JsonHelper.SerializeObject(prod);
|
||||||
var editTime = BaseClass.StampToDateTime(prod["editTime"].ParseToInt());
|
var editTime = BaseClass.StampToDateTime(prod["editTime"].ParseToInt());
|
||||||
if (chkProdTime.Checked && editTime < dtpStartTime.Value)
|
if (chkProdTime.Checked && editTime < dtpStartTime.Value)
|
||||||
@@ -758,15 +815,8 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
istTimeOver = true;
|
istTimeOver = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
Invoke(new Action(() =>
|
var prices = prod["skuList"]?.Select(sk => (decimal?)(sk["price"].ParseToDecimal() / 100));
|
||||||
{
|
var StatusStr = "其他";
|
||||||
decimal? minPrice = prod["skuList"]?.Min(sk => sk["price"].ParseToDecimal() / 100);
|
|
||||||
decimal? maxPrice = prod["skuList"]?.Max(sk => sk["price"].ParseToDecimal() / 100);
|
|
||||||
var prodId = prod["productId"].ParseToString();
|
|
||||||
if (dgvSelectProduct.Rows.Cast<DataGridViewRow>().Any(r => r.Cells["colDraftId"].ParseToString() == prodId))
|
|
||||||
{
|
|
||||||
}
|
|
||||||
StatusStr = "其他";
|
|
||||||
if (prod["status"].ParseToInt() == 5)
|
if (prod["status"].ParseToInt() == 5)
|
||||||
StatusStr = "在售";
|
StatusStr = "在售";
|
||||||
if (prod["status"].ParseToInt() == 11)
|
if (prod["status"].ParseToInt() == 11)
|
||||||
@@ -780,92 +830,59 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
if (prod["status"].ParseToInt() == 6)
|
if (prod["status"].ParseToInt() == 6)
|
||||||
StatusStr = "回收站";
|
StatusStr = "回收站";
|
||||||
var Limit1 = pStr.Contains("同款/高度相似商品") ? "\r\n上架相似品" : "";
|
var Limit1 = pStr.Contains("同款/高度相似商品") ? "\r\n上架相似品" : "";
|
||||||
//var Limit2 = BaseRegex.GetStringJson(ref pStr, "secondLevelLabelName").ParseToString().Length > 0 ? "\r\n命中低风险规则上架" : "";
|
|
||||||
var Limit2 = BaseRegex.GetStringJson(ref pStr, "secondLevelLabelName").ParseToString().Length > 0 ? "\r\n低风险规则上架" : "";
|
var Limit2 = BaseRegex.GetStringJson(ref pStr, "secondLevelLabelName").ParseToString().Length > 0 ? "\r\n低风险规则上架" : "";
|
||||||
StatusStr += Limit1 + Limit2;
|
StatusStr += Limit1 + Limit2;
|
||||||
|
|
||||||
rowIndex = this.dgvSelectProduct.Rows.Add(
|
var product = new PreSaleProduct
|
||||||
false,
|
{
|
||||||
"",
|
ShopId = shop.ShopId,
|
||||||
shop.ShopId,
|
ShopName = shop.ShopAccount,
|
||||||
shop.ShopAccount,
|
ProductId = prod["productId"].ParseToString(),
|
||||||
"登录",
|
ImageUrl = prod["headImg"].ParseToString(),
|
||||||
"进店",
|
Title = prod["title"].ParseToString(),
|
||||||
"",
|
Category = prod["recommendCategory"].IsJTokenNullOrEmpty() || prod["recommendCategory"]["categoryNames"].IsJTokenNullOrEmpty()
|
||||||
"",
|
? "" : string.Join(" >> ", prod["recommendCategory"]["categoryNames"].Select(s => s.ParseToString())),
|
||||||
prod["productId"].ParseToString(),
|
ProductCode = prod["spuCode"].ParseToString(),
|
||||||
prod["headImg"].ParseToString(),
|
SkuList = prod["skuList"].ParseToString(),
|
||||||
DataGridViewExtension.defaultBitmap,
|
Price = prices?.Min() + " - " + prices?.Max(),
|
||||||
"", // 替换图地址
|
SoldCount = prod["soldNum"].ParseToInt(),
|
||||||
null, // 替换图
|
Status = StatusStr,
|
||||||
prod["title"].ParseToString(), // 用户端显示商品原名
|
PreSale = prod["presaleTag"].ParseToInt() == 1 ? "[预售]" : "",
|
||||||
"", // 推广短链
|
EditTime = editTime
|
||||||
(prod["recommendCategory"].IsJTokenNullOrEmpty() || prod["recommendCategory"]["categoryNames"].IsJTokenNullOrEmpty()) ?
|
};
|
||||||
"" : string.Join(" >> ", prod["recommendCategory"]["categoryNames"].Select(s => s.ParseToString())), // 类目名称
|
Invoke(new Action(() =>
|
||||||
prod["spuCode"].ParseToString(),
|
{
|
||||||
prod["skuList"].ParseToString(),
|
products.Add(product);
|
||||||
//prod["price"].ParseToDecimal() * 0.01m,
|
if (MatchesTitle(product))
|
||||||
"" + minPrice + " - " + maxPrice,
|
visibleProducts.Add(product);
|
||||||
prod["soldNum"].ParseToInt(),
|
|
||||||
StatusStr,
|
|
||||||
prod["presaleTag"].ParseToInt() == 1 ? "[预售]" : "",
|
|
||||||
"", // 备注
|
|
||||||
"",
|
|
||||||
"删除",
|
|
||||||
editTime.ToString("yy-MM-dd HH:mm"),
|
|
||||||
"");
|
|
||||||
|
|
||||||
dgvSelectProduct.Rows[rowIndex].Height = 60;
|
|
||||||
Color color = Color.Red;
|
|
||||||
if (dgvSelectProduct.Rows[rowIndex].Cells["colMsg"].Value.ParseToString() == "在售")
|
|
||||||
color = Color.Blue;
|
|
||||||
if (dgvSelectProduct.Rows[rowIndex].Cells["colMsg"].Value.ParseToString() == "下架")
|
|
||||||
color = Color.Purple;
|
|
||||||
if (dgvSelectProduct.Rows[rowIndex].Cells["colMsg"].Value.ParseToString() == "草稿箱")
|
|
||||||
color = Color.DarkOrange;
|
|
||||||
if (dgvSelectProduct.Rows[rowIndex].Cells["colMsg"].Value.ParseToString() == "回收站")
|
|
||||||
color = Color.Gray;
|
|
||||||
dgvSelectProduct.Rows[rowIndex].Cells["colMsg"].Style.ForeColor = color;
|
|
||||||
dgvSelectProduct.Rows[rowIndex].Cells["colPreSale"].Style.ForeColor = dgvSelectProduct.Rows[rowIndex].Cells["colPreSale"].Value.ParseToString().Contains("预售") ? Color.Green : Color.Blue;
|
|
||||||
}));
|
}));
|
||||||
|
|
||||||
// 获取商品链接
|
// 获取商品链接
|
||||||
if (StatusStr.ParseToString().StartsWith("在售") && chkSearchPromotionLink.Checked == true)
|
if (StatusStr.ParseToString().StartsWith("在售") && chkSearchPromotionLink.Checked == true)
|
||||||
{
|
{
|
||||||
|
bool useShortLink = (bool)Invoke(new Func<bool>(() => comboBox1.Text == "短链"));
|
||||||
var t = Task.Run(() =>
|
var t = Task.Run(() =>
|
||||||
{
|
{
|
||||||
var PromotionRst = WXProdNoCheckEditHelper.GetPromotionLink(shop, prod["productId"].ParseToString(), page);
|
var PromotionRst = WXProdNoCheckEditHelper.GetPromotionLink(shop, prod["productId"].ParseToString(), page);
|
||||||
Thread.Sleep(Randomx.GetId(50, 150));
|
Thread.Sleep(Randomx.GetId(50, 150));
|
||||||
|
string link;
|
||||||
if (PromotionRst.ParseToString().Contains("\"code\":0"))
|
if (PromotionRst.ParseToString().Contains("\"code\":0"))
|
||||||
{
|
{
|
||||||
var shareUrl = BaseRegex.GetStringJson(ref PromotionRst, "shareUrl");
|
var shareUrl = BaseRegex.GetStringJson(ref PromotionRst, "shareUrl");
|
||||||
var shortLink = BaseRegex.GetStringJson(ref PromotionRst, "shortLink");
|
var shortLink = BaseRegex.GetStringJson(ref PromotionRst, "shortLink");
|
||||||
if (!string.IsNullOrEmpty(shareUrl))
|
link = string.IsNullOrEmpty(shareUrl) ? "链接获取失败" : useShortLink ? shortLink : shareUrl;
|
||||||
{
|
|
||||||
Invoke(new Action(() =>
|
|
||||||
{
|
|
||||||
if (comboBox1.Text == "短链")
|
|
||||||
dgvSelectProduct.Rows[rowIndex].Cells["colPromotionLink"].Value = shortLink;
|
|
||||||
else
|
|
||||||
dgvSelectProduct.Rows[rowIndex].Cells["colPromotionLink"].Value = shareUrl;
|
|
||||||
}));
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
link = BaseRegex.GetStringJsonByRegs(ref PromotionRst, PromotionRst, "errMsg", "errorMsg", "err_msg", "error_msg", "errormsg");
|
||||||
|
}
|
||||||
Invoke(new Action(() =>
|
Invoke(new Action(() =>
|
||||||
{
|
{
|
||||||
dgvSelectProduct.Rows[rowIndex].Cells["colPromotionLink"].Value = "链接获取失败";
|
product.PromotionLink = link;
|
||||||
|
int index = visibleProducts.IndexOf(product);
|
||||||
|
if (index >= 0)
|
||||||
|
visibleProducts.ResetItem(index);
|
||||||
}));
|
}));
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
var errMsg = BaseRegex.GetStringJsonByRegs(ref PromotionRst, PromotionRst, "errMsg", "errorMsg", "err_msg", "error_msg", "errormsg");
|
|
||||||
Invoke(new Action(() =>
|
|
||||||
{
|
|
||||||
dgvSelectProduct.Rows[rowIndex].Cells["colPromotionLink"].Value = errMsg;
|
|
||||||
}));
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
tList.Add(t);
|
tList.Add(t);
|
||||||
while (tList.Count >= 5)
|
while (tList.Count >= 5)
|
||||||
@@ -893,19 +910,12 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
|
|
||||||
private void btnClearDgv_Click(object sender, EventArgs e)
|
private void btnClearDgv_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
var rows = this.dgvSelectProduct.Rows.Cast<DataGridViewRow>().ToList(); //Cast后Rows做foreach循环时仍会夹花跳过,所以要ToList转一个新的数组。
|
foreach (var product in visibleProducts.Where(p => p.IsSelected).ToList())
|
||||||
foreach (var row in rows)
|
|
||||||
{
|
{
|
||||||
if (row.Cells["colCheck"].Value.ParseToBool() == true)
|
products.Remove(product);
|
||||||
{
|
visibleProducts.Remove(product);
|
||||||
//var draft_id = row.Cells["colDraftId"].Value.ParseToString();
|
|
||||||
//upload_draft_product_lst.RemoveAll(p => p.draft_id == draft_id);
|
|
||||||
|
|
||||||
this.dgvSelectProduct.Rows.Remove(row);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//NaiBa.Util.Helper.ConfigHelper.SaveConfig("wx_select_upload_draft_products", upload_draft_product_lst);
|
|
||||||
}
|
|
||||||
|
|
||||||
private void btnClearFilter_Click(object sender, EventArgs e)
|
private void btnClearFilter_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
@@ -2087,6 +2097,46 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
private void chkProdTime_CheckedChanged(object sender, EventArgs e)
|
private void chkProdTime_CheckedChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
private bool MatchesTitle(PreSaleProduct product)
|
||||||
|
{
|
||||||
|
return titleKeywords.Length == 0 || titleKeywords.Any(keyword =>
|
||||||
|
product.Title.IndexOf(keyword, StringComparison.OrdinalIgnoreCase) >= 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void btn_prodFilter_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
// 批量操作持有表格行,执行期间保留当前视图。
|
||||||
|
if (pbLoading.Visible)
|
||||||
|
{
|
||||||
|
BaseMsgForm.ShowInfo("请等待当前任务完成后再过滤商品!");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
titleKeywords = txt_filter_keywrods.Text
|
||||||
|
.Split(new[] { '\r', '\n', ',', ',', ';', ';' }, StringSplitOptions.RemoveEmptyEntries)
|
||||||
|
.Select(keyword => keyword.Trim())
|
||||||
|
.Where(keyword => keyword.Length > 0)
|
||||||
|
.ToArray();
|
||||||
|
visibleProducts.Clear();
|
||||||
|
foreach (var product in products.Where(MatchesTitle))
|
||||||
|
visibleProducts.Add(product);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void ProductCellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
|
||||||
|
{
|
||||||
|
if (e.ColumnIndex == colMsg.Index)
|
||||||
|
{
|
||||||
|
switch (e.Value as string)
|
||||||
|
{
|
||||||
|
case "在售": e.CellStyle.ForeColor = Color.Blue; break;
|
||||||
|
case "下架": e.CellStyle.ForeColor = Color.Purple; break;
|
||||||
|
case "草稿箱": e.CellStyle.ForeColor = Color.DarkOrange; break;
|
||||||
|
case "回收站": e.CellStyle.ForeColor = Color.Gray; break;
|
||||||
|
default: e.CellStyle.ForeColor = Color.Red; break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (e.ColumnIndex == colPreSale.Index)
|
||||||
|
e.CellStyle.ForeColor = e.Value as string == "[预售]" ? Color.Green : Color.Blue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+3
-3
@@ -32,7 +32,7 @@
|
|||||||
System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("云端数据");
|
System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("云端数据");
|
||||||
System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("我的商品库");
|
System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("我的商品库");
|
||||||
System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("云端收藏");
|
System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("云端收藏");
|
||||||
System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("商品预售/下架");
|
System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("商品管理");
|
||||||
System.Windows.Forms.TreeNode treeNode6 = new System.Windows.Forms.TreeNode("云仓退货地址");
|
System.Windows.Forms.TreeNode treeNode6 = new System.Windows.Forms.TreeNode("云仓退货地址");
|
||||||
System.Windows.Forms.TreeNode treeNode7 = new System.Windows.Forms.TreeNode("清理无流量");
|
System.Windows.Forms.TreeNode treeNode7 = new System.Windows.Forms.TreeNode("清理无流量");
|
||||||
System.Windows.Forms.TreeNode treeNode8 = new System.Windows.Forms.TreeNode("爆单神器");
|
System.Windows.Forms.TreeNode treeNode8 = new System.Windows.Forms.TreeNode("爆单神器");
|
||||||
@@ -157,8 +157,8 @@
|
|||||||
treeNode3.Text = "我的商品库";
|
treeNode3.Text = "我的商品库";
|
||||||
treeNode4.Name = "云端收藏";
|
treeNode4.Name = "云端收藏";
|
||||||
treeNode4.Text = "云端收藏";
|
treeNode4.Text = "云端收藏";
|
||||||
treeNode5.Name = "商品预售/下架";
|
treeNode5.Name = "商品管理";
|
||||||
treeNode5.Text = "商品预售/下架";
|
treeNode5.Text = "商品管理";
|
||||||
treeNode6.Name = "云仓退货地址";
|
treeNode6.Name = "云仓退货地址";
|
||||||
treeNode6.Text = "云仓退货地址";
|
treeNode6.Text = "云仓退货地址";
|
||||||
treeNode7.Name = "清理无流量";
|
treeNode7.Name = "清理无流量";
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
case "云端收藏":
|
case "云端收藏":
|
||||||
SetForm(cloudgoodsFavoriteForm.Value);
|
SetForm(cloudgoodsFavoriteForm.Value);
|
||||||
break;
|
break;
|
||||||
case "商品预售/下架":
|
case "商品管理":
|
||||||
SetForm(wxProdPreSaleForm.Value);
|
SetForm(wxProdPreSaleForm.Value);
|
||||||
break;
|
break;
|
||||||
case "云仓退货地址":
|
case "云仓退货地址":
|
||||||
|
|||||||
Reference in new issue
Block a user