屏蔽某些API

This commit is contained in:
admin
2021-01-21 16:00:58 +08:00
parent f84e9f2e5e
commit 9b672067cb
24 changed files with 101 additions and 38 deletions

View File

@@ -16,16 +16,22 @@ namespace NX.ERP.Model.Purchase
private string supplierCode;
private ICollection<ArrivalDetail> arrivalDetails = new List<ArrivalDetail>();
public int Id { get => id; set => id = value; }
public string ArrivalCode { get => arrivalCode; set => arrivalCode = value; }
public DateTime Date { get => _date; set => _date = value; }
public ICollection<ArrivalDetail> Details { get => arrivalDetails; set => arrivalDetails = value; }
public int ArrivalId { get => id; set => id = value; }
public string ArrivalNo { get => arrivalCode; set => arrivalCode = value; }
public DateTime ArrivalDate { get => _date; set => _date = value; }
public ICollection<ArrivalDetail> ArrivalDtlLst { get => arrivalDetails; set => arrivalDetails = value; }
public string PreparedBy { get; set; }
public string SupplierCode { get => supplierCode; set => supplierCode = value; }
public double ExchRate { get; set; }
public string ExchName { get; set; }
[Newtonsoft.Json.JsonIgnore]
public string VenCode { get; set; }
public double TaxRate { get; set; }
[Newtonsoft.Json.JsonIgnore]
public string PTCode { get; set; }
[Newtonsoft.Json.JsonIgnore]
public string BusType { get; set; }
}

View File

@@ -12,34 +12,42 @@ namespace NX.ERP.Model.Purchase
{
private int id;
private string materielCode;
public int Id { get => id; set => id = value; }
public int ArrivalDtlId { get => id; set => id = value; }
public int ArrivalID { get => arrivalID; set => arrivalID = value; }
public string MaterielCode { get => materielCode; set => materielCode = value; }
public string MaterialCode { get => materielCode; set => materielCode = value; }
public string BatchNo { get => batchNo; set => batchNo = value; }
public string UnitCode { get => unitCode; set => unitCode = value; }
public double Quantity { get => quantity; set => quantity = value; }
public double Qty { get => quantity; set => quantity = value; }
/// <summary>
/// 审批状态2 说明已经审核过了
/// </summary>
public int Iverifystateex { get => iverifystateex; set => iverifystateex = value; }
private int arrivalID;
private string batchNo;
private string unitCode;
private double quantity;
private int iverifystateex;
[Newtonsoft.Json.JsonIgnore]
public int posId { get; set; }
[Newtonsoft.Json.JsonIgnore]
public string OrderCode { get; set; }
[Newtonsoft.Json.JsonIgnore]
public int PoId { get; set; }
[Newtonsoft.Json.JsonIgnore]
public double oricost { get; set; }
[Newtonsoft.Json.JsonIgnore]
public double oritaxcost { get; set; }
[Newtonsoft.Json.JsonIgnore]
public double orimoney { get; set; }
[Newtonsoft.Json.JsonIgnore]
public double oritaxprice { get; set; }
[Newtonsoft.Json.JsonIgnore]
public double orisum { get; set; }
[Newtonsoft.Json.JsonIgnore]
public int Iverifystateex { get => iverifystateex; set => iverifystateex = value; }
[Newtonsoft.Json.JsonIgnore]
public double cost { get; set; }
// b.ioricost as oricost,b.ioritaxcost as oritaxcost ,b.iorimoney as orimoney,b.oritaxprice as oritaxprice,b.iorisum as orisum,