修正名称的错误

This commit is contained in:
admin
2021-01-28 10:10:32 +08:00
parent 72c0e2e8c8
commit 2f12959be0
24 changed files with 147 additions and 122 deletions

View File

@@ -9,7 +9,7 @@ namespace NX.ERP.BLL.Model
{
public string OutboundNo { get; set; }
public DateTime OutboundDate { get; set; }
public OutBoundType OutBoundType { get; set; }
public OutBoundType OutboundType { get; set; }
public string WarehouseCode { get; set; }

View File

@@ -8,7 +8,7 @@ namespace NX.ERP.BLL.Model
public enum OutBoundType
{
SaleOut=1,
MaterielOut=2,
MaterialOut=2,
OtherOut=3
//1:销售出库;2:原材料出库;3:其它出库

View File

@@ -12,10 +12,10 @@ namespace NX.ERP.BLL.Store
{
string ID = "";
if (outBound.OutBoundType == Model.OutBoundType.MaterielOut)
if (outBound.OutboundType == Model.OutBoundType.MaterialOut)
{
var dal = new U8.Store.MaterielStoreOutDAL();
ID = dal.AddVocher(new ERP.Model.Request.MaterielStoreOut()
var dal = new U8.Store.MaterialStoreOutDAL();
ID = dal.AddVocher(new ERP.Model.Request.MaterialStoreOut()
{
Code= "191000000007",
Date = outBound.OutboundDate,
@@ -26,7 +26,7 @@ namespace NX.ERP.BLL.Store
Details = outBound.OutboundDtlLst.ConvertAll(m =>
{
return new ERP.Model.Request.MaterielStoreOutDetail()
return new ERP.Model.Request.MaterialStoreOutDetail()
{
InvCode = m.MaterialCode,
@@ -39,7 +39,7 @@ namespace NX.ERP.BLL.Store
});
}
if (outBound.OutBoundType == Model.OutBoundType.SaleOut)
if (outBound.OutboundType == Model.OutBoundType.SaleOut)
{
var dal = new U8.Store.SaleOutDAL();
ID = dal.AddVoucher(new ERP.Model.Request.SaleStoreOut()
@@ -63,7 +63,7 @@ namespace NX.ERP.BLL.Store
});
}
if (outBound.OutBoundType == Model.OutBoundType.OtherOut)
if (outBound.OutboundType == Model.OutBoundType.OtherOut)
{
var dal = new U8.Store.OtherStoreOutDAL();
ID = dal.AddVocher(new ERP.Model.Request.OtherStoreInOut()