优化买手订单读取
This commit is contained in:
1 parent
44a26f4c2c
commit
9f26f03474
11 files changed
+1841
-979
No files matched your search
@@ -27,7 +27,7 @@ namespace AllBase
|
||||
/// <summary>
|
||||
/// 版本ID
|
||||
/// </summary>
|
||||
public static int VersionCount = 989;
|
||||
public static int VersionCount = 993;
|
||||
//public static int VersionCount = 613;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -51,6 +51,7 @@ namespace AllBase.Model.Result.PDDResult
|
||||
}
|
||||
}
|
||||
public string sendStatus { get; set; } = "";
|
||||
public string refundStatus { get; set; } = "";
|
||||
public string buyerId { get; set; } // 买手Id
|
||||
public string buyerName { get; set; } // 买手名称
|
||||
|
||||
|
||||
@@ -40,7 +40,8 @@ namespace TemuKJD.BLL
|
||||
request.UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36";
|
||||
request.Accept = "application/json, text/plain, */*";
|
||||
request.Headers.Add("sec-ch-ua", @"""Not)A;Brand"";v=""8"", ""Chromium"";v=""138""");
|
||||
request.Headers.Add("sec-ch-ua-mobile", @"?0");
|
||||
request.Headers.Add("sec-ch-ua-mobile", @"?0");
|
||||
request.Headers.Add("Origin", @"https://mobile.yangkeduo.com");
|
||||
request.Headers.Set(HttpRequestHeader.Cookie, cookies);
|
||||
request.Headers.Add("Sec-Fetch-Site", @"same-origin");
|
||||
request.Headers.Add("Sec-Fetch-Mode", @"cors");
|
||||
@@ -115,7 +116,67 @@ namespace TemuKJD.BLL
|
||||
request.Headers.Add("Sec-Fetch-Dest", @"empty");
|
||||
//request.Referer = "https://mobile.yangkeduo.com/goods.html?goods_id=668777537796&_oak_rcto=YWKWG77VXtDidZlaaAew84Hjoi0WMIkr6Sb3iSrTsNPiwhxdCIE-1DEr&_oc_trace_mark=199&_oc_adinfo=eyJwYWdlX3NuIjoxMDAwMiwic2NlbmVfaWQiOjUwNn0%3D&_oak_gallery_token=49fa7eda1bcf57d32ea05e34565ca727&_oak_gallery=https%3A%2F%2Fimg.pddpic.com%2Fmms-material-img%2F2025-08-19%2F74364405-4d67-4d13-ad64-1712f70865db.jpeg.a.jpeg&_oc_refer_ad=1&page_from=35&thumb_url=https%3A%2F%2Fimg.pddpic.com%2Fmms-material-img%2F2025-08-19%2F74364405-4d67-4d13-ad64-1712f70865db.jpeg.a.jpeg%3FimageMogr2%2Fthumbnail%2F400x%257CimageView2%2F2%2Fw%2F400%2Fq%2F80%2Fformat%2Fwebp&refer_page_name=index&refer_page_id=10002_1775730536937_hocm3gfy6j&refer_page_sn=10002&uin=CFS2K7V47GEISCE6TLYY6HRWPI_GEXDA";
|
||||
request.Referer = referer;
|
||||
request.Headers.Set(HttpRequestHeader.AcceptEncoding, "gzip, deflate, br, zstd");
|
||||
//request.Headers.Set(HttpRequestHeader.AcceptEncoding, "gzip, deflate, br, zstd");
|
||||
request.Headers.Set(HttpRequestHeader.AcceptEncoding, "gzip, deflate");
|
||||
request.Headers.Set(HttpRequestHeader.AcceptLanguage, "zh-CN,zh;q=0.9");
|
||||
|
||||
response = (HttpWebResponse)request.GetResponse();
|
||||
}
|
||||
catch (WebException ex)
|
||||
{
|
||||
if (ex.Status == WebExceptionStatus.ProtocolError)
|
||||
{
|
||||
response = (HttpWebResponse)ex.Response;
|
||||
result = GetProxyHtml.ReadResponse(response);
|
||||
return result;
|
||||
}
|
||||
else return ex.Message;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
if (response != null) response.Close();
|
||||
return e.Message;
|
||||
}
|
||||
result = GetProxyHtml.ReadResponse(response);
|
||||
return result;
|
||||
}
|
||||
|
||||
public static string YangkeduoGetPageResponse(BuyerLoginInfo buyer, string _url, string referer = "")
|
||||
{
|
||||
string cookies = "";
|
||||
try
|
||||
{
|
||||
var cookieLst = JsonHelper.DeserializeJsonToList<CefSharp.Cookie>(buyer?.cookie.ParseToString());
|
||||
if (cookieLst == null)
|
||||
cookieLst = new List<CefSharp.Cookie>();
|
||||
foreach (var cook in cookieLst)
|
||||
{
|
||||
cookies += cook.Name + "=" + cook.Value + ";";
|
||||
}
|
||||
}
|
||||
catch { }
|
||||
|
||||
HttpWebResponse response = null;
|
||||
string result;
|
||||
try
|
||||
{
|
||||
string url = _url;
|
||||
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
|
||||
|
||||
request.KeepAlive = true;
|
||||
request.Headers.Add("sec-ch-ua", @"""Not)A;Brand"";v=""8"", ""Chromium"";v=""138""");
|
||||
request.Headers.Add("sec-ch-ua-mobile", @"?0");
|
||||
request.Headers.Add("sec-ch-ua-platform", @"""Windows""");
|
||||
request.Headers.Add("Upgrade-Insecure-Requests", @"1");
|
||||
request.UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36";
|
||||
request.Accept = "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7";
|
||||
request.Headers.Set(HttpRequestHeader.Cookie, cookies);
|
||||
request.Headers.Add("Sec-Fetch-Site", @"none");
|
||||
request.Headers.Add("Sec-Fetch-Mode", @"navigate");
|
||||
request.Headers.Add("Sec-Fetch-User", @"?1");
|
||||
request.Headers.Add("Sec-Fetch-Dest", @"document");
|
||||
//request.Headers.Set(HttpRequestHeader.AcceptEncoding, "gzip, deflate, br, zstd");
|
||||
request.Headers.Set(HttpRequestHeader.AcceptEncoding, "gzip, deflate");
|
||||
request.Headers.Set(HttpRequestHeader.AcceptLanguage, "zh-CN,zh;q=0.9");
|
||||
|
||||
response = (HttpWebResponse)request.GetResponse();
|
||||
|
||||
+79
-52
@@ -32,16 +32,18 @@ namespace TemuKJD.PDDForms.ProductForms.ActivityForms
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
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();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.ucGroupBoxEx2 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.txtMultiCnt = new System.Windows.Forms.TextBox();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.txtSleepTime = new System.Windows.Forms.TextBox();
|
||||
@@ -178,7 +180,7 @@ namespace TemuKJD.PDDForms.ProductForms.ActivityForms
|
||||
// splitContainer1.Panel2
|
||||
//
|
||||
this.splitContainer1.Panel2.Controls.Add(this.splitContainer3);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(1571, 546);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(1507, 546);
|
||||
this.splitContainer1.SplitterDistance = 140;
|
||||
this.splitContainer1.TabIndex = 11;
|
||||
//
|
||||
@@ -189,6 +191,8 @@ namespace TemuKJD.PDDForms.ProductForms.ActivityForms
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.ucGroupBoxEx2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.ucGroupBoxEx2.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
|
||||
this.ucGroupBoxEx2.Controls.Add(this.label6);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.txtMultiCnt);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.label5);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.label3);
|
||||
this.ucGroupBoxEx2.Controls.Add(this.txtSleepTime);
|
||||
@@ -222,11 +226,32 @@ namespace TemuKJD.PDDForms.ProductForms.ActivityForms
|
||||
this.ucGroupBoxEx2.Controls.Add(this.line2);
|
||||
this.ucGroupBoxEx2.Location = new System.Drawing.Point(459, 2);
|
||||
this.ucGroupBoxEx2.Name = "ucGroupBoxEx2";
|
||||
this.ucGroupBoxEx2.Size = new System.Drawing.Size(1110, 140);
|
||||
this.ucGroupBoxEx2.Size = new System.Drawing.Size(1046, 140);
|
||||
this.ucGroupBoxEx2.TabIndex = 667;
|
||||
this.ucGroupBoxEx2.TabStop = false;
|
||||
this.ucGroupBoxEx2.Text = "活动价格配置";
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(533, 92);
|
||||
this.label6.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(68, 17);
|
||||
this.label6.TabIndex = 904;
|
||||
this.label6.Text = "批量提交数";
|
||||
//
|
||||
// txtMultiCnt
|
||||
//
|
||||
this.txtMultiCnt.Location = new System.Drawing.Point(604, 89);
|
||||
this.txtMultiCnt.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtMultiCnt.Name = "txtMultiCnt";
|
||||
this.txtMultiCnt.Size = new System.Drawing.Size(37, 23);
|
||||
this.txtMultiCnt.TabIndex = 903;
|
||||
this.txtMultiCnt.Text = "5";
|
||||
this.txtMultiCnt.TextChanged += new System.EventHandler(this.txtMultiCnt_TextChanged);
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
@@ -344,7 +369,7 @@ namespace TemuKJD.PDDForms.ProductForms.ActivityForms
|
||||
this.btnApiUpload.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnApiUpload.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnApiUpload.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnApiUpload.Location = new System.Drawing.Point(1031, 33);
|
||||
this.btnApiUpload.Location = new System.Drawing.Point(967, 33);
|
||||
this.btnApiUpload.Name = "btnApiUpload";
|
||||
this.btnApiUpload.Size = new System.Drawing.Size(66, 23);
|
||||
this.btnApiUpload.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -368,7 +393,7 @@ namespace TemuKJD.PDDForms.ProductForms.ActivityForms
|
||||
this.btnStop.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.btnStop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnStop.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnStop.Location = new System.Drawing.Point(1031, 68);
|
||||
this.btnStop.Location = new System.Drawing.Point(967, 68);
|
||||
this.btnStop.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
|
||||
this.btnStop.Name = "btnStop";
|
||||
this.btnStop.Size = new System.Drawing.Size(66, 23);
|
||||
@@ -427,7 +452,7 @@ namespace TemuKJD.PDDForms.ProductForms.ActivityForms
|
||||
this.btnClearDgv.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.btnClearDgv.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnClearDgv.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnClearDgv.Location = new System.Drawing.Point(1031, 100);
|
||||
this.btnClearDgv.Location = new System.Drawing.Point(967, 100);
|
||||
this.btnClearDgv.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
|
||||
this.btnClearDgv.Name = "btnClearDgv";
|
||||
this.btnClearDgv.Size = new System.Drawing.Size(66, 23);
|
||||
@@ -967,7 +992,7 @@ namespace TemuKJD.PDDForms.ProductForms.ActivityForms
|
||||
// splitContainer3.Panel2
|
||||
//
|
||||
this.splitContainer3.Panel2.Controls.Add(this.splitContainer4);
|
||||
this.splitContainer3.Size = new System.Drawing.Size(1571, 402);
|
||||
this.splitContainer3.Size = new System.Drawing.Size(1507, 402);
|
||||
this.splitContainer3.SplitterDistance = 372;
|
||||
this.splitContainer3.TabIndex = 1;
|
||||
//
|
||||
@@ -994,7 +1019,7 @@ namespace TemuKJD.PDDForms.ProductForms.ActivityForms
|
||||
this.splitContainer2.Panel2.Controls.Add(this.pbLoading);
|
||||
this.splitContainer2.Panel2.Controls.Add(this.dgvActProduct);
|
||||
this.splitContainer2.Panel2.Padding = new System.Windows.Forms.Padding(0, 0, 4, 0);
|
||||
this.splitContainer2.Size = new System.Drawing.Size(1571, 372);
|
||||
this.splitContainer2.Size = new System.Drawing.Size(1507, 372);
|
||||
this.splitContainer2.SplitterDistance = 326;
|
||||
this.splitContainer2.TabIndex = 0;
|
||||
//
|
||||
@@ -1014,19 +1039,19 @@ namespace TemuKJD.PDDForms.ProductForms.ActivityForms
|
||||
//
|
||||
this.dgvShop.AllowUserToAddRows = false;
|
||||
this.dgvShop.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
||||
dataGridViewCellStyle9.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle9;
|
||||
this.dgvShop.AutoRowNumber = true;
|
||||
this.dgvShop.BackgroundColor = System.Drawing.Color.White;
|
||||
this.dgvShop.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
||||
dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle10.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle10.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle10.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle10.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle10;
|
||||
this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.colSelect,
|
||||
@@ -1167,7 +1192,7 @@ namespace TemuKJD.PDDForms.ProductForms.ActivityForms
|
||||
// txtTest20981
|
||||
//
|
||||
this.txtTest20981.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtTest20981.Location = new System.Drawing.Point(1018, 30);
|
||||
this.txtTest20981.Location = new System.Drawing.Point(954, 30);
|
||||
this.txtTest20981.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtTest20981.Name = "txtTest20981";
|
||||
this.txtTest20981.Size = new System.Drawing.Size(127, 23);
|
||||
@@ -1180,7 +1205,7 @@ namespace TemuKJD.PDDForms.ProductForms.ActivityForms
|
||||
this.btnTest20981.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.btnTest20981.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnTest20981.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnTest20981.Location = new System.Drawing.Point(1149, 30);
|
||||
this.btnTest20981.Location = new System.Drawing.Point(1085, 30);
|
||||
this.btnTest20981.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
|
||||
this.btnTest20981.Name = "btnTest20981";
|
||||
this.btnTest20981.Size = new System.Drawing.Size(84, 23);
|
||||
@@ -1219,7 +1244,7 @@ namespace TemuKJD.PDDForms.ProductForms.ActivityForms
|
||||
//
|
||||
this.pbLoading.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.pbLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
|
||||
this.pbLoading.Location = new System.Drawing.Point(595, 161);
|
||||
this.pbLoading.Location = new System.Drawing.Point(563, 161);
|
||||
this.pbLoading.Name = "pbLoading";
|
||||
this.pbLoading.Size = new System.Drawing.Size(50, 50);
|
||||
this.pbLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
@@ -1231,19 +1256,19 @@ namespace TemuKJD.PDDForms.ProductForms.ActivityForms
|
||||
//
|
||||
this.dgvActProduct.AllowUserToAddRows = false;
|
||||
this.dgvActProduct.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle3.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvActProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle3;
|
||||
dataGridViewCellStyle11.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvActProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle11;
|
||||
this.dgvActProduct.AutoRowNumber = true;
|
||||
this.dgvActProduct.BackgroundColor = System.Drawing.Color.White;
|
||||
this.dgvActProduct.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvActProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
|
||||
dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle12.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvActProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle12;
|
||||
this.dgvActProduct.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvActProduct.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.colCheck,
|
||||
@@ -1268,7 +1293,7 @@ namespace TemuKJD.PDDForms.ProductForms.ActivityForms
|
||||
this.dgvActProduct.Name = "dgvActProduct";
|
||||
this.dgvActProduct.ReadOnly = true;
|
||||
this.dgvActProduct.RowTemplate.Height = 23;
|
||||
this.dgvActProduct.Size = new System.Drawing.Size(1237, 372);
|
||||
this.dgvActProduct.Size = new System.Drawing.Size(1173, 372);
|
||||
this.dgvActProduct.TabIndex = 187;
|
||||
this.dgvActProduct.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvSelectProduct_CellContentClick);
|
||||
this.dgvActProduct.Scroll += new System.Windows.Forms.ScrollEventHandler(this.dgvSelectProduct_Scroll);
|
||||
@@ -1292,8 +1317,8 @@ namespace TemuKJD.PDDForms.ProductForms.ActivityForms
|
||||
//
|
||||
// colSupplierName
|
||||
//
|
||||
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colSupplierName.DefaultCellStyle = dataGridViewCellStyle5;
|
||||
dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colSupplierName.DefaultCellStyle = dataGridViewCellStyle13;
|
||||
this.colSupplierName.Frozen = true;
|
||||
this.colSupplierName.HeaderText = "店铺名称";
|
||||
this.colSupplierName.Name = "colSupplierName";
|
||||
@@ -1348,8 +1373,8 @@ namespace TemuKJD.PDDForms.ProductForms.ActivityForms
|
||||
//
|
||||
// colProductName
|
||||
//
|
||||
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colProductName.DefaultCellStyle = dataGridViewCellStyle6;
|
||||
dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colProductName.DefaultCellStyle = dataGridViewCellStyle14;
|
||||
this.colProductName.HeaderText = "商品标题";
|
||||
this.colProductName.Name = "colProductName";
|
||||
this.colProductName.ReadOnly = true;
|
||||
@@ -1376,8 +1401,8 @@ namespace TemuKJD.PDDForms.ProductForms.ActivityForms
|
||||
//
|
||||
// colUpdateTime
|
||||
//
|
||||
dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colUpdateTime.DefaultCellStyle = dataGridViewCellStyle7;
|
||||
dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colUpdateTime.DefaultCellStyle = dataGridViewCellStyle15;
|
||||
this.colUpdateTime.FillWeight = 80F;
|
||||
this.colUpdateTime.HeaderText = "上架时间";
|
||||
this.colUpdateTime.Name = "colUpdateTime";
|
||||
@@ -1393,8 +1418,8 @@ namespace TemuKJD.PDDForms.ProductForms.ActivityForms
|
||||
//
|
||||
// colOpResult
|
||||
//
|
||||
dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colOpResult.DefaultCellStyle = dataGridViewCellStyle8;
|
||||
dataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colOpResult.DefaultCellStyle = dataGridViewCellStyle16;
|
||||
this.colOpResult.HeaderText = "操作结果";
|
||||
this.colOpResult.Name = "colOpResult";
|
||||
this.colOpResult.ReadOnly = true;
|
||||
@@ -1415,8 +1440,8 @@ namespace TemuKJD.PDDForms.ProductForms.ActivityForms
|
||||
//
|
||||
this.splitContainer4.Panel2.Controls.Add(this.btnClear);
|
||||
this.splitContainer4.Panel2.Controls.Add(this.panelEx1);
|
||||
this.splitContainer4.Size = new System.Drawing.Size(1571, 26);
|
||||
this.splitContainer4.SplitterDistance = 880;
|
||||
this.splitContainer4.Size = new System.Drawing.Size(1507, 26);
|
||||
this.splitContainer4.SplitterDistance = 816;
|
||||
this.splitContainer4.TabIndex = 3;
|
||||
//
|
||||
// statusBar
|
||||
@@ -1427,7 +1452,7 @@ namespace TemuKJD.PDDForms.ProductForms.ActivityForms
|
||||
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(880, 26);
|
||||
this.statusBar.Size = new System.Drawing.Size(816, 26);
|
||||
this.statusBar.TabIndex = 2;
|
||||
//
|
||||
// btnClear
|
||||
@@ -1487,7 +1512,7 @@ namespace TemuKJD.PDDForms.ProductForms.ActivityForms
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.panel1.Location = new System.Drawing.Point(699, 552);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(881, 86);
|
||||
this.panel1.Size = new System.Drawing.Size(838, 86);
|
||||
this.panel1.TabIndex = 189;
|
||||
this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint);
|
||||
//
|
||||
@@ -1495,7 +1520,7 @@ namespace TemuKJD.PDDForms.ProductForms.ActivityForms
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.BackColor = System.Drawing.Color.White;
|
||||
this.ClientSize = new System.Drawing.Size(1583, 641);
|
||||
this.ClientSize = new System.Drawing.Size(1540, 641);
|
||||
this.Controls.Add(this.splitContainer1);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
@@ -1636,5 +1661,7 @@ namespace TemuKJD.PDDForms.ProductForms.ActivityForms
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.TextBox txtSleepTime;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.TextBox txtMultiCnt;
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -512,7 +512,7 @@ namespace TemuKJD.PDDForms.ProductForms
|
||||
{
|
||||
Thread.Sleep(Randomx.GetId(500, 1500));
|
||||
anti = shop.AntiContents[Randomx.GetId(shop.AntiContents.Count)];
|
||||
body = @"{""goodsIds"":" + prodIds + @",""crawlerInfo"":""" + anti + @"""}";
|
||||
body = @"{""goodsIds"":[" + prodIds + @"],""crawlerInfo"":""" + anti + @"""}";
|
||||
result = HttpResponseBLL.PDDPostResponse(shop, url, body.Replace("0asAntiContent", anti), refere, anti);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7269,6 +7269,8 @@ Content-Type: image/jpeg
|
||||
}
|
||||
|
||||
KJDDBProduct dbProd = selectProd.kjdDbProduct;
|
||||
if (dbProd == null)
|
||||
dbProd = GetProductDetail(selectProd.out_product_Id.ToString());
|
||||
if (dbProd == null)
|
||||
dbProd = GetProductDetail(selectProd.out_product_Id.ToString());
|
||||
if (!string.IsNullOrEmpty(dbProd.secret_spu_id))
|
||||
|
||||
+7
-7
@@ -420,7 +420,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat3.DropDownWidth = 1;
|
||||
this.cmbCat3.FormattingEnabled = true;
|
||||
this.cmbCat3.IntegralHeight = false;
|
||||
this.cmbCat3.Location = new System.Drawing.Point(718, 5);
|
||||
this.cmbCat3.Location = new System.Drawing.Point(718, 7);
|
||||
this.cmbCat3.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat3.Name = "cmbCat3";
|
||||
this.cmbCat3.Size = new System.Drawing.Size(146, 25);
|
||||
@@ -448,7 +448,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat2.DropDownWidth = 1;
|
||||
this.cmbCat2.FormattingEnabled = true;
|
||||
this.cmbCat2.IntegralHeight = false;
|
||||
this.cmbCat2.Location = new System.Drawing.Point(515, 5);
|
||||
this.cmbCat2.Location = new System.Drawing.Point(515, 7);
|
||||
this.cmbCat2.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat2.Name = "cmbCat2";
|
||||
this.cmbCat2.Size = new System.Drawing.Size(146, 25);
|
||||
@@ -476,7 +476,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat1.DropDownWidth = 1;
|
||||
this.cmbCat1.FormattingEnabled = true;
|
||||
this.cmbCat1.IntegralHeight = false;
|
||||
this.cmbCat1.Location = new System.Drawing.Point(293, 7);
|
||||
this.cmbCat1.Location = new System.Drawing.Point(293, 5);
|
||||
this.cmbCat1.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat1.Name = "cmbCat1";
|
||||
this.cmbCat1.Size = new System.Drawing.Size(146, 25);
|
||||
@@ -536,7 +536,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"安全+未校验",
|
||||
"安全商品",
|
||||
"未校验"});
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(71, 42);
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(71, 40);
|
||||
this.cmbWxSafe.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbWxSafe.Name = "cmbWxSafe";
|
||||
this.cmbWxSafe.Size = new System.Drawing.Size(146, 25);
|
||||
@@ -559,7 +559,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.cmbGroupFilter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cmbGroupFilter.FormattingEnabled = true;
|
||||
this.cmbGroupFilter.Location = new System.Drawing.Point(938, 5);
|
||||
this.cmbGroupFilter.Location = new System.Drawing.Point(938, 7);
|
||||
this.cmbGroupFilter.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbGroupFilter.Name = "cmbGroupFilter";
|
||||
this.cmbGroupFilter.Size = new System.Drawing.Size(146, 25);
|
||||
@@ -580,7 +580,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"机会商品",
|
||||
"以图搜品",
|
||||
"外部数据"});
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(718, 40);
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(718, 42);
|
||||
this.cmbSourceType.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbSourceType.Name = "cmbSourceType";
|
||||
this.cmbSourceType.Size = new System.Drawing.Size(146, 25);
|
||||
@@ -610,7 +610,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"",
|
||||
"是",
|
||||
"否"});
|
||||
this.cmbRelation.Location = new System.Drawing.Point(938, 40);
|
||||
this.cmbRelation.Location = new System.Drawing.Point(938, 42);
|
||||
this.cmbRelation.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbRelation.Name = "cmbRelation";
|
||||
this.cmbRelation.Size = new System.Drawing.Size(146, 25);
|
||||
|
||||
+111
-71
@@ -44,10 +44,10 @@ 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.btnStopStop = new DevComponents.DotNetBar.PanelEx();
|
||||
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();
|
||||
this.btnSearch = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnAddBuyler = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnDel = new DevComponents.DotNetBar.PanelEx();
|
||||
@@ -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.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();
|
||||
@@ -99,6 +100,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.colOExpressId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colOMsg = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colSend = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.colAfterSale = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.btnFilter = new DevComponents.DotNetBar.PanelEx();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
@@ -113,6 +115,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.chkOnlyShowCurrentShop = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.lblCurrentShop = new System.Windows.Forms.Label();
|
||||
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
|
||||
this.chkAutoAfterSale = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
@@ -129,6 +132,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.splitContainer3.Panel2.SuspendLayout();
|
||||
this.splitContainer3.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvPddBuyerOrder)).BeginInit();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
@@ -144,10 +148,11 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
//
|
||||
// splitContainer1.Panel1
|
||||
//
|
||||
this.splitContainer1.Panel1.Controls.Add(this.chkAutoAfterSale);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnStopStop);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.chkPause);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnCheck);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnRefresh);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnStopStop);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnSearch);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnAddBuyler);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnDel);
|
||||
@@ -157,14 +162,38 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.splitContainer1.Panel2.Controls.Add(this.pbLoading);
|
||||
this.splitContainer1.Panel2.Controls.Add(this.dgvWxOrder);
|
||||
this.splitContainer1.Panel2.Controls.Add(this.dgvBuyer);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(372, 657);
|
||||
this.splitContainer1.SplitterDistance = 78;
|
||||
this.splitContainer1.Size = new System.Drawing.Size(364, 657);
|
||||
this.splitContainer1.SplitterDistance = 90;
|
||||
this.splitContainer1.TabIndex = 1;
|
||||
//
|
||||
// btnStopStop
|
||||
//
|
||||
this.btnStopStop.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.btnStopStop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnStopStop.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnStopStop.Location = new System.Drawing.Point(286, 38);
|
||||
this.btnStopStop.Name = "btnStopStop";
|
||||
this.btnStopStop.Size = new System.Drawing.Size(67, 25);
|
||||
this.btnStopStop.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnStopStop.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.btnStopStop.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.btnStopStop.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.btnStopStop.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnStopStop.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.btnStopStop.Style.GradientAngle = 90;
|
||||
this.btnStopStop.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnStopStop.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnStopStop.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnStopStop.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnStopStop.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnStopStop.TabIndex = 878;
|
||||
this.btnStopStop.Text = "停止查询";
|
||||
this.btnStopStop.Click += new System.EventHandler(this.btnStopStop_Click);
|
||||
//
|
||||
// chkPause
|
||||
//
|
||||
this.chkPause.AutoSize = true;
|
||||
this.chkPause.Location = new System.Drawing.Point(246, 41);
|
||||
this.chkPause.Location = new System.Drawing.Point(242, 40);
|
||||
this.chkPause.Name = "chkPause";
|
||||
this.chkPause.Size = new System.Drawing.Size(51, 21);
|
||||
this.chkPause.TabIndex = 937;
|
||||
@@ -178,7 +207,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.btnCheck.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnCheck.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnCheck.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnCheck.Location = new System.Drawing.Point(126, 39);
|
||||
this.btnCheck.Location = new System.Drawing.Point(126, 51);
|
||||
this.btnCheck.Name = "btnCheck";
|
||||
this.btnCheck.Size = new System.Drawing.Size(98, 25);
|
||||
this.btnCheck.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -202,7 +231,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.btnRefresh.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnRefresh.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnRefresh.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnRefresh.Location = new System.Drawing.Point(126, 10);
|
||||
this.btnRefresh.Location = new System.Drawing.Point(126, 13);
|
||||
this.btnRefresh.Name = "btnRefresh";
|
||||
this.btnRefresh.Size = new System.Drawing.Size(98, 25);
|
||||
this.btnRefresh.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -220,39 +249,15 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.btnRefresh.Text = "刷新买手号";
|
||||
this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
|
||||
//
|
||||
// btnStopStop
|
||||
//
|
||||
this.btnStopStop.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.btnStopStop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnStopStop.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnStopStop.Location = new System.Drawing.Point(297, 39);
|
||||
this.btnStopStop.Name = "btnStopStop";
|
||||
this.btnStopStop.Size = new System.Drawing.Size(67, 25);
|
||||
this.btnStopStop.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnStopStop.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.btnStopStop.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.btnStopStop.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.btnStopStop.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnStopStop.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.btnStopStop.Style.GradientAngle = 90;
|
||||
this.btnStopStop.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnStopStop.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnStopStop.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnStopStop.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnStopStop.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnStopStop.TabIndex = 878;
|
||||
this.btnStopStop.Text = "停止查询";
|
||||
this.btnStopStop.Click += new System.EventHandler(this.btnStopStop_Click);
|
||||
//
|
||||
// btnSearch
|
||||
//
|
||||
this.btnSearch.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnSearch.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnSearch.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnSearch.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnSearch.Location = new System.Drawing.Point(246, 10);
|
||||
this.btnSearch.Location = new System.Drawing.Point(242, 8);
|
||||
this.btnSearch.Name = "btnSearch";
|
||||
this.btnSearch.Size = new System.Drawing.Size(118, 25);
|
||||
this.btnSearch.Size = new System.Drawing.Size(111, 25);
|
||||
this.btnSearch.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSearch.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSearch.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
@@ -274,7 +279,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.btnAddBuyler.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnAddBuyler.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnAddBuyler.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnAddBuyler.Location = new System.Drawing.Point(10, 10);
|
||||
this.btnAddBuyler.Location = new System.Drawing.Point(10, 13);
|
||||
this.btnAddBuyler.Name = "btnAddBuyler";
|
||||
this.btnAddBuyler.Size = new System.Drawing.Size(98, 25);
|
||||
this.btnAddBuyler.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -298,7 +303,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.btnDel.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnDel.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnDel.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnDel.Location = new System.Drawing.Point(10, 39);
|
||||
this.btnDel.Location = new System.Drawing.Point(10, 51);
|
||||
this.btnDel.Name = "btnDel";
|
||||
this.btnDel.Size = new System.Drawing.Size(98, 25);
|
||||
this.btnDel.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -320,7 +325,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
//
|
||||
this.pbLoading.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.pbLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
|
||||
this.pbLoading.Location = new System.Drawing.Point(161, 262);
|
||||
this.pbLoading.Location = new System.Drawing.Point(157, 256);
|
||||
this.pbLoading.Name = "pbLoading";
|
||||
this.pbLoading.Size = new System.Drawing.Size(50, 50);
|
||||
this.pbLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
@@ -498,7 +503,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.dgvBuyer.ReadOnly = true;
|
||||
this.dgvBuyer.RowHeadersWidth = 25;
|
||||
this.dgvBuyer.RowTemplate.Height = 23;
|
||||
this.dgvBuyer.Size = new System.Drawing.Size(372, 575);
|
||||
this.dgvBuyer.Size = new System.Drawing.Size(364, 563);
|
||||
this.dgvBuyer.TabIndex = 7;
|
||||
this.dgvBuyer.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellContentClick);
|
||||
//
|
||||
@@ -608,7 +613,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
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.SplitterDistance = 364;
|
||||
this.splitContainer3.TabIndex = 8;
|
||||
//
|
||||
// panelEx3
|
||||
@@ -618,7 +623,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
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(497, 638);
|
||||
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;
|
||||
@@ -634,7 +639,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
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.panelEx3_Click);
|
||||
this.panelEx3.Click += new System.EventHandler(this.btnClose_Click);
|
||||
//
|
||||
// panelEx2
|
||||
//
|
||||
@@ -643,7 +648,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.panelEx2.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.panelEx2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.panelEx2.Location = new System.Drawing.Point(1030, 624);
|
||||
this.panelEx2.Location = new System.Drawing.Point(1038, 624);
|
||||
this.panelEx2.Name = "panelEx2";
|
||||
this.panelEx2.Size = new System.Drawing.Size(24, 25);
|
||||
this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -669,7 +674,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
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(1030, 593);
|
||||
this.panelEx1.Location = new System.Drawing.Point(1038, 593);
|
||||
this.panelEx1.Name = "panelEx1";
|
||||
this.panelEx1.Size = new System.Drawing.Size(24, 25);
|
||||
this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -690,6 +695,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.Controls.Add(this.pictureBox1);
|
||||
this.panel2.Controls.Add(this.lblMsg);
|
||||
this.panel2.Controls.Add(this.btnRestore);
|
||||
this.panel2.Controls.Add(this.txtOrderSnFilter);
|
||||
@@ -698,13 +704,24 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
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.Size = new System.Drawing.Size(1062, 345);
|
||||
this.panel2.TabIndex = 908;
|
||||
//
|
||||
// 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(506, 147);
|
||||
this.pictureBox1.Name = "pictureBox1";
|
||||
this.pictureBox1.Size = new System.Drawing.Size(50, 50);
|
||||
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.pictureBox1.TabIndex = 921;
|
||||
this.pictureBox1.TabStop = false;
|
||||
//
|
||||
// lblMsg
|
||||
//
|
||||
this.lblMsg.AutoSize = true;
|
||||
this.lblMsg.Location = new System.Drawing.Point(400, 13);
|
||||
this.lblMsg.Location = new System.Drawing.Point(400, 15);
|
||||
this.lblMsg.Name = "lblMsg";
|
||||
this.lblMsg.Size = new System.Drawing.Size(48, 17);
|
||||
this.lblMsg.TabIndex = 914;
|
||||
@@ -716,7 +733,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
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, 10);
|
||||
this.btnRestore.Location = new System.Drawing.Point(318, 12);
|
||||
this.btnRestore.Name = "btnRestore";
|
||||
this.btnRestore.Size = new System.Drawing.Size(61, 23);
|
||||
this.btnRestore.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -737,7 +754,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
//
|
||||
// txtOrderSnFilter
|
||||
//
|
||||
this.txtOrderSnFilter.Location = new System.Drawing.Point(3, 10);
|
||||
this.txtOrderSnFilter.Location = new System.Drawing.Point(3, 12);
|
||||
this.txtOrderSnFilter.Name = "txtOrderSnFilter";
|
||||
this.txtOrderSnFilter.Size = new System.Drawing.Size(242, 23);
|
||||
this.txtOrderSnFilter.TabIndex = 903;
|
||||
@@ -748,7 +765,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
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, 10);
|
||||
this.btnFilterOrder.Location = new System.Drawing.Point(251, 12);
|
||||
this.btnFilterOrder.Name = "btnFilterOrder";
|
||||
this.btnFilterOrder.Size = new System.Drawing.Size(61, 23);
|
||||
this.btnFilterOrder.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -802,13 +819,14 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.colOExpressName,
|
||||
this.colOExpressId,
|
||||
this.colOMsg,
|
||||
this.colSend});
|
||||
this.dgvPddBuyerOrder.Location = new System.Drawing.Point(2, 42);
|
||||
this.colSend,
|
||||
this.colAfterSale});
|
||||
this.dgvPddBuyerOrder.Location = new System.Drawing.Point(2, 45);
|
||||
this.dgvPddBuyerOrder.MultiSelectCheckBox = true;
|
||||
this.dgvPddBuyerOrder.Name = "dgvPddBuyerOrder";
|
||||
this.dgvPddBuyerOrder.ReadOnly = true;
|
||||
this.dgvPddBuyerOrder.RowTemplate.Height = 23;
|
||||
this.dgvPddBuyerOrder.Size = new System.Drawing.Size(1049, 300);
|
||||
this.dgvPddBuyerOrder.Size = new System.Drawing.Size(1057, 300);
|
||||
this.dgvPddBuyerOrder.TabIndex = 886;
|
||||
this.dgvPddBuyerOrder.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvPddBuyerOrder_CellContentClick);
|
||||
//
|
||||
@@ -917,6 +935,14 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
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)
|
||||
@@ -952,7 +978,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33444F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33445F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33112F));
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(888, 105);
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(896, 105);
|
||||
this.tableLayoutPanel1.TabIndex = 679;
|
||||
this.tableLayoutPanel1.Visible = false;
|
||||
//
|
||||
@@ -963,7 +989,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
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(815, 40);
|
||||
this.btnFilter.Location = new System.Drawing.Point(823, 40);
|
||||
this.btnFilter.Name = "btnFilter";
|
||||
this.btnFilter.Size = new System.Drawing.Size(69, 25);
|
||||
this.btnFilter.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -999,7 +1025,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.pnlEmpty.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.pnlEmpty.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.pnlEmpty.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.pnlEmpty.Location = new System.Drawing.Point(763, 40);
|
||||
this.pnlEmpty.Location = new System.Drawing.Point(771, 40);
|
||||
this.pnlEmpty.Name = "pnlEmpty";
|
||||
this.pnlEmpty.Size = new System.Drawing.Size(46, 25);
|
||||
this.pnlEmpty.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -1023,7 +1049,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
//
|
||||
this.label17.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label17.AutoSize = true;
|
||||
this.label17.Location = new System.Drawing.Point(187, 44);
|
||||
this.label17.Location = new System.Drawing.Point(189, 44);
|
||||
this.label17.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label17.Name = "label17";
|
||||
this.label17.Size = new System.Drawing.Size(56, 17);
|
||||
@@ -1034,10 +1060,10 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
// txtMobile
|
||||
//
|
||||
this.txtMobile.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtMobile.Location = new System.Drawing.Point(243, 41);
|
||||
this.txtMobile.Location = new System.Drawing.Point(245, 41);
|
||||
this.txtMobile.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtMobile.Name = "txtMobile";
|
||||
this.txtMobile.Size = new System.Drawing.Size(122, 23);
|
||||
this.txtMobile.Size = new System.Drawing.Size(124, 23);
|
||||
this.txtMobile.TabIndex = 428;
|
||||
this.txtMobile.Visible = false;
|
||||
//
|
||||
@@ -1047,7 +1073,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.txtOrderSn.Location = new System.Drawing.Point(59, 41);
|
||||
this.txtOrderSn.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtOrderSn.Name = "txtOrderSn";
|
||||
this.txtOrderSn.Size = new System.Drawing.Size(122, 23);
|
||||
this.txtOrderSn.Size = new System.Drawing.Size(124, 23);
|
||||
this.txtOrderSn.TabIndex = 427;
|
||||
this.txtOrderSn.Visible = false;
|
||||
//
|
||||
@@ -1055,7 +1081,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
//
|
||||
this.label2.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(371, 44);
|
||||
this.label2.Location = new System.Drawing.Point(375, 44);
|
||||
this.label2.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(68, 17);
|
||||
@@ -1066,9 +1092,9 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
// dtpStartTime
|
||||
//
|
||||
this.dtpStartTime.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.dtpStartTime.Location = new System.Drawing.Point(442, 41);
|
||||
this.dtpStartTime.Location = new System.Drawing.Point(446, 41);
|
||||
this.dtpStartTime.Name = "dtpStartTime";
|
||||
this.dtpStartTime.Size = new System.Drawing.Size(119, 23);
|
||||
this.dtpStartTime.Size = new System.Drawing.Size(121, 23);
|
||||
this.dtpStartTime.TabIndex = 812;
|
||||
this.dtpStartTime.Visible = false;
|
||||
//
|
||||
@@ -1076,7 +1102,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
//
|
||||
this.label14.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label14.AutoSize = true;
|
||||
this.label14.Location = new System.Drawing.Point(567, 44);
|
||||
this.label14.Location = new System.Drawing.Point(573, 44);
|
||||
this.label14.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label14.Name = "label14";
|
||||
this.label14.Size = new System.Drawing.Size(68, 17);
|
||||
@@ -1087,9 +1113,9 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
// dtpEndTime
|
||||
//
|
||||
this.dtpEndTime.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.dtpEndTime.Location = new System.Drawing.Point(638, 41);
|
||||
this.dtpEndTime.Location = new System.Drawing.Point(644, 41);
|
||||
this.dtpEndTime.Name = "dtpEndTime";
|
||||
this.dtpEndTime.Size = new System.Drawing.Size(119, 23);
|
||||
this.dtpEndTime.Size = new System.Drawing.Size(121, 23);
|
||||
this.dtpEndTime.TabIndex = 813;
|
||||
this.dtpEndTime.Visible = false;
|
||||
//
|
||||
@@ -1097,7 +1123,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
//
|
||||
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.Location = new System.Drawing.Point(38, 498);
|
||||
this.chkOnlyShowCurrentShop.Name = "chkOnlyShowCurrentShop";
|
||||
this.chkOnlyShowCurrentShop.Size = new System.Drawing.Size(135, 21);
|
||||
this.chkOnlyShowCurrentShop.TabIndex = 885;
|
||||
@@ -1110,7 +1136,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.lblCurrentShop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.lblCurrentShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lblCurrentShop.ForeColor = System.Drawing.Color.DarkOrange;
|
||||
this.lblCurrentShop.Location = new System.Drawing.Point(179, 498);
|
||||
this.lblCurrentShop.Location = new System.Drawing.Point(187, 498);
|
||||
this.lblCurrentShop.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.lblCurrentShop.Name = "lblCurrentShop";
|
||||
this.lblCurrentShop.Size = new System.Drawing.Size(214, 17);
|
||||
@@ -1130,6 +1156,16 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.statusBar.Size = new System.Drawing.Size(1438, 25);
|
||||
this.statusBar.TabIndex = 5;
|
||||
//
|
||||
// chkAutoAfterSale
|
||||
//
|
||||
this.chkAutoAfterSale.Location = new System.Drawing.Point(242, 64);
|
||||
this.chkAutoAfterSale.Name = "chkAutoAfterSale";
|
||||
this.chkAutoAfterSale.Size = new System.Drawing.Size(113, 21);
|
||||
this.chkAutoAfterSale.TabIndex = 953;
|
||||
this.chkAutoAfterSale.Text = "未发货单自动售后";
|
||||
this.chkAutoAfterSale.UseVisualStyleBackColor = true;
|
||||
this.chkAutoAfterSale.CheckedChanged += new System.EventHandler(this.chkAutoAfterSale_CheckedChanged);
|
||||
//
|
||||
// BuyerOrderListForm
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
@@ -1166,6 +1202,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
this.splitContainer3.ResumeLayout(false);
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.panel2.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvPddBuyerOrder)).EndInit();
|
||||
this.tableLayoutPanel1.ResumeLayout(false);
|
||||
this.tableLayoutPanel1.PerformLayout();
|
||||
@@ -1225,6 +1262,13 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
private DevComponents.DotNetBar.PanelEx panelEx3;
|
||||
private DevComponents.DotNetBar.PanelEx panelEx2;
|
||||
private DevComponents.DotNetBar.PanelEx panelEx1;
|
||||
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;
|
||||
private System.Windows.Forms.Label lblMsg;
|
||||
private System.Windows.Forms.PictureBox pictureBox1;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn dataGridViewCheckBoxColumn1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colOBuyerId;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colOBuyerName;
|
||||
@@ -1239,11 +1283,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colOExpressId;
|
||||
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;
|
||||
private System.Windows.Forms.Label lblMsg;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn colAfterSale;
|
||||
private UserComponent.UcCheckBox chkAutoAfterSale;
|
||||
}
|
||||
}
|
||||
@@ -45,9 +45,13 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
ConcurrentList<PddBuyerOrderInfoLite> lstPddBuyerOrderInfoLite { get; set; } = new ConcurrentList<PddBuyerOrderInfoLite>();
|
||||
public CancellationTokenSource cancellationTokenSource { get; set; } = new CancellationTokenSource();
|
||||
public ChromiumWebBrowser cefWebBrowser = null;
|
||||
public bool loadComplate = false;
|
||||
public bool firstVisible = false;
|
||||
public BuyerOrderConfig buyerOrderConfig = new BuyerOrderConfig();
|
||||
public DateTime nextGetOrderTime = DateTime.MinValue;
|
||||
public bool isLoadComplate = false;
|
||||
public bool firstVisible = false;
|
||||
bool isInitOrder = false;
|
||||
bool isInitBuyer = false;
|
||||
bool isReadOrder = false;
|
||||
|
||||
public BuyerOrderListForm()
|
||||
{
|
||||
@@ -64,31 +68,75 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
|
||||
InitCef();
|
||||
|
||||
lstPddBuyerOrderInfoLite = NaiBa.Util.Helper.ConfigHelper.LoadConfig<ConcurrentList<PddBuyerOrderInfoLite>> ("pdd_buyer_order");
|
||||
buyerOrderConfig = NaiBa.Util.Helper.ConfigHelper.LoadConfig<BuyerOrderConfig>("pdd_buyer_order_config");
|
||||
if (buyerOrderConfig == null)
|
||||
buyerOrderConfig = new BuyerOrderConfig();
|
||||
|
||||
this.chkPause.Checked = buyerOrderConfig.IsPause;
|
||||
this.chkAutoAfterSale.Checked = buyerOrderConfig.IsAutoAfterSale;
|
||||
|
||||
lstPddBuyerOrderInfoLite = NaiBa.Util.Helper.ConfigHelper.LoadConfig<ConcurrentList<PddBuyerOrderInfoLite>>("pdd_buyer_order_list");
|
||||
if (lstPddBuyerOrderInfoLite == null)
|
||||
lstPddBuyerOrderInfoLite = NaiBa.Util.Helper.ConfigHelper.LoadConfig<ConcurrentList<PddBuyerOrderInfoLite>>("pdd_buyer_order");
|
||||
if (lstPddBuyerOrderInfoLite == null)
|
||||
lstPddBuyerOrderInfoLite = new ConcurrentList<PddBuyerOrderInfoLite>();
|
||||
ShowOrder();
|
||||
lstPddBuyerOrderInfoLite.RemoveAll(o => o.order_time < BaseClass.DateTimeToTimestampSeconds(DateTime.Now.AddMonths(-1)));
|
||||
|
||||
GetBuyer();
|
||||
AutoGetPddOrder();
|
||||
loadComplate = true;
|
||||
|
||||
Task.Run(() =>
|
||||
{
|
||||
while (isInitBuyer)
|
||||
{
|
||||
Thread.Sleep(500);
|
||||
}
|
||||
ShowExistOrder();
|
||||
|
||||
while (isInitOrder)
|
||||
{
|
||||
Thread.Sleep(500);
|
||||
}
|
||||
AutoGetPddOrder();
|
||||
});
|
||||
|
||||
Task.Run(() =>
|
||||
{
|
||||
while(true)
|
||||
{
|
||||
Thread.Sleep(500);
|
||||
if (isReadOrder || isInitBuyer || isInitOrder)
|
||||
{
|
||||
Invoke(new Action(() => { pictureBox1.Visible = true; }));
|
||||
}
|
||||
else
|
||||
{
|
||||
Invoke(new Action(() => { pictureBox1.Visible = false; }));
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
isLoadComplate = true;
|
||||
}
|
||||
|
||||
private void ProductListForm_VisibleChanged(object sender, EventArgs e)
|
||||
{
|
||||
}
|
||||
|
||||
void ShowOrder()
|
||||
void ShowExistOrder()
|
||||
{
|
||||
isInitOrder = true;
|
||||
Task.Run(() => {
|
||||
|
||||
foreach(var order in lstPddBuyerOrderInfoLite)
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
if (GlobalConfig.BuyerLoginList.Any(b => b.buyer_id == order.buyerId))
|
||||
{
|
||||
ShowOrder(order);
|
||||
}));
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
ShowOrder(order);
|
||||
}));
|
||||
}
|
||||
}
|
||||
isInitOrder = false;
|
||||
});
|
||||
}
|
||||
|
||||
@@ -113,8 +161,9 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
order.order_status_prompt,
|
||||
order.outExpressCompanyName,
|
||||
order.tracking_number,
|
||||
order.sendStatus,
|
||||
"发送"
|
||||
order.sendStatus.IsNullOrEmpty() ? order.refundStatus : order.sendStatus,
|
||||
"发送",
|
||||
"退货"
|
||||
);
|
||||
row = dgvPddBuyerOrder.Rows[rowIndex];
|
||||
row.Height = 40;
|
||||
@@ -134,7 +183,22 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
row.Cells["dgvOStatus"].Value = order.order_status_prompt;
|
||||
row.Cells["colOExpressName"].Value = order.outExpressCompanyName;
|
||||
row.Cells["colOExpressId"].Value = order.tracking_number;
|
||||
row.Cells["colOMsg"].Value = order.sendStatus;
|
||||
row.Cells["colOMsg"].Value = order.sendStatus.IsNullOrEmpty() ? order.refundStatus : order.sendStatus;
|
||||
}
|
||||
if (order.order_status_prompt.Contains("交易成功"))
|
||||
{
|
||||
row.Cells["colOMsg"].Value = "[完]" + row.Cells["colOMsg"].Value.ParseToString();
|
||||
row.Cells["colOMsg"].Style.ForeColor = Color.Green;
|
||||
}
|
||||
if (order.order_status_prompt.Contains("退款成功") || order.order_status_prompt.Contains("交易已取消"))
|
||||
{
|
||||
row.Cells["colOMsg"].Value = "[退]" + row.Cells["colOMsg"].Value.ParseToString();
|
||||
row.Cells["colOMsg"].Style.ForeColor = Color.Gray;
|
||||
}
|
||||
else if (order.refundStatus.Contains("待退款") || order.refundStatus.Contains("待退货"))
|
||||
{
|
||||
row.Cells["colOMsg"].Value = "[待退]" + row.Cells["colOMsg"].Value.ParseToString();
|
||||
row.Cells["colOMsg"].Style.ForeColor = Color.Red;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -249,7 +313,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
lblMsg.Text = "获取空商品列表,退出自动滑动 " + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
|
||||
lblMsg.Text = buyer.buyer_name + " 获取到空订单列表,退出自动滑动 " + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
|
||||
}));
|
||||
currentReadBuyer = "";
|
||||
return;
|
||||
@@ -261,6 +325,12 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
lblMsg.Text = buyer.buyer_name + " 正在获取订单列表 " + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
|
||||
}));
|
||||
|
||||
var list = JsonHelper.DeserializeJsonToList<PddBuyerOrderInfoLite>(JsonHelper.JObjectParse(data)["orders"].ParseToString());
|
||||
foreach (var o in list)
|
||||
{
|
||||
@@ -313,7 +383,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
ShowOrder(order);
|
||||
}));
|
||||
}
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("pdd_buyer_order", lstPddBuyerOrderInfoLite);
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("pdd_buyer_order_list", lstPddBuyerOrderInfoLite);
|
||||
}
|
||||
|
||||
private bool RequestHandler_BeforeResourceLoad(object sender, string url, string postData, IRequest request)
|
||||
@@ -346,56 +416,65 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
|
||||
void GetBuyer()
|
||||
{
|
||||
isInitBuyer = true;
|
||||
|
||||
var ids = dgvBuyer.Rows.Cast<DataGridViewRow>().Where(r => r.Cells["colSelect"].Value.ParseToBool() == true).Select(s => s.Cells["colBuyerId"].Value.ParseToString()).ToList();
|
||||
Invoke(new Action(() => { pbLoading.Visible = true; }));
|
||||
|
||||
Task.Run(() =>
|
||||
{
|
||||
var url = BaseClass.BuildPDDObjString("user/get_buyer");
|
||||
var data = UserLogin.GetSignaturex();
|
||||
data += "&page_size=200";
|
||||
|
||||
var result = GetHtml.PostUtf8(url, data);
|
||||
if (string.IsNullOrEmpty(result) || !result.Contains("\"code\":200"))
|
||||
result = GetHtml.PostUtf8(url, data);
|
||||
|
||||
if (result.Contains("\"code\":200"))
|
||||
try
|
||||
{
|
||||
List<BuyerLoginInfo> loginInfoLst = JsonHelper.DeserializeJsonToList<BuyerLoginInfo>(JsonHelper.JObjectParse(result)["data"].ParseToString());
|
||||
GlobalConfig.BuyerLoginList.RemoveAll(bu => !loginInfoLst.Any(b => b.buyer_id == bu.buyer_id));
|
||||
foreach (var b in loginInfoLst)
|
||||
var url = BaseClass.BuildPDDObjString("user/get_buyer");
|
||||
var data = UserLogin.GetSignaturex();
|
||||
data += "&page_size=200";
|
||||
|
||||
var result = GetHtml.PostUtf8(url, data);
|
||||
if (string.IsNullOrEmpty(result) || !result.Contains("\"code\":200"))
|
||||
result = GetHtml.PostUtf8(url, data);
|
||||
|
||||
if (result.Contains("\"code\":200"))
|
||||
{
|
||||
var buyer = GlobalConfig.BuyerLoginList.FirstOrDefault(bu => bu.buyer_id == b.buyer_id);
|
||||
if (buyer == null)
|
||||
GlobalConfig.BuyerLoginList.Add(b);
|
||||
else
|
||||
List<BuyerLoginInfo> loginInfoLst = JsonHelper.DeserializeJsonToList<BuyerLoginInfo>(JsonHelper.JObjectParse(result)["data"].ParseToString());
|
||||
GlobalConfig.BuyerLoginList.RemoveAll(bu => !loginInfoLst.Any(b => b.buyer_id == bu.buyer_id));
|
||||
foreach (var b in loginInfoLst)
|
||||
{
|
||||
buyer.add_time = b.add_time;
|
||||
buyer.buyer_id = b.buyer_id;
|
||||
buyer.buyer_name = b.buyer_name;
|
||||
buyer.buyer_nick = b.buyer_nick;
|
||||
buyer.cookie = b.cookie;
|
||||
buyer.mdy_time = b.mdy_time;
|
||||
buyer.notes = b.notes;
|
||||
buyer.status = b.status;
|
||||
buyer.user_name = b.user_name;
|
||||
var buyer = GlobalConfig.BuyerLoginList.FirstOrDefault(bu => bu.buyer_id == b.buyer_id);
|
||||
if (buyer == null)
|
||||
GlobalConfig.BuyerLoginList.Add(b);
|
||||
else
|
||||
{
|
||||
buyer.add_time = b.add_time;
|
||||
buyer.buyer_id = b.buyer_id;
|
||||
buyer.buyer_name = b.buyer_name;
|
||||
buyer.buyer_nick = b.buyer_nick;
|
||||
buyer.cookie = b.cookie;
|
||||
buyer.mdy_time = b.mdy_time;
|
||||
buyer.notes = b.notes;
|
||||
buyer.status = b.status;
|
||||
buyer.user_name = b.user_name;
|
||||
}
|
||||
}
|
||||
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
dgvBuyer.Rows.Clear();
|
||||
}));
|
||||
|
||||
foreach (var buyer in GlobalConfig.BuyerLoginList)
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
BindBuyer(buyer, "", ids);
|
||||
}));
|
||||
}
|
||||
}
|
||||
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
dgvBuyer.Rows.Clear();
|
||||
}));
|
||||
|
||||
foreach (var buyer in GlobalConfig.BuyerLoginList)
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
BindBuyer(buyer, "", ids);
|
||||
}));
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
|
||||
isInitBuyer = false;
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
pbLoading.Visible = false;
|
||||
@@ -477,6 +556,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
{
|
||||
nextGetOrderTime = DateTime.Now.AddMinutes(30);
|
||||
GetPddOrder();
|
||||
MakeAfterSales();
|
||||
}
|
||||
Thread.Sleep(1000);
|
||||
Invoke(new Action(() =>
|
||||
@@ -490,9 +570,12 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
|
||||
void GetPddOrder()
|
||||
{
|
||||
isReadOrder = true;
|
||||
|
||||
if (cancellationTokenSource != null)
|
||||
cancellationTokenSource.Cancel();
|
||||
cancellationTokenSource = new CancellationTokenSource();
|
||||
|
||||
Task.Run(() =>
|
||||
{
|
||||
currentReadBuyer = "";
|
||||
@@ -525,18 +608,25 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
cefWebBrowser.Load("https://mobile.yangkeduo.com/orders.html?type=2");
|
||||
Thread.Sleep(Randomx.GetId(2000, 3000));
|
||||
|
||||
int top = 0;
|
||||
while (currentReadBuyer == readBuyer)
|
||||
{
|
||||
if (cancellationTokenSource.IsCancellationRequested)
|
||||
break;
|
||||
|
||||
Thread.Sleep(Randomx.GetId(100,300));
|
||||
top += Randomx.GetId(400, 500);
|
||||
|
||||
var jsStr = @"window.scroll({
|
||||
top: document.body.scrollHeight,
|
||||
left: 0,
|
||||
behavior: 'smooth' // 可选,使滚动平滑
|
||||
});";
|
||||
jsStr = @"window.scroll({
|
||||
top: " + top + @",
|
||||
left: 0,
|
||||
behavior: 'smooth' // 可选,使滚动平滑
|
||||
});";
|
||||
var t1 = cefWebBrowser.GetMainFrame().EvaluateScriptAsync(jsStr);
|
||||
t1.Wait(1000);
|
||||
}
|
||||
@@ -547,11 +637,13 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
cefWebBrowser.Load("https://mobile.yangkeduo.com/orders.html?type=3");
|
||||
Thread.Sleep(Randomx.GetId(2000, 3000));
|
||||
|
||||
top = 0;
|
||||
while (currentReadBuyer == readBuyer)
|
||||
{
|
||||
if (cancellationTokenSource.IsCancellationRequested)
|
||||
break;
|
||||
|
||||
top += Randomx.GetId(400, 500);
|
||||
Thread.Sleep(Randomx.GetId(100, 300));
|
||||
|
||||
var jsStr = @"window.scroll({
|
||||
@@ -559,6 +651,11 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
left: 0,
|
||||
behavior: 'smooth' // 可选,使滚动平滑
|
||||
});";
|
||||
jsStr = @"window.scroll({
|
||||
top: " + top + @",
|
||||
left: 0,
|
||||
behavior: 'smooth' // 可选,使滚动平滑
|
||||
});";
|
||||
var t1 = cefWebBrowser.GetMainFrame().EvaluateScriptAsync(jsStr);
|
||||
t1.Wait(1000);
|
||||
}
|
||||
@@ -568,6 +665,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
}
|
||||
Thread.Sleep(Randomx.GetId(6000, 8000));
|
||||
}
|
||||
isReadOrder = false;
|
||||
}, cancellationTokenSource.Token);
|
||||
}
|
||||
|
||||
@@ -575,6 +673,7 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
{
|
||||
nextGetOrderTime = DateTime.Now.AddMinutes(30);
|
||||
GetPddOrder();
|
||||
MakeAfterSales();
|
||||
}
|
||||
|
||||
private void pnlEmpty_Click(object sender, EventArgs e)
|
||||
@@ -882,12 +981,6 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
case "详情":
|
||||
case "编辑/详情":
|
||||
break;
|
||||
case "发送":
|
||||
Task.Run(() =>
|
||||
{
|
||||
SendOrderE57(order, true);
|
||||
});
|
||||
break;
|
||||
case "图片":
|
||||
ShowImgForm imgFrom = new ShowImgForm(dgvPddBuyerOrder.Rows[e.RowIndex].Cells["colImgUrl"].Value.ParseToString().Replace("?imageView2/2/w/90/h/90", ""));
|
||||
imgFrom.ShowDialog();
|
||||
@@ -896,6 +989,20 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
case "全选":
|
||||
dgvPddBuyerOrder.Rows[e.RowIndex].Cells["colCheck"].Value = !(bool)dgvPddBuyerOrder.Rows[e.RowIndex].Cells["colCheck"].Value;
|
||||
break;
|
||||
case "发送":
|
||||
Task.Run(() =>
|
||||
{
|
||||
SendOrderE57(order, true);
|
||||
});
|
||||
break;
|
||||
case "退货":
|
||||
pictureBox1.Visible = true;
|
||||
Task.Run(() =>
|
||||
{
|
||||
MakeAfterSale(order);
|
||||
Invoke(new Action(() => { pictureBox1.Visible = false; }));
|
||||
});
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
@@ -906,20 +1013,28 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
if (resetSendStatus)
|
||||
order.sendStatus = "";
|
||||
|
||||
if (order.sendStatus == "已发送")
|
||||
//if (order.sendStatus == "已发货")
|
||||
//if (order.sendStatus == "已发送")
|
||||
// return;
|
||||
//if (order.sendStatus == "已完成/退货")
|
||||
// return;
|
||||
if (order.sendStatus.Contains("外采订单已发货"))
|
||||
{
|
||||
return;
|
||||
}
|
||||
// 已发货且没有运单号的属于已退货,不再发送
|
||||
if (order.order_status_prompt != "拼单成功,待发货" && order.order_status_prompt != "免拼成功,待发货" && (string.IsNullOrEmpty(order.tracking_number) || string.IsNullOrEmpty(order.outExpressCompanyName)))
|
||||
if (order.order_status_prompt != "拼单成功,待发货" && order.order_status_prompt != "免拼成功,待发货" && (
|
||||
order.order_status_prompt.Contains("交易成功") ||
|
||||
order.order_status_prompt.Contains("退款成功") ||
|
||||
order.order_status_prompt.Contains("交易已取消") ||
|
||||
string.IsNullOrEmpty(order.tracking_number) ||
|
||||
string.IsNullOrEmpty(order.outExpressCompanyName)))
|
||||
{
|
||||
order.sendStatus = "已发货退货";
|
||||
order.refundStatus = "已完成/退货";
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
ShowOrder(order);
|
||||
}));
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("pdd_buyer_order", lstPddBuyerOrderInfoLite);
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("pdd_buyer_order_list", lstPddBuyerOrderInfoLite);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -938,20 +1053,20 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
var exportRst = WXHttpResponseBLL.e57PostResponse(url, dataStr, "");
|
||||
if (exportRst.Contains("发送失败 操作超时"))
|
||||
WXHttpResponseBLL.e57PostResponse(url, dataStr, "");
|
||||
if (exportRst.Contains("SUCCESS") || exportRst.Contains("已存在") || exportRst.Contains("同运单号拦截") || exportRst.Contains("订单已绑定外采订单"))
|
||||
if (exportRst.Contains("SUCCESS") /*|| exportRst.Contains("已存在") || exportRst.Contains("同运单号拦截") || exportRst.Contains("订单已绑定外采订单")*/)
|
||||
{
|
||||
order.sendStatus = "已发送";
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("pdd_buyer_order", lstPddBuyerOrderInfoLite);
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("pdd_buyer_order_list", lstPddBuyerOrderInfoLite);
|
||||
}
|
||||
else if (exportRst != null && exportRst.Contains("<msg>") && exportRst.Contains("</msg>"))
|
||||
{
|
||||
order.sendStatus = exportRst.Substring(0, exportRst.IndexOf("</msg>")).Substring(exportRst.IndexOf("<msg>") + 5);
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("pdd_buyer_order", lstPddBuyerOrderInfoLite);
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("pdd_buyer_order_list", lstPddBuyerOrderInfoLite);
|
||||
}
|
||||
else
|
||||
{
|
||||
order.sendStatus = "发送失败 " + exportRst;
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("pdd_buyer_order", lstPddBuyerOrderInfoLite);
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("pdd_buyer_order_list", lstPddBuyerOrderInfoLite);
|
||||
}
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
@@ -960,7 +1075,127 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
//Thread.Sleep(500);
|
||||
}
|
||||
|
||||
private void panelEx3_Click(object sender, EventArgs e)
|
||||
public void MakeAfterSales()
|
||||
{
|
||||
Task.Run(() =>
|
||||
{
|
||||
while (isReadOrder)
|
||||
{
|
||||
Thread.Sleep(500);
|
||||
//break;
|
||||
}
|
||||
|
||||
foreach (var buyer in GlobalConfig.BuyerLoginList)
|
||||
{
|
||||
//postman request POST 'https://po.e57.cn/prod-api/api/oms-api/external_procurement/hasAfterSsale' \
|
||||
//--header 'Content-Type: application/json' \
|
||||
//--body '{ "platform": "WEISHOP", "startTime": 1774763836, "endTime": "1776050614" , "userAccount": "闲鱼会开车的鱼2343"}'
|
||||
|
||||
JObject body = new JObject();
|
||||
body["platform"] = "WEISHOP";
|
||||
body["startTime"] = BaseClass.DateTimeToTimestampSeconds(DateTime.Now.AddDays(-7));
|
||||
body["endTime"] = BaseClass.DateTimeToTimestampSeconds(DateTime.Now);
|
||||
body["userAccount"] = buyer.buyer_name;
|
||||
string url = "https://po.e57.cn/prod-api/api/oms-api/external_procurement/hasAfterSsale";
|
||||
var getE57AfterSaleRst = WXHttpResponseBLL.e57PostResponse(url, JsonHelper.SerializeObject(body), "");
|
||||
if (getE57AfterSaleRst.ParseToString().Contains("<msg>success</msg>"))
|
||||
{
|
||||
try
|
||||
{
|
||||
var rstData = getE57AfterSaleRst.Substring(0, getE57AfterSaleRst.IndexOf("</data></AjaxResult>")).Substring(getE57AfterSaleRst.IndexOf("<data>") + "<data>".Length);
|
||||
|
||||
List<string> rstStrLst = rstData.Split(new string[] { "},{" }, StringSplitOptions.RemoveEmptyEntries).ToList();
|
||||
foreach (var rstStr in rstStrLst)
|
||||
{
|
||||
var rstStrTmp = rstStr;
|
||||
var outOrderNo = BaseRegex.GetStringJson(ref rstStrTmp, "outOrderNo");
|
||||
if (outOrderNo.IsNullOrEmpty())
|
||||
continue;
|
||||
var afterSaleId = BaseRegex.GetStringJson(ref rstStrTmp, "afterSaleId");
|
||||
var order = lstPddBuyerOrderInfoLite.FirstOrDefault(o => o.order_sn == outOrderNo);
|
||||
if (order == null)
|
||||
continue;
|
||||
|
||||
order.refundStatus = order.order_status_prompt.Contains("待发货") ? "待退款" : "待退货";
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("pdd_buyer_order_list", lstPddBuyerOrderInfoLite);
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
ShowOrder(order);
|
||||
}));
|
||||
if (chkAutoAfterSale.Checked)
|
||||
{
|
||||
MakeAfterSale(order);
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public string MakeAfterSale(PddBuyerOrderInfoLite order)
|
||||
{
|
||||
//if (isReadOrder)
|
||||
//{
|
||||
// BaseMsgForm.ShowError("正再读取订单,请稍候");
|
||||
// return;
|
||||
//}
|
||||
//// 订单详情页
|
||||
////https://mobile.yangkeduo.com/order.html?order_sn=260417-318525949581688
|
||||
//// 退货详情页
|
||||
////https://mobile.yangkeduo.com/complaint.html?order_sn=260417-357103060621688&after_sales_reason=0&after_sales_type=1&after_sales_code=1001
|
||||
|
||||
if(!order.order_status_prompt.Contains("待发货"))
|
||||
{
|
||||
return "{\"success\":false,\"msg\":\"仅未发货单可以自动退货\"}";
|
||||
}
|
||||
|
||||
var buyer = GlobalConfig.BuyerLoginList.FirstOrDefault(b => b.buyer_id == order.buyerId);
|
||||
var rst = YkdBuyerOrder.GetInitAfterSale(buyer, order.order_sn);
|
||||
//<script>window.rawData={"store":{"errorRedirectUrl":"\u002F","abMap":{"allowPerItemAs":false,"allowPercentAs":true,"isSpringOn":false,"applyPlatformJoinText":false,"newResendEntrance":true,"newExchangeEntrance":true,"shippingTicketOcr":true,"applyAfterSalesChoose":true,"inSpringFestival":false,"openSpringFestival":false,"shippingTipsView":true,"expressRejectShowContact":true,"newApplyPage":true,"newApplyDetailPage":false,"newFeeDetailGray":true,"qualityReasonNoticeProof":true,"newQualityReasonNoticeProof":true,"freeNoCouponOrder":false,"userShippingStatusReject":false,"applyAmountDisplayAsCompensateAmount":false,"compensateAmountChoosePopUp":false,"maintainDescOptimize":true},"goodsInfo":{"skuId":1884196560652,"catId1":6398,"goodsId":936888997232,"goodsName":"【三只松鼠新疆灰枣】免洗红枣150g新疆特产枣子干货休闲零食","goodsPrice":1350,"goodsNumber":1,"goodsSpec":"新疆灰枣150g*5袋","goodsType":1,"goodsImage":"https:\u002F\u002Fimg.pddpic.com\u002Fmms-goods-image\u002F2026-04-11\u002F336d9a71-d957-4121-a84b-f70f084226c9.jpeg"},"reasonData":{"map1":[{"type":220003,"desc":"重量\u002F数量\u002F大小等描述不符","subDesc":null,"url":"https:\u002F\u002Ffunimg.pddpic.com\u002F200702_Food_and_Health_Category\u002F21_Weight_quantity_size_mismatch.png","reasonType":2200},{"type":220005,"desc":"图片\u002F品种\u002F口味\u002F标签等描述不符","subDesc":null,"url":"https:\u002F\u002Ffunimg.pddpic.com\u002F200702_Food_and_Health_Category\u002F23_Picture_mismatch.png","reasonType":2200},{"type":220001,"desc":"包装\u002F商品破损","subDesc":null,"url":"https:\u002F\u002Ffunimg.pddpic.com\u002F200702_Food_and_Health_Category\u002F28_Damaged_packaging9.png","reasonType":2100},{"type":220004,"desc":"少件\u002F漏发","subDesc":null,"url":"https:\u002F\u002Ffunimg.pddpic.com\u002F20_Quantity_mismatch.png","reasonType":2400},{"type":294,"desc":"商品变质\u002F发霉\u002F有异物","subDesc":null,"url":"https:\u002F\u002Ffunimg.pddpic.com\u002F200702_Food_and_Health_Category\u002F25_Spoiled_food.png","reasonType":2100},{"type":292,"desc":"生产日期\u002F保质期与商品描述不符","subDesc":null,"url":"https:\u002F\u002Ffunimg.pddpic.com\u002F22_Expired_food.png","reasonType":2200},{"type":81,"desc":"质量问题","subDesc":null,"url":null,"reasonType":2100},{"type":83,"desc":"商家发错货","subDesc":null,"url":"https:\u002F\u002Ffunimg.pddpic.com\u002F30_Inconsistent_product.png","reasonType":2200},{"type":262,"desc":"空包裹","subDesc":null,"url":null,"reasonType":2400},{"type":86,"desc":"假冒品牌","subDesc":null,"url":null,"reasonType":2500},{"type":95,"desc":"其他原因","subDesc":null,"url":null,"reasonType":1200}],"map2":[{"type":197,"desc":"不想要了","subDesc":null,"url":null,"reasonType":1100},{"type":194,"desc":"快递无跟踪记录","subDesc":null,"url":null,"reasonType":2300},{"type":4008,"desc":"发货慢\u002F未按承诺时间发货","subDesc":null,"url":null,"reasonType":2300},{"type":220001,"desc":"包装\u002F商品破损","subDesc":null,"url":null,"reasonType":2100},{"type":220002,"desc":"未收到货\u002F签收地址错误","subDesc":null,"url":null,"reasonType":2300},{"type":207,"desc":"其他原因","subDesc":null,"url":null,"reasonType":1200}],"map3":[{"type":88,"desc":"不想要了","subDesc":null,"url":null,"reasonType":1100},{"type":220003,"desc":"重量\u002F数量\u002F大小等描述不符","subDesc":null,"url":"https:\u002F\u002Ffunimg.pddpic.com\u002F200702_Food_and_Health_Category\u002F21_Weight_quantity_size_mismatch.png","reasonType":2200},{"type":220005,"desc":"图片\u002F品种\u002F口味\u002F标签等描述不符","subDesc":null,"url":"https:\u002F\u002Ffunimg.pddpic.com\u002F200702_Food_and_Health_Category\u002F23_Picture_mismatch.png","reasonType":2200},{"type":220001,"desc":"包装\u002F商品破损","subDesc":null,"url":"https:\u002F\u002Ffunimg.pddpic.com\u002F200702_Food_and_Health_Category\u002F28_Damaged_packaging9.png","reasonType":2100},{"type":220004,"desc":"少件\u002F漏发","subDesc":null,"url":"https:\u002F\u002Ffunimg.pddpic.com\u002F20_Quantity_mismatch.png","reasonType":2400},{"type":294,"desc":"商品变质\u002F发霉\u002F有异物","subDesc":null,"url":"https:\u002F\u002Ffunimg.pddpic.com\u002F200702_Food_and_Health_Category\u002F25_Spoiled_food.png","reasonType":2100},{"type":292,"desc":"生产日期\u002F保质期与商品描述不符","subDesc":null,"url":"https:\u002F\u002Ffunimg.pddpic.com\u002F22_Expired_food.png","reasonType":2200},{"type":81,"desc":"质量问题","subDesc":null,"url":null,"reasonType":2100},{"type":83,"desc":"商家发错货","subDesc":null,"url":"https:\u002F\u002Ffunimg.pddpic.com\u002F30_Inconsistent_product.png","reasonType":2200},{"type":86,"desc":"假冒品牌","subDesc":null,"url":null,"reasonType":2500},{"type":95,"desc":"其他原因","subDesc":null,"url":null,"reasonType":1200}],"map4":[{"type":66,"desc":"不想要了","subDesc":null,"uLine truncated
|
||||
var mobile = BaseRegex.GetStringJson(ref rst, "userReceivePhone");
|
||||
var applyAmount = BaseRegex.GetIntJson(ref rst, "applyAmount");
|
||||
var refundAmount = BaseRegex.GetIntJson(ref rst, "refundAmount");
|
||||
var newMaxApplyAmount = BaseRegex.GetIntJson(ref rst, "newMaxApplyAmount");
|
||||
var shippingStatus = BaseRegex.GetIntJson(ref rst, "shippingStatus");
|
||||
if (shippingStatus == 1 || !rst.Contains("\"shippingStatus\":0,") || !order.order_status_prompt.Contains("待发货"))
|
||||
{
|
||||
return "{\"success\":false,\"msg\":\"仅未发货单可以自动退货\"}";
|
||||
}
|
||||
|
||||
if (applyAmount == 0) applyAmount = order.order_amount.ParseToInt();
|
||||
if (refundAmount == 0) refundAmount = order.order_amount.ParseToInt();
|
||||
if (newMaxApplyAmount == 0) newMaxApplyAmount = order.order_amount.ParseToInt();
|
||||
if (string.IsNullOrEmpty(mobile))
|
||||
{
|
||||
return "{\"success\":false,\"msg\":\"退货信息获取失败,请检查买手是否掉线\"}";
|
||||
}
|
||||
Thread.Sleep(Randomx.GetId(1000, 2000));
|
||||
var afterSaleRst = YkdBuyerOrder.SetOrderAfterSale(buyer, mobile, order.order_sn, applyAmount, refundAmount, newMaxApplyAmount);
|
||||
if (afterSaleRst.Contains("\"after_sales_status\":1") || afterSaleRst.Contains("该订单已全额退款"))
|
||||
{
|
||||
order.refundStatus = "已完成/退货";
|
||||
order.order_status_prompt = "退款成功";
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("pdd_buyer_order_list", lstPddBuyerOrderInfoLite);
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
ShowOrder(order);
|
||||
}));
|
||||
return "{\"success\":true,\"msg\":\"操作成功\"}";
|
||||
}
|
||||
else
|
||||
{
|
||||
var error_msg = BaseRegex.GetStringJson(ref afterSaleRst, "error_msg");
|
||||
if (string.IsNullOrEmpty(error_msg))
|
||||
error_msg = afterSaleRst;
|
||||
return "{\"success\":false,\"msg\":\"" + error_msg + "\"}";
|
||||
}
|
||||
}
|
||||
|
||||
private void btnClose_Click(object sender, EventArgs e)
|
||||
{
|
||||
panel2.Visible = !panel2.Visible;
|
||||
if (panel2.Visible == false)
|
||||
@@ -993,6 +1228,8 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
else
|
||||
PauseTick = nextGetOrderTime - DateTime.Now;
|
||||
|
||||
buyerOrderConfig.IsPause = chkPause.Checked;
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("pdd_buyer_order_config", buyerOrderConfig);
|
||||
}
|
||||
|
||||
private void btnFilterOrder_Click(object sender, EventArgs e)
|
||||
@@ -1001,6 +1238,8 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
{
|
||||
if (row.Cells["colOPddOrderSn"].Value.ParseToString().Contains(txtOrderSnFilter.Text.Trim()))
|
||||
row.Visible = true;
|
||||
else if (row.Cells["colOBuyerName"].Value.ParseToString().Contains(txtOrderSnFilter.Text.Trim()))
|
||||
row.Visible = true;
|
||||
else
|
||||
row.Visible = false;
|
||||
}
|
||||
@@ -1016,11 +1255,37 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void chkAutoAfterSale_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
buyerOrderConfig.IsAutoAfterSale = chkAutoAfterSale.Checked;
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("pdd_buyer_order_config", buyerOrderConfig);
|
||||
}
|
||||
}
|
||||
|
||||
public class YkdBuyerOrder
|
||||
{
|
||||
public static string GetInitAfterSale(BuyerLoginInfo buyer, string orderSn)
|
||||
{
|
||||
string url = "https://mobile.yangkeduo.com/complaint.html?order_sn=" + orderSn + "&after_sales_reason=0&after_sales_type=1&after_sales_code=1001";
|
||||
var rst = YkdHttpResponseBLL.YangkeduoGetPageResponse(buyer, url);
|
||||
return rst;
|
||||
}
|
||||
|
||||
public static string SetOrderAfterSale(BuyerLoginInfo buyer, string user_phone, string order_sn, int apply_amount, int refund_amount, int new_refund_amount)
|
||||
{
|
||||
string url = "https://mobile.yangkeduo.com/proxy/api/after_sales/create?pdduid=" + buyer.buyer_id;
|
||||
string body = @"{""order_sn"":""260417-318525949581688"",""coupon_return_control_type"":0,""after_sales_type"":1,""user_ship_status"":0,""user_phone"":""17855141112"",""images"":[],""return_coupon_amount"":0,""question_type"":66,""question_desc"":"""",""apply_amount"":1568,""refund_amount"":1568,""new_refund_amount"":1568,""is_lite"":true}";
|
||||
body = @"{""order_sn"":""" + order_sn + @""",""coupon_return_control_type"":0,""after_sales_type"":1,""user_ship_status"":0,""user_phone"":""" + user_phone +
|
||||
@""",""images"":[],""return_coupon_amount"":0,""question_type"":66,""question_desc"":"""",""apply_amount"":" + apply_amount +
|
||||
@",""refund_amount"":" + refund_amount + @",""new_refund_amount"":" + new_refund_amount + @",""is_lite"":true}";
|
||||
|
||||
string referer = "https://mobile.yangkeduo.com/complaint.html?order_sn=260417-318525949581688&refer_page_name=order_detail&refer_page_id=10038_1776391960785_p20v9j3op4&refer_page_sn=10038&after_sales_reason=66&after_sales_type=1&after_sales_code=1001";
|
||||
referer = "https://mobile.yangkeduo.com/complaint.html?order_sn=" + order_sn + "&refer_page_name=order_detail&&after_sales_reason=66";
|
||||
|
||||
var rst = YkdHttpResponseBLL.YangkeduoPostResponse(buyer, url, body, referer);
|
||||
return rst;
|
||||
}
|
||||
}
|
||||
|
||||
public class WxOrder
|
||||
@@ -1046,4 +1311,10 @@ namespace TemuKJD.WXForms.TalkForms
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
public class BuyerOrderConfig
|
||||
{
|
||||
public bool IsPause = false;
|
||||
public bool IsAutoAfterSale = true;
|
||||
}
|
||||
}
|
||||
@@ -216,6 +216,9 @@
|
||||
<metadata name="colSend.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colAfterSale.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
|
||||
Reference in new issue
Block a user