微信界面调整 拼多多买手售后单问题修复

This commit is contained in:
wule_5900x committed 2026-05-10 14:28:18 +08:00
1 parent f9572ea046
commit a3d15b1b3d
50 files changed
+2076 -1932

No files matched your search

+312 -312
View File
@@ -40,12 +40,12 @@ namespace TemuKJD.WXForms.TalkForms
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BuyerOrderListForm));
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.chkAutoAfterSale = new TemuKJD.UserComponent.UcCheckBox(this.components);
@@ -81,34 +81,35 @@ namespace TemuKJD.WXForms.TalkForms
this.colMessage = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.splitContainer3 = new System.Windows.Forms.SplitContainer();
this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
this.btnClose = new DevComponents.DotNetBar.PanelEx();
this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
this.panel2 = new System.Windows.Forms.Panel();
this.txtOrderMsgFilter = new System.Windows.Forms.TextBox();
this.label4 = new System.Windows.Forms.Label();
this.txtOrderSnFilter = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.dgvAfterSale = new TemuKJD.UserComponent.DataGridViewEx();
this.dataGridViewCheckBoxColumn2 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colRBuyerId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colRBuyerName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colRAfterSaleId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colRPddOrderSn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colROrderDate = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewImageColumn1 = new System.Windows.Forms.DataGridViewImageColumn();
this.colRGoodsInfo = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colROrderAmount = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colRRefundAmount = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colRStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colRMsg = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewLinkColumn1 = new System.Windows.Forms.DataGridViewLinkColumn();
this.btnExchange = new DevComponents.DotNetBar.PanelEx();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.lblMsg = new System.Windows.Forms.Label();
this.btnRestore = new DevComponents.DotNetBar.PanelEx();
this.txtOrderSnFilter = new System.Windows.Forms.TextBox();
this.btnFilterOrder = new DevComponents.DotNetBar.PanelEx();
this.dgvPddBuyerOrder = new TemuKJD.UserComponent.DataGridViewEx();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.btnFilter = new DevComponents.DotNetBar.PanelEx();
this.label3 = new System.Windows.Forms.Label();
this.pnlEmpty = new DevComponents.DotNetBar.PanelEx();
this.label17 = new System.Windows.Forms.Label();
this.txtMobile = new System.Windows.Forms.TextBox();
this.txtOrderSn = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.dtpStartTime = new System.Windows.Forms.DateTimePicker();
this.label14 = new System.Windows.Forms.Label();
this.dtpEndTime = new System.Windows.Forms.DateTimePicker();
this.chkOnlyShowCurrentShop = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.lblCurrentShop = new System.Windows.Forms.Label();
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
this.label1 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.dataGridViewCheckBoxColumn1 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colOBuyerId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colOBuyerName = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -124,21 +125,20 @@ namespace TemuKJD.WXForms.TalkForms
this.colOMsg = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colSend = new System.Windows.Forms.DataGridViewLinkColumn();
this.colAfterSale = new System.Windows.Forms.DataGridViewLinkColumn();
this.dataGridViewCheckBoxColumn2 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colRBuyerId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colRBuyerName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colRAfterSaleId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colRPddOrderSn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colROrderDate = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewImageColumn1 = new System.Windows.Forms.DataGridViewImageColumn();
this.colRGoodsInfo = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colROrderAmount = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colRRefundAmount = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colRStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colRMsg = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewLinkColumn1 = new System.Windows.Forms.DataGridViewLinkColumn();
this.txtOrderMsgFilter = new System.Windows.Forms.TextBox();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.btnFilter = new DevComponents.DotNetBar.PanelEx();
this.label3 = new System.Windows.Forms.Label();
this.pnlEmpty = new DevComponents.DotNetBar.PanelEx();
this.label17 = new System.Windows.Forms.Label();
this.txtMobile = new System.Windows.Forms.TextBox();
this.txtOrderSn = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.dtpStartTime = new System.Windows.Forms.DateTimePicker();
this.label14 = new System.Windows.Forms.Label();
this.dtpEndTime = new System.Windows.Forms.DateTimePicker();
this.chkOnlyShowCurrentShop = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.lblCurrentShop = new System.Windows.Forms.Label();
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
@@ -639,7 +639,7 @@ namespace TemuKJD.WXForms.TalkForms
//
// splitContainer3.Panel2
//
this.splitContainer3.Panel2.Controls.Add(this.panelEx3);
this.splitContainer3.Panel2.Controls.Add(this.btnClose);
this.splitContainer3.Panel2.Controls.Add(this.panelEx2);
this.splitContainer3.Panel2.Controls.Add(this.panelEx1);
this.splitContainer3.Panel2.Controls.Add(this.panel2);
@@ -650,30 +650,30 @@ namespace TemuKJD.WXForms.TalkForms
this.splitContainer3.SplitterDistance = 364;
this.splitContainer3.TabIndex = 8;
//
// panelEx3
// btnClose
//
this.panelEx3.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.panelEx3.Cursor = System.Windows.Forms.Cursors.Hand;
this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
this.panelEx3.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.panelEx3.Location = new System.Drawing.Point(501, 638);
this.panelEx3.Name = "panelEx3";
this.panelEx3.Size = new System.Drawing.Size(61, 20);
this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
this.panelEx3.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.panelEx3.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.panelEx3.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.panelEx3.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.panelEx3.Style.ForeColor.Color = System.Drawing.Color.White;
this.panelEx3.Style.GradientAngle = 90;
this.panelEx3.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.panelEx3.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.panelEx3.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.panelEx3.TabIndex = 898;
this.panelEx3.Text = "折叠";
this.panelEx3.Click += new System.EventHandler(this.btnClose_Click);
this.btnClose.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
this.btnClose.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnClose.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnClose.DisabledBackColor = System.Drawing.Color.Empty;
this.btnClose.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnClose.Location = new System.Drawing.Point(501, 637);
this.btnClose.Name = "btnClose";
this.btnClose.Size = new System.Drawing.Size(61, 20);
this.btnClose.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnClose.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnClose.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnClose.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnClose.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnClose.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnClose.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnClose.Style.GradientAngle = 90;
this.btnClose.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnClose.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnClose.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnClose.TabIndex = 898;
this.btnClose.Text = "折叠";
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
//
// panelEx2
//
@@ -746,6 +746,38 @@ namespace TemuKJD.WXForms.TalkForms
this.panel2.Size = new System.Drawing.Size(1062, 345);
this.panel2.TabIndex = 908;
//
// txtOrderMsgFilter
//
this.txtOrderMsgFilter.Location = new System.Drawing.Point(425, 3);
this.txtOrderMsgFilter.Name = "txtOrderMsgFilter";
this.txtOrderMsgFilter.Size = new System.Drawing.Size(242, 23);
this.txtOrderMsgFilter.TabIndex = 953;
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(372, 6);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(56, 17);
this.label4.TabIndex = 952;
this.label4.Text = "订单信息";
//
// txtOrderSnFilter
//
this.txtOrderSnFilter.Location = new System.Drawing.Point(124, 3);
this.txtOrderSnFilter.Name = "txtOrderSnFilter";
this.txtOrderSnFilter.Size = new System.Drawing.Size(242, 23);
this.txtOrderSnFilter.TabIndex = 903;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(1, 6);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(126, 17);
this.label1.TabIndex = 951;
this.label1.Text = "买手/订单号/售后单号";
//
// dgvAfterSale
//
this.dgvAfterSale.AllowUserToAddRows = false;
@@ -792,6 +824,113 @@ namespace TemuKJD.WXForms.TalkForms
this.dgvAfterSale.TabIndex = 941;
this.dgvAfterSale.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAfterSale_CellContentClick);
//
// dataGridViewCheckBoxColumn2
//
this.dataGridViewCheckBoxColumn2.FillWeight = 26F;
this.dataGridViewCheckBoxColumn2.HeaderText = "选";
this.dataGridViewCheckBoxColumn2.Name = "dataGridViewCheckBoxColumn2";
this.dataGridViewCheckBoxColumn2.ReadOnly = true;
this.dataGridViewCheckBoxColumn2.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewCheckBoxColumn2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
//
// colRBuyerId
//
this.colRBuyerId.HeaderText = "买手编号";
this.colRBuyerId.Name = "colRBuyerId";
this.colRBuyerId.ReadOnly = true;
this.colRBuyerId.Visible = false;
//
// colRBuyerName
//
this.colRBuyerName.FillWeight = 80F;
this.colRBuyerName.HeaderText = "买手名称";
this.colRBuyerName.Name = "colRBuyerName";
this.colRBuyerName.ReadOnly = true;
//
// colRAfterSaleId
//
this.colRAfterSaleId.FillWeight = 80F;
this.colRAfterSaleId.HeaderText = "售后单号";
this.colRAfterSaleId.Name = "colRAfterSaleId";
this.colRAfterSaleId.ReadOnly = true;
//
// colRPddOrderSn
//
this.colRPddOrderSn.HeaderText = "拍单订单号";
this.colRPddOrderSn.Name = "colRPddOrderSn";
this.colRPddOrderSn.ReadOnly = true;
//
// colROrderDate
//
dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colROrderDate.DefaultCellStyle = dataGridViewCellStyle11;
this.colROrderDate.FillWeight = 70F;
this.colROrderDate.HeaderText = "拍单日期";
this.colROrderDate.Name = "colROrderDate";
this.colROrderDate.ReadOnly = true;
//
// dataGridViewTextBoxColumn5
//
this.dataGridViewTextBoxColumn5.HeaderText = "图片路径";
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
this.dataGridViewTextBoxColumn5.ReadOnly = true;
this.dataGridViewTextBoxColumn5.Visible = false;
//
// dataGridViewImageColumn1
//
this.dataGridViewImageColumn1.FillWeight = 35F;
this.dataGridViewImageColumn1.HeaderText = "订单图片";
this.dataGridViewImageColumn1.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Zoom;
this.dataGridViewImageColumn1.Name = "dataGridViewImageColumn1";
this.dataGridViewImageColumn1.ReadOnly = true;
this.dataGridViewImageColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewImageColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.dataGridViewImageColumn1.Visible = false;
//
// colRGoodsInfo
//
dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colRGoodsInfo.DefaultCellStyle = dataGridViewCellStyle12;
this.colRGoodsInfo.FillWeight = 140F;
this.colRGoodsInfo.HeaderText = "商品信息";
this.colRGoodsInfo.Name = "colRGoodsInfo";
this.colRGoodsInfo.ReadOnly = true;
//
// colROrderAmount
//
this.colROrderAmount.FillWeight = 50F;
this.colROrderAmount.HeaderText = "付款金额";
this.colROrderAmount.Name = "colROrderAmount";
this.colROrderAmount.ReadOnly = true;
//
// colRRefundAmount
//
this.colRRefundAmount.FillWeight = 50F;
this.colRRefundAmount.HeaderText = "退款金额";
this.colRRefundAmount.Name = "colRRefundAmount";
this.colRRefundAmount.ReadOnly = true;
//
// colRStatus
//
this.colRStatus.HeaderText = "售后状态";
this.colRStatus.Name = "colRStatus";
this.colRStatus.ReadOnly = true;
//
// colRMsg
//
this.colRMsg.HeaderText = "订单信息";
this.colRMsg.Name = "colRMsg";
this.colRMsg.ReadOnly = true;
//
// dataGridViewLinkColumn1
//
this.dataGridViewLinkColumn1.FillWeight = 50F;
this.dataGridViewLinkColumn1.HeaderText = "发送";
this.dataGridViewLinkColumn1.Name = "dataGridViewLinkColumn1";
this.dataGridViewLinkColumn1.ReadOnly = true;
this.dataGridViewLinkColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewLinkColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
//
// btnExchange
//
this.btnExchange.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
@@ -862,13 +1001,6 @@ namespace TemuKJD.WXForms.TalkForms
this.btnRestore.Text = "还原";
this.btnRestore.Click += new System.EventHandler(this.btnRestore_Click);
//
// txtOrderSnFilter
//
this.txtOrderSnFilter.Location = new System.Drawing.Point(124, 3);
this.txtOrderSnFilter.Name = "txtOrderSnFilter";
this.txtOrderSnFilter.Size = new System.Drawing.Size(242, 23);
this.txtOrderSnFilter.TabIndex = 903;
//
// btnFilterOrder
//
this.btnFilterOrder.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
@@ -940,6 +1072,119 @@ namespace TemuKJD.WXForms.TalkForms
this.dgvPddBuyerOrder.TabIndex = 886;
this.dgvPddBuyerOrder.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvPddBuyerOrder_CellContentClick);
//
// dataGridViewCheckBoxColumn1
//
this.dataGridViewCheckBoxColumn1.FillWeight = 26F;
this.dataGridViewCheckBoxColumn1.HeaderText = "选";
this.dataGridViewCheckBoxColumn1.Name = "dataGridViewCheckBoxColumn1";
this.dataGridViewCheckBoxColumn1.ReadOnly = true;
this.dataGridViewCheckBoxColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewCheckBoxColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
//
// colOBuyerId
//
this.colOBuyerId.HeaderText = "买手编号";
this.colOBuyerId.Name = "colOBuyerId";
this.colOBuyerId.ReadOnly = true;
this.colOBuyerId.Visible = false;
//
// colOBuyerName
//
this.colOBuyerName.FillWeight = 80F;
this.colOBuyerName.HeaderText = "买手名称";
this.colOBuyerName.Name = "colOBuyerName";
this.colOBuyerName.ReadOnly = true;
//
// colOPddOrderSn
//
this.colOPddOrderSn.HeaderText = "拍单订单号";
this.colOPddOrderSn.Name = "colOPddOrderSn";
this.colOPddOrderSn.ReadOnly = true;
//
// colOOrderTime
//
dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colOOrderTime.DefaultCellStyle = dataGridViewCellStyle15;
this.colOOrderTime.FillWeight = 70F;
this.colOOrderTime.HeaderText = "拍单时间";
this.colOOrderTime.Name = "colOOrderTime";
this.colOOrderTime.ReadOnly = true;
//
// colOImgUrl
//
this.colOImgUrl.HeaderText = "图片路径";
this.colOImgUrl.Name = "colOImgUrl";
this.colOImgUrl.ReadOnly = true;
this.colOImgUrl.Visible = false;
//
// colOImg
//
this.colOImg.FillWeight = 35F;
this.colOImg.HeaderText = "订单图片";
this.colOImg.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Zoom;
this.colOImg.Name = "colOImg";
this.colOImg.ReadOnly = true;
this.colOImg.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colOImg.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.colOImg.Visible = false;
//
// colOGoodsInfo
//
dataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colOGoodsInfo.DefaultCellStyle = dataGridViewCellStyle16;
this.colOGoodsInfo.FillWeight = 140F;
this.colOGoodsInfo.HeaderText = "商品信息";
this.colOGoodsInfo.Name = "colOGoodsInfo";
this.colOGoodsInfo.ReadOnly = true;
//
// colOOrderAmount
//
this.colOOrderAmount.FillWeight = 50F;
this.colOOrderAmount.HeaderText = "金额";
this.colOOrderAmount.Name = "colOOrderAmount";
this.colOOrderAmount.ReadOnly = true;
//
// colOStatus
//
this.colOStatus.HeaderText = "订单状态";
this.colOStatus.Name = "colOStatus";
this.colOStatus.ReadOnly = true;
//
// colOExpressName
//
this.colOExpressName.HeaderText = "物流名称";
this.colOExpressName.Name = "colOExpressName";
this.colOExpressName.ReadOnly = true;
//
// colOExpressId
//
this.colOExpressId.HeaderText = "物流单号";
this.colOExpressId.Name = "colOExpressId";
this.colOExpressId.ReadOnly = true;
//
// colOMsg
//
this.colOMsg.HeaderText = "订单信息";
this.colOMsg.Name = "colOMsg";
this.colOMsg.ReadOnly = true;
//
// colSend
//
this.colSend.FillWeight = 50F;
this.colSend.HeaderText = "发送";
this.colSend.Name = "colSend";
this.colSend.ReadOnly = true;
this.colSend.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colSend.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
//
// colAfterSale
//
this.colAfterSale.FillWeight = 50F;
this.colAfterSale.HeaderText = "退货";
this.colAfterSale.Name = "colAfterSale";
this.colAfterSale.ReadOnly = true;
this.colAfterSale.Visible = false;
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
@@ -1153,251 +1398,6 @@ namespace TemuKJD.WXForms.TalkForms
this.statusBar.Size = new System.Drawing.Size(1438, 25);
this.statusBar.TabIndex = 5;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(1, 6);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(126, 17);
this.label1.TabIndex = 951;
this.label1.Text = "买手/订单号/售后单号";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(372, 6);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(56, 17);
this.label4.TabIndex = 952;
this.label4.Text = "订单信息";
//
// dataGridViewCheckBoxColumn1
//
this.dataGridViewCheckBoxColumn1.FillWeight = 26F;
this.dataGridViewCheckBoxColumn1.HeaderText = "选";
this.dataGridViewCheckBoxColumn1.Name = "dataGridViewCheckBoxColumn1";
this.dataGridViewCheckBoxColumn1.ReadOnly = true;
this.dataGridViewCheckBoxColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewCheckBoxColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
//
// colOBuyerId
//
this.colOBuyerId.HeaderText = "买手编号";
this.colOBuyerId.Name = "colOBuyerId";
this.colOBuyerId.ReadOnly = true;
this.colOBuyerId.Visible = false;
//
// colOBuyerName
//
this.colOBuyerName.FillWeight = 80F;
this.colOBuyerName.HeaderText = "买手名称";
this.colOBuyerName.Name = "colOBuyerName";
this.colOBuyerName.ReadOnly = true;
//
// colOPddOrderSn
//
this.colOPddOrderSn.HeaderText = "拍单订单号";
this.colOPddOrderSn.Name = "colOPddOrderSn";
this.colOPddOrderSn.ReadOnly = true;
//
// colOOrderTime
//
dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colOOrderTime.DefaultCellStyle = dataGridViewCellStyle15;
this.colOOrderTime.FillWeight = 70F;
this.colOOrderTime.HeaderText = "拍单时间";
this.colOOrderTime.Name = "colOOrderTime";
this.colOOrderTime.ReadOnly = true;
//
// colOImgUrl
//
this.colOImgUrl.HeaderText = "图片路径";
this.colOImgUrl.Name = "colOImgUrl";
this.colOImgUrl.ReadOnly = true;
this.colOImgUrl.Visible = false;
//
// colOImg
//
this.colOImg.FillWeight = 35F;
this.colOImg.HeaderText = "订单图片";
this.colOImg.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Zoom;
this.colOImg.Name = "colOImg";
this.colOImg.ReadOnly = true;
this.colOImg.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colOImg.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.colOImg.Visible = false;
//
// colOGoodsInfo
//
dataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colOGoodsInfo.DefaultCellStyle = dataGridViewCellStyle16;
this.colOGoodsInfo.FillWeight = 140F;
this.colOGoodsInfo.HeaderText = "商品信息";
this.colOGoodsInfo.Name = "colOGoodsInfo";
this.colOGoodsInfo.ReadOnly = true;
//
// colOOrderAmount
//
this.colOOrderAmount.FillWeight = 50F;
this.colOOrderAmount.HeaderText = "金额";
this.colOOrderAmount.Name = "colOOrderAmount";
this.colOOrderAmount.ReadOnly = true;
//
// colOStatus
//
this.colOStatus.HeaderText = "订单状态";
this.colOStatus.Name = "colOStatus";
this.colOStatus.ReadOnly = true;
//
// colOExpressName
//
this.colOExpressName.HeaderText = "物流名称";
this.colOExpressName.Name = "colOExpressName";
this.colOExpressName.ReadOnly = true;
//
// colOExpressId
//
this.colOExpressId.HeaderText = "物流单号";
this.colOExpressId.Name = "colOExpressId";
this.colOExpressId.ReadOnly = true;
//
// colOMsg
//
this.colOMsg.HeaderText = "订单信息";
this.colOMsg.Name = "colOMsg";
this.colOMsg.ReadOnly = true;
//
// colSend
//
this.colSend.FillWeight = 50F;
this.colSend.HeaderText = "发送";
this.colSend.Name = "colSend";
this.colSend.ReadOnly = true;
this.colSend.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colSend.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
//
// colAfterSale
//
this.colAfterSale.FillWeight = 50F;
this.colAfterSale.HeaderText = "退货";
this.colAfterSale.Name = "colAfterSale";
this.colAfterSale.ReadOnly = true;
this.colAfterSale.Visible = false;
//
// dataGridViewCheckBoxColumn2
//
this.dataGridViewCheckBoxColumn2.FillWeight = 26F;
this.dataGridViewCheckBoxColumn2.HeaderText = "选";
this.dataGridViewCheckBoxColumn2.Name = "dataGridViewCheckBoxColumn2";
this.dataGridViewCheckBoxColumn2.ReadOnly = true;
this.dataGridViewCheckBoxColumn2.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewCheckBoxColumn2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
//
// colRBuyerId
//
this.colRBuyerId.HeaderText = "买手编号";
this.colRBuyerId.Name = "colRBuyerId";
this.colRBuyerId.ReadOnly = true;
this.colRBuyerId.Visible = false;
//
// colRBuyerName
//
this.colRBuyerName.FillWeight = 80F;
this.colRBuyerName.HeaderText = "买手名称";
this.colRBuyerName.Name = "colRBuyerName";
this.colRBuyerName.ReadOnly = true;
//
// colRAfterSaleId
//
this.colRAfterSaleId.FillWeight = 80F;
this.colRAfterSaleId.HeaderText = "售后单号";
this.colRAfterSaleId.Name = "colRAfterSaleId";
this.colRAfterSaleId.ReadOnly = true;
//
// colRPddOrderSn
//
this.colRPddOrderSn.HeaderText = "拍单订单号";
this.colRPddOrderSn.Name = "colRPddOrderSn";
this.colRPddOrderSn.ReadOnly = true;
//
// colROrderDate
//
dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colROrderDate.DefaultCellStyle = dataGridViewCellStyle11;
this.colROrderDate.FillWeight = 70F;
this.colROrderDate.HeaderText = "拍单日期";
this.colROrderDate.Name = "colROrderDate";
this.colROrderDate.ReadOnly = true;
//
// dataGridViewTextBoxColumn5
//
this.dataGridViewTextBoxColumn5.HeaderText = "图片路径";
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
this.dataGridViewTextBoxColumn5.ReadOnly = true;
this.dataGridViewTextBoxColumn5.Visible = false;
//
// dataGridViewImageColumn1
//
this.dataGridViewImageColumn1.FillWeight = 35F;
this.dataGridViewImageColumn1.HeaderText = "订单图片";
this.dataGridViewImageColumn1.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Zoom;
this.dataGridViewImageColumn1.Name = "dataGridViewImageColumn1";
this.dataGridViewImageColumn1.ReadOnly = true;
this.dataGridViewImageColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewImageColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.dataGridViewImageColumn1.Visible = false;
//
// colRGoodsInfo
//
dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colRGoodsInfo.DefaultCellStyle = dataGridViewCellStyle12;
this.colRGoodsInfo.FillWeight = 140F;
this.colRGoodsInfo.HeaderText = "商品信息";
this.colRGoodsInfo.Name = "colRGoodsInfo";
this.colRGoodsInfo.ReadOnly = true;
//
// colROrderAmount
//
this.colROrderAmount.FillWeight = 50F;
this.colROrderAmount.HeaderText = "付款金额";
this.colROrderAmount.Name = "colROrderAmount";
this.colROrderAmount.ReadOnly = true;
//
// colRRefundAmount
//
this.colRRefundAmount.FillWeight = 50F;
this.colRRefundAmount.HeaderText = "退款金额";
this.colRRefundAmount.Name = "colRRefundAmount";
this.colRRefundAmount.ReadOnly = true;
//
// colRStatus
//
this.colRStatus.HeaderText = "售后状态";
this.colRStatus.Name = "colRStatus";
this.colRStatus.ReadOnly = true;
//
// colRMsg
//
this.colRMsg.HeaderText = "订单信息";
this.colRMsg.Name = "colRMsg";
this.colRMsg.ReadOnly = true;
//
// dataGridViewLinkColumn1
//
this.dataGridViewLinkColumn1.FillWeight = 50F;
this.dataGridViewLinkColumn1.HeaderText = "发送";
this.dataGridViewLinkColumn1.Name = "dataGridViewLinkColumn1";
this.dataGridViewLinkColumn1.ReadOnly = true;
this.dataGridViewLinkColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewLinkColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
//
// txtOrderMsgFilter
//
this.txtOrderMsgFilter.Location = new System.Drawing.Point(425, 3);
this.txtOrderMsgFilter.Name = "txtOrderMsgFilter";
this.txtOrderMsgFilter.Size = new System.Drawing.Size(242, 23);
this.txtOrderMsgFilter.TabIndex = 953;
//
// BuyerOrderListForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
@@ -1484,7 +1484,7 @@ namespace TemuKJD.WXForms.TalkForms
private DevComponents.DotNetBar.PanelEx btnRefresh;
private DevComponents.DotNetBar.PanelEx btnCheck;
private UserComponent.DataGridViewEx dgvPddBuyerOrder;
private DevComponents.DotNetBar.PanelEx panelEx3;
private DevComponents.DotNetBar.PanelEx btnClose;
private DevComponents.DotNetBar.PanelEx panelEx2;
private DevComponents.DotNetBar.PanelEx panelEx1;
private UserComponent.UcCheckBox chkPause;
+146 -78
View File
@@ -45,7 +45,7 @@ namespace TemuKJD.WXForms.TalkForms
ConcurrentList<PddBuyerOrderInfoLite> lstPddBuyerOrderInfoLite { get; set; } = new ConcurrentList<PddBuyerOrderInfoLite>();
ConcurrentList<PddBuyerAfterSaleInfoLite> lstPddBuyerAfterSaleInfoLite { get; set; } = new ConcurrentList<PddBuyerAfterSaleInfoLite>();
public CancellationTokenSource cancellationTokenSource { get; set; } = new CancellationTokenSource();
public ChromiumWebBrowser cefWebBrowser = null;
//public ChromiumWebBrowser cefWebBrowser = null;
public BuyerOrderConfig buyerOrderConfig = new BuyerOrderConfig();
public DateTime nextGetOrderTime = DateTime.MinValue;
public bool isLoadComplate = false;
@@ -72,8 +72,6 @@ namespace TemuKJD.WXForms.TalkForms
dgvAfterSale.Height = dgvPddBuyerOrder.Height;
dgvAfterSale.SendToBack();
InitCef();
buyerOrderConfig = NaiBa.Util.Helper.ConfigHelper.LoadConfig<BuyerOrderConfig>("pdd_buyer_order_config");
if (buyerOrderConfig == null)
buyerOrderConfig = new BuyerOrderConfig();
@@ -101,6 +99,7 @@ namespace TemuKJD.WXForms.TalkForms
{
Thread.Sleep(500);
}
InitCef();
ShowExistOrder();
while (isInitOrder || isInitAfterSale)
@@ -136,34 +135,42 @@ namespace TemuKJD.WXForms.TalkForms
void ShowExistOrder()
{
isInitOrder = true;
Task.Run(() => {
foreach(var order in lstPddBuyerOrderInfoLite)
//Task.Run(() => {
int index = 0;
foreach (var order in lstPddBuyerOrderInfoLite)
{
if (index % 100 == 0)
Thread.Sleep(1);
index++;
if (GlobalConfig.BuyerLoginList.Any(b => b.buyer_id == order.buyerId))
{
if (GlobalConfig.BuyerLoginList.Any(b => b.buyer_id == order.buyerId))
Invoke(new Action(() =>
{
Invoke(new Action(() =>
{
ShowOrder(order);
}));
}
ShowOrder(order);
}));
}
isInitOrder = false;
});
}
isInitOrder = false;
//});
isInitAfterSale = true;
Task.Run(() => {
foreach (var afterSale in lstPddBuyerAfterSaleInfoLite)
//Task.Run(() => {
//int index = 0;
foreach (var afterSale in lstPddBuyerAfterSaleInfoLite)
{
if (index % 100 == 0)
Thread.Sleep(1);
index++;
if (GlobalConfig.BuyerLoginList.Any(b => b.buyer_id == afterSale.buyerId))
{
if (GlobalConfig.BuyerLoginList.Any(b => b.buyer_id == afterSale.buyerId))
Invoke(new Action(() =>
{
Invoke(new Action(() =>
{
ShowAfterSale(afterSale);
}));
}
ShowAfterSale(lstPddBuyerAfterSaleInfoLite.FirstOrDefault(a => a.orderSn == afterSale.orderSn));
}));
}
isInitAfterSale = false;
});
}
isInitAfterSale = false;
//});
}
void ShowOrder(PddBuyerOrderInfoLite order)
@@ -264,6 +271,11 @@ namespace TemuKJD.WXForms.TalkForms
if (afterSale == null)
return;
if (afterSale.orderSn == "260414-035525772830257")
{
}
var row = dgvAfterSale.Rows.Cast<DataGridViewRow>().FirstOrDefault(p => p.Cells.GetCellValueFromColumnName("colRPddOrderSn").ParseToString() == afterSale.orderSn);
if (row == null)
{
@@ -337,20 +349,27 @@ namespace TemuKJD.WXForms.TalkForms
private void InitCef()
{
cefWebBrowser = CEFBrowser.CreateChromiumWebBrowser("about:blank", false);
CustomResourceRequestHandlerLocal resourceRequestHandler = new CustomResourceRequestHandlerLocal();
resourceRequestHandler.ResourceLoadCompleteEvent += RequestHandler_ResourceLoadComplete;
resourceRequestHandler.BeforeResourceLoadEvent += RequestHandler_BeforeResourceLoad;
cefWebBrowser.RequestHandler = new CustomRequestHandler(resourceRequestHandler);
var lifeSapnHandler = new LifeSpanHandlerLocal(PopWindowType.SelfWindow);
cefWebBrowser.LifeSpanHandler = lifeSapnHandler;
cefWebBrowser.KeyboardHandler = new KeyboardHandler();
cefWebBrowser.FrameLoadEnd += CefWebBrowser_FrameLoadEnd;
cefWebBrowser.AddressChanged += CefWebBrowser_AddressChanged;
cefWebBrowser.LoadError += CefWebBrowser_LoadError;
cefWebBrowser.Dock = DockStyle.Fill;
cefWebBrowser.SendToBack();
splitContainer3.Panel2.Controls.Add(cefWebBrowser);
foreach (var buyer in GlobalConfig.BuyerLoginList)
{
Thread.Sleep(1);
Invoke(new Action(() =>
{
buyer.browser = CEFBrowser.CreateChromiumWebBrowser("about:blank", false);
CustomResourceRequestHandlerLocal resourceRequestHandler = new CustomResourceRequestHandlerLocal();
resourceRequestHandler.ResourceLoadCompleteEvent += RequestHandler_ResourceLoadComplete;
resourceRequestHandler.BeforeResourceLoadEvent += RequestHandler_BeforeResourceLoad;
buyer.browser.RequestHandler = new CustomRequestHandler(resourceRequestHandler);
var lifeSapnHandler = new LifeSpanHandlerLocal(PopWindowType.SelfWindow);
buyer.browser.LifeSpanHandler = lifeSapnHandler;
buyer.browser.KeyboardHandler = new KeyboardHandler();
buyer.browser.FrameLoadEnd += CefWebBrowser_FrameLoadEnd;
buyer.browser.AddressChanged += CefWebBrowser_AddressChanged;
buyer.browser.LoadError += CefWebBrowser_LoadError;
buyer.browser.Dock = DockStyle.Fill;
buyer.browser.SendToBack();
splitContainer3.Panel2.Controls.Add(buyer.browser);
}));
}
//js绑定C#对象
//PDDShopBrowserObject shopObj = new PDDShopBrowserObject();
@@ -450,7 +469,6 @@ namespace TemuKJD.WXForms.TalkForms
Task.Run(() =>
{
CefReadBuyerAfterSale(url1, data1);
});
}
@@ -599,6 +617,11 @@ namespace TemuKJD.WXForms.TalkForms
if (buyer == null)
return;
if (data.Contains("260414-035525772830257"))
{
}
if (data.Contains("\"listItemVOList\":[]") || data.Contains("\"hasNextQuery\":false"))
{
Invoke(new Action(() =>
@@ -623,20 +646,35 @@ namespace TemuKJD.WXForms.TalkForms
var list = JsonHelper.DeserializeJsonToList<PddBuyerAfterSaleInfoLite>(JsonHelper.JObjectParse(data)["result"]["listItemVOList"].ParseToString());
foreach (var af in list)
{
if (af.orderSn == "260414-035525772830257")
{
}
af.buyerId = buyer.buyer_id;
af.buyerName = buyer.buyer_name;
bool isUpdate = false;
PddBuyerAfterSaleInfoLite afterSale = null;
if (!this.lstPddBuyerAfterSaleInfoLite.Any(or => or.afterSalesId == af.afterSalesId))
{
isUpdate = true;
afterSale = af;
lstPddBuyerAfterSaleInfoLite.Add(afterSale);
}
else
{
afterSale = this.lstPddBuyerAfterSaleInfoLite.FirstOrDefault(aft => aft.afterSalesId == af.afterSalesId);
if (JsonHelper.SerializeObject(afterSale) != JsonHelper.SerializeObject(af))
var afterSaleTmp = JsonHelper.DeserializeJsonToObject<PddBuyerAfterSaleInfoLite>(JsonHelper.SerializeObject(afterSale));
afterSaleTmp.sendStatus = "";
afterSaleTmp.listItemMallVO = new ListItemMallVO();
var afTmp = JsonHelper.DeserializeJsonToObject<PddBuyerAfterSaleInfoLite>(JsonHelper.SerializeObject(af));
afTmp.listItemMallVO = new ListItemMallVO();
//"{\"buyerId\":\"9303896321\",\"buyerName\":\"吴镇强\",\"sendStatus\":\"\",\"orderSn\":\"260419-166104962590257\",\"orderDate\":260419,\"afterSalesId\":20379701953346,\"listItemExtraVO\":{\"navToDetailPageUrl\":\"/complaints_new_detail.html?after_sales_id=20379701953346&order_sn=260419-166104962590257\"},\"listItemMallVO\":{\"mallName\":\"喜悦时光婚礼屋\",\"mallLogo\":\"http://t16img.yangkeduo.com/pdd_ims/img_check/v2/F3E6FF9A2BE40120200112155401880/9632a275dd974e9aa2e138cde6d0adf9.png\",\"mallTagLink\":null,\"pddRoute\":\"mall_page.html?mall_id=938572084&msn=zjdvupyguflkhtcgugbw3hbdpm_axbuy&_sop_rcto=YWLr7xLhO9bbI6L9S-r6ALQbTuXTx_3fIjo\"},\"listItemStatusVO\":{\"statusText\":\"待用户发货\"},\"listItemGoodsVO\":{\"goodsImage\":\"https://img.pddpic.com/mms-material-img/2026-03-21/005e0aa1-ad62-4db3-8018-00490ddc0a82.jpeg\",\"goodsName\":\"2026高级可折叠蚊帐家用卧室懒人免安装加高加厚加密学生宿舍蚊帐\",\"spec\":\"免安装/可折叠/网眼加密【可爱粉】+固定器,适用双人1.8m床【190*160*80】\",\"goodsPrice\":1890,\"goodsNumber\":1,\"richTextList\":null},\"listItemAmountVO\":{\"orderAmountTitle\":\"实付:\",\"orderAmount\":1890,\"payLaterAmountTitle\":null,\"payLaterAmount\":null,\"refundAmountTitle\":\"退款金额:\",\"refundAmount\":1890,\"refundAmountText\":null,\"useCoupon\":false}}"
//"{\"buyerId\":\"9303896321\",\"buyerName\":\"吴镇强\",\"sendStatus\":\"\",\"orderSn\":\"260419-166104962590257\",\"orderDate\":260419,\"afterSalesId\":20379701953346,\"listItemExtraVO\":{\"navToDetailPageUrl\":\"/complaints_new_detail.html?after_sales_id=20379701953346&order_sn=260419-166104962590257\"},\"listItemMallVO\":{\"mallName\":\"喜悦时光婚礼屋\",\"mallLogo\":\"http://t16img.yangkeduo.com/pdd_ims/img_check/v2/F3E6FF9A2BE40120200112155401880/9632a275dd974e9aa2e138cde6d0adf9.png\",\"mallTagLink\":null,\"pddRoute\":\"mall_page.html?mall_id=938572084&msn=zjdvupyguflkhtcgugbw3hbdpm_axbuy&_sop_rcto=YWKCoxwbKDHFAaL9S-r6ALQbTuXTx_3fIjo\"},\"listItemStatusVO\":{\"statusText\":\"待用户发货\"},\"listItemGoodsVO\":{\"goodsImage\":\"https://img.pddpic.com/mms-material-img/2026-03-21/005e0aa1-ad62-4db3-8018-00490ddc0a82.jpeg\",\"goodsName\":\"2026高级可折叠蚊帐家用卧室懒人免安装加高加厚加密学生宿舍蚊帐\",\"spec\":\"免安装/可折叠/网眼加密【可爱粉】+固定器,适用双人1.8m床【190*160*80】\",\"goodsPrice\":1890,\"goodsNumber\":1,\"richTextList\":null},\"listItemAmountVO\":{\"orderAmountTitle\":\"实付:\",\"orderAmount\":1890,\"payLaterAmountTitle\":null,\"payLaterAmount\":null,\"refundAmountTitle\":\"退款金额:\",\"refundAmount\":1890,\"refundAmountText\":null,\"useCoupon\":false}}"
if (JsonHelper.SerializeObject(afterSaleTmp) != JsonHelper.SerializeObject(afTmp))
{
isUpdate = true;
//order = JsonHelper.DeserializeJsonToObject<PddBuyerOrderInfoLite>(JsonHelper.SerializeObject(o));
afterSale.afterSalesId = af.afterSalesId;
afterSale.listItemAmountVO = JsonHelper.DeserializeJsonToObject<ListItemAmountVO>(JsonHelper.SerializeObject(af.listItemAmountVO));
@@ -654,18 +692,21 @@ namespace TemuKJD.WXForms.TalkForms
lblMsg.Text = buyer.buyer_name + " 近2个月售后列表获取完成,退出自动滑动 " + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
}));
currentReadBuyer = "";
return;
//return;
}
Task.Run(() =>
if (isUpdate)
{
SendAfterSaleE57(afterSale);
});
Task.Run(() =>
{
SendAfterSaleE57(lstPddBuyerAfterSaleInfoLite.FirstOrDefault(a => a.orderSn == afterSale.orderSn));
});
Invoke(new Action(() =>
{
ShowAfterSale(afterSale);
}));
Invoke(new Action(() =>
{
ShowAfterSale(lstPddBuyerAfterSaleInfoLite.FirstOrDefault(a => a.orderSn == afterSale.orderSn));
}));
}
}
NaiBa.Util.Helper.ConfigHelper.SaveConfig("pdd_buyer_after_sale_list", lstPddBuyerAfterSaleInfoLite);
}
@@ -790,7 +831,7 @@ namespace TemuKJD.WXForms.TalkForms
if (row == null)
{
var rowIndex = this.dgvBuyer.Rows.Add(
selectIds.Contains(buyer.buyer_id),
true,
buyer.buyer_id,
buyer.buyer_name,
buyer.buyer_nick,
@@ -862,6 +903,11 @@ namespace TemuKJD.WXForms.TalkForms
Task.Run(() =>
{
while (isInitOrder || isInitAfterSale)
{
Thread.Sleep(500);
}
currentReadBuyer = "";
foreach (var buyer in GlobalConfig.BuyerLoginList)
@@ -872,25 +918,33 @@ namespace TemuKJD.WXForms.TalkForms
if (buyer.status != "在线")
continue;
var row = dgvBuyer.Rows.Cast<DataGridViewRow>().FirstOrDefault(r => r.Cells["colBuyerNick"].Value.ParseToString() == buyer.buyer_nick);
if (row == null || row.Cells["colSelect"].Value.ParseToBool() != true)
{
if (row != null)
Invoke(new Action(() => { row.Cells["colMessage"].Value = "未勾选买手号,跳过"; }));
continue;
}
try
{
while (cefWebBrowser == null || !cefWebBrowser.IsBrowserInitialized || !cefWebBrowser.GetBrowser().MainFrame.IsValid)
while (buyer.browser == null || !buyer.browser.IsBrowserInitialized || !buyer.browser.GetBrowser().MainFrame.IsValid)
{
Thread.Sleep(1);
}
CEFBrowser.DeleteCookie(cefWebBrowser.GetCookieManager(null));
CEFBrowser.DeleteCookie(buyer.browser.GetCookieManager(null));
var cookieLst = JsonHelper.DeserializeJsonToList<CefSharp.Cookie>(buyer?.cookie);
var t = CEFBrowser.SetCookieAsync(JsonHelper.SerializeObject(cookieLst), cefWebBrowser.GetCookieManager(null));
var t = CEFBrowser.SetCookieAsync(JsonHelper.SerializeObject(cookieLst), buyer.browser.GetCookieManager(null));
cefWebBrowser.Load("https://mobile.yangkeduo.com/personal.html");
buyer.browser.Load("https://mobile.yangkeduo.com/personal.html");
Thread.Sleep(Randomx.GetId(2000, 3000));
// 售后
string readBuyer = buyer.buyer_id;
currentReadBuyer = buyer.buyer_id;
cefWebBrowser.Load("https://mobile.yangkeduo.com/complaint_list.html?refer_page_name=personal&refer_page_sn=10001&tab=all");
buyer.browser.Load("https://mobile.yangkeduo.com/complaint_list.html?refer_page_name=personal&refer_page_sn=10001&tab=all");
Thread.Sleep(Randomx.GetId(2000, 3000));
int top = 0;
@@ -899,6 +953,8 @@ namespace TemuKJD.WXForms.TalkForms
if (cancellationTokenSource.IsCancellationRequested)
break;
Invoke(new Action(() => { buyer.browser.BringToFront(); }));
top += Randomx.GetId(450, 600);
Thread.Sleep(Randomx.GetId(100, 300));
@@ -914,19 +970,21 @@ namespace TemuKJD.WXForms.TalkForms
});";
//var t1 = cefWebBrowser.GetMainFrame().EvaluateScriptAsync(jsStr);
//t1.Wait(1000);
var client = cefWebBrowser.GetDevToolsClient();
var client = buyer.browser.GetDevToolsClient();
if (client != null)
{
var result = client.Runtime.EvaluateAsync(jsStr, null, true, null, null, true, null, true);
result.Wait(5000);
}
}
if (cancellationTokenSource.IsCancellationRequested)
break;
Thread.Sleep(Randomx.GetId(2000, 3000));
// 待发货
readBuyer = buyer.buyer_id;
currentReadBuyer = buyer.buyer_id;
cefWebBrowser.Load("https://mobile.yangkeduo.com/orders.html?type=2");
buyer.browser.Load("https://mobile.yangkeduo.com/orders.html?type=2");
Thread.Sleep(Randomx.GetId(2000, 3000));
top = 0;
@@ -935,6 +993,8 @@ namespace TemuKJD.WXForms.TalkForms
if (cancellationTokenSource.IsCancellationRequested)
break;
Invoke(new Action(() => { buyer.browser.BringToFront(); }));
top += Randomx.GetId(450, 600);
Thread.Sleep(Randomx.GetId(100,300));
@@ -950,19 +1010,21 @@ namespace TemuKJD.WXForms.TalkForms
});";
//var t1 = cefWebBrowser.GetMainFrame().EvaluateScriptAsync(jsStr);
//t1.Wait(1000);
var client = cefWebBrowser.GetDevToolsClient();
var client = buyer.browser.GetDevToolsClient();
if (client != null)
{
var result = client.Runtime.EvaluateAsync(jsStr, null, true, null, null, true, null, true);
result.Wait(5000);
}
}
if (cancellationTokenSource.IsCancellationRequested)
break;
Thread.Sleep(Randomx.GetId(2000, 3000));
// 已发货
readBuyer = buyer.buyer_id;
currentReadBuyer = buyer.buyer_id;
cefWebBrowser.Load("https://mobile.yangkeduo.com/orders.html?type=3");
buyer.browser.Load("https://mobile.yangkeduo.com/orders.html?type=3");
Thread.Sleep(Randomx.GetId(2000, 3000));
top = 0;
@@ -971,6 +1033,8 @@ namespace TemuKJD.WXForms.TalkForms
if (cancellationTokenSource.IsCancellationRequested)
break;
Invoke(new Action(() => { buyer.browser.BringToFront(); }));
top += Randomx.GetId(450, 600);
Thread.Sleep(Randomx.GetId(100, 300));
@@ -986,7 +1050,7 @@ namespace TemuKJD.WXForms.TalkForms
});";
//var t1 = cefWebBrowser.GetMainFrame().EvaluateScriptAsync(jsStr);
//t1.Wait(1000);
var client = cefWebBrowser.GetDevToolsClient();
var client = buyer.browser.GetDevToolsClient();
if (client != null)
{
var result = client.Runtime.EvaluateAsync(jsStr, null, true, null, null, true, null, true);
@@ -1135,24 +1199,28 @@ namespace TemuKJD.WXForms.TalkForms
shopLoginForm.Show();
}
break;
case "详情":
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;
//dgvDbProduct.Rows[e.RowIndex].Cells["colHeadWords"].Value = dbProduct.head_words;
//dgvDbProduct.Rows[e.RowIndex].Cells["colEndWords"].Value = dbProduct.end_words;
//dgvDbProduct.Rows[e.RowIndex].Cells["colFissionWords"].Value = dbProduct.fission_words;
//dgvDbProduct.Rows[e.RowIndex].Cells["col_product_name"].Value = dbProduct.product_name;
//dgvDbProduct.Rows[e.RowIndex].Cells["colSkuReplaceImgUrl"].Value = dbProduct.sku_img_replace_url;
case "买手昵称":
Task.Run(() =>
{
try
{
while (buyer.browser == null || !buyer.browser.IsBrowserInitialized || !buyer.browser.GetBrowser().MainFrame.IsValid)
{
Thread.Sleep(1);
}
if (!buyer.browser.Address.ParseToString().Contains("yangkeduo.com"))
{
CEFBrowser.DeleteCookie(buyer.browser.GetCookieManager(null));
var cookieLst = JsonHelper.DeserializeJsonToList<CefSharp.Cookie>(buyer?.cookie);
var t = CEFBrowser.SetCookieAsync(JsonHelper.SerializeObject(cookieLst), buyer.browser.GetCookieManager(null));
buyer.browser.Load("https://mobile.yangkeduo.com/personal.html");
}
Invoke(new Action(()=> { buyer.browser?.BringToFront(); }));
}
catch
{ }
Thread.Sleep(Randomx.GetId(2000, 3000));
});
break;
case "":
case "全选":
@@ -1685,9 +1753,9 @@ namespace TemuKJD.WXForms.TalkForms
{
panel2.Visible = !panel2.Visible;
if (panel2.Visible == false)
panelEx3.Text = "打开";
btnClose.Text = "打开";
else
panelEx3.Text = "折叠";
btnClose.Text = "折叠";
}
private void panelEx1_Click(object sender, EventArgs e)
+77 -74
View File
@@ -42,7 +42,7 @@ namespace TemuKJD.WXForms.TalkForms
this.chkNotShowMessageWindow = new System.Windows.Forms.CheckBox();
this.cmbMessage = new System.Windows.Forms.ComboBox();
this.label1 = new System.Windows.Forms.Label();
this.pnlSet = new DevComponents.DotNetBar.PanelEx();
this.btnSet = new DevComponents.DotNetBar.PanelEx();
this.line4 = new DevComponents.DotNetBar.Controls.Line();
this.chkIsAutoReply = new System.Windows.Forms.CheckBox();
this.splitContainer4 = new System.Windows.Forms.SplitContainer();
@@ -71,10 +71,10 @@ namespace TemuKJD.WXForms.TalkForms
this.label4 = new System.Windows.Forms.Label();
this.btnRefreshAfterSale = new DevComponents.DotNetBar.PanelEx();
this.cmbFiltNotes = new TemuKJD.UserComponent.UcComboBoxMutiSelect();
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
this.btnRestore = new DevComponents.DotNetBar.PanelEx();
this.txtFiltShopName = new DevComponents.DotNetBar.Controls.TextBoxX();
this.btnFilterShop = new DevComponents.DotNetBar.PanelEx();
this.pnlRefreshShop = new DevComponents.DotNetBar.PanelEx();
this.btnRefreshShop = new DevComponents.DotNetBar.PanelEx();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.line1 = new DevComponents.DotNetBar.Controls.Line();
@@ -185,7 +185,7 @@ namespace TemuKJD.WXForms.TalkForms
this.splitContainer2.Panel1.Controls.Add(this.chkNotShowMessageWindow);
this.splitContainer2.Panel1.Controls.Add(this.cmbMessage);
this.splitContainer2.Panel1.Controls.Add(this.label1);
this.splitContainer2.Panel1.Controls.Add(this.pnlSet);
this.splitContainer2.Panel1.Controls.Add(this.btnSet);
this.splitContainer2.Panel1.Controls.Add(this.line4);
this.splitContainer2.Panel1.Controls.Add(this.chkIsAutoReply);
//
@@ -223,6 +223,7 @@ namespace TemuKJD.WXForms.TalkForms
this.btnChangeAddress.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnChangeAddress.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnChangeAddress.Style.GradientAngle = 90;
this.btnChangeAddress.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnChangeAddress.TabIndex = 223;
this.btnChangeAddress.Text = "订单优化";
this.btnChangeAddress.Click += new System.EventHandler(this.btnChangeAddress_Click);
@@ -245,6 +246,7 @@ namespace TemuKJD.WXForms.TalkForms
this.btnMultiLogin.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnMultiLogin.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnMultiLogin.Style.GradientAngle = 90;
this.btnMultiLogin.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnMultiLogin.TabIndex = 213;
this.btnMultiLogin.Text = "批量登录";
this.btnMultiLogin.Click += new System.EventHandler(this.btnMultiLogin_Click);
@@ -306,26 +308,27 @@ namespace TemuKJD.WXForms.TalkForms
this.label1.TabIndex = 197;
this.label1.Text = "消息提示音:";
//
// pnlSet
// btnSet
//
this.pnlSet.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.pnlSet.Cursor = System.Windows.Forms.Cursors.Hand;
this.pnlSet.DisabledBackColor = System.Drawing.Color.Empty;
this.pnlSet.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.pnlSet.Location = new System.Drawing.Point(102, 37);
this.pnlSet.Name = "pnlSet";
this.pnlSet.Size = new System.Drawing.Size(88, 20);
this.pnlSet.Style.Alignment = System.Drawing.StringAlignment.Center;
this.pnlSet.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.pnlSet.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.pnlSet.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.pnlSet.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.pnlSet.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.pnlSet.Style.ForeColor.Color = System.Drawing.Color.White;
this.pnlSet.Style.GradientAngle = 90;
this.pnlSet.TabIndex = 184;
this.pnlSet.Text = "自动回复设置";
this.pnlSet.Click += new System.EventHandler(this.pnlSet_Click);
this.btnSet.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnSet.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnSet.DisabledBackColor = System.Drawing.Color.Empty;
this.btnSet.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnSet.Location = new System.Drawing.Point(102, 37);
this.btnSet.Name = "btnSet";
this.btnSet.Size = new System.Drawing.Size(88, 20);
this.btnSet.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnSet.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSet.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSet.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnSet.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnSet.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnSet.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnSet.Style.GradientAngle = 90;
this.btnSet.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnSet.TabIndex = 184;
this.btnSet.Text = "自动回复设置";
this.btnSet.Click += new System.EventHandler(this.pnlSet_Click);
//
// line4
//
@@ -374,10 +377,10 @@ namespace TemuKJD.WXForms.TalkForms
this.splitContainer4.Panel2.Controls.Add(this.label4);
this.splitContainer4.Panel2.Controls.Add(this.btnRefreshAfterSale);
this.splitContainer4.Panel2.Controls.Add(this.cmbFiltNotes);
this.splitContainer4.Panel2.Controls.Add(this.panelEx1);
this.splitContainer4.Panel2.Controls.Add(this.btnRestore);
this.splitContainer4.Panel2.Controls.Add(this.txtFiltShopName);
this.splitContainer4.Panel2.Controls.Add(this.btnFilterShop);
this.splitContainer4.Panel2.Controls.Add(this.pnlRefreshShop);
this.splitContainer4.Panel2.Controls.Add(this.btnRefreshShop);
this.splitContainer4.Panel2.Controls.Add(this.label2);
this.splitContainer4.Panel2.Controls.Add(this.label3);
this.splitContainer4.Panel2.Controls.Add(this.line1);
@@ -686,30 +689,30 @@ namespace TemuKJD.WXForms.TalkForms
this.cmbFiltNotes.TabIndex = 0;
this.cmbFiltNotes.Text = "全部";
//
// panelEx1
// btnRestore
//
this.panelEx1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.panelEx1.Cursor = System.Windows.Forms.Cursors.Hand;
this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
this.panelEx1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.panelEx1.Location = new System.Drawing.Point(315, 41);
this.panelEx1.Name = "panelEx1";
this.panelEx1.Size = new System.Drawing.Size(53, 23);
this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
this.panelEx1.Style.BackColor1.Color = System.Drawing.Color.White;
this.panelEx1.Style.BackColor2.Color = System.Drawing.Color.White;
this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.panelEx1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.panelEx1.Style.ForeColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.panelEx1.Style.GradientAngle = 90;
this.panelEx1.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.panelEx1.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.panelEx1.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.panelEx1.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
this.panelEx1.TabIndex = 207;
this.panelEx1.Text = "还 原";
this.panelEx1.Click += new System.EventHandler(this.btnEmpty_Click);
this.btnRestore.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnRestore.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnRestore.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnRestore.DisabledBackColor = System.Drawing.Color.Empty;
this.btnRestore.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnRestore.Location = new System.Drawing.Point(315, 41);
this.btnRestore.Name = "btnRestore";
this.btnRestore.Size = new System.Drawing.Size(53, 23);
this.btnRestore.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnRestore.Style.BackColor1.Color = System.Drawing.Color.White;
this.btnRestore.Style.BackColor2.Color = System.Drawing.Color.White;
this.btnRestore.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.btnRestore.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnRestore.Style.ForeColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnRestore.Style.GradientAngle = 90;
this.btnRestore.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnRestore.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnRestore.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnRestore.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
this.btnRestore.TabIndex = 207;
this.btnRestore.Text = "还 原";
this.btnRestore.Click += new System.EventHandler(this.btnEmpty_Click);
//
// txtFiltShopName
//
@@ -751,30 +754,30 @@ namespace TemuKJD.WXForms.TalkForms
this.btnFilterShop.Text = "搜 索";
this.btnFilterShop.Click += new System.EventHandler(this.btnFilterShop_Click);
//
// pnlRefreshShop
// btnRefreshShop
//
this.pnlRefreshShop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.pnlRefreshShop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.pnlRefreshShop.Cursor = System.Windows.Forms.Cursors.Hand;
this.pnlRefreshShop.DisabledBackColor = System.Drawing.Color.Empty;
this.pnlRefreshShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.pnlRefreshShop.Location = new System.Drawing.Point(370, 41);
this.pnlRefreshShop.Name = "pnlRefreshShop";
this.pnlRefreshShop.Size = new System.Drawing.Size(122, 23);
this.pnlRefreshShop.Style.Alignment = System.Drawing.StringAlignment.Center;
this.pnlRefreshShop.Style.BackColor1.Color = System.Drawing.Color.White;
this.pnlRefreshShop.Style.BackColor2.Color = System.Drawing.Color.White;
this.pnlRefreshShop.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.pnlRefreshShop.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.pnlRefreshShop.Style.ForeColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.pnlRefreshShop.Style.GradientAngle = 90;
this.pnlRefreshShop.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.pnlRefreshShop.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.pnlRefreshShop.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.pnlRefreshShop.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
this.pnlRefreshShop.TabIndex = 188;
this.pnlRefreshShop.Text = "刷 新 店 铺";
this.pnlRefreshShop.Click += new System.EventHandler(this.pnlRefresh_Click);
this.btnRefreshShop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnRefreshShop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnRefreshShop.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnRefreshShop.DisabledBackColor = System.Drawing.Color.Empty;
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(370, 41);
this.btnRefreshShop.Name = "btnRefreshShop";
this.btnRefreshShop.Size = new System.Drawing.Size(122, 23);
this.btnRefreshShop.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnRefreshShop.Style.BackColor1.Color = System.Drawing.Color.White;
this.btnRefreshShop.Style.BackColor2.Color = System.Drawing.Color.White;
this.btnRefreshShop.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.btnRefreshShop.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnRefreshShop.Style.ForeColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnRefreshShop.Style.GradientAngle = 90;
this.btnRefreshShop.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnRefreshShop.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnRefreshShop.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnRefreshShop.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
this.btnRefreshShop.TabIndex = 188;
this.btnRefreshShop.Text = "刷 新 店 铺";
this.btnRefreshShop.Click += new System.EventHandler(this.pnlRefresh_Click);
//
// label2
//
@@ -1195,13 +1198,13 @@ namespace TemuKJD.WXForms.TalkForms
private System.Windows.Forms.CheckBox chkNotShowMessageWindow;
private System.Windows.Forms.ComboBox cmbMessage;
private System.Windows.Forms.Label label1;
private DevComponents.DotNetBar.PanelEx pnlSet;
private DevComponents.DotNetBar.PanelEx btnSet;
private DevComponents.DotNetBar.Controls.Line line4;
private System.Windows.Forms.CheckBox chkIsAutoReLogin;
private System.Windows.Forms.TextBox txtAutoReplyText;
private System.Windows.Forms.CheckBox chkIsAutoReply;
private System.Windows.Forms.SplitContainer splitContainer4;
private DevComponents.DotNetBar.PanelEx pnlRefreshShop;
private DevComponents.DotNetBar.PanelEx btnRefreshShop;
private System.Windows.Forms.DataGridViewTextBoxColumn ColumnShopID;
private System.Windows.Forms.DataGridViewTextBoxColumn ColumnShopName;
private System.Windows.Forms.DataGridViewLinkColumn ColumnShopStatus;
@@ -1219,7 +1222,7 @@ namespace TemuKJD.WXForms.TalkForms
private System.Windows.Forms.Panel mainPanel;
private System.Windows.Forms.PictureBox pbLoading;
private DevComponents.DotNetBar.PanelEx btnFilterShop;
private DevComponents.DotNetBar.PanelEx panelEx1;
private DevComponents.DotNetBar.PanelEx btnRestore;
private DevComponents.DotNetBar.Controls.TextBoxX txtFiltShopName;
private UserComponent.UcComboBoxMutiSelect cmbFiltNotes;
private System.Windows.Forms.Label label3;
+1 -1
View File
@@ -227,7 +227,7 @@ namespace TemuKJD.WXForms.TalkForms
var deltaTime = nextRefreshTime - DateTime.Now;
Invoke(new Action(() =>
{
this.pnlRefreshShop.Text = "刷 新 店 铺 " + deltaTime.Minutes.ToString("00") + ":" + deltaTime.Seconds.ToString("00");
this.btnRefreshShop.Text = "刷 新 店 铺 " + deltaTime.Minutes.ToString("00") + ":" + deltaTime.Seconds.ToString("00");
}));
}
});