1鞋子上传加绒不加绒处理 2核价功能继续优化

This commit is contained in:
wule committed 2025-08-26 19:31:52 +08:00
1 parent 12ea9bebe5
commit c70b78aff3
28 files changed
+1718 -362

No files matched your search

@@ -30,29 +30,34 @@ namespace TemuKJD.KJDForms.AdminForms
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.ucGroupBoxEx1 = new TemuKJD.UserComponent.UcGroupBoxEx(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.btnMutliCancel = new DevComponents.DotNetBar.PanelEx();
this.btnMutliOk = new DevComponents.DotNetBar.PanelEx();
this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
this.txtSkcId = new System.Windows.Forms.TextBox();
this.btnRePrice = new DevComponents.DotNetBar.PanelEx();
this.label6 = new System.Windows.Forms.Label();
this.chkSearchAllShop = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.btnEmpty = new DevComponents.DotNetBar.PanelEx();
this.label1 = new System.Windows.Forms.Label();
this.btnSearchPrice = new DevComponents.DotNetBar.PanelEx();
this.txtPriceDown = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
this.label10 = new System.Windows.Forms.Label();
this.txtNotes = new System.Windows.Forms.TextBox();
this.label4 = new System.Windows.Forms.Label();
this.btnRefreshShop = new DevComponents.DotNetBar.PanelEx();
@@ -61,6 +66,8 @@ 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.pnlDetailOperate2 = new System.Windows.Forms.Panel();
this.pnlMutliCancelWithTitleWrong = new DevComponents.DotNetBar.PanelEx();
this.splitContainer3 = new System.Windows.Forms.SplitContainer();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.pbShopLoading = new System.Windows.Forms.PictureBox();
@@ -78,9 +85,6 @@ namespace TemuKJD.KJDForms.AdminForms
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
this.btnClear = new DevComponents.DotNetBar.PanelEx();
this.dgvPriceCheck = new TemuKJD.UserComponent.DataGridViewEx();
this.splitContainer4 = new System.Windows.Forms.SplitContainer();
this.ucSplitPage1 = new TemuKJD.UserControls.UcSplitPage();
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
this.colCheck = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colProdIndex = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colOrderId = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -98,14 +102,21 @@ namespace TemuKJD.KJDForms.AdminForms
this.colAdjustPrice = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colNewPrice = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colPriceTimes = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colCreatTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colOk = new System.Windows.Forms.DataGridViewLinkColumn();
this.colCancel = new System.Windows.Forms.DataGridViewLinkColumn();
this.colCancelWithTitleWrong = new System.Windows.Forms.DataGridViewLinkColumn();
this.colMsg = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.splitContainer4 = new System.Windows.Forms.SplitContainer();
this.ucSplitPage1 = new TemuKJD.UserControls.UcSplitPage();
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
this.ucGroupBoxEx1.SuspendLayout();
this.pnlDetailOperate1.SuspendLayout();
this.pnlDetailOperate2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).BeginInit();
this.splitContainer3.Panel1.SuspendLayout();
this.splitContainer3.Panel2.SuspendLayout();
@@ -151,21 +162,17 @@ 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.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.btnMutliCancel);
this.ucGroupBoxEx1.Controls.Add(this.btnMutliOk);
this.ucGroupBoxEx1.Controls.Add(this.panelEx2);
this.ucGroupBoxEx1.Controls.Add(this.txtSkcId);
this.ucGroupBoxEx1.Controls.Add(this.btnRePrice);
this.ucGroupBoxEx1.Controls.Add(this.label6);
this.ucGroupBoxEx1.Controls.Add(this.chkSearchAllShop);
this.ucGroupBoxEx1.Controls.Add(this.btnEmpty);
this.ucGroupBoxEx1.Controls.Add(this.label1);
this.ucGroupBoxEx1.Controls.Add(this.btnSearchPrice);
this.ucGroupBoxEx1.Controls.Add(this.txtPriceDown);
this.ucGroupBoxEx1.Controls.Add(this.label5);
this.ucGroupBoxEx1.Controls.Add(this.label10);
this.ucGroupBoxEx1.Controls.Add(this.txtNotes);
this.ucGroupBoxEx1.Controls.Add(this.label4);
this.ucGroupBoxEx1.Controls.Add(this.btnRefreshShop);
@@ -174,6 +181,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.pnlDetailOperate2);
this.ucGroupBoxEx1.Location = new System.Drawing.Point(3, 2);
this.ucGroupBoxEx1.Name = "ucGroupBoxEx1";
this.ucGroupBoxEx1.Size = new System.Drawing.Size(1338, 120);
@@ -181,12 +189,185 @@ namespace TemuKJD.KJDForms.AdminForms
this.ucGroupBoxEx1.TabStop = false;
this.ucGroupBoxEx1.Text = "参数设置";
//
// chkSearchTime
//
this.chkSearchTime.AutoSize = true;
this.chkSearchTime.Checked = true;
this.chkSearchTime.CheckState = System.Windows.Forms.CheckState.Checked;
this.chkSearchTime.Location = new System.Drawing.Point(456, 58);
this.chkSearchTime.Name = "chkSearchTime";
this.chkSearchTime.Size = new System.Drawing.Size(15, 14);
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.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.Name = "dtpStartTime";
this.dtpStartTime.Size = new System.Drawing.Size(136, 23);
this.dtpStartTime.TabIndex = 825;
//
// btnStop
//
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(638, 83);
this.btnStop.Location = new System.Drawing.Point(690, 82);
this.btnStop.Name = "btnStop";
this.btnStop.Size = new System.Drawing.Size(65, 24);
this.btnStop.Style.Alignment = System.Drawing.StringAlignment.Center;
@@ -211,9 +392,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(601, 54);
this.btnSearchPrice2.Location = new System.Drawing.Point(571, 82);
this.btnSearchPrice2.Name = "btnSearchPrice2";
this.btnSearchPrice2.Size = new System.Drawing.Size(102, 23);
this.btnSearchPrice2.Size = new System.Drawing.Size(113, 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)))));
@@ -229,118 +410,13 @@ namespace TemuKJD.KJDForms.AdminForms
this.btnSearchPrice2.Text = "读取待创建首单";
this.btnSearchPrice2.Click += new System.EventHandler(this.btnSearchPrice2_Click);
//
// 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(1193, 66);
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(1193, 37);
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);
//
// 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(736, 37);
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(208, 23);
this.txtSkcId.Size = new System.Drawing.Size(260, 23);
this.txtSkcId.TabIndex = 733;
//
// 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(1036, 37);
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);
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(959, 40);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(80, 17);
this.label6.TabIndex = 723;
this.label6.Text = "元(人民币)";
//
// chkSearchAllShop
//
this.chkSearchAllShop.AutoSize = true;
@@ -375,25 +451,15 @@ namespace TemuKJD.KJDForms.AdminForms
this.btnEmpty.Text = "重置";
this.btnEmpty.Click += new System.EventHandler(this.btnEmpty_Click);
//
// label1
//
this.label1.AutoSize = true;
this.label1.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
this.label1.Location = new System.Drawing.Point(876, 65);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(223, 17);
this.label1.TabIndex = 684;
this.label1.Text = "注:再次报价价格 = 原价 - 次数 × 降价";
//
// btnSearchPrice
//
this.btnSearchPrice.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnSearchPrice.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnSearchPrice.DisabledBackColor = System.Drawing.Color.Empty;
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(495, 54);
this.btnSearchPrice.Location = new System.Drawing.Point(456, 82);
this.btnSearchPrice.Name = "btnSearchPrice";
this.btnSearchPrice.Size = new System.Drawing.Size(102, 23);
this.btnSearchPrice.Size = new System.Drawing.Size(109, 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)))));
@@ -409,15 +475,6 @@ namespace TemuKJD.KJDForms.AdminForms
this.btnSearchPrice.Text = "读取待核价";
this.btnSearchPrice.Click += new System.EventHandler(this.btnSearchPrice_Click);
//
// txtPriceDown
//
this.txtPriceDown.Location = new System.Drawing.Point(908, 37);
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";
//
// label5
//
this.label5.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
@@ -427,15 +484,6 @@ namespace TemuKJD.KJDForms.AdminForms
this.label5.TabIndex = 685;
this.label5.Text = "注:可使用逗号分隔,一次查询多个店铺";
//
// label10
//
this.label10.AutoSize = true;
this.label10.Location = new System.Drawing.Point(876, 40);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(32, 17);
this.label10.TabIndex = 680;
this.label10.Text = "降价";
//
// txtNotes
//
this.txtNotes.Location = new System.Drawing.Point(61, 83);
@@ -517,6 +565,39 @@ namespace TemuKJD.KJDForms.AdminForms
this.label7.TabIndex = 734;
this.label7.Text = "SkcId:";
//
// pnlDetailOperate2
//
this.pnlDetailOperate2.Controls.Add(this.pnlMutliCancelWithTitleWrong);
this.pnlDetailOperate2.Location = new System.Drawing.Point(761, 40);
this.pnlDetailOperate2.Name = "pnlDetailOperate2";
this.pnlDetailOperate2.Size = new System.Drawing.Size(568, 75);
this.pnlDetailOperate2.TabIndex = 856;
this.pnlDetailOperate2.Visible = false;
//
// pnlMutliCancelWithTitleWrong
//
this.pnlMutliCancelWithTitleWrong.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
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.Name = "pnlMutliCancelWithTitleWrong";
this.pnlMutliCancelWithTitleWrong.Size = new System.Drawing.Size(98, 23);
this.pnlMutliCancelWithTitleWrong.Style.Alignment = System.Drawing.StringAlignment.Center;
this.pnlMutliCancelWithTitleWrong.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.pnlMutliCancelWithTitleWrong.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.pnlMutliCancelWithTitleWrong.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.pnlMutliCancelWithTitleWrong.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.pnlMutliCancelWithTitleWrong.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.pnlMutliCancelWithTitleWrong.Style.ForeColor.Color = System.Drawing.Color.White;
this.pnlMutliCancelWithTitleWrong.Style.GradientAngle = 90;
this.pnlMutliCancelWithTitleWrong.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.pnlMutliCancelWithTitleWrong.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.pnlMutliCancelWithTitleWrong.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.pnlMutliCancelWithTitleWrong.TabIndex = 772;
this.pnlMutliCancelWithTitleWrong.Text = "批量作废";
this.pnlMutliCancelWithTitleWrong.Click += new System.EventHandler(this.pnlMutliCancelWithTitleWrong_Click);
//
// splitContainer3
//
this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill;
@@ -576,18 +657,18 @@ namespace TemuKJD.KJDForms.AdminForms
//
this.dgvShop.AllowUserToAddRows = false;
this.dgvShop.AllowUserToDeleteRows = false;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
dataGridViewCellStyle8.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle8;
this.dgvShop.BackgroundColor = System.Drawing.Color.White;
this.dgvShop.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
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;
this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colSelect,
@@ -723,7 +804,7 @@ namespace TemuKJD.KJDForms.AdminForms
this.btnClear.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnClear.DisabledBackColor = System.Drawing.Color.Empty;
this.btnClear.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnClear.Location = new System.Drawing.Point(825, 380);
this.btnClear.Location = new System.Drawing.Point(718, 380);
this.btnClear.Name = "btnClear";
this.btnClear.Size = new System.Drawing.Size(90, 21);
this.btnClear.Style.Alignment = System.Drawing.StringAlignment.Center;
@@ -742,22 +823,22 @@ namespace TemuKJD.KJDForms.AdminForms
this.btnClear.Text = "清空结果";
this.btnClear.Visible = false;
//
// dgvAdjust
// dgvPriceCheck
//
this.dgvPriceCheck.AllowUserToAddRows = false;
this.dgvPriceCheck.AllowUserToDeleteRows = false;
dataGridViewCellStyle3.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvPriceCheck.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle3;
dataGridViewCellStyle10.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvPriceCheck.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle10;
this.dgvPriceCheck.BackgroundColor = System.Drawing.Color.White;
this.dgvPriceCheck.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvPriceCheck.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
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;
this.dgvPriceCheck.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvPriceCheck.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colCheck,
@@ -777,59 +858,21 @@ namespace TemuKJD.KJDForms.AdminForms
this.colAdjustPrice,
this.colNewPrice,
this.colPriceTimes,
this.colCreatTime,
this.colOk,
this.colCancel,
this.colCancelWithTitleWrong,
this.colMsg});
this.dgvPriceCheck.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvPriceCheck.Location = new System.Drawing.Point(0, 0);
this.dgvPriceCheck.Name = "dgvAdjust";
this.dgvPriceCheck.Name = "dgvPriceCheck";
this.dgvPriceCheck.ReadOnly = true;
this.dgvPriceCheck.RowHeadersWidth = 36;
this.dgvPriceCheck.RowTemplate.Height = 23;
this.dgvPriceCheck.Size = new System.Drawing.Size(1056, 431);
this.dgvPriceCheck.TabIndex = 187;
this.dgvPriceCheck.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAdjust_CellContentClick);
this.dgvPriceCheck.Scroll += new System.Windows.Forms.ScrollEventHandler(this.dgvAdjust_Scroll);
//
// splitContainer4
//
this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer4.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
this.splitContainer4.Location = new System.Drawing.Point(0, 0);
this.splitContainer4.Name = "splitContainer4";
//
// splitContainer4.Panel1
//
this.splitContainer4.Panel1.Controls.Add(this.ucSplitPage1);
//
// splitContainer4.Panel2
//
this.splitContainer4.Panel2.Controls.Add(this.statusBar);
this.splitContainer4.Size = new System.Drawing.Size(1344, 26);
this.splitContainer4.SplitterDistance = 282;
this.splitContainer4.TabIndex = 3;
//
// ucSplitPage1
//
this.ucSplitPage1.CurrentPage = 1;
this.ucSplitPage1.Dock = System.Windows.Forms.DockStyle.Left;
this.ucSplitPage1.Location = new System.Drawing.Point(0, 0);
this.ucSplitPage1.Margin = new System.Windows.Forms.Padding(0);
this.ucSplitPage1.Name = "ucSplitPage1";
this.ucSplitPage1.Size = new System.Drawing.Size(282, 26);
this.ucSplitPage1.TabIndex = 5;
this.ucSplitPage1.TotalPage = 1;
this.ucSplitPage1.PageChange += new System.Action<object>(this.ucSplitPage1_PageChange);
//
// statusBar
//
this.statusBar.BackColor = System.Drawing.Color.White;
this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.statusBar.Location = new System.Drawing.Point(0, 0);
this.statusBar.Margin = new System.Windows.Forms.Padding(0);
this.statusBar.Name = "statusBar";
this.statusBar.Size = new System.Drawing.Size(1058, 26);
this.statusBar.TabIndex = 2;
this.dgvPriceCheck.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvCheckPrice_CellContentClick);
this.dgvPriceCheck.Scroll += new System.Windows.Forms.ScrollEventHandler(this.dgvPriceCheck_Scroll);
//
// colCheck
//
@@ -838,14 +881,14 @@ namespace TemuKJD.KJDForms.AdminForms
this.colCheck.ReadOnly = true;
this.colCheck.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colCheck.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.colCheck.Width = 30;
this.colCheck.Width = 28;
//
// colProdIndex
//
this.colProdIndex.HeaderText = "商品序号";
this.colProdIndex.HeaderText = "序号";
this.colProdIndex.Name = "colProdIndex";
this.colProdIndex.ReadOnly = true;
this.colProdIndex.Width = 68;
this.colProdIndex.Width = 40;
//
// colOrderId
//
@@ -903,8 +946,8 @@ namespace TemuKJD.KJDForms.AdminForms
//
// colProdName
//
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colProdName.DefaultCellStyle = dataGridViewCellStyle5;
dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colProdName.DefaultCellStyle = dataGridViewCellStyle12;
this.colProdName.HeaderText = "标题";
this.colProdName.Name = "colProdName";
this.colProdName.ReadOnly = true;
@@ -912,8 +955,8 @@ namespace TemuKJD.KJDForms.AdminForms
//
// colSkuName
//
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colSkuName.DefaultCellStyle = dataGridViewCellStyle6;
dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colSkuName.DefaultCellStyle = dataGridViewCellStyle13;
this.colSkuName.HeaderText = "规格名称";
this.colSkuName.Name = "colSkuName";
this.colSkuName.ReadOnly = true;
@@ -931,7 +974,7 @@ namespace TemuKJD.KJDForms.AdminForms
this.colExtCodePrice.HeaderText = "货号进价";
this.colExtCodePrice.Name = "colExtCodePrice";
this.colExtCodePrice.ReadOnly = true;
this.colExtCodePrice.Width = 68;
this.colExtCodePrice.Width = 65;
//
// colPrcie
//
@@ -952,14 +995,23 @@ namespace TemuKJD.KJDForms.AdminForms
this.colNewPrice.HeaderText = "新报价";
this.colNewPrice.Name = "colNewPrice";
this.colNewPrice.ReadOnly = true;
this.colNewPrice.Width = 68;
this.colNewPrice.Width = 60;
//
// colPriceTimes
//
this.colPriceTimes.HeaderText = "报价次数";
this.colPriceTimes.Name = "colPriceTimes";
this.colPriceTimes.ReadOnly = true;
this.colPriceTimes.Width = 68;
this.colPriceTimes.Width = 65;
//
// colCreatTime
//
dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colCreatTime.DefaultCellStyle = dataGridViewCellStyle14;
this.colCreatTime.HeaderText = "创建时间";
this.colCreatTime.Name = "colCreatTime";
this.colCreatTime.ReadOnly = true;
this.colCreatTime.Width = 65;
//
// colOk
//
@@ -968,7 +1020,7 @@ namespace TemuKJD.KJDForms.AdminForms
this.colOk.ReadOnly = true;
this.colOk.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colOk.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.colOk.Width = 68;
this.colOk.Width = 65;
//
// colCancel
//
@@ -977,7 +1029,16 @@ namespace TemuKJD.KJDForms.AdminForms
this.colCancel.ReadOnly = true;
this.colCancel.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colCancel.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.colCancel.Width = 68;
this.colCancel.Width = 65;
//
// colCancelWithTitleWrong
//
this.colCancelWithTitleWrong.HeaderText = "作废待创建";
this.colCancelWithTitleWrong.Name = "colCancelWithTitleWrong";
this.colCancelWithTitleWrong.ReadOnly = true;
this.colCancelWithTitleWrong.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colCancelWithTitleWrong.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.colCancelWithTitleWrong.Width = 80;
//
// colMsg
//
@@ -986,6 +1047,47 @@ namespace TemuKJD.KJDForms.AdminForms
this.colMsg.ReadOnly = true;
this.colMsg.Width = 160;
//
// splitContainer4
//
this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer4.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
this.splitContainer4.Location = new System.Drawing.Point(0, 0);
this.splitContainer4.Name = "splitContainer4";
//
// splitContainer4.Panel1
//
this.splitContainer4.Panel1.Controls.Add(this.ucSplitPage1);
//
// splitContainer4.Panel2
//
this.splitContainer4.Panel2.Controls.Add(this.statusBar);
this.splitContainer4.Size = new System.Drawing.Size(1344, 26);
this.splitContainer4.SplitterDistance = 282;
this.splitContainer4.TabIndex = 3;
//
// ucSplitPage1
//
this.ucSplitPage1.CurrentPage = 1;
this.ucSplitPage1.Dock = System.Windows.Forms.DockStyle.Left;
this.ucSplitPage1.Location = new System.Drawing.Point(0, 0);
this.ucSplitPage1.Margin = new System.Windows.Forms.Padding(0);
this.ucSplitPage1.Name = "ucSplitPage1";
this.ucSplitPage1.Size = new System.Drawing.Size(282, 26);
this.ucSplitPage1.TabIndex = 5;
this.ucSplitPage1.TotalPage = 1;
this.ucSplitPage1.PageChange += new System.Action<object>(this.ucSplitPage1_PageChange);
//
// statusBar
//
this.statusBar.BackColor = System.Drawing.Color.White;
this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.statusBar.Location = new System.Drawing.Point(0, 0);
this.statusBar.Margin = new System.Windows.Forms.Padding(0);
this.statusBar.Name = "statusBar";
this.statusBar.Size = new System.Drawing.Size(1058, 26);
this.statusBar.TabIndex = 2;
//
// AdminProductPriceCheckForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
@@ -1002,6 +1104,9 @@ namespace TemuKJD.KJDForms.AdminForms
this.splitContainer1.ResumeLayout(false);
this.ucGroupBoxEx1.ResumeLayout(false);
this.ucGroupBoxEx1.PerformLayout();
this.pnlDetailOperate1.ResumeLayout(false);
this.pnlDetailOperate1.PerformLayout();
this.pnlDetailOperate2.ResumeLayout(false);
this.splitContainer3.Panel1.ResumeLayout(false);
this.splitContainer3.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).EndInit();
@@ -1069,6 +1174,12 @@ namespace TemuKJD.KJDForms.AdminForms
private System.Windows.Forms.DataGridViewTextBoxColumn colMessage;
private DevComponents.DotNetBar.PanelEx btnSearchPrice2;
private DevComponents.DotNetBar.PanelEx btnStop;
private System.Windows.Forms.DateTimePicker dtpEndTime;
private System.Windows.Forms.DateTimePicker dtpStartTime;
private UserComponent.UcCheckBox chkSearchTime;
private System.Windows.Forms.Panel pnlDetailOperate1;
private System.Windows.Forms.Panel pnlDetailOperate2;
private DevComponents.DotNetBar.PanelEx pnlMutliCancelWithTitleWrong;
private System.Windows.Forms.DataGridViewCheckBoxColumn colCheck;
private System.Windows.Forms.DataGridViewTextBoxColumn colProdIndex;
private System.Windows.Forms.DataGridViewTextBoxColumn colOrderId;
@@ -1086,8 +1197,10 @@ namespace TemuKJD.KJDForms.AdminForms
private System.Windows.Forms.DataGridViewTextBoxColumn colAdjustPrice;
private System.Windows.Forms.DataGridViewTextBoxColumn colNewPrice;
private System.Windows.Forms.DataGridViewTextBoxColumn colPriceTimes;
private System.Windows.Forms.DataGridViewTextBoxColumn colCreatTime;
private System.Windows.Forms.DataGridViewLinkColumn colOk;
private System.Windows.Forms.DataGridViewLinkColumn colCancel;
private System.Windows.Forms.DataGridViewLinkColumn colCancelWithTitleWrong;
private System.Windows.Forms.DataGridViewTextBoxColumn colMsg;
}
}
@@ -37,6 +37,9 @@ namespace TemuKJD.KJDForms.AdminForms
this.dgvShop.AddSelectorColumn("colSelect");
this.dgvPriceCheck.AddSelectorColumn("colCheck");
this.dtpEndTime.Value = DateTime.Now.Date.AddDays(1).AddMilliseconds(-1);
this.dtpStartTime.Value = DateTime.Now.Date.AddDays(-7);
if (BaseClass.SaLevel != 1)
{
//this.chkShowDelete.Visible = false;
@@ -257,12 +260,13 @@ namespace TemuKJD.KJDForms.AdminForms
}
}
private void dgvAdjust_CellContentClick(object sender, DataGridViewCellEventArgs e)
private void dgvCheckPrice_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
if (e.ColumnIndex < 0 || e.RowIndex < 0)
return;
string headerText = dgvPriceCheck.Columns[e.ColumnIndex].HeaderText;
string orderId = dgvPriceCheck.Rows[e.RowIndex].Cells["colOrderId"].Value.ParseToString();
string prodId = dgvPriceCheck.Rows[e.RowIndex].Cells["colProductId"].Value.ParseToString();
string accountId = dgvPriceCheck.Rows[e.RowIndex].Cells["colSupplierId"].Value.ParseToString();
var shop = lstAdminShopInfo.FirstOrDefault(v => v.ShopId == accountId);
@@ -278,15 +282,22 @@ namespace TemuKJD.KJDForms.AdminForms
cancelLowPrice(shop, orderId, dgvPriceCheck.Rows[e.RowIndex]);
}
break;
case "作废待创建":
{
this.cancelTitleWrongPrice(shop, prodId);
}
break;
case "Skc图片":
string url = dgvPriceCheck.Rows[e.RowIndex].Cells["colImgUrl"].Value.ParseToString().Replace("img.kwcdn.com", "img.cdnfe.com");
url = url.IndexOf("?") < 0 ? url : url.Substring(0, url.IndexOf("?"));
ShowImgForm imgFrom = new ShowImgForm(url);
imgFrom.ShowDialog();
break;
default:
case "":
dgvPriceCheck.Rows[e.RowIndex].Cells["colCheck"].Value = !(bool)dgvPriceCheck.Rows[e.RowIndex].Cells["colCheck"].Value;
break;
default:
break;
}
}
@@ -391,6 +402,72 @@ namespace TemuKJD.KJDForms.AdminForms
}
}
private void cancelTitleWrongPrice(ShopLoginInfo shop, string prodId)
{
if (shop == null || string.IsNullOrEmpty(prodId))
return;
var rows = dgvPriceCheck.Rows.Cast<DataGridViewRow>().Where(r => r.Cells["colProductId"].Value.ParseToString() == prodId).ToList();
if (rows.Count == 0)
return;
//TemuSupplierPriceReviewInfo priceReview = null;
TemuCheckPriceInfo checkPriceInfo = null;
foreach (var price in this.lstCheckPriceInfo)
{
if (price.productId.ParseToString() == prodId)
{
checkPriceInfo = price;
break;
}
}
if (checkPriceInfo == null)
return;
string data = "{\"adjustReason\":3,\"adjustItems\":[";
data += "{";
data += "\"productName\":\"" + checkPriceInfo.productName + "\",";
data += "\"productSkcId\":" + checkPriceInfo.skcList.FirstOrDefault()?.skcId + ",";
data += "\"skuAdjustList\":[";
foreach (var sku in checkPriceInfo.skcList.FirstOrDefault()?.skuList)
{
// 2是正常状态,3是作废
if (sku.priceReviewStatus != 2)
continue;
data += "{\"targetPriceCurrency\":\"CNY\",\"oldPriceCurrency\":\"CNY\",";
data += "\"oldSupplyPrice\":" + sku.supplierPriceValue.ParseToInt() + ",";
data += "\"skuId\":" + sku.skuId + ",";
//data += "\"targetSupplyPrice\":" + Math.Max(1, sku.supplierPriceValue.ParseToInt() - 1) + ","; // 测试,每次减少1分
data += "\"targetSupplyPrice\":" + 10 + ","; // 作废后价格改为1角钱,看到低价就不会再买
data += "\"syncPurchasePrice\":1},";
}
data = data.TrimEnd(',');
data += "],";
data += "\"productId\":" + checkPriceInfo.productId + ",";
data += "\"supplierId\":" + checkPriceInfo.supplierId;
data += "}]}";
var rst = priceAdjust(shop, data);
if (rst.Contains("登录过期") || rst.Contains("Invalid Login State"))
{
AdminShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { shop }, false);
Invoke(new Action(() =>
{
displayShopStatus(shop);
}));
}
foreach(var row in rows)
{
if (rst.Contains("\"success\":true"))
{
row.Cells["colMsg"].Value = "已作废商品-价格0.01";
row.Cells["colNewPrice"].Value = 1 / 100.0;
}
else
row.Cells["colMsg"].Value = "作废商品失败" + rst;
}
}
private void cancelLowPrice(ShopLoginInfo shop, string orderId, DataGridViewRow row)
{
if (shop == null)
@@ -416,11 +493,22 @@ namespace TemuKJD.KJDForms.AdminForms
private void btnSearchPrice_Click(object sender, EventArgs e)
{
this.pnlDetailOperate1.Visible = true;
this.pnlDetailOperate2.Visible = false;
this.dgvPriceCheck.Columns["colOk"].Visible = false;
this.dgvPriceCheck.Columns["colCancel"].Visible = true;
this.dgvPriceCheck.Columns["colCancelWithTitleWrong"].Visible = false;
SearchPrice("待卖家确认");
}
private void btnSearchPrice2_Click(object sender, EventArgs e)
{
this.pnlDetailOperate2.Location = this.pnlDetailOperate1.Location;
this.pnlDetailOperate1.Visible = false;
this.pnlDetailOperate2.Visible = true;
this.dgvPriceCheck.Columns["colOk"].Visible = false;
this.dgvPriceCheck.Columns["colCancel"].Visible = false;
this.dgvPriceCheck.Columns["colCancelWithTitleWrong"].Visible = true;
SearchPrice("待创建首单");
}
@@ -434,6 +522,14 @@ namespace TemuKJD.KJDForms.AdminForms
BaseMsgForm.ShowError("没有选择店铺!");
return;
}
if (chkSearchTime.Checked)
{
if (dtpStartTime.Value.Date.AddMonths(3) < dtpEndTime.Value.Date.AddDays(1).AddMilliseconds(-1))
{
BaseMsgForm.ShowError("一次最多只支持查询三个月!");
return;
}
}
this.dgvPriceCheck.Rows.Clear();
this.lstCheckPriceInfo.Clear();
@@ -463,7 +559,13 @@ namespace TemuKJD.KJDForms.AdminForms
if (cancellationTokenSource.IsCancellationRequested)
break;
page++;
var searchRst = this.SearchForChainSupplier(shop, page, txtSkcId.Text.Trim().Trim(','), type);
long startTime = 0, endTime = 0;
if (chkSearchTime.Checked)
{
startTime = BaseClass.DateTimeToTimestampMilliseconds(dtpStartTime.Value.Date);
endTime = BaseClass.DateTimeToTimestampMilliseconds(dtpEndTime.Value.Date.AddDays(1).AddMilliseconds(-1));
}
var searchRst = this.SearchForChainSupplier(shop, page, txtSkcId.Text.Trim().Trim(','), type, startTime, endTime);
if (searchRst.Contains("登录过期") || searchRst.Contains("Invalid Login State"))
{
AdminShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { shop }, false);
@@ -488,14 +590,21 @@ namespace TemuKJD.KJDForms.AdminForms
List<TemuCheckPriceInfo> checkPriceInfoTmpLst = new List<TemuCheckPriceInfo>();
foreach (var item in jArr)
{
var jStr = JsonHelper.SerializeObject(item);
TemuCheckPriceInfo priceInfo = JsonHelper.DeserializeJsonToObject<TemuCheckPriceInfo>(jStr);
lstCheckPriceInfo.Add(priceInfo);
checkPriceInfoTmpLst.Add(priceInfo);
extCodeLst.Add(priceInfo.skcList.FirstOrDefault()?.extCode);
}
var extCodePriceList = GetServerExtCodePriceLst(extCodeLst.Distinct().ToList());
List<TemuDBExtCodePriceInfo> extCodePriceList = new List<TemuDBExtCodePriceInfo>();
try
{
extCodePriceList = GetServerExtCodePriceLst(extCodeLst.Distinct().ToList());
}
catch (Exception ex)
{
BaseMsgForm.ShowError("获取货号价格失败 " + ex.Message);
}
foreach (var priceInfo in checkPriceInfoTmpLst)
{
prodIndex++;
@@ -577,8 +686,10 @@ namespace TemuKJD.KJDForms.AdminForms
suggestSupplyPrice,//核价
"", //新报价
reviewInfo.times, // 修改报价次数
BaseClass.StampToDateTime((priceInfo.skcList.FirstOrDefault()?.statusTime.createdTime.ParseToLong() / 1000).ParseToInt()).ToString("yy/MM/dd HH:mm:ss"),
"同意",
"拒绝",
"作废",
""
);
dgvPriceCheck.Rows[rowId].Height = 60;
@@ -589,11 +700,10 @@ namespace TemuKJD.KJDForms.AdminForms
}
catch (Exception ex)
{
BaseMsgForm.ShowError(ex.Message);
BaseMsgForm.ShowError("查询商品失败 " + ex.Message);
break;
}
}
}
}
@@ -609,22 +719,28 @@ namespace TemuKJD.KJDForms.AdminForms
}
private string SearchForChainSupplier (ShopLoginInfo shop, int page, string prodSkcIds = null, string type = "待卖家确认")
private string SearchForChainSupplier(ShopLoginInfo shop, int page, string prodSkcIds = null, string type = "待卖家确认", long startTime = 0, long endTime = 0)
{
string url = "https://agentseller.temu.com/api/kiana/mms/robin/searchForChainSupplier";
string body = "";
body = "{\"pageSize\":100,\"pageNum\":" + page + ",";
if (startTime != 0 && endTime != 0) // 查询创建时间
body += "\"timeType\":1,\"timeBegin\":" + startTime + ",\"timeEnd\":" + endTime + ",";
if (type == "待卖家确认")
{
body = @"{""pageSize"":100,""pageNum"":" + page + @",""priceReviewStatusList"":[1],""secondarySelectStatusList"":[7],""supplierTodoTypeList"":[]}";
if (!string.IsNullOrEmpty(prodSkcIds))
body = @"{""pageSize"":100,""pageNum"":" + page + @",""priceReviewStatusList"":[1],""secondarySelectStatusList"":[7],""supplierTodoTypeList"":[],""productSkcIdList"":["+ prodSkcIds + "]}";
}
if (type == "待创建首单")
{
body = @"{""pageSize"":100,""pageNum"":" + page + @",""secondarySelectStatusList"":[10],""supplierTodoTypeList"":[]}";
if (!string.IsNullOrEmpty(prodSkcIds))
body = @"{""pageSize"":100,""pageNum"":" + page + @",""secondarySelectStatusList"":[10],""supplierTodoTypeList"":[],""productSkcIdList"":[" + prodSkcIds + "]}";
}
body += "\"priceReviewStatusList\":[1],\"secondarySelectStatusList\":[7],";
else if (type == "待创建首单")
body += "\"secondarySelectStatusList\":[10],";
body += "\"supplierTodoTypeList\":[],";
if (!string.IsNullOrEmpty(prodSkcIds))
body += "\"productSkcIdList\":[" + prodSkcIds + "],";
body = body.TrimEnd(',');
body += "}";
//if (type == "待创建首单")
//{
// body = @"{""pageSize"":100,""pageNum"":" + page + @",""secondarySelectStatusList"":[10],""supplierTodoTypeList"":[]}";
// if (!string.IsNullOrEmpty(prodSkcIds))
// body = @"{""pageSize"":100,""pageNum"":" + page + @",""secondarySelectStatusList"":[10],""supplierTodoTypeList"":[],""productSkcIdList"":[" + prodSkcIds + "]}";
//}
string referer = "https://agentseller.temu.com/newon/product-select";
return KJDHttpResponse.PostResponse2(shop, url, body, referer);
}
@@ -661,6 +777,14 @@ namespace TemuKJD.KJDForms.AdminForms
return KJDHttpResponse.PostResponse2(shop, url, body, referer);
}
private string priceAdjust(ShopLoginInfo shop, string data)
{
string url = "https://agentseller.temu.com/api/kiana/mms/gmp/bg/magneto/api/price/priceAdjust/gmpProductBatchAdjustPrice";
string body = data;
string referer = "https://agentseller.temu.com/newon/product-select";
return KJDHttpResponse.PostResponse2(shop, url, body, referer);
}
private string editPriceProductNameBatchAdd(ShopLoginInfo shop, string productId)
{
string url = "https://agentseller.temu.com/lich-mms/audit/edit/task/product/batchAdd";
@@ -709,7 +833,8 @@ namespace TemuKJD.KJDForms.AdminForms
if (!string.IsNullOrWhiteSpace(imgUrl))
image = GetHtml.GetUrlImg(imgUrl, out getImgError);
if (!string.IsNullOrEmpty(getImgError))
BaseMsgForm.ShowError(getImgError);
//BaseMsgForm.ShowError("图片加载失败 " + getImgError);
image = TemuKJD.Properties.Resources.errpic;
try
{
@@ -726,7 +851,7 @@ namespace TemuKJD.KJDForms.AdminForms
});
}
private void dgvAdjust_Scroll(object sender, ScrollEventArgs e)
private void dgvPriceCheck_Scroll(object sender, ScrollEventArgs e)
{
this.ShowDgvImg();
}
@@ -1007,6 +1132,38 @@ namespace TemuKJD.KJDForms.AdminForms
return JsonHelper.DeserializeJsonToList<TemuDBExtCodePriceInfo>(jArr.ToString());
}
private void pnlMutliCancelWithTitleWrong_Click(object sender, EventArgs e)
{
var rows = this.dgvPriceCheck.Rows.Cast<DataGridViewRow>().Where(r => r.Cells["colCheck"].Value.ParseToBool() == true).ToList();
if (rows.Count == 0)
{
BaseMsgForm.ShowError("未选择要重新报价的商品!");
return;
}
var productIds = rows.Select(r => r.Cells["colProductId"].Value.ParseToString()).Distinct().ToList();
this.pbLoading.Visible = true;
Task.Run(() =>
{
foreach (var prodId in productIds)
{
var row = rows.FirstOrDefault(r => r.Cells["colProductId"].Value.ParseToString() == prodId);
if (row == null)
continue;
var shop = lstAdminShopInfo.FirstOrDefault(s => s.ShopId == row.Cells["colSupplierId"].Value.ParseToString());
if (shop == null)
continue;
this.cancelTitleWrongPrice(shop, prodId);
}
Invoke(new Action(() =>
{
this.pbLoading.Visible = false;
}));
});
}
}
public class PriceCheckConfig
@@ -189,12 +189,18 @@
<metadata name="colPriceTimes.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colCreatTime.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colOk.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colCancel.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colCancelWithTitleWrong.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colMsg.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>