修正名称的错误

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

@@ -11,17 +11,17 @@ using UFIDA.U8.U8MOMAPIFramework;
namespace NX.ERP.U8.Store
{
public class MaterielStoreOutDAL : VoucherBase
public class MaterialStoreOutDAL : VoucherBase
{
public MaterielStoreOutDAL() : base("11", "U8API/MaterialOut")
public MaterialStoreOutDAL() : base("11", "U8API/MaterialOut")
{
}
public string AddVocher(Model.Request.MaterielStoreOut storeOut)
public string AddVocher(Model.Request.MaterialStoreOut storeOut)
{
VoucherParameter voucherParameter = new VoucherParameter
{

View File

@@ -56,7 +56,7 @@ namespace NX.ERP.U8.Store
var detail = storeIn.Details[n];
bodyXml.setAttribute("cinvcode", detail.InvCode);
bodyXml.setAttribute("iquantity", detail.Quantity);
var _cost = new MaterielDAL().GetCost(detail.InvCode, 0);
var _cost = new MaterialDAL().GetCost(detail.InvCode, 0);
bodyXml.setAttribute("iunitcost", _cost);
bodyXml.setAttribute("iprice", new Account.Accinformation().FormatMoney(_cost * detail.Quantity));
bodyXml.setAttribute("irowno", n + 1);