From c79758f235b26e9c310266bb34e772c7622c3d90 Mon Sep 17 00:00:00 2001 From: wule Date: Tue, 27 Oct 2026 17:01:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=B7=98=E5=AE=9D=E4=B9=B0?= =?UTF-8?q?=E6=89=8B=E5=94=AE=E5=90=8E=E8=AF=BB=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Ctrls/BuyerCtrls/TbBuyerOrderReadCtrl.xaml.cs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) 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") { }