优化拼多多关联 优化微店上货
This commit is contained in:
1 parent
f360688c43
commit
44a26f4c2c
4 files changed
+38
-35
No files matched your search
+17
-7
@@ -80,6 +80,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
|
||||
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
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();
|
||||
@@ -689,6 +690,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.Controls.Add(this.lblMsg);
|
||||
this.panel2.Controls.Add(this.btnRestore);
|
||||
this.panel2.Controls.Add(this.txtOrderSnFilter);
|
||||
this.panel2.Controls.Add(this.btnFilterOrder);
|
||||
@@ -699,13 +701,22 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.panel2.Size = new System.Drawing.Size(1054, 345);
|
||||
this.panel2.TabIndex = 908;
|
||||
//
|
||||
// lblMsg
|
||||
//
|
||||
this.lblMsg.AutoSize = true;
|
||||
this.lblMsg.Location = new System.Drawing.Point(400, 13);
|
||||
this.lblMsg.Name = "lblMsg";
|
||||
this.lblMsg.Size = new System.Drawing.Size(48, 17);
|
||||
this.lblMsg.TabIndex = 914;
|
||||
this.lblMsg.Text = "lblMsg";
|
||||
this.lblMsg.Click += new System.EventHandler(this.lblMsg_Click);
|
||||
//
|
||||
// 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.Location = new System.Drawing.Point(318, 10);
|
||||
this.btnRestore.Name = "btnRestore";
|
||||
this.btnRestore.Size = new System.Drawing.Size(61, 23);
|
||||
this.btnRestore.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -726,20 +737,18 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
//
|
||||
// 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.Location = new System.Drawing.Point(3, 10);
|
||||
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.Location = new System.Drawing.Point(251, 10);
|
||||
this.btnFilterOrder.Name = "btnFilterOrder";
|
||||
this.btnFilterOrder.Size = new System.Drawing.Size(61, 23);
|
||||
this.btnFilterOrder.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -794,7 +803,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.colOExpressId,
|
||||
this.colOMsg,
|
||||
this.colSend});
|
||||
this.dgvPddBuyerOrder.Location = new System.Drawing.Point(2, 3);
|
||||
this.dgvPddBuyerOrder.Location = new System.Drawing.Point(2, 42);
|
||||
this.dgvPddBuyerOrder.MultiSelectCheckBox = true;
|
||||
this.dgvPddBuyerOrder.Name = "dgvPddBuyerOrder";
|
||||
this.dgvPddBuyerOrder.ReadOnly = true;
|
||||
@@ -1235,5 +1244,6 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
private DevComponents.DotNetBar.PanelEx btnRestore;
|
||||
private System.Windows.Forms.TextBox txtOrderSnFilter;
|
||||
private DevComponents.DotNetBar.PanelEx btnFilterOrder;
|
||||
private System.Windows.Forms.Label lblMsg;
|
||||
}
|
||||
}
|
||||
@@ -57,6 +57,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
|
||||
private void ProductListForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
lblMsg.Text = "";
|
||||
dtpStartTime.Value = DateTime.Now.Date.AddMonths(-1);
|
||||
dtpEndTime.Value = DateTime.Now.Date.AddDays(1).AddSeconds(-1);
|
||||
dgvBuyer.AddSelectorColumn("colSelect");
|
||||
@@ -171,11 +172,9 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
var url1 = url;
|
||||
//if (responseData.Contains("260415-279781076570828"))
|
||||
//{
|
||||
|
||||
//}
|
||||
//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
|
||||
{
|
||||
@@ -248,6 +247,10 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
//{"server_time":1775789489,"orders":[],"extra_info":{}}
|
||||
if (data.Contains("\"orders\":[]"))
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
lblMsg.Text = "获取空商品列表,退出自动滑动 " + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
|
||||
}));
|
||||
currentReadBuyer = "";
|
||||
return;
|
||||
}
|
||||
@@ -903,12 +906,8 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
if (resetSendStatus)
|
||||
order.sendStatus = "";
|
||||
|
||||
if (order.order_sn.Contains("-465578"))
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
if (order.sendStatus == "已发送")
|
||||
//if (order.sendStatus == "已发货")
|
||||
{
|
||||
return;
|
||||
}
|
||||
@@ -1012,6 +1011,11 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
txtOrderSnFilter.Text = "";
|
||||
btnFilterOrder_Click(null, null);
|
||||
}
|
||||
|
||||
private void lblMsg_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public class YkdBuyerOrder
|
||||
|
||||
Reference in new issue
Block a user