继续优化订单读取和展示
This commit is contained in:
1 parent
1509e0a11d
commit
2f9c98b105
6 files changed
+1682
-1646
No files matched your search
@@ -1,10 +1,12 @@
|
||||
using AllBase.Helper;
|
||||
using AllBase.Model.MvvmBaseClasses;
|
||||
using NaiBa.Util.Extension;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Media;
|
||||
|
||||
namespace AllBase.Model.DBModel
|
||||
@@ -14,9 +16,15 @@ namespace AllBase.Model.DBModel
|
||||
public string RefundStatusStr
|
||||
{
|
||||
get { return this.GetValue(x => x.status); }
|
||||
set { this.SetValue(x => x.status, value); }
|
||||
set { this.SetValue(x => x.status, value); RefundStatusStrVisibility = RefundStatusStr.IsNullOrEmpty() ? Visibility.Collapsed : Visibility.Visible; }
|
||||
}
|
||||
public bool IsRefund
|
||||
public Visibility RefundStatusStrVisibility
|
||||
{
|
||||
get { return this.GetValue(x => x.RefundStatusStrVisibility); }
|
||||
set { this.SetValue(x => x.RefundStatusStrVisibility, value); }
|
||||
}
|
||||
|
||||
public bool IsRefund
|
||||
{
|
||||
get { return this.GetValue(x => x.IsRefund); }
|
||||
set { this.SetValue(x => x.IsRefund, value); }
|
||||
@@ -32,17 +40,20 @@ namespace AllBase.Model.DBModel
|
||||
/// <summary>
|
||||
/// 售后原因文字
|
||||
/// </summary>
|
||||
public string reasonTextStr
|
||||
{
|
||||
get
|
||||
{
|
||||
return string.IsNullOrEmpty(reason_text) ? string.Empty : "售后原因:" + reason_text;
|
||||
}
|
||||
set { }
|
||||
}
|
||||
public string ReasonTextStr
|
||||
{
|
||||
get { return this.GetValue(x => x.ReasonTextStr); }
|
||||
set { this.SetValue(x => x.ReasonTextStr, value); ReasonTextStrVisibility = value.IsNullOrEmpty() ? Visibility.Collapsed : Visibility.Visible; }
|
||||
}
|
||||
public Visibility ReasonTextStrVisibility
|
||||
{
|
||||
get { return this.GetValue(x => x.ReasonTextStrVisibility); }
|
||||
set { this.SetValue(x => x.ReasonTextStrVisibility, value); }
|
||||
}
|
||||
|
||||
|
||||
public long id { get; set; }
|
||||
|
||||
public long id { get; set; }
|
||||
public long? shop_id { get; set; }
|
||||
public string after_sale_order_id { get; set; }
|
||||
/// <summary>
|
||||
@@ -183,7 +194,15 @@ namespace AllBase.Model.DBModel
|
||||
/// <summary>
|
||||
/// 退款原因解释
|
||||
/// </summary>
|
||||
public string reason_text { get; set; }
|
||||
public string reason_text
|
||||
{
|
||||
get { return this.GetValue(x => x.reason_text); }
|
||||
set
|
||||
{
|
||||
this.SetValue(x => x.reason_text, value);
|
||||
ReasonTextStr = string.IsNullOrEmpty(reason_text) ? string.Empty : "售后原因:" + reason_text;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 售后类型。REFUND:退款;RETURN:退货退款。
|
||||
/// </summary>
|
||||
|
||||
Reference in new issue
Block a user