订单状态显示

This commit is contained in:
wule_5900x committed 2026-06-23 02:54:56 +08:00
1 parent a7d084b4c7
commit a33058e23b
4 files changed
+15 -9

No files matched your search

+8 -1
View File
@@ -96,6 +96,10 @@ namespace AllBase.Model
{
get
{
if (this.refunds.Any(r => "商家受理中,待买家退货,待商家收货,平台退款中,待用户确认,待用户处理商家协商,待用户处理商家代发起的售后申请".Contains(r.statusStr)))
return "退款中";
else if (this.refunds.Any(r => r.statusStr == "退款完成" || r.statusStr == "退货退款完成"))
return "退款完成";
if (this.status == 20 || this.status == 21)
{
return "剩余";
@@ -122,7 +126,10 @@ namespace AllBase.Model
var durationStr = Math.Floor(timeSpan.TotalHours).ParseToInt() + "时" + timeSpan.Minutes + "分" + timeSpan.Seconds + "秒";
return durationStr;
}
return "待获取状态";
if (/*this.out_shipped == 1 */this.ship_done_time.ParseToInt() > 0)
return "已发货";
else
return "未发货";
}
set { /*delivery_deadline_str = value;*/ }
}