1优化商品核价相关功能 2店铺工作数据统计功能

This commit is contained in:
wule committed 2025-08-27 19:08:30 +08:00
1 parent c70b78aff3
commit 6b6d63dd41
11 files changed
+775 -313

No files matched your search

@@ -30,29 +30,22 @@ namespace TemuKJD.KJDForms.AdminForms
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
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 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();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.ucGroupBoxEx1 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.chkFilter = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.chkSearchTime = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.pnlDetailOperate1 = new System.Windows.Forms.Panel();
this.btnRePrice = new DevComponents.DotNetBar.PanelEx();
this.label10 = new System.Windows.Forms.Label();
this.txtPriceDown = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.btnMutliCancel = new DevComponents.DotNetBar.PanelEx();
this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
this.btnMutliOk = new DevComponents.DotNetBar.PanelEx();
this.dtpEndTime = new System.Windows.Forms.DateTimePicker();
this.dtpStartTime = new System.Windows.Forms.DateTimePicker();
this.btnStop = new DevComponents.DotNetBar.PanelEx();
this.btnSearchPrice2 = new DevComponents.DotNetBar.PanelEx();
this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
this.txtSkcId = new System.Windows.Forms.TextBox();
this.chkSearchAllShop = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.btnEmpty = new DevComponents.DotNetBar.PanelEx();
@@ -66,6 +59,14 @@ namespace TemuKJD.KJDForms.AdminForms
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.pnlDetailOperate1 = new System.Windows.Forms.Panel();
this.btnRePrice = new DevComponents.DotNetBar.PanelEx();
this.label10 = new System.Windows.Forms.Label();
this.txtPriceDown = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.btnMutliCancel = new DevComponents.DotNetBar.PanelEx();
this.btnMutliOk = new DevComponents.DotNetBar.PanelEx();
this.pnlDetailOperate2 = new System.Windows.Forms.Panel();
this.pnlMutliCancelWithTitleWrong = new DevComponents.DotNetBar.PanelEx();
this.splitContainer3 = new System.Windows.Forms.SplitContainer();
@@ -162,12 +163,13 @@ namespace TemuKJD.KJDForms.AdminForms
| System.Windows.Forms.AnchorStyles.Right)));
this.ucGroupBoxEx1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.ucGroupBoxEx1.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
this.ucGroupBoxEx1.Controls.Add(this.chkFilter);
this.ucGroupBoxEx1.Controls.Add(this.chkSearchTime);
this.ucGroupBoxEx1.Controls.Add(this.pnlDetailOperate1);
this.ucGroupBoxEx1.Controls.Add(this.dtpEndTime);
this.ucGroupBoxEx1.Controls.Add(this.dtpStartTime);
this.ucGroupBoxEx1.Controls.Add(this.btnStop);
this.ucGroupBoxEx1.Controls.Add(this.btnSearchPrice2);
this.ucGroupBoxEx1.Controls.Add(this.panelEx2);
this.ucGroupBoxEx1.Controls.Add(this.txtSkcId);
this.ucGroupBoxEx1.Controls.Add(this.chkSearchAllShop);
this.ucGroupBoxEx1.Controls.Add(this.btnEmpty);
@@ -181,6 +183,7 @@ namespace TemuKJD.KJDForms.AdminForms
this.ucGroupBoxEx1.Controls.Add(this.label2);
this.ucGroupBoxEx1.Controls.Add(this.label3);
this.ucGroupBoxEx1.Controls.Add(this.label7);
this.ucGroupBoxEx1.Controls.Add(this.pnlDetailOperate1);
this.ucGroupBoxEx1.Controls.Add(this.pnlDetailOperate2);
this.ucGroupBoxEx1.Location = new System.Drawing.Point(3, 2);
this.ucGroupBoxEx1.Name = "ucGroupBoxEx1";
@@ -189,6 +192,17 @@ namespace TemuKJD.KJDForms.AdminForms
this.ucGroupBoxEx1.TabStop = false;
this.ucGroupBoxEx1.Text = "参数设置";
//
// chkFilter
//
this.chkFilter.AutoSize = true;
this.chkFilter.Location = new System.Drawing.Point(776, 35);
this.chkFilter.Name = "chkFilter";
this.chkFilter.Size = new System.Drawing.Size(135, 21);
this.chkFilter.TabIndex = 857;
this.chkFilter.Text = "仅显示含头尾词标题";
this.chkFilter.UseVisualStyleBackColor = true;
this.chkFilter.CheckedChanged += new System.EventHandler(this.chkFilter_CheckedChanged);
//
// chkSearchTime
//
this.chkSearchTime.AutoSize = true;
@@ -200,164 +214,16 @@ namespace TemuKJD.KJDForms.AdminForms
this.chkSearchTime.TabIndex = 827;
this.chkSearchTime.UseVisualStyleBackColor = true;
//
// pnlDetailOperate1
//
this.pnlDetailOperate1.Controls.Add(this.btnRePrice);
this.pnlDetailOperate1.Controls.Add(this.label10);
this.pnlDetailOperate1.Controls.Add(this.txtPriceDown);
this.pnlDetailOperate1.Controls.Add(this.label1);
this.pnlDetailOperate1.Controls.Add(this.label6);
this.pnlDetailOperate1.Controls.Add(this.btnMutliCancel);
this.pnlDetailOperate1.Controls.Add(this.panelEx2);
this.pnlDetailOperate1.Controls.Add(this.btnMutliOk);
this.pnlDetailOperate1.Location = new System.Drawing.Point(761, 12);
this.pnlDetailOperate1.Name = "pnlDetailOperate1";
this.pnlDetailOperate1.Size = new System.Drawing.Size(568, 76);
this.pnlDetailOperate1.TabIndex = 855;
//
// btnRePrice
//
this.btnRePrice.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnRePrice.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnRePrice.DisabledBackColor = System.Drawing.Color.Empty;
this.btnRePrice.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnRePrice.Location = new System.Drawing.Point(302, 20);
this.btnRePrice.Name = "btnRePrice";
this.btnRePrice.Size = new System.Drawing.Size(98, 23);
this.btnRePrice.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnRePrice.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnRePrice.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnRePrice.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnRePrice.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnRePrice.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnRePrice.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnRePrice.Style.GradientAngle = 90;
this.btnRePrice.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnRePrice.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnRePrice.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnRePrice.TabIndex = 427;
this.btnRePrice.Text = "批量再次报价";
this.btnRePrice.Click += new System.EventHandler(this.btnRePrice_Click);
//
// label10
//
this.label10.AutoSize = true;
this.label10.Location = new System.Drawing.Point(142, 23);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(32, 17);
this.label10.TabIndex = 680;
this.label10.Text = "降价";
//
// txtPriceDown
//
this.txtPriceDown.Location = new System.Drawing.Point(174, 20);
this.txtPriceDown.Margin = new System.Windows.Forms.Padding(0);
this.txtPriceDown.Name = "txtPriceDown";
this.txtPriceDown.Size = new System.Drawing.Size(48, 23);
this.txtPriceDown.TabIndex = 679;
this.txtPriceDown.Text = "0.1";
//
// label1
//
this.label1.AutoSize = true;
this.label1.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
this.label1.Location = new System.Drawing.Point(142, 48);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(223, 17);
this.label1.TabIndex = 684;
this.label1.Text = "注:再次报价价格 = 原价 - 次数 × 降价";
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(225, 23);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(80, 17);
this.label6.TabIndex = 723;
this.label6.Text = "元(人民币)";
//
// btnMutliCancel
//
this.btnMutliCancel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnMutliCancel.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnMutliCancel.DisabledBackColor = System.Drawing.Color.Empty;
this.btnMutliCancel.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnMutliCancel.Location = new System.Drawing.Point(438, 49);
this.btnMutliCancel.Name = "btnMutliCancel";
this.btnMutliCancel.Size = new System.Drawing.Size(98, 23);
this.btnMutliCancel.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnMutliCancel.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnMutliCancel.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnMutliCancel.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnMutliCancel.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnMutliCancel.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnMutliCancel.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnMutliCancel.Style.GradientAngle = 90;
this.btnMutliCancel.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnMutliCancel.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnMutliCancel.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnMutliCancel.TabIndex = 772;
this.btnMutliCancel.Text = "批量拒绝报价";
this.btnMutliCancel.Click += new System.EventHandler(this.btnMutliCancel_Click);
//
// panelEx2
//
this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.panelEx2.Cursor = System.Windows.Forms.Cursors.Hand;
this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
this.panelEx2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.panelEx2.Location = new System.Drawing.Point(21, 20);
this.panelEx2.Name = "panelEx2";
this.panelEx2.Size = new System.Drawing.Size(99, 23);
this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
this.panelEx2.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.panelEx2.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.panelEx2.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.panelEx2.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.panelEx2.Style.ForeColor.Color = System.Drawing.Color.White;
this.panelEx2.Style.GradientAngle = 90;
this.panelEx2.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.panelEx2.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.panelEx2.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.panelEx2.TabIndex = 749;
this.panelEx2.Text = "批量还原标题";
this.panelEx2.Click += new System.EventHandler(this.btnReturnProdName_Click);
//
// btnMutliOk
//
this.btnMutliOk.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnMutliOk.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnMutliOk.DisabledBackColor = System.Drawing.Color.Empty;
this.btnMutliOk.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnMutliOk.Location = new System.Drawing.Point(438, 20);
this.btnMutliOk.Name = "btnMutliOk";
this.btnMutliOk.Size = new System.Drawing.Size(98, 23);
this.btnMutliOk.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnMutliOk.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnMutliOk.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnMutliOk.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnMutliOk.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnMutliOk.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnMutliOk.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnMutliOk.Style.GradientAngle = 90;
this.btnMutliOk.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnMutliOk.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnMutliOk.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnMutliOk.TabIndex = 768;
this.btnMutliOk.Text = "批量同意报价";
this.btnMutliOk.Click += new System.EventHandler(this.btnMutliOk_Click);
//
// dtpEndTime
//
this.dtpEndTime.Location = new System.Drawing.Point(619, 54);
this.dtpEndTime.Location = new System.Drawing.Point(610, 54);
this.dtpEndTime.Name = "dtpEndTime";
this.dtpEndTime.Size = new System.Drawing.Size(136, 23);
this.dtpEndTime.TabIndex = 826;
//
// dtpStartTime
//
this.dtpStartTime.Location = new System.Drawing.Point(477, 54);
this.dtpStartTime.Location = new System.Drawing.Point(472, 54);
this.dtpStartTime.Name = "dtpStartTime";
this.dtpStartTime.Size = new System.Drawing.Size(136, 23);
this.dtpStartTime.TabIndex = 825;
@@ -367,9 +233,9 @@ namespace TemuKJD.KJDForms.AdminForms
this.btnStop.CanvasColor = System.Drawing.SystemColors.Control;
this.btnStop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnStop.DisabledBackColor = System.Drawing.Color.Empty;
this.btnStop.Location = new System.Drawing.Point(690, 82);
this.btnStop.Location = new System.Drawing.Point(680, 82);
this.btnStop.Name = "btnStop";
this.btnStop.Size = new System.Drawing.Size(65, 24);
this.btnStop.Size = new System.Drawing.Size(66, 23);
this.btnStop.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnStop.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
this.btnStop.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
@@ -392,9 +258,9 @@ namespace TemuKJD.KJDForms.AdminForms
this.btnSearchPrice2.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnSearchPrice2.DisabledBackColor = System.Drawing.Color.Empty;
this.btnSearchPrice2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnSearchPrice2.Location = new System.Drawing.Point(571, 82);
this.btnSearchPrice2.Location = new System.Drawing.Point(565, 82);
this.btnSearchPrice2.Name = "btnSearchPrice2";
this.btnSearchPrice2.Size = new System.Drawing.Size(113, 23);
this.btnSearchPrice2.Size = new System.Drawing.Size(112, 23);
this.btnSearchPrice2.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnSearchPrice2.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSearchPrice2.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
@@ -410,11 +276,35 @@ namespace TemuKJD.KJDForms.AdminForms
this.btnSearchPrice2.Text = "读取待创建首单";
this.btnSearchPrice2.Click += new System.EventHandler(this.btnSearchPrice2_Click);
//
// panelEx2
//
this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.panelEx2.Cursor = System.Windows.Forms.Cursors.Hand;
this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
this.panelEx2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.panelEx2.Location = new System.Drawing.Point(791, 65);
this.panelEx2.Name = "panelEx2";
this.panelEx2.Size = new System.Drawing.Size(99, 23);
this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
this.panelEx2.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.panelEx2.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.panelEx2.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.panelEx2.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.panelEx2.Style.ForeColor.Color = System.Drawing.Color.White;
this.panelEx2.Style.GradientAngle = 90;
this.panelEx2.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.panelEx2.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.panelEx2.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.panelEx2.TabIndex = 749;
this.panelEx2.Text = "批量还原标题";
this.panelEx2.Click += new System.EventHandler(this.btnReturnProdName_Click);
//
// txtSkcId
//
this.txtSkcId.Location = new System.Drawing.Point(495, 25);
this.txtSkcId.Name = "txtSkcId";
this.txtSkcId.Size = new System.Drawing.Size(260, 23);
this.txtSkcId.Size = new System.Drawing.Size(251, 23);
this.txtSkcId.TabIndex = 733;
//
// chkSearchAllShop
@@ -434,7 +324,7 @@ namespace TemuKJD.KJDForms.AdminForms
this.btnEmpty.DisabledBackColor = System.Drawing.Color.Empty;
this.btnEmpty.Location = new System.Drawing.Point(376, 82);
this.btnEmpty.Name = "btnEmpty";
this.btnEmpty.Size = new System.Drawing.Size(40, 24);
this.btnEmpty.Size = new System.Drawing.Size(40, 23);
this.btnEmpty.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnEmpty.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
this.btnEmpty.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
@@ -459,7 +349,7 @@ namespace TemuKJD.KJDForms.AdminForms
this.btnSearchPrice.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnSearchPrice.Location = new System.Drawing.Point(456, 82);
this.btnSearchPrice.Name = "btnSearchPrice";
this.btnSearchPrice.Size = new System.Drawing.Size(109, 23);
this.btnSearchPrice.Size = new System.Drawing.Size(106, 23);
this.btnSearchPrice.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnSearchPrice.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSearchPrice.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
@@ -508,7 +398,7 @@ namespace TemuKJD.KJDForms.AdminForms
this.btnRefreshShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnRefreshShop.Location = new System.Drawing.Point(273, 82);
this.btnRefreshShop.Name = "btnRefreshShop";
this.btnRefreshShop.Size = new System.Drawing.Size(100, 24);
this.btnRefreshShop.Size = new System.Drawing.Size(100, 23);
this.btnRefreshShop.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnRefreshShop.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnRefreshShop.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
@@ -565,12 +455,135 @@ namespace TemuKJD.KJDForms.AdminForms
this.label7.TabIndex = 734;
this.label7.Text = "SkcId:";
//
// pnlDetailOperate1
//
this.pnlDetailOperate1.Controls.Add(this.btnRePrice);
this.pnlDetailOperate1.Controls.Add(this.label10);
this.pnlDetailOperate1.Controls.Add(this.txtPriceDown);
this.pnlDetailOperate1.Controls.Add(this.label1);
this.pnlDetailOperate1.Controls.Add(this.label6);
this.pnlDetailOperate1.Controls.Add(this.btnMutliCancel);
this.pnlDetailOperate1.Controls.Add(this.btnMutliOk);
this.pnlDetailOperate1.Location = new System.Drawing.Point(913, 16);
this.pnlDetailOperate1.Name = "pnlDetailOperate1";
this.pnlDetailOperate1.Size = new System.Drawing.Size(420, 76);
this.pnlDetailOperate1.TabIndex = 855;
//
// btnRePrice
//
this.btnRePrice.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnRePrice.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnRePrice.DisabledBackColor = System.Drawing.Color.Empty;
this.btnRePrice.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnRePrice.Location = new System.Drawing.Point(170, 20);
this.btnRePrice.Name = "btnRePrice";
this.btnRePrice.Size = new System.Drawing.Size(98, 23);
this.btnRePrice.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnRePrice.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnRePrice.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnRePrice.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnRePrice.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnRePrice.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnRePrice.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnRePrice.Style.GradientAngle = 90;
this.btnRePrice.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnRePrice.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnRePrice.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnRePrice.TabIndex = 427;
this.btnRePrice.Text = "批量再次报价";
this.btnRePrice.Click += new System.EventHandler(this.btnRePrice_Click);
//
// label10
//
this.label10.AutoSize = true;
this.label10.Location = new System.Drawing.Point(10, 23);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(32, 17);
this.label10.TabIndex = 680;
this.label10.Text = "降价";
//
// txtPriceDown
//
this.txtPriceDown.Location = new System.Drawing.Point(42, 20);
this.txtPriceDown.Margin = new System.Windows.Forms.Padding(0);
this.txtPriceDown.Name = "txtPriceDown";
this.txtPriceDown.Size = new System.Drawing.Size(48, 23);
this.txtPriceDown.TabIndex = 679;
this.txtPriceDown.Text = "0.1";
//
// label1
//
this.label1.AutoSize = true;
this.label1.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
this.label1.Location = new System.Drawing.Point(10, 48);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(223, 17);
this.label1.TabIndex = 684;
this.label1.Text = "注:再次报价价格 = 原价 - 次数 × 降价";
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(93, 23);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(80, 17);
this.label6.TabIndex = 723;
this.label6.Text = "元(人民币)";
//
// btnMutliCancel
//
this.btnMutliCancel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnMutliCancel.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnMutliCancel.DisabledBackColor = System.Drawing.Color.Empty;
this.btnMutliCancel.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnMutliCancel.Location = new System.Drawing.Point(306, 49);
this.btnMutliCancel.Name = "btnMutliCancel";
this.btnMutliCancel.Size = new System.Drawing.Size(98, 23);
this.btnMutliCancel.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnMutliCancel.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnMutliCancel.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnMutliCancel.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnMutliCancel.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnMutliCancel.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnMutliCancel.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnMutliCancel.Style.GradientAngle = 90;
this.btnMutliCancel.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnMutliCancel.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnMutliCancel.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnMutliCancel.TabIndex = 772;
this.btnMutliCancel.Text = "批量拒绝报价";
this.btnMutliCancel.Click += new System.EventHandler(this.btnMutliCancel_Click);
//
// btnMutliOk
//
this.btnMutliOk.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnMutliOk.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnMutliOk.DisabledBackColor = System.Drawing.Color.Empty;
this.btnMutliOk.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnMutliOk.Location = new System.Drawing.Point(306, 20);
this.btnMutliOk.Name = "btnMutliOk";
this.btnMutliOk.Size = new System.Drawing.Size(98, 23);
this.btnMutliOk.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnMutliOk.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnMutliOk.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnMutliOk.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnMutliOk.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnMutliOk.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnMutliOk.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnMutliOk.Style.GradientAngle = 90;
this.btnMutliOk.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnMutliOk.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnMutliOk.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnMutliOk.TabIndex = 768;
this.btnMutliOk.Text = "批量同意报价";
this.btnMutliOk.Click += new System.EventHandler(this.btnMutliOk_Click);
//
// pnlDetailOperate2
//
this.pnlDetailOperate2.Controls.Add(this.pnlMutliCancelWithTitleWrong);
this.pnlDetailOperate2.Location = new System.Drawing.Point(761, 40);
this.pnlDetailOperate2.Location = new System.Drawing.Point(913, 76);
this.pnlDetailOperate2.Name = "pnlDetailOperate2";
this.pnlDetailOperate2.Size = new System.Drawing.Size(568, 75);
this.pnlDetailOperate2.Size = new System.Drawing.Size(420, 75);
this.pnlDetailOperate2.TabIndex = 856;
this.pnlDetailOperate2.Visible = false;
//
@@ -580,7 +593,7 @@ namespace TemuKJD.KJDForms.AdminForms
this.pnlMutliCancelWithTitleWrong.Cursor = System.Windows.Forms.Cursors.Hand;
this.pnlMutliCancelWithTitleWrong.DisabledBackColor = System.Drawing.Color.Empty;
this.pnlMutliCancelWithTitleWrong.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.pnlMutliCancelWithTitleWrong.Location = new System.Drawing.Point(438, 49);
this.pnlMutliCancelWithTitleWrong.Location = new System.Drawing.Point(306, 18);
this.pnlMutliCancelWithTitleWrong.Name = "pnlMutliCancelWithTitleWrong";
this.pnlMutliCancelWithTitleWrong.Size = new System.Drawing.Size(98, 23);
this.pnlMutliCancelWithTitleWrong.Style.Alignment = System.Drawing.StringAlignment.Center;
@@ -657,18 +670,18 @@ namespace TemuKJD.KJDForms.AdminForms
//
this.dgvShop.AllowUserToAddRows = false;
this.dgvShop.AllowUserToDeleteRows = false;
dataGridViewCellStyle8.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle8;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
this.dgvShop.BackgroundColor = System.Drawing.Color.White;
this.dgvShop.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle9.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle9.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle9;
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colSelect,
@@ -827,18 +840,18 @@ namespace TemuKJD.KJDForms.AdminForms
//
this.dgvPriceCheck.AllowUserToAddRows = false;
this.dgvPriceCheck.AllowUserToDeleteRows = false;
dataGridViewCellStyle10.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvPriceCheck.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle10;
dataGridViewCellStyle3.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvPriceCheck.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle3;
this.dgvPriceCheck.BackgroundColor = System.Drawing.Color.White;
this.dgvPriceCheck.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle11.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvPriceCheck.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle11;
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.dgvPriceCheck.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
this.dgvPriceCheck.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvPriceCheck.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colCheck,
@@ -872,7 +885,12 @@ namespace TemuKJD.KJDForms.AdminForms
this.dgvPriceCheck.Size = new System.Drawing.Size(1056, 431);
this.dgvPriceCheck.TabIndex = 187;
this.dgvPriceCheck.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvCheckPrice_CellContentClick);
this.dgvPriceCheck.CellMouseDown += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dgvPriceCheck_CellMouseDown);
this.dgvPriceCheck.CellMouseEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvPriceCheck_CellMouseEnter);
this.dgvPriceCheck.CellMouseUp += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dgvPriceCheck_CellMouseUp);
this.dgvPriceCheck.RowStateChanged += new System.Windows.Forms.DataGridViewRowStateChangedEventHandler(this.dgvPriceCheck_RowStateChanged);
this.dgvPriceCheck.Scroll += new System.Windows.Forms.ScrollEventHandler(this.dgvPriceCheck_Scroll);
this.dgvPriceCheck.MouseUp += new System.Windows.Forms.MouseEventHandler(this.dgvPriceCheck_MouseUp);
//
// colCheck
//
@@ -946,8 +964,8 @@ namespace TemuKJD.KJDForms.AdminForms
//
// colProdName
//
dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colProdName.DefaultCellStyle = dataGridViewCellStyle12;
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colProdName.DefaultCellStyle = dataGridViewCellStyle5;
this.colProdName.HeaderText = "标题";
this.colProdName.Name = "colProdName";
this.colProdName.ReadOnly = true;
@@ -955,8 +973,8 @@ namespace TemuKJD.KJDForms.AdminForms
//
// colSkuName
//
dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colSkuName.DefaultCellStyle = dataGridViewCellStyle13;
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colSkuName.DefaultCellStyle = dataGridViewCellStyle6;
this.colSkuName.HeaderText = "规格名称";
this.colSkuName.Name = "colSkuName";
this.colSkuName.ReadOnly = true;
@@ -1006,8 +1024,8 @@ namespace TemuKJD.KJDForms.AdminForms
//
// colCreatTime
//
dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colCreatTime.DefaultCellStyle = dataGridViewCellStyle14;
dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colCreatTime.DefaultCellStyle = dataGridViewCellStyle7;
this.colCreatTime.HeaderText = "创建时间";
this.colCreatTime.Name = "colCreatTime";
this.colCreatTime.ReadOnly = true;
@@ -1094,10 +1112,13 @@ namespace TemuKJD.KJDForms.AdminForms
this.ClientSize = new System.Drawing.Size(1344, 585);
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 = "AdminProductPriceCheckForm";
this.Text = "ProductPriceCheckForm";
this.Load += new System.EventHandler(this.AdminProductPriceCheckForm_Load);
this.VisibleChanged += new System.EventHandler(this.AdminProductPriceCheckForm_VisibleChanged);
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.AdminProductPriceCheckForm_KeyDown);
this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.AdminProductPriceCheckForm_KeyUp);
this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
@@ -1202,5 +1223,6 @@ namespace TemuKJD.KJDForms.AdminForms
private System.Windows.Forms.DataGridViewLinkColumn colCancel;
private System.Windows.Forms.DataGridViewLinkColumn colCancelWithTitleWrong;
private System.Windows.Forms.DataGridViewTextBoxColumn colMsg;
private UserComponent.UcCheckBox chkFilter;
}
}
@@ -1,7 +1,6 @@
using AllBase;
using AllBase.Model.Result;
using NaiBa.Util.Extension;
using NaiBa.Util.Winform.Extension;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
@@ -13,6 +12,7 @@ using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using TemuKJD.Extension;
using TemuKJD.KJDForms.BaseForms;
using TemuKJD.KJDForms.ShopForms;
using TemuKJD.KJDForms.ToolForms;
@@ -293,9 +293,9 @@ namespace TemuKJD.KJDForms.AdminForms
ShowImgForm imgFrom = new ShowImgForm(url);
imgFrom.ShowDialog();
break;
case "":
dgvPriceCheck.Rows[e.RowIndex].Cells["colCheck"].Value = !(bool)dgvPriceCheck.Rows[e.RowIndex].Cells["colCheck"].Value;
break;
//case "":
// dgvPriceCheck.Rows[e.RowIndex].Cells["colCheck"].Value = !(bool)dgvPriceCheck.Rows[e.RowIndex].Cells["colCheck"].Value;
// break;
default:
break;
}
@@ -460,8 +460,8 @@ namespace TemuKJD.KJDForms.AdminForms
{
if (rst.Contains("\"success\":true"))
{
row.Cells["colMsg"].Value = "已作废商品-价格0.01";
row.Cells["colNewPrice"].Value = 1 / 100.0;
row.Cells["colMsg"].Value = "已作废商品-价格0.1";
row.Cells["colNewPrice"].Value = 10 / 100.0;
}
else
row.Cells["colMsg"].Value = "作废商品失败" + rst;
@@ -495,7 +495,7 @@ namespace TemuKJD.KJDForms.AdminForms
{
this.pnlDetailOperate1.Visible = true;
this.pnlDetailOperate2.Visible = false;
this.dgvPriceCheck.Columns["colOk"].Visible = false;
this.dgvPriceCheck.Columns["colOk"].Visible = true;
this.dgvPriceCheck.Columns["colCancel"].Visible = true;
this.dgvPriceCheck.Columns["colCancelWithTitleWrong"].Visible = false;
SearchPrice("待卖家确认");
@@ -515,7 +515,7 @@ namespace TemuKJD.KJDForms.AdminForms
private void SearchPrice(string type = "待卖家确认")
{
var selectShopIdLst = this.dgvShop.Rows.Cast<DataGridViewRow>().Where(r => r.Cells["colSelect"].Value.ParseToBool() == true)
.Select(r => r.Cells["colShopId"].Value.ParseToString()).ToList();
.Select(r => r.Cells["colShopId"].Value.ParseToString()).Distinct().ToList();
var shops = this.lstAdminShopInfo.Where(s => selectShopIdLst.Contains(s.ShopId)).ToList();
if (shops.Count == 0)
{
@@ -531,14 +531,18 @@ namespace TemuKJD.KJDForms.AdminForms
}
}
this.chkFilter.Checked = false;
this.dgvPriceCheck.Rows.Clear();
this.lstCheckPriceInfo.Clear();
this.pbLoading.Visible = true;
cancellationTokenSource = new CancellationTokenSource();
Task.Run(() =>
{
int shopIndex = 0;
int totalProdIndex = 0;
foreach (var shopId in selectShopIdLst)
{
shopIndex++;
var shop = this.lstAdminShopInfo.Where(s => shopId == s.ShopId).ToList().FirstOrDefault();
if (shop == null)
continue;
@@ -607,11 +611,15 @@ namespace TemuKJD.KJDForms.AdminForms
}
foreach (var priceInfo in checkPriceInfoTmpLst)
{
if (cancellationTokenSource.IsCancellationRequested)
break;
prodIndex++;
totalProdIndex++;
Invoke(new Action(() => {
this.statusBar.lblTaskStatus.Text = "正在查询" + type + ",共有 " + total + " 件商品";
this.statusBar.pgbTaskProgress.Maximum = total;
this.statusBar.UpdateProgressBar(prodIndex);
this.statusBar.lblTaskStatus.Text = "正在查询" + type + ",店铺:" + shop.ShopAccount + " " + prodIndex + "/" + total + " 件商品";
this.statusBar.pgbTaskProgress.Maximum = selectShopIdLst.Count;
this.statusBar.UpdateProgressBar(shopIndex);
}));
string imgUrl = priceInfo.skcList.FirstOrDefault()?.previewImgUrlList.FirstOrDefault();
@@ -637,9 +645,9 @@ namespace TemuKJD.KJDForms.AdminForms
{
foreach (var prop in sku.productPropertyList)
{
skuName += prop.value + ";";
skuName += prop.value + ",";
}
//skuName = skuName.TrimEnd(';');
skuName = skuName.TrimEnd(',') + ";";
skuName += "\r\n";
}
}
@@ -669,7 +677,7 @@ namespace TemuKJD.KJDForms.AdminForms
{
int rowId = this.dgvPriceCheck.Rows.Add(
false,
prodIndex,
totalProdIndex,
reviewInfo.priceOrderId,
priceInfo.supplierId,
priceInfo.supplierName,
@@ -693,6 +701,10 @@ namespace TemuKJD.KJDForms.AdminForms
""
);
dgvPriceCheck.Rows[rowId].Height = 60;
if (chkFilter.Checked && !CheckContainsWords(priceInfo.productName))
{
dgvPriceCheck.Rows[rowId].Visible = false;
}
}));
}
this.ShowDgvImg();
@@ -868,6 +880,7 @@ namespace TemuKJD.KJDForms.AdminForms
return;
}
this.statusBar.lblTaskStatus.Text = "正在批量还原标题";
this.pbLoading.Visible = true;
Task.Run(() =>
{
@@ -890,8 +903,7 @@ namespace TemuKJD.KJDForms.AdminForms
}
var pName = price.productName;
if ((pName.EndsWith("适合不同的搭配风格") && pName.IndexOf("个") < 4 && pName.IndexOf("个") > 0) ||
(pName.EndsWith("适合不同的搭配风格") && pName.IndexOf("pcs") < 4 && pName.IndexOf("pcs") > 0))
if (CheckContainsWords(pName))
{
}
else
@@ -942,19 +954,8 @@ namespace TemuKJD.KJDForms.AdminForms
JObject jObj = JObject.Parse(html);
var item = jObj["result"]["successBizId2TaskUidMap"].LastOrDefault().LastOrDefault();
var newPName = pName;
if (pName.EndsWith("适合不同的搭配风格") && pName.IndexOf("个") < 4 && pName.IndexOf("个") > 0)
{
var headword = pName.Substring(0, pName.IndexOf("个") + 1);
newPName = pName.Substring(pName.IndexOf("个") + "个".Length);
newPName = newPName.Replace("适合不同的搭配风格", "适合" + headword + "不同的搭配风格");
}
if (pName.EndsWith("适合不同的搭配风格") && pName.IndexOf("pcs") < 4 && pName.IndexOf("pcs") >0)
{
var headword = pName.Substring(0, pName.IndexOf("pcs"));
newPName = pName.Substring(pName.IndexOf("pcs") + "pcs".Length);
newPName = newPName.Replace("适合不同的搭配风格", "适合" + headword + "个不同的搭配风格").Trim();
}
// 还原原始标题
var newPName = RestoreProductName(pName);
html = editPriceProductName(shop, item.ParseToString(), price.productId.ParseToString(), newPName);
Thread.Sleep(Randomx.GetId(25, 75));
@@ -1002,6 +1003,7 @@ namespace TemuKJD.KJDForms.AdminForms
Invoke(new Action(() =>
{
this.statusBar.lblTaskStatus.Text = "批量还原标题完成";
this.pbLoading.Visible = false;
}));
});
@@ -1016,6 +1018,7 @@ namespace TemuKJD.KJDForms.AdminForms
return;
}
this.statusBar.lblTaskStatus.Text = "正在批量再次报价";
this.pbLoading.Visible = true;
Task.Run(() =>
{
@@ -1031,6 +1034,7 @@ namespace TemuKJD.KJDForms.AdminForms
Invoke(new Action(() =>
{
this.statusBar.lblTaskStatus.Text = "批量再次报价完成";
this.pbLoading.Visible = false;
}));
});
@@ -1045,6 +1049,7 @@ namespace TemuKJD.KJDForms.AdminForms
return;
}
this.statusBar.lblTaskStatus.Text = "正在批量同意报价";
this.pbLoading.Visible = true;
Task.Run(() =>
{
@@ -1060,6 +1065,7 @@ namespace TemuKJD.KJDForms.AdminForms
Invoke(new Action(() =>
{
this.statusBar.lblTaskStatus.Text = "批量同意报价完成";
this.pbLoading.Visible = false;
}));
});
@@ -1074,6 +1080,7 @@ namespace TemuKJD.KJDForms.AdminForms
return;
}
this.statusBar.lblTaskStatus.Text = "正在批量拒绝报价";
this.pbLoading.Visible = true;
Task.Run(() =>
{
@@ -1089,6 +1096,7 @@ namespace TemuKJD.KJDForms.AdminForms
Invoke(new Action(() =>
{
this.statusBar.lblTaskStatus.Text = "批量拒绝报价完成";
this.pbLoading.Visible = false;
}));
});
@@ -1143,6 +1151,7 @@ namespace TemuKJD.KJDForms.AdminForms
}
var productIds = rows.Select(r => r.Cells["colProductId"].Value.ParseToString()).Distinct().ToList();
this.statusBar.lblTaskStatus.Text = "正在批量作废";
this.pbLoading.Visible = true;
Task.Run(() =>
{
@@ -1160,10 +1169,150 @@ namespace TemuKJD.KJDForms.AdminForms
Invoke(new Action(() =>
{
this.statusBar.lblTaskStatus.Text = "批量作废完成";
this.pbLoading.Visible = false;
}));
});
}
private void chkFilter_CheckedChanged(object sender, EventArgs e)
{
if (chkFilter.Checked == false)
{
foreach (DataGridViewRow row in dgvPriceCheck.Rows)
{
row.Visible = true;
}
}
else
{
foreach (DataGridViewRow row in dgvPriceCheck.Rows)
{
var pName = row.Cells["colProdName"].Value.ParseToString();
if (CheckContainsWords(pName))
{
}
else
{
row.Cells["colCheck"].Value = false;
row.Visible = false;
}
}
}
}
bool MouseLeftButtonDown = false;
bool MouseLeftButtonDownCheck = false;
private void dgvPriceCheck_MouseUp(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Left)
{
MouseLeftButtonDown = false;
}
}
private void dgvPriceCheck_CellMouseDown(object sender, DataGridViewCellMouseEventArgs e)
{
if (e.Button == MouseButtons.Left)
{
if (e.ColumnIndex < 0 || e.RowIndex < 0)
return;
MouseLeftButtonDown = true;
string headerText = dgvPriceCheck.Columns[e.ColumnIndex].HeaderText;
switch (headerText)
{
case "":
dgvPriceCheck.Rows[e.RowIndex].Cells["colCheck"].Value = MouseLeftButtonDownCheck =
!(bool)dgvPriceCheck.Rows[e.RowIndex].Cells["colCheck"].Value;
break;
default:
break;
}
}
}
private void dgvPriceCheck_CellMouseUp(object sender, DataGridViewCellMouseEventArgs e)
{
if (e.Button == MouseButtons.Left)
{
MouseLeftButtonDown = false;
}
}
private void dgvPriceCheck_CellMouseEnter(object sender, DataGridViewCellEventArgs e)
{
if (e.ColumnIndex < 0 || e.RowIndex < 0)
return;
if (MouseLeftButtonDown)
{
if (dgvPriceCheck.Columns[e.ColumnIndex].Name == "colCheck") // 选择框文字为空
{
dgvPriceCheck.Rows[e.RowIndex].Cells["colCheck"].Value = MouseLeftButtonDownCheck;
}
}
}
private void dgvPriceCheck_RowStateChanged(object sender, DataGridViewRowStateChangedEventArgs e)
{
if (IsShiftDown && e.Row.Visible)
{
e.Row.Cells["colCheck"].Value = e.Row.Selected;
}
}
bool IsShiftDown = false;
private void AdminProductPriceCheckForm_KeyDown(object sender, KeyEventArgs e)
{
switch (e.KeyCode)
{
case Keys.Shift:
case Keys.ShiftKey:
case Keys.LShiftKey:
case Keys.RShiftKey:
IsShiftDown = true;
break;
}
}
private void AdminProductPriceCheckForm_KeyUp(object sender, KeyEventArgs e)
{
switch (e.KeyCode)
{
case Keys.Shift:
case Keys.ShiftKey:
case Keys.LShiftKey:
case Keys.RShiftKey:
IsShiftDown = false;
break;
}
}
bool CheckContainsWords(string filterProdName)
{
return filterProdName != RestoreProductName(filterProdName);
}
string RestoreProductName(string pName)
{
string newPName = pName;
if (pName.EndsWith("适合不同的搭配风格") && pName.IndexOf("个") < 4 && pName.IndexOf("个") > 0)
{
var headword = pName.Substring(0, pName.IndexOf("个") + 1);
newPName = pName.Substring(pName.IndexOf("个") + "个".Length);
newPName = newPName.Replace("适合不同的搭配风格", "适合" + headword + "不同的搭配风格");
}
if (pName.EndsWith("适合不同的搭配风格") && pName.IndexOf("pcs") < 4 && pName.IndexOf("pcs") > 0)
{
var headword = pName.Substring(0, pName.IndexOf("pcs"));
newPName = pName.Substring(pName.IndexOf("pcs") + "pcs".Length);
newPName = newPName.Replace("适合不同的搭配风格", "适合" + headword + "个不同的搭配风格").Trim();
}
return newPName;
}
}
public class PriceCheckConfig