修正名称的错误
This commit is contained in:
@@ -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; }
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace NX.ERP.BLL.Model
|
||||
public enum OutBoundType
|
||||
{
|
||||
SaleOut=1,
|
||||
MaterielOut=2,
|
||||
MaterialOut=2,
|
||||
OtherOut=3
|
||||
|
||||
//1:销售出库;2:原材料出库;3:其它出库
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user