diff --git a/29WxOrderWpf/Ctrls/BuyerCtrls/TbBuyerOrderReadCtrl.xaml.cs b/29WxOrderWpf/Ctrls/BuyerCtrls/TbBuyerOrderReadCtrl.xaml.cs index 8c5587b..d103d67 100644 --- a/29WxOrderWpf/Ctrls/BuyerCtrls/TbBuyerOrderReadCtrl.xaml.cs +++ b/29WxOrderWpf/Ctrls/BuyerCtrls/TbBuyerOrderReadCtrl.xaml.cs @@ -660,9 +660,17 @@ namespace _29WxOrderWpf.Ctrls.BuyerCtrls oList.Add(o); + if (o.order_sn == "tb_5127890185262007919") + { + + } // 售后单放在同一个列表中统一处理 var refundStatus = BaseRegex.GetStringJson(ref orderItemInfoStr, "refundStatus"); - if (!string.IsNullOrEmpty(refundStatus) && !string.IsNullOrEmpty(orderStatus)) + if (refundStatus.IsNullOrEmpty()) + { + refundStatus = BaseRegex.GetStringJson(ref shopInfoStr, "tradeTitle") == "交易关闭" ? "退款成功" : ""; + } + if ((!string.IsNullOrEmpty(refundStatus) && !string.IsNullOrEmpty(orderStatus)) || refundStatus == "退款成功") { TbBuyerAfterSaleLiteInfo af = new TbBuyerAfterSaleLiteInfo(); af.buyerId = o.buyerId; @@ -769,7 +777,7 @@ namespace _29WxOrderWpf.Ctrls.BuyerCtrls o.buyerId = buyer.buyer_id; o.buyerName = buyer.buyer_name; - if (o.order_sn == "tb_5127796188031004903") + if (o.order_sn == "tb_5127890185262007919") { }