|
@ -1,14 +1,18 @@ |
|
|
using System; |
|
|
using System; |
|
|
|
|
|
using System.Collections.Generic; |
|
|
|
|
|
using System.Linq; |
|
|
|
|
|
|
|
|
namespace BBWY.Client.Models |
|
|
namespace BBWY.Client.Models |
|
|
{ |
|
|
{ |
|
|
public class AuditPayBill : NotifyObject |
|
|
public class AuditPayBill : NotifyObject |
|
|
{ |
|
|
{ |
|
|
public void Init() |
|
|
public void Init(IList<Shop> shopList) |
|
|
{ |
|
|
{ |
|
|
isInited = true; |
|
|
isInited = true; |
|
|
if (!string.IsNullOrEmpty(CustomAuditCapitalType)) |
|
|
if (!string.IsNullOrEmpty(CustomAuditCapitalType)) |
|
|
AuditCapitalTypeInputMode = 1; |
|
|
AuditCapitalTypeInputMode = 1; |
|
|
|
|
|
if (!string.IsNullOrEmpty(BelongShop)) |
|
|
|
|
|
BelongShopModel = shopList.FirstOrDefault(s => s.ShopName == BelongShop); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private AuditCapitalType? auditCapitalType; |
|
|
private AuditCapitalType? auditCapitalType; |
|
@ -16,6 +20,8 @@ namespace BBWY.Client.Models |
|
|
private string errorMessage; |
|
|
private string errorMessage; |
|
|
private int auditCapitalTypeInputMode; |
|
|
private int auditCapitalTypeInputMode; |
|
|
private bool isInited; |
|
|
private bool isInited; |
|
|
|
|
|
private Shop belongShopModel; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 是否发生过变化
|
|
|
/// 是否发生过变化
|
|
@ -80,6 +86,8 @@ namespace BBWY.Client.Models |
|
|
///
|
|
|
///
|
|
|
public string BelongShop { get; set; } |
|
|
public string BelongShop { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string BelongFileName { get; set; } |
|
|
public string BelongFileName { get; set; } |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
@ -167,5 +175,17 @@ namespace BBWY.Client.Models |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public Shop BelongShopModel |
|
|
|
|
|
{ |
|
|
|
|
|
get => belongShopModel; |
|
|
|
|
|
set |
|
|
|
|
|
{ |
|
|
|
|
|
if (Set(ref belongShopModel, value) && value != null) |
|
|
|
|
|
{ |
|
|
|
|
|
BelongShopId = value.ShopId; |
|
|
|
|
|
BelongShop = value.ShopName; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|