优化客服统计功能

This commit is contained in:
wule committed 2026-02-05 19:32:45 +08:00
1 parent a2a6719a99
commit 4fd8d9cc17
17 files changed
+1218 -471

No files matched your search

+104 -104
View File
@@ -30,12 +30,14 @@
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PDDDBProdEditForm));
this.panel2 = new System.Windows.Forms.Panel();
this.btnBookImg = new DevComponents.DotNetBar.PanelEx();
this.btnEditDetail = new DevComponents.DotNetBar.PanelEx();
this.btnSelect = new TemuKJD.UserControls.ButtonEx();
this.buttonEx1 = new TemuKJD.UserControls.ButtonEx();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.btnOk = new TemuKJD.UserControls.ButtonEx();
this.pnlSkuOption = new System.Windows.Forms.Panel();
this.label9 = new System.Windows.Forms.Label();
this.btnBookImg = new DevComponents.DotNetBar.PanelEx();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.buttonEx1 = new TemuKJD.UserControls.ButtonEx();
this.btnSelect = new TemuKJD.UserControls.ButtonEx();
this.btnEditDetail = new DevComponents.DotNetBar.PanelEx();
this.label7 = new System.Windows.Forms.Label();
this.txtFissionWords = new DevComponents.DotNetBar.Controls.TextBoxX();
this.txtEndWords = new System.Windows.Forms.TextBox();
@@ -48,17 +50,15 @@
this.txtExtCode = new System.Windows.Forms.TextBox();
this.label4 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.lblSkcId = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.label8 = new System.Windows.Forms.Label();
this.txtNotes = new DevComponents.DotNetBar.Controls.TextBoxX();
this.btnOk = new TemuKJD.UserControls.ButtonEx();
this.pnlSkuOption = new System.Windows.Forms.Panel();
this.panel2.SuspendLayout();
this.pnlSkuOption.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.pnlSkuOption.SuspendLayout();
this.SuspendLayout();
//
// panel2
@@ -78,7 +78,7 @@
this.panel2.Controls.Add(this.txtExtCode);
this.panel2.Controls.Add(this.label4);
this.panel2.Controls.Add(this.label3);
this.panel2.Controls.Add(this.label2);
this.panel2.Controls.Add(this.lblSkcId);
this.panel2.Controls.Add(this.label1);
this.panel2.Controls.Add(this.pictureBox1);
this.panel2.Controls.Add(this.label8);
@@ -89,6 +89,45 @@
this.panel2.Size = new System.Drawing.Size(464, 651);
this.panel2.TabIndex = 1;
//
// btnOk
//
this.btnOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnOk.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnOk.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnOk.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnOk.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnOk.ForeColor = System.Drawing.Color.White;
this.btnOk.Location = new System.Drawing.Point(400, 616);
this.btnOk.Margin = new System.Windows.Forms.Padding(2);
this.btnOk.Name = "btnOk";
this.btnOk.Size = new System.Drawing.Size(55, 26);
this.btnOk.TabIndex = 372;
this.btnOk.Text = "提交";
this.btnOk.UseVisualStyleBackColor = false;
this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
//
// pnlSkuOption
//
this.pnlSkuOption.Controls.Add(this.label9);
this.pnlSkuOption.Controls.Add(this.btnBookImg);
this.pnlSkuOption.Controls.Add(this.pictureBox2);
this.pnlSkuOption.Controls.Add(this.buttonEx1);
this.pnlSkuOption.Controls.Add(this.btnSelect);
this.pnlSkuOption.Controls.Add(this.btnEditDetail);
this.pnlSkuOption.Location = new System.Drawing.Point(10, 483);
this.pnlSkuOption.Name = "pnlSkuOption";
this.pnlSkuOption.Size = new System.Drawing.Size(417, 147);
this.pnlSkuOption.TabIndex = 661;
//
// label9
//
this.label9.AutoSize = true;
this.label9.Location = new System.Drawing.Point(8, 10);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(68, 17);
this.label9.TabIndex = 404;
this.label9.Text = "SKU替换图";
//
// btnBookImg
//
this.btnBookImg.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
@@ -114,6 +153,49 @@
this.btnBookImg.Visible = false;
this.btnBookImg.Click += new System.EventHandler(this.btnBookImg_Click);
//
// pictureBox2
//
this.pictureBox2.Location = new System.Drawing.Point(154, 5);
this.pictureBox2.Name = "pictureBox2";
this.pictureBox2.Size = new System.Drawing.Size(136, 136);
this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pictureBox2.TabIndex = 405;
this.pictureBox2.TabStop = false;
this.pictureBox2.Click += new System.EventHandler(this.pictureBox2_Click);
//
// buttonEx1
//
this.buttonEx1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.buttonEx1.Cursor = System.Windows.Forms.Cursors.Hand;
this.buttonEx1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonEx1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.buttonEx1.ForeColor = System.Drawing.Color.White;
this.buttonEx1.Location = new System.Drawing.Point(79, 114);
this.buttonEx1.Margin = new System.Windows.Forms.Padding(2);
this.buttonEx1.Name = "buttonEx1";
this.buttonEx1.Size = new System.Drawing.Size(70, 26);
this.buttonEx1.TabIndex = 406;
this.buttonEx1.Text = "上传图片";
this.buttonEx1.UseVisualStyleBackColor = false;
this.buttonEx1.Visible = false;
this.buttonEx1.Click += new System.EventHandler(this.buttonEx1_Click);
//
// btnSelect
//
this.btnSelect.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSelect.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnSelect.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnSelect.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnSelect.ForeColor = System.Drawing.Color.White;
this.btnSelect.Location = new System.Drawing.Point(79, 5);
this.btnSelect.Margin = new System.Windows.Forms.Padding(2);
this.btnSelect.Name = "btnSelect";
this.btnSelect.Size = new System.Drawing.Size(70, 26);
this.btnSelect.TabIndex = 407;
this.btnSelect.Text = "选择图片";
this.btnSelect.UseVisualStyleBackColor = false;
this.btnSelect.Click += new System.EventHandler(this.btnSelect_Click);
//
// btnEditDetail
//
this.btnEditDetail.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
@@ -138,58 +220,6 @@
this.btnEditDetail.Text = "编辑商品SKU";
this.btnEditDetail.Click += new System.EventHandler(this.btnEditDetail_Click);
//
// btnSelect
//
this.btnSelect.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSelect.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnSelect.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnSelect.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnSelect.ForeColor = System.Drawing.Color.White;
this.btnSelect.Location = new System.Drawing.Point(79, 5);
this.btnSelect.Margin = new System.Windows.Forms.Padding(2);
this.btnSelect.Name = "btnSelect";
this.btnSelect.Size = new System.Drawing.Size(70, 26);
this.btnSelect.TabIndex = 407;
this.btnSelect.Text = "选择图片";
this.btnSelect.UseVisualStyleBackColor = false;
this.btnSelect.Click += new System.EventHandler(this.btnSelect_Click);
//
// buttonEx1
//
this.buttonEx1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.buttonEx1.Cursor = System.Windows.Forms.Cursors.Hand;
this.buttonEx1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonEx1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.buttonEx1.ForeColor = System.Drawing.Color.White;
this.buttonEx1.Location = new System.Drawing.Point(79, 114);
this.buttonEx1.Margin = new System.Windows.Forms.Padding(2);
this.buttonEx1.Name = "buttonEx1";
this.buttonEx1.Size = new System.Drawing.Size(70, 26);
this.buttonEx1.TabIndex = 406;
this.buttonEx1.Text = "上传图片";
this.buttonEx1.UseVisualStyleBackColor = false;
this.buttonEx1.Visible = false;
this.buttonEx1.Click += new System.EventHandler(this.buttonEx1_Click);
//
// pictureBox2
//
this.pictureBox2.Location = new System.Drawing.Point(154, 5);
this.pictureBox2.Name = "pictureBox2";
this.pictureBox2.Size = new System.Drawing.Size(136, 136);
this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pictureBox2.TabIndex = 405;
this.pictureBox2.TabStop = false;
this.pictureBox2.Click += new System.EventHandler(this.pictureBox2_Click);
//
// label9
//
this.label9.AutoSize = true;
this.label9.Location = new System.Drawing.Point(8, 10);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(68, 17);
this.label9.TabIndex = 404;
this.label9.Text = "SKU替换图";
//
// label7
//
this.label7.AutoSize = true;
@@ -312,14 +342,14 @@
this.label3.TabIndex = 392;
this.label3.Text = "商品标题";
//
// label2
// lblSkcId
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(233, 169);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(56, 17);
this.label2.TabIndex = 391;
this.label2.Text = " SKC ID";
this.lblSkcId.AutoSize = true;
this.lblSkcId.Location = new System.Drawing.Point(233, 169);
this.lblSkcId.Name = "lblSkcId";
this.lblSkcId.Size = new System.Drawing.Size(56, 17);
this.lblSkcId.TabIndex = 391;
this.lblSkcId.Text = " SKC ID";
//
// label1
//
@@ -373,36 +403,6 @@
this.txtNotes.Size = new System.Drawing.Size(337, 47);
this.txtNotes.TabIndex = 385;
//
// btnOk
//
this.btnOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnOk.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnOk.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnOk.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnOk.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnOk.ForeColor = System.Drawing.Color.White;
this.btnOk.Location = new System.Drawing.Point(400, 616);
this.btnOk.Margin = new System.Windows.Forms.Padding(2);
this.btnOk.Name = "btnOk";
this.btnOk.Size = new System.Drawing.Size(55, 26);
this.btnOk.TabIndex = 372;
this.btnOk.Text = "提交";
this.btnOk.UseVisualStyleBackColor = false;
this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
//
// pnlSkuOption
//
this.pnlSkuOption.Controls.Add(this.label9);
this.pnlSkuOption.Controls.Add(this.btnBookImg);
this.pnlSkuOption.Controls.Add(this.pictureBox2);
this.pnlSkuOption.Controls.Add(this.buttonEx1);
this.pnlSkuOption.Controls.Add(this.btnSelect);
this.pnlSkuOption.Controls.Add(this.btnEditDetail);
this.pnlSkuOption.Location = new System.Drawing.Point(10, 483);
this.pnlSkuOption.Name = "pnlSkuOption";
this.pnlSkuOption.Size = new System.Drawing.Size(417, 147);
this.pnlSkuOption.TabIndex = 661;
//
// PDDDBProdEditForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
@@ -417,10 +417,10 @@
this.Controls.SetChildIndex(this.panel2, 0);
this.panel2.ResumeLayout(false);
this.panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.pnlSkuOption.ResumeLayout(false);
this.pnlSkuOption.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
}
@@ -432,14 +432,11 @@
private System.Windows.Forms.Label label8;
private DevComponents.DotNetBar.Controls.TextBoxX txtNotes;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.TextBox txtExtCode;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.TextBox txtSpuId;
private System.Windows.Forms.TextBox txtSkcId;
private System.Windows.Forms.TextBox txtProductName;
private System.Windows.Forms.Label label7;
private DevComponents.DotNetBar.Controls.TextBoxX txtFissionWords;
private System.Windows.Forms.TextBox txtEndWords;
@@ -453,5 +450,8 @@
private DevComponents.DotNetBar.PanelEx btnEditDetail;
private DevComponents.DotNetBar.PanelEx btnBookImg;
public System.Windows.Forms.Panel pnlSkuOption;
public System.Windows.Forms.TextBox txtExtCode;
public System.Windows.Forms.TextBox txtProductName;
public System.Windows.Forms.Label lblSkcId;
}
}
@@ -433,7 +433,12 @@ namespace TemuKJD.PDDForms.ProductSelectForms
case "编辑/详情":
PDDDBProdEditForm editForm = new PDDDBProdEditForm(dbProduct);
if (BaseClass.MainPath != "binxixi")
{
editForm.pnlSkuOption.Visible = false;
editForm.txtProductName.ReadOnly = true;
editForm.txtExtCode.ReadOnly = true;
editForm.lblSkcId.Text = "仓库编码";
}
editForm.ShowDialog();
dgvDbProduct.Rows[e.RowIndex].Cells["col_notes"].Value = dbProduct.notes;
dgvDbProduct.Rows[e.RowIndex].Cells["col_ext_code"].Value = dbProduct.ext_code;
+1 -1
View File
@@ -138,7 +138,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.txtAddMorePrice.Name = "txtAddMorePrice";
this.txtAddMorePrice.Size = new System.Drawing.Size(31, 23);
this.txtAddMorePrice.TabIndex = 547;
this.txtAddMorePrice.Text = "5.0";
this.txtAddMorePrice.Text = "10.0";
this.txtAddMorePrice.TextChanged += new System.EventHandler(this.Price_TextChanged);
//
// lblSinglePriceAdd