优化读取订单的展示
This commit is contained in:
1 parent
b827c6e118
commit
06e45bf587
7 files changed
+127
-105
No files matched your search
@@ -136,6 +136,8 @@ namespace AllBase.Model.DBModel
|
||||
//状态10 待付款;20 待发货;21 部分发货;30 待收货;100 完成;200 全部商品售后之后,订单取消;250 未付款用户主动取消或超时未付款订单自动取消;
|
||||
if (status == 10)
|
||||
orderStatusStr = "待付款";
|
||||
else if (status == 20)
|
||||
orderStatusStr = "待发货";
|
||||
else if (status == 21)
|
||||
orderStatusStr = "部分发货";
|
||||
else if (status == 30)
|
||||
@@ -407,7 +409,11 @@ namespace AllBase.Model.DBModel
|
||||
/// <summary>
|
||||
/// 状态10 待付款;20 待发货;21 部分发货;30 待收货;100 完成;200 全部商品售后之后,订单取消;250 未付款用户主动取消或超时未付款订单自动取消;
|
||||
/// </summary>
|
||||
public int? status { get; set; }
|
||||
public int? status
|
||||
{
|
||||
get { return this.GetValue(x => x.status); }
|
||||
set { this.SetValue(x => x.status, value); SetOrderStatusStr(); }
|
||||
}
|
||||
/// <summary>
|
||||
/// 售后信息json
|
||||
/// </summary>
|
||||
@@ -691,8 +697,6 @@ namespace AllBase.Model.DBModel
|
||||
|
||||
public void SetOrderTextProperty()
|
||||
{
|
||||
SetOrderStatusStr();
|
||||
|
||||
Shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ErpShopId == shop_id.ParseToString());
|
||||
|
||||
if (this.orderItems.Any(oi => oi.OrderItemExt?.buy_type == "直发") && this.orderItems.Any(oi => oi.ItemTransitOrderWithVoid != null))
|
||||
|
||||
Reference in new issue
Block a user