拼多多订单自动填写退货包裹

This commit is contained in:
wule committed 2026-08-06 12:03:37 +08:00
1 parent 355a0f6be7
commit 5719cbc277
11 files changed
+225 -20

No files matched your search

@@ -947,7 +947,8 @@ namespace _29WxOrderWpf.Ctrls.BuyerCtrls
currentReadBuyer = "";
//return;
}
if (data.Contains("\"error_code\":40001"))
//{\"error_code\":50000,\"error_msg\":\"http error:504\"}
if (data.Contains("\"error_code\":40001") || data.Contains("\"error_code\":50000"))
{
currentReadBuyer = "";
PddMobileLoginForm.CheckBuyerLogin(new List<BuyerLoginInfo> { buyer }, false);
@@ -2368,11 +2369,13 @@ namespace _29WxOrderWpf.Ctrls.BuyerCtrls
if (btnHideBuyer.Content.ParseToString() == "▶")
{
btnHideBuyer.Content = "◀";
btnHideBuyer.Width = 20;
borderPddBuyer.Visibility = Visibility.Visible;
}
else
{
btnHideBuyer.Content = "▶";
btnHideBuyer.Width = 17;
borderPddBuyer.Visibility = Visibility.Collapsed;
}
}
@@ -2414,7 +2417,7 @@ namespace _29WxOrderWpf.Ctrls.BuyerCtrls
//if (e.Source)
}
private void TextBox_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
private void txtBuyerNick_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
{
if (sender is TextBox txt)
{
@@ -2430,6 +2433,12 @@ namespace _29WxOrderWpf.Ctrls.BuyerCtrls
}
}
}
private void txtBuyerNick_Loaded(object sender, RoutedEventArgs e)
{
if (sender is TextBox txtBuyerNick)
txtBuyerNick.AddHandler(TextBox.MouseUpEvent, new MouseButtonEventHandler(txtBuyerNick_MouseLeftButtonDown), true);
}
}
public class YkdBuyerOrder