其他入库修改

This commit is contained in:
gongxh
2021-03-15 16:32:40 +08:00
parent 67d0581674
commit d20c4451c5
6 changed files with 94 additions and 16 deletions

View File

@@ -44,7 +44,7 @@ namespace NX.ERP.BLL.Store
if (inbound.InboundType == Model.InboundType.productIn)
{
var dal = new NX.ERP.U8.Store.ProductInDAL();
ID = dal.AddVoucher(new ERP.Model.Request.ProductStoreIn()
ID = dal.SaveVoucher(new ERP.Model.Request.ProductStoreIn()
{
Id = inbound.Id,
@@ -71,7 +71,7 @@ namespace NX.ERP.BLL.Store
if (inbound.InboundType == Model.InboundType.OtherIn)
{
var dal = new NX.ERP.U8.Store.OtherStoreInDAL();
ID = dal.AddVocher(new ERP.Model.Request.OtherStoreInOut()
ID = dal.SaveVoucher(new ERP.Model.Request.OtherStoreInOut()
{
Id = inbound.Id,
Code = inbound.InboundNo,

View File

@@ -43,7 +43,7 @@ namespace NX.ERP.BLL.Store
if (outBound.OutboundType == Model.OutBoundType.SaleOut)
{
var dal = new U8.Store.SaleOutDAL();
ID = dal.AddVoucher(new ERP.Model.Request.SaleStoreOut()
ID = dal.SaveVoucher(new ERP.Model.Request.SaleStoreOut()
{
Id = outBound.Id,
Code = outBound.OutboundNo,
@@ -68,7 +68,7 @@ namespace NX.ERP.BLL.Store
if (outBound.OutboundType == Model.OutBoundType.OtherOut)
{
var dal = new U8.Store.OtherStoreOutDAL();
ID = dal.AddVocher(new ERP.Model.Request.OtherStoreInOut()
ID = dal.SaveVoucher(new ERP.Model.Request.OtherStoreInOut()
{
Date = outBound.OutboundDate,
WhCode = outBound.WarehouseCode,