额外拍单等相关逻辑处理

This commit is contained in:
wule committed 2026-11-20 14:20:29 +08:00
1 parent 0f70b5e37c
commit 477ed75771
6 files changed
+55 -68

No files matched your search

@@ -195,13 +195,13 @@ namespace _29WxOrderWpf.Ctrls.BuyerCtrls
private void UserControl_Loaded(object sender, RoutedEventArgs e)
{
//this.DataContext = this;
this.lbPddBuyer.ItemsSource = GlobalConfig.PDDBuyerLoginList;
buyerReadOrderConfig = NaiBa.Util.Helper.ConfigHelper.LoadConfig<BuyerReadOrderConfig>("pdd_buyer_read_order_config");
if (buyerReadOrderConfig == null)
buyerReadOrderConfig = new BuyerReadOrderConfig();
// 命令行参数设置开发票的账户不要自动读单
if (Environment.GetCommandLineArgs().Contains("aro=f"))
{
buyerReadOrderConfig.IsAutoReadOrder = false;
@@ -2385,12 +2385,12 @@ namespace _29WxOrderWpf.Ctrls.BuyerCtrls
// 修改提前取号
else if (order.sendStatus == "提前取号" || order.sendStatus == "提前取号(旧订单)")
{
if (order.TransitPickupTime.AddHours(23) > DateTime.Now)
//if (order.TransitCreateTime.AddHours(23) > DateTime.Now)
{
order.sendStatus = "提前取号流程进行中";
return;
}
//if (order.TransitPickupTime.AddHours(23) > DateTime.Now)
////if (order.TransitCreateTime.AddHours(23) > DateTime.Now)
//{
// order.sendStatus = "提前取号流程进行中";
// return;
//}
string url2 = "https://po.e57.cn/prod-api/api/oms-api/external_procurement/update-upstream-waybill";
var data = new JObject();
@@ -1948,12 +1948,12 @@ namespace _29WxOrderWpf.Ctrls.BuyerCtrls
// 修改提前取号
else if (order.sendStatus == "提前取号" || order.sendStatus == "提前取号(旧订单)")
{
if (order.TransitPickupTime.AddHours(23) > DateTime.Now)
//if (order.TransitCreateTime.AddHours(23) > DateTime.Now)
{
order.sendStatus = "提前取号流程进行中";
return;
}
//if (order.TransitPickupTime.AddHours(23) > DateTime.Now)
////if (order.TransitCreateTime.AddHours(23) > DateTime.Now)
//{
// order.sendStatus = "提前取号流程进行中";
// return;
//}
string url2 = "https://po.e57.cn/prod-api/api/oms-api/external_procurement/update-upstream-waybill";
var data = new JObject();
@@ -1810,12 +1810,12 @@ namespace _29WxOrderWpf.Ctrls.BuyerCtrls
// 修改提前取号
else if (order.sendStatus == "提前取号" || order.sendStatus == "提前取号(旧订单)")
{
if (order.TransitPickupTime.AddHours(23) > DateTime.Now)
//if (order.TransitCreateTime.AddHours(23) > DateTime.Now)
{
order.sendStatus = "提前取号流程进行中";
return;
}
//if (order.TransitPickupTime.AddHours(23) > DateTime.Now)
////if (order.TransitCreateTime.AddHours(23) > DateTime.Now)
//{
// order.sendStatus = "提前取号流程进行中";
// return;
//}
string url2 = "https://po.e57.cn/prod-api/api/oms-api/external_procurement/update-upstream-waybill";
var data = new JObject();