优化了微店商品上传 优化pdd买手读单
This commit is contained in:
1 parent
6c4f16b897
commit
f360688c43
62 files changed
+5620
-1432
No files matched your search
+113
-30
@@ -44,6 +44,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
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.chkPause = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.btnCheck = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnRefresh = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnStopStop = new DevComponents.DotNetBar.PanelEx();
|
||||
@@ -78,6 +79,10 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
|
||||
this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
|
||||
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
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.dataGridViewCheckBoxColumn1 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.colOBuyerId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@@ -104,10 +109,9 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.dtpStartTime = new System.Windows.Forms.DateTimePicker();
|
||||
this.label14 = new System.Windows.Forms.Label();
|
||||
this.dtpEndTime = new System.Windows.Forms.DateTimePicker();
|
||||
this.lblCurrentShop = new System.Windows.Forms.Label();
|
||||
this.chkOnlyShowCurrentShop = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.lblCurrentShop = new System.Windows.Forms.Label();
|
||||
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
|
||||
this.chkPause = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
@@ -123,6 +127,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.splitContainer3.Panel1.SuspendLayout();
|
||||
this.splitContainer3.Panel2.SuspendLayout();
|
||||
this.splitContainer3.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvPddBuyerOrder)).BeginInit();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
@@ -155,6 +160,17 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.splitContainer1.SplitterDistance = 78;
|
||||
this.splitContainer1.TabIndex = 1;
|
||||
//
|
||||
// chkPause
|
||||
//
|
||||
this.chkPause.AutoSize = true;
|
||||
this.chkPause.Location = new System.Drawing.Point(246, 41);
|
||||
this.chkPause.Name = "chkPause";
|
||||
this.chkPause.Size = new System.Drawing.Size(51, 21);
|
||||
this.chkPause.TabIndex = 937;
|
||||
this.chkPause.Text = "暂停";
|
||||
this.chkPause.UseVisualStyleBackColor = true;
|
||||
this.chkPause.CheckedChanged += new System.EventHandler(this.chkPause_CheckedChanged);
|
||||
//
|
||||
// btnCheck
|
||||
//
|
||||
this.btnCheck.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
@@ -586,10 +602,10 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.splitContainer3.Panel2.Controls.Add(this.panelEx3);
|
||||
this.splitContainer3.Panel2.Controls.Add(this.panelEx2);
|
||||
this.splitContainer3.Panel2.Controls.Add(this.panelEx1);
|
||||
this.splitContainer3.Panel2.Controls.Add(this.dgvPddBuyerOrder);
|
||||
this.splitContainer3.Panel2.Controls.Add(this.panel2);
|
||||
this.splitContainer3.Panel2.Controls.Add(this.tableLayoutPanel1);
|
||||
this.splitContainer3.Panel2.Controls.Add(this.lblCurrentShop);
|
||||
this.splitContainer3.Panel2.Controls.Add(this.chkOnlyShowCurrentShop);
|
||||
this.splitContainer3.Panel2.Controls.Add(this.lblCurrentShop);
|
||||
this.splitContainer3.Size = new System.Drawing.Size(1430, 657);
|
||||
this.splitContainer3.SplitterDistance = 372;
|
||||
this.splitContainer3.TabIndex = 8;
|
||||
@@ -671,12 +687,85 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.panelEx1.Visible = false;
|
||||
this.panelEx1.Click += new System.EventHandler(this.panelEx1_Click);
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.Controls.Add(this.btnRestore);
|
||||
this.panel2.Controls.Add(this.txtOrderSnFilter);
|
||||
this.panel2.Controls.Add(this.btnFilterOrder);
|
||||
this.panel2.Controls.Add(this.dgvPddBuyerOrder);
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.panel2.Location = new System.Drawing.Point(0, 312);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(1054, 345);
|
||||
this.panel2.TabIndex = 908;
|
||||
//
|
||||
// btnRestore
|
||||
//
|
||||
this.btnRestore.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.btnRestore.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.btnRestore.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnRestore.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnRestore.Location = new System.Drawing.Point(318, 312);
|
||||
this.btnRestore.Name = "btnRestore";
|
||||
this.btnRestore.Size = new System.Drawing.Size(61, 23);
|
||||
this.btnRestore.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnRestore.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.btnRestore.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
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.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.btnRestore.Style.GradientAngle = 90;
|
||||
this.btnRestore.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
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 = 907;
|
||||
this.btnRestore.Text = "还原";
|
||||
this.btnRestore.Click += new System.EventHandler(this.btnRestore_Click);
|
||||
//
|
||||
// txtOrderSnFilter
|
||||
//
|
||||
this.txtOrderSnFilter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.txtOrderSnFilter.Location = new System.Drawing.Point(3, 312);
|
||||
this.txtOrderSnFilter.Name = "txtOrderSnFilter";
|
||||
this.txtOrderSnFilter.Size = new System.Drawing.Size(242, 23);
|
||||
this.txtOrderSnFilter.TabIndex = 903;
|
||||
//
|
||||
// btnFilterOrder
|
||||
//
|
||||
this.btnFilterOrder.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.btnFilterOrder.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnFilterOrder.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnFilterOrder.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnFilterOrder.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnFilterOrder.Location = new System.Drawing.Point(251, 312);
|
||||
this.btnFilterOrder.Name = "btnFilterOrder";
|
||||
this.btnFilterOrder.Size = new System.Drawing.Size(61, 23);
|
||||
this.btnFilterOrder.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnFilterOrder.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnFilterOrder.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnFilterOrder.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnFilterOrder.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnFilterOrder.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnFilterOrder.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnFilterOrder.Style.GradientAngle = 90;
|
||||
this.btnFilterOrder.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnFilterOrder.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnFilterOrder.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnFilterOrder.TabIndex = 902;
|
||||
this.btnFilterOrder.Text = "筛选";
|
||||
this.btnFilterOrder.Click += new System.EventHandler(this.btnFilterOrder_Click);
|
||||
//
|
||||
// dgvPddBuyerOrder
|
||||
//
|
||||
this.dgvPddBuyerOrder.AllowUserToAddRows = false;
|
||||
this.dgvPddBuyerOrder.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle9.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvPddBuyerOrder.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle9;
|
||||
this.dgvPddBuyerOrder.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.dgvPddBuyerOrder.AutoRowNumber = true;
|
||||
this.dgvPddBuyerOrder.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
||||
this.dgvPddBuyerOrder.BackgroundColor = System.Drawing.Color.White;
|
||||
@@ -705,13 +794,12 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.colOExpressId,
|
||||
this.colOMsg,
|
||||
this.colSend});
|
||||
this.dgvPddBuyerOrder.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.dgvPddBuyerOrder.Location = new System.Drawing.Point(0, 357);
|
||||
this.dgvPddBuyerOrder.Location = new System.Drawing.Point(2, 3);
|
||||
this.dgvPddBuyerOrder.MultiSelectCheckBox = true;
|
||||
this.dgvPddBuyerOrder.Name = "dgvPddBuyerOrder";
|
||||
this.dgvPddBuyerOrder.ReadOnly = true;
|
||||
this.dgvPddBuyerOrder.RowTemplate.Height = 23;
|
||||
this.dgvPddBuyerOrder.Size = new System.Drawing.Size(1054, 300);
|
||||
this.dgvPddBuyerOrder.Size = new System.Drawing.Size(1049, 300);
|
||||
this.dgvPddBuyerOrder.TabIndex = 886;
|
||||
this.dgvPddBuyerOrder.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvPddBuyerOrder_CellContentClick);
|
||||
//
|
||||
@@ -996,6 +1084,18 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.dtpEndTime.TabIndex = 813;
|
||||
this.dtpEndTime.Visible = false;
|
||||
//
|
||||
// chkOnlyShowCurrentShop
|
||||
//
|
||||
this.chkOnlyShowCurrentShop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.chkOnlyShowCurrentShop.AutoSize = true;
|
||||
this.chkOnlyShowCurrentShop.Location = new System.Drawing.Point(30, 498);
|
||||
this.chkOnlyShowCurrentShop.Name = "chkOnlyShowCurrentShop";
|
||||
this.chkOnlyShowCurrentShop.Size = new System.Drawing.Size(135, 21);
|
||||
this.chkOnlyShowCurrentShop.TabIndex = 885;
|
||||
this.chkOnlyShowCurrentShop.Text = "仅显示当前店铺订单";
|
||||
this.chkOnlyShowCurrentShop.UseVisualStyleBackColor = true;
|
||||
this.chkOnlyShowCurrentShop.Visible = false;
|
||||
//
|
||||
// lblCurrentShop
|
||||
//
|
||||
this.lblCurrentShop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
@@ -1010,18 +1110,6 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.lblCurrentShop.TextAlign = System.Drawing.ContentAlignment.TopRight;
|
||||
this.lblCurrentShop.Visible = false;
|
||||
//
|
||||
// chkOnlyShowCurrentShop
|
||||
//
|
||||
this.chkOnlyShowCurrentShop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.chkOnlyShowCurrentShop.AutoSize = true;
|
||||
this.chkOnlyShowCurrentShop.Location = new System.Drawing.Point(30, 498);
|
||||
this.chkOnlyShowCurrentShop.Name = "chkOnlyShowCurrentShop";
|
||||
this.chkOnlyShowCurrentShop.Size = new System.Drawing.Size(135, 21);
|
||||
this.chkOnlyShowCurrentShop.TabIndex = 885;
|
||||
this.chkOnlyShowCurrentShop.Text = "仅显示当前店铺订单";
|
||||
this.chkOnlyShowCurrentShop.UseVisualStyleBackColor = true;
|
||||
this.chkOnlyShowCurrentShop.Visible = false;
|
||||
//
|
||||
// statusBar
|
||||
//
|
||||
this.statusBar.BackColor = System.Drawing.Color.White;
|
||||
@@ -1033,17 +1121,6 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.statusBar.Size = new System.Drawing.Size(1438, 25);
|
||||
this.statusBar.TabIndex = 5;
|
||||
//
|
||||
// chkPause
|
||||
//
|
||||
this.chkPause.AutoSize = true;
|
||||
this.chkPause.Location = new System.Drawing.Point(246, 41);
|
||||
this.chkPause.Name = "chkPause";
|
||||
this.chkPause.Size = new System.Drawing.Size(51, 21);
|
||||
this.chkPause.TabIndex = 937;
|
||||
this.chkPause.Text = "暂停";
|
||||
this.chkPause.UseVisualStyleBackColor = true;
|
||||
this.chkPause.CheckedChanged += new System.EventHandler(this.chkPause_CheckedChanged);
|
||||
//
|
||||
// BuyerOrderListForm
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
@@ -1078,6 +1155,8 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.splitContainer3.Panel2.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).EndInit();
|
||||
this.splitContainer3.ResumeLayout(false);
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.panel2.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvPddBuyerOrder)).EndInit();
|
||||
this.tableLayoutPanel1.ResumeLayout(false);
|
||||
this.tableLayoutPanel1.PerformLayout();
|
||||
@@ -1152,5 +1231,9 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colOMsg;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn colSend;
|
||||
private UserComponent.UcCheckBox chkPause;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private DevComponents.DotNetBar.PanelEx btnRestore;
|
||||
private System.Windows.Forms.TextBox txtOrderSnFilter;
|
||||
private DevComponents.DotNetBar.PanelEx btnFilterOrder;
|
||||
}
|
||||
}
|
||||
@@ -168,11 +168,16 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
|
||||
private void RequestHandler_ResourceLoadComplete(object sender, string url, string postData, string responseData, IRequest request)
|
||||
{
|
||||
if (url.StartsWith("https://mobile.yangkeduo.com/orders.html?type=3&order_index=0"))
|
||||
{
|
||||
var url1 = url;
|
||||
//if (responseData.Contains("260415-279781076570828"))
|
||||
//{
|
||||
|
||||
}
|
||||
if (url.StartsWith("https://mobile.yangkeduo.com/orders.html?type=3"))
|
||||
//}
|
||||
//if (url1.StartsWith("https://mobile.yangkeduo.com/orders.html?type=3&order_index=0"))
|
||||
//{
|
||||
|
||||
//}
|
||||
if (url1.StartsWith("https://mobile.yangkeduo.com/orders.html?type=3")) //https://mobile.yangkeduo.com/orders.html?type=3
|
||||
{
|
||||
Task.Run(() =>
|
||||
{
|
||||
@@ -181,8 +186,11 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
{
|
||||
var jsonData = BaseRegex.GetJsonObjStrJson(ref data, "ordersStore")?.FirstOrDefault();
|
||||
var nickName = BaseRegex.GetStringJson(ref data, "nickName");
|
||||
var buyerId = GlobalConfig.BuyerLoginList.FirstOrDefault(b => b.buyer_nick == nickName)?.buyer_id;
|
||||
if (!string.IsNullOrEmpty(jsonData) && !string.IsNullOrEmpty(nickName) && !string.IsNullOrEmpty(buyerId))
|
||||
var uid = BaseRegex.GetStringJson(ref data, "uid");
|
||||
var buyerId = GlobalConfig.BuyerLoginList.FirstOrDefault(b => b.buyer_id == uid)?.buyer_id;
|
||||
if (buyerId.IsNullOrEmpty())
|
||||
buyerId = GlobalConfig.BuyerLoginList.FirstOrDefault(b => b.buyer_nick == nickName)?.buyer_id;
|
||||
if (!string.IsNullOrEmpty(jsonData) && !string.IsNullOrEmpty(buyerId))
|
||||
{
|
||||
var ordersStr = BaseRegex.GetJsonObjStrJson(ref jsonData, "initOdersList")?.FirstOrDefault();
|
||||
if (ordersStr != null && ordersStr.StartsWith("{\"3\":"))
|
||||
@@ -194,7 +202,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
}
|
||||
});
|
||||
}
|
||||
if (url.StartsWith("https://mobile.yangkeduo.com/orders.html?type=2"))
|
||||
if (url1.StartsWith("https://mobile.yangkeduo.com/orders.html?type=2"))
|
||||
{
|
||||
Task.Run(() =>
|
||||
{
|
||||
@@ -216,11 +224,11 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
}
|
||||
});
|
||||
}
|
||||
if (url.StartsWith("https://mobile.yangkeduo.com/proxy/api/api/aristotle/order_list_v3"))
|
||||
if (url1.StartsWith("https://mobile.yangkeduo.com/proxy/api/api/aristotle/order_list_v3"))
|
||||
{
|
||||
Task.Run(() =>
|
||||
{
|
||||
CefReadBuyerOrder(url, responseData);
|
||||
CefReadBuyerOrder(url1, responseData);
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -895,6 +903,11 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
if (resetSendStatus)
|
||||
order.sendStatus = "";
|
||||
|
||||
if (order.order_sn.Contains("-465578"))
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
if (order.sendStatus == "已发送")
|
||||
{
|
||||
return;
|
||||
@@ -950,8 +963,8 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
|
||||
private void panelEx3_Click(object sender, EventArgs e)
|
||||
{
|
||||
dgvPddBuyerOrder.Visible = !dgvPddBuyerOrder.Visible;
|
||||
if (dgvPddBuyerOrder.Visible == false)
|
||||
panel2.Visible = !panel2.Visible;
|
||||
if (panel2.Visible == false)
|
||||
panelEx3.Text = "打开";
|
||||
else
|
||||
panelEx3.Text = "折叠";
|
||||
@@ -982,6 +995,23 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
PauseTick = nextGetOrderTime - DateTime.Now;
|
||||
|
||||
}
|
||||
|
||||
private void btnFilterOrder_Click(object sender, EventArgs e)
|
||||
{
|
||||
foreach(DataGridViewRow row in dgvPddBuyerOrder.Rows)
|
||||
{
|
||||
if (row.Cells["colOPddOrderSn"].Value.ParseToString().Contains(txtOrderSnFilter.Text.Trim()))
|
||||
row.Visible = true;
|
||||
else
|
||||
row.Visible = false;
|
||||
}
|
||||
}
|
||||
|
||||
private void btnRestore_Click(object sender, EventArgs e)
|
||||
{
|
||||
txtOrderSnFilter.Text = "";
|
||||
btnFilterOrder_Click(null, null);
|
||||
}
|
||||
}
|
||||
|
||||
public class YkdBuyerOrder
|
||||
|
||||
Reference in new issue
Block a user