拒收退款逻辑
This commit is contained in:
1 parent
ae9e8ea312
commit
dc33aeaf31
6 files changed
+229
-32
No files matched your search
@@ -962,6 +962,11 @@ namespace _29WxOrderWpf.Ctrls.OrderCtrls
|
||||
var buyer = GlobalConfig.PDDBuyerLoginList.ToList().FirstOrDefault(b => b.buyer_nick == buyerNickName);
|
||||
if (buyer == null)
|
||||
continue;
|
||||
if (buyer.status == "掉线")
|
||||
{
|
||||
BaseMsgWindow.ShowAnimateMessage("买手号 " + buyer.buyer_nick + " 掉线,跳过自动退货", "Msg", 5);
|
||||
continue;
|
||||
}
|
||||
var afterSalesId = orderItem.PddBuyerAfterSale?.afterSalesId;
|
||||
if (string.IsNullOrEmpty(afterSalesId))
|
||||
continue;
|
||||
@@ -1703,7 +1708,7 @@ namespace _29WxOrderWpf.Ctrls.OrderCtrls
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 中转仓拦截退货包裹
|
||||
/// 中转仓拦截退货包裹申请买手退货退款并获取总店地址,暂时不使用此功能防止需交涉或者可拦截的订单被自动申请退货退款
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public async Task DoReturnPackageBuyerRefendSlient()
|
||||
@@ -1787,7 +1792,7 @@ namespace _29WxOrderWpf.Ctrls.OrderCtrls
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 退货仓买手申请退货
|
||||
/// 退货仓买手申请退货退款获取总店地址
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public async Task DoReturnOrderBuyerRefendSlient()
|
||||
@@ -2022,6 +2027,7 @@ namespace _29WxOrderWpf.Ctrls.OrderCtrls
|
||||
}
|
||||
}
|
||||
}
|
||||
// 更新Pdd总店退货地址
|
||||
if (isSimPddAfterSaleSuccess)
|
||||
{
|
||||
var addressRst = YkdBuyerOrder.GetAfterSaleAddress(buyer, pddOrderSn, pddBuyerAfterSale.afterSalesId.ParseToString());
|
||||
|
||||
Reference in new issue
Block a user