修正项目结构

This commit is contained in:
admin
2021-01-15 09:26:17 +08:00
parent 62bd133757
commit a2fd7eca0b
44 changed files with 230 additions and 73 deletions

View File

@@ -21,7 +21,7 @@ namespace NX.ERP.U8.Store
public string AddVocher(MaterielStoreOut storeOut)
public string AddVocher(Model.Request.MaterielStoreOut storeOut)
{
VoucherParameter voucherParameter = new VoucherParameter
{
@@ -65,8 +65,8 @@ namespace NX.ERP.U8.Store
for (var n = 0; n < storeOut.Details.Count(); n++)
{
var detail = storeOut.Details[n];
var alllocate = Order.moAllocates.First(m => { return m.Id == detail.sorceDetailId; });
var moomDetail = Order.momDetails.First(m => { return m.Id == alllocate.ModId; });
var alllocate = Order.Allocates.First(m => { return m.Id == detail.sorceDetailId; });
var moomDetail = Order.Details.First(m => { return m.Id == alllocate.ModId; });
bodyXml = domBody.createElement("z:row");
bodyXml.setAttribute("autoid", n);
bodyXml.setAttribute("cinvcode", detail.Cinvcode);
@@ -74,7 +74,7 @@ namespace NX.ERP.U8.Store
bodyXml.setAttribute("irowno", n + 1);
bodyXml.setAttribute("cbatch", "");
bodyXml.setAttribute("cvmivencode", "");
bodyXml.setAttribute("cposition", detail.BinCode);
bodyXml.setAttribute("cposition", detail.Position);
bodyXml.setAttribute("editprop", "A");
bodyXml.setAttribute("innum", 10);
bodyXml.setAttribute("autoid", storeOut.Id);