标题裂变功能优化 上传裂变商品时筛选重复上货逻辑优化

This commit is contained in:
wule committed 2026-06-03 12:05:27 +08:00
1 parent 4ae8e4f1b2
commit 1b87ae3a28
23 files changed
+1232 -892

No files matched your search

+91 -30
View File
@@ -134,6 +134,7 @@ namespace TemuKJD.WXForms.ShopForms
this.colRemaining = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colMessage = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.btnUpdateKdn = new DevComponents.DotNetBar.PanelEx();
this.txtFilterOrderId = new System.Windows.Forms.TextBox();
this.btnRestoreFilter = new DevComponents.DotNetBar.PanelEx();
this.btnFilter = new DevComponents.DotNetBar.PanelEx();
@@ -272,6 +273,8 @@ namespace TemuKJD.WXForms.ShopForms
this.colDgv5OptimizeStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colDgv5Optimize = new System.Windows.Forms.DataGridViewLinkColumn();
this.colDgv5Remark = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.tabPage6 = new System.Windows.Forms.TabPage();
this.splitContainer4 = new System.Windows.Forms.SplitContainer();
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
this.splitContainer3 = new System.Windows.Forms.SplitContainer();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
@@ -308,6 +311,9 @@ namespace TemuKJD.WXForms.ShopForms
this.panel5.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dgvData5)).BeginInit();
this.tabPage6.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).BeginInit();
this.splitContainer4.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).BeginInit();
this.splitContainer3.Panel1.SuspendLayout();
this.splitContainer3.Panel2.SuspendLayout();
@@ -989,21 +995,48 @@ namespace TemuKJD.WXForms.ShopForms
//
// splitContainer2.Panel2
//
this.splitContainer2.Panel2.Controls.Add(this.btnUpdateKdn);
this.splitContainer2.Panel2.Controls.Add(this.txtFilterOrderId);
this.splitContainer2.Panel2.Controls.Add(this.btnRestoreFilter);
this.splitContainer2.Panel2.Controls.Add(this.btnFilter);
this.splitContainer2.Panel2.Controls.Add(this.label3);
this.splitContainer2.Panel2.Controls.Add(this.ucTabControl1);
this.splitContainer2.Panel2.Padding = new System.Windows.Forms.Padding(0, 0, 4, 0);
this.splitContainer2.Size = new System.Drawing.Size(1772, 533);
this.splitContainer2.Size = new System.Drawing.Size(1467, 533);
this.splitContainer2.SplitterDistance = 365;
this.splitContainer2.TabIndex = 0;
//
// btnUpdateKdn
//
this.btnUpdateKdn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnUpdateKdn.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnUpdateKdn.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnUpdateKdn.DisabledBackColor = System.Drawing.Color.Empty;
this.btnUpdateKdn.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnUpdateKdn.Location = new System.Drawing.Point(604, 7);
this.btnUpdateKdn.Name = "btnUpdateKdn";
this.btnUpdateKdn.Size = new System.Drawing.Size(115, 25);
this.btnUpdateKdn.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnUpdateKdn.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnUpdateKdn.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnUpdateKdn.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnUpdateKdn.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnUpdateKdn.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnUpdateKdn.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnUpdateKdn.Style.GradientAngle = 90;
this.btnUpdateKdn.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnUpdateKdn.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnUpdateKdn.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnUpdateKdn.TabIndex = 801;
this.btnUpdateKdn.Text = "刷新订单助手状态";
this.btnUpdateKdn.Visible = false;
this.btnUpdateKdn.Click += new System.EventHandler(this.btnUpdateKdn_Click);
//
// txtFilterOrderId
//
this.txtFilterOrderId.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.txtFilterOrderId.Font = new System.Drawing.Font("微软雅黑", 10F);
this.txtFilterOrderId.Location = new System.Drawing.Point(1082, 7);
this.txtFilterOrderId.Location = new System.Drawing.Point(777, 7);
this.txtFilterOrderId.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
this.txtFilterOrderId.Name = "txtFilterOrderId";
this.txtFilterOrderId.Size = new System.Drawing.Size(219, 25);
@@ -1015,7 +1048,7 @@ namespace TemuKJD.WXForms.ShopForms
this.btnRestoreFilter.CanvasColor = System.Drawing.SystemColors.Control;
this.btnRestoreFilter.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnRestoreFilter.DisabledBackColor = System.Drawing.Color.Empty;
this.btnRestoreFilter.Location = new System.Drawing.Point(1351, 7);
this.btnRestoreFilter.Location = new System.Drawing.Point(1046, 7);
this.btnRestoreFilter.Name = "btnRestoreFilter";
this.btnRestoreFilter.Size = new System.Drawing.Size(44, 25);
this.btnRestoreFilter.Style.Alignment = System.Drawing.StringAlignment.Center;
@@ -1041,7 +1074,7 @@ namespace TemuKJD.WXForms.ShopForms
this.btnFilter.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnFilter.DisabledBackColor = System.Drawing.Color.Empty;
this.btnFilter.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnFilter.Location = new System.Drawing.Point(1304, 7);
this.btnFilter.Location = new System.Drawing.Point(999, 7);
this.btnFilter.Name = "btnFilter";
this.btnFilter.Size = new System.Drawing.Size(44, 25);
this.btnFilter.Style.Alignment = System.Drawing.StringAlignment.Center;
@@ -1063,7 +1096,7 @@ namespace TemuKJD.WXForms.ShopForms
//
this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(1035, 12);
this.label3.Location = new System.Drawing.Point(730, 12);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(56, 17);
this.label3.TabIndex = 797;
@@ -1077,6 +1110,7 @@ namespace TemuKJD.WXForms.ShopForms
this.ucTabControl1.Controls.Add(this.tabPage3);
this.ucTabControl1.Controls.Add(this.tabPage4);
this.ucTabControl1.Controls.Add(this.tabPage5);
this.ucTabControl1.Controls.Add(this.tabPage6);
this.ucTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.ucTabControl1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ucTabControl1.ItemSize = new System.Drawing.Size(73, 36);
@@ -1084,7 +1118,7 @@ namespace TemuKJD.WXForms.ShopForms
this.ucTabControl1.Name = "ucTabControl1";
this.ucTabControl1.SelectedIndex = 0;
this.ucTabControl1.ShowCloseButton = false;
this.ucTabControl1.Size = new System.Drawing.Size(1399, 533);
this.ucTabControl1.Size = new System.Drawing.Size(1094, 533);
this.ucTabControl1.TabIndex = 781;
this.ucTabControl1.TabSelectColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.ucTabControl1.TabSelectTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
@@ -1095,7 +1129,7 @@ namespace TemuKJD.WXForms.ShopForms
this.tabPage1.Controls.Add(this.panel1);
this.tabPage1.Location = new System.Drawing.Point(2, 40);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Size = new System.Drawing.Size(1393, 489);
this.tabPage1.Size = new System.Drawing.Size(1088, 489);
this.tabPage1.TabIndex = 4;
this.tabPage1.Text = " 品质退款 ";
this.tabPage1.UseVisualStyleBackColor = true;
@@ -1109,14 +1143,14 @@ namespace TemuKJD.WXForms.ShopForms
this.panel1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(1393, 489);
this.panel1.Size = new System.Drawing.Size(1088, 489);
this.panel1.TabIndex = 2;
//
// pictureBox1
//
this.pictureBox1.Anchor = System.Windows.Forms.AnchorStyles.None;
this.pictureBox1.Image = global::TemuKJD.Properties.Resources.loading_blue;
this.pictureBox1.Location = new System.Drawing.Point(671, 219);
this.pictureBox1.Location = new System.Drawing.Point(519, 219);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(50, 50);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
@@ -1136,7 +1170,7 @@ namespace TemuKJD.WXForms.ShopForms
this.pnlUpdateRemark.Controls.Add(this.lblOrderId);
this.pnlUpdateRemark.Controls.Add(this.lblShopName);
this.pnlUpdateRemark.Controls.Add(this.label2);
this.pnlUpdateRemark.Location = new System.Drawing.Point(459, 63);
this.pnlUpdateRemark.Location = new System.Drawing.Point(307, 63);
this.pnlUpdateRemark.Name = "pnlUpdateRemark";
this.pnlUpdateRemark.Size = new System.Drawing.Size(474, 146);
this.pnlUpdateRemark.TabIndex = 781;
@@ -1287,7 +1321,7 @@ namespace TemuKJD.WXForms.ShopForms
this.dgvData1.Name = "dgvData1";
this.dgvData1.ReadOnly = true;
this.dgvData1.RowTemplate.Height = 23;
this.dgvData1.Size = new System.Drawing.Size(1393, 489);
this.dgvData1.Size = new System.Drawing.Size(1088, 489);
this.dgvData1.TabIndex = 187;
this.dgvData1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvData_CellContentClick);
//
@@ -1446,7 +1480,7 @@ namespace TemuKJD.WXForms.ShopForms
this.tabPage2.Controls.Add(this.panel2);
this.tabPage2.Location = new System.Drawing.Point(2, 40);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Size = new System.Drawing.Size(1393, 489);
this.tabPage2.Size = new System.Drawing.Size(1088, 489);
this.tabPage2.TabIndex = 5;
this.tabPage2.Text = " 订单评价 ";
this.tabPage2.UseVisualStyleBackColor = true;
@@ -1459,14 +1493,14 @@ namespace TemuKJD.WXForms.ShopForms
this.panel2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.panel2.Location = new System.Drawing.Point(0, 0);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(1393, 489);
this.panel2.Size = new System.Drawing.Size(1088, 489);
this.panel2.TabIndex = 3;
//
// pictureBox2
//
this.pictureBox2.Anchor = System.Windows.Forms.AnchorStyles.None;
this.pictureBox2.Image = global::TemuKJD.Properties.Resources.loading_blue;
this.pictureBox2.Location = new System.Drawing.Point(671, 219);
this.pictureBox2.Location = new System.Drawing.Point(519, 219);
this.pictureBox2.Name = "pictureBox2";
this.pictureBox2.Size = new System.Drawing.Size(50, 50);
this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
@@ -1520,7 +1554,7 @@ namespace TemuKJD.WXForms.ShopForms
this.dgvData2.Name = "dgvData2";
this.dgvData2.ReadOnly = true;
this.dgvData2.RowTemplate.Height = 23;
this.dgvData2.Size = new System.Drawing.Size(1393, 489);
this.dgvData2.Size = new System.Drawing.Size(1088, 489);
this.dgvData2.TabIndex = 187;
this.dgvData2.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvData_CellContentClick);
//
@@ -1706,7 +1740,7 @@ namespace TemuKJD.WXForms.ShopForms
this.tabPage3.Controls.Add(this.panel3);
this.tabPage3.Location = new System.Drawing.Point(2, 40);
this.tabPage3.Name = "tabPage3";
this.tabPage3.Size = new System.Drawing.Size(1393, 489);
this.tabPage3.Size = new System.Drawing.Size(1088, 489);
this.tabPage3.TabIndex = 1;
this.tabPage3.Text = " 揽收不达标 ";
this.tabPage3.UseVisualStyleBackColor = true;
@@ -1719,14 +1753,14 @@ namespace TemuKJD.WXForms.ShopForms
this.panel3.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.panel3.Location = new System.Drawing.Point(0, 0);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(1393, 489);
this.panel3.Size = new System.Drawing.Size(1088, 489);
this.panel3.TabIndex = 1;
//
// pictureBox3
//
this.pictureBox3.Anchor = System.Windows.Forms.AnchorStyles.None;
this.pictureBox3.Image = global::TemuKJD.Properties.Resources.loading_blue;
this.pictureBox3.Location = new System.Drawing.Point(677, 219);
this.pictureBox3.Location = new System.Drawing.Point(525, 219);
this.pictureBox3.Name = "pictureBox3";
this.pictureBox3.Size = new System.Drawing.Size(50, 50);
this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
@@ -1781,7 +1815,7 @@ namespace TemuKJD.WXForms.ShopForms
this.dgvData3.Name = "dgvData3";
this.dgvData3.ReadOnly = true;
this.dgvData3.RowTemplate.Height = 23;
this.dgvData3.Size = new System.Drawing.Size(1393, 489);
this.dgvData3.Size = new System.Drawing.Size(1088, 489);
this.dgvData3.TabIndex = 187;
this.dgvData3.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvData_CellContentClick);
//
@@ -1978,7 +2012,7 @@ namespace TemuKJD.WXForms.ShopForms
this.tabPage4.Controls.Add(this.panel4);
this.tabPage4.Location = new System.Drawing.Point(2, 40);
this.tabPage4.Name = "tabPage4";
this.tabPage4.Size = new System.Drawing.Size(1393, 489);
this.tabPage4.Size = new System.Drawing.Size(1088, 489);
this.tabPage4.TabIndex = 2;
this.tabPage4.Text = " 配送不达标 ";
this.tabPage4.UseVisualStyleBackColor = true;
@@ -1991,14 +2025,14 @@ namespace TemuKJD.WXForms.ShopForms
this.panel4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.panel4.Location = new System.Drawing.Point(0, 0);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(1393, 489);
this.panel4.Size = new System.Drawing.Size(1088, 489);
this.panel4.TabIndex = 2;
//
// pictureBox4
//
this.pictureBox4.Anchor = System.Windows.Forms.AnchorStyles.None;
this.pictureBox4.Image = global::TemuKJD.Properties.Resources.loading_blue;
this.pictureBox4.Location = new System.Drawing.Point(677, 219);
this.pictureBox4.Location = new System.Drawing.Point(525, 219);
this.pictureBox4.Name = "pictureBox4";
this.pictureBox4.Size = new System.Drawing.Size(50, 50);
this.pictureBox4.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
@@ -2053,7 +2087,7 @@ namespace TemuKJD.WXForms.ShopForms
this.dgvData4.Name = "dgvData4";
this.dgvData4.ReadOnly = true;
this.dgvData4.RowTemplate.Height = 23;
this.dgvData4.Size = new System.Drawing.Size(1393, 489);
this.dgvData4.Size = new System.Drawing.Size(1088, 489);
this.dgvData4.TabIndex = 187;
this.dgvData4.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvData_CellContentClick);
//
@@ -2250,7 +2284,7 @@ namespace TemuKJD.WXForms.ShopForms
this.tabPage5.Controls.Add(this.panel5);
this.tabPage5.Location = new System.Drawing.Point(2, 40);
this.tabPage5.Name = "tabPage5";
this.tabPage5.Size = new System.Drawing.Size(1393, 489);
this.tabPage5.Size = new System.Drawing.Size(1088, 489);
this.tabPage5.TabIndex = 3;
this.tabPage5.Text = " 物流负向反馈 ";
this.tabPage5.UseVisualStyleBackColor = true;
@@ -2263,14 +2297,14 @@ namespace TemuKJD.WXForms.ShopForms
this.panel5.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.panel5.Location = new System.Drawing.Point(0, 0);
this.panel5.Name = "panel5";
this.panel5.Size = new System.Drawing.Size(1393, 489);
this.panel5.Size = new System.Drawing.Size(1088, 489);
this.panel5.TabIndex = 3;
//
// pictureBox5
//
this.pictureBox5.Anchor = System.Windows.Forms.AnchorStyles.None;
this.pictureBox5.Image = global::TemuKJD.Properties.Resources.loading_blue;
this.pictureBox5.Location = new System.Drawing.Point(677, 219);
this.pictureBox5.Location = new System.Drawing.Point(525, 219);
this.pictureBox5.Name = "pictureBox5";
this.pictureBox5.Size = new System.Drawing.Size(50, 50);
this.pictureBox5.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
@@ -2324,7 +2358,7 @@ namespace TemuKJD.WXForms.ShopForms
this.dgvData5.Name = "dgvData5";
this.dgvData5.ReadOnly = true;
this.dgvData5.RowTemplate.Height = 23;
this.dgvData5.Size = new System.Drawing.Size(1393, 489);
this.dgvData5.Size = new System.Drawing.Size(1088, 489);
this.dgvData5.TabIndex = 187;
this.dgvData5.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvData_CellContentClick);
//
@@ -2505,6 +2539,27 @@ namespace TemuKJD.WXForms.ShopForms
this.colDgv5Remark.Name = "colDgv5Remark";
this.colDgv5Remark.ReadOnly = true;
//
// tabPage6
//
this.tabPage6.Controls.Add(this.splitContainer4);
this.tabPage6.Location = new System.Drawing.Point(2, 40);
this.tabPage6.Name = "tabPage6";
this.tabPage6.Padding = new System.Windows.Forms.Padding(3);
this.tabPage6.Size = new System.Drawing.Size(1088, 489);
this.tabPage6.TabIndex = 6;
this.tabPage6.Text = " 快递助手 ";
this.tabPage6.UseVisualStyleBackColor = true;
//
// splitContainer4
//
this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer4.Location = new System.Drawing.Point(3, 3);
this.splitContainer4.Name = "splitContainer4";
this.splitContainer4.Panel1MinSize = 0;
this.splitContainer4.Size = new System.Drawing.Size(1082, 483);
this.splitContainer4.SplitterDistance = 0;
this.splitContainer4.TabIndex = 0;
//
// statusBar
//
this.statusBar.BackColor = System.Drawing.Color.White;
@@ -2513,7 +2568,7 @@ namespace TemuKJD.WXForms.ShopForms
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(1772, 27);
this.statusBar.Size = new System.Drawing.Size(1467, 27);
this.statusBar.TabIndex = 2;
//
// splitContainer3
@@ -2531,7 +2586,7 @@ namespace TemuKJD.WXForms.ShopForms
// splitContainer3.Panel2
//
this.splitContainer3.Panel2.Controls.Add(this.statusBar);
this.splitContainer3.Size = new System.Drawing.Size(1772, 564);
this.splitContainer3.Size = new System.Drawing.Size(1467, 564);
this.splitContainer3.SplitterDistance = 533;
this.splitContainer3.TabIndex = 3;
//
@@ -2539,7 +2594,7 @@ namespace TemuKJD.WXForms.ShopForms
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.White;
this.ClientSize = new System.Drawing.Size(1772, 564);
this.ClientSize = new System.Drawing.Size(1467, 564);
this.Controls.Add(this.splitContainer3);
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.KeyPreview = true;
@@ -2585,6 +2640,9 @@ namespace TemuKJD.WXForms.ShopForms
this.panel5.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dgvData5)).EndInit();
this.tabPage6.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).EndInit();
this.splitContainer4.ResumeLayout(false);
this.splitContainer3.Panel1.ResumeLayout(false);
this.splitContainer3.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).EndInit();
@@ -2778,5 +2836,8 @@ namespace TemuKJD.WXForms.ShopForms
private System.Windows.Forms.DataGridViewTextBoxColumn colDgv5OptimizeStatus;
private System.Windows.Forms.DataGridViewLinkColumn colDgv5Optimize;
private System.Windows.Forms.DataGridViewTextBoxColumn colDgv5Remark;
private System.Windows.Forms.TabPage tabPage6;
private System.Windows.Forms.SplitContainer splitContainer4;
private DevComponents.DotNetBar.PanelEx btnUpdateKdn;
}
}
@@ -31,11 +31,17 @@ using NaiBa.Util;
using AllBase.Model.Config;
using TemuKJD.WXForms.ProductForms;
using TemuKJD.WXForms.AdminForms;
using CefSharp.WinForms;
using NaiBa.CefHelper;
using System.Net;
namespace TemuKJD.WXForms.ShopForms
{
public partial class WXShopOptimizeForm : BaseForm
{
public string expressToolUrl = "https://56.kdniao.com/main.html";
public ChromiumWebBrowser cefWebBrowser = null;
public CancellationTokenSource cancellationTokenSource { get; set; } = null;
public bool IsLoadComplate { get; set; } = false;
@@ -78,6 +84,15 @@ namespace TemuKJD.WXForms.ShopForms
dgvData5.AddSelectorColumn("colDgv5Check");
dgvData5.AddImgColumn("colDgv5Img", "colDgv5ImgUrl");
this.tabPage6.Select();
cefWebBrowser = CEFBrowser.CreateChromiumWebBrowser(expressToolUrl);
splitContainer4.Panel2.Controls.Add(cefWebBrowser);
Task.Run(() => {
Thread.Sleep(500);
Invoke(new Action(() => { this.tabPage1.Select(); }));
});
this.ucTabControl1.TabPages.Remove(tabPage6);
IsLoadComplate = true;
}
@@ -2513,6 +2528,23 @@ namespace TemuKJD.WXForms.ShopForms
}
}
}
private void btnUpdateKdn_Click(object sender, EventArgs e)
{
List<string> waybillIds = new List<string>();
var dgvRows1 = dgvData1.Rows.Cast<DataGridViewRow>().Where(r => r.Cells["colDgv1OptimizeStatus"].Value.ParseToString().IsNullOrEmpty()).ToList();
waybillIds.AddRange(dgvRows1.Select(r => r.Cells["colDgv1OrderId"].Value.ParseToString()));
while (dgvRows1.Count > 0)
{
var dgvRows1Tmp = dgvRows1.Take(500).ToList();
dgvRows1.RemoveAll(r => dgvRows1Tmp.Contains(r));
waybillIds.AddRange(dgvRows1Tmp.Select(r => r.Cells["colDgv1OrderId"].Value.ParseToString()));
}
//var waybillIds = string.Join(",", dgvRows1Tmp.Select(r => r.Cells["colDgv1OrderId"].Value.ParseToString()).Distinct());
}
}
public static class ShopOptimize
@@ -2616,5 +2648,20 @@ namespace TemuKJD.WXForms.ShopForms
var result = WXHttpResponseBLL.WeiXinPostResponse(shop, url, body, referer);
return result;
}
public static string kdniaoGetWayBillPage(string kdnAuth, string wayBillIds = "", int page=1)
{
//string body = @"LogisticsCode=321166519053000%0A773423272400495&PlatformOrderCode=&ShipperCode=&StartTime=2026-05-27+00%3A00%3A00&EndTime=2026-06-03+23%3A59%3A59&StartCollectTime=&EndCollectTime=&StartSignTime=&EndSignTime=&StartPayTime=&EndPayTime=&Remark=&ShopName=&Warehouse=&CustomerName=&PlatformName=&CurrentMonitorStatus=&PageIndex=1&PageSize=500&IsFollow=";
string url = "https://lmsapinew.kdniao.com/WayBillMonitor/GetWayBillPageResult";
string referer = "https://56.kdniao.com/";
string body = @"LogisticsCode=" + wayBillIds.ParseToString().Replace("\r\n", "%0A").Replace("\n", "%0A").Replace(",", "%0A").Replace(",", "%0A") +
@"&PlatformOrderCode=&ShipperCode=&StartTime=" + DateTime.Now.AddDays(-6).ToString("yyyy-MM-dd") +
"+00%3A00%3A00&EndTime=" + DateTime.Now.Date.AddDays(1).ToString("yyyy-MM-dd") +
"+23%3A59%3A59&StartCollectTime=&EndCollectTime=&StartSignTime=&EndSignTime=&StartPayTime=" +
"&EndPayTime=&Remark=&ShopName=&Warehouse=&CustomerName=&PlatformName=&CurrentMonitorStatus=&PageIndex=1&PageSize=500&IsFollow=";
var result = WXHttpResponseBLL.kdniaoPostResponse(kdnAuth, url, body, referer);
return result;
}
}
}