入库单新建
This commit is contained in:
1 parent
e2dead6c3f
commit
663769f80e
50 files changed
+2164
-94
No files matched your search
@@ -2,6 +2,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using HHWMS.Web.Models;
|
||||
using MESTOWMSService;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
@@ -99,6 +100,8 @@ public class XWMSMFMController : BaseController
|
||||
|
||||
var shipment = new ShipmentHeader2();
|
||||
shipment.Code = _unitwork.GetSerialNumber("SCC");
|
||||
shipment.SourceCode = data.FirstOrDefault().MFGNUM_0;
|
||||
shipment.UserDef2 = data.FirstOrDefault().MFGLIN_0.ToString();
|
||||
shipment.Type = "SCC";
|
||||
shipment.FirstStatus = 0;
|
||||
shipment.UserDef1 = data.FirstOrDefault().MFGFCY_0;
|
||||
@@ -115,8 +118,8 @@ public class XWMSMFMController : BaseController
|
||||
detail.SourceCode = item.MFGNUM_0;
|
||||
detail.SourceLine = item.MFGLIN_0.ToString();
|
||||
detail.MaterialCode = item.ITMREF_0;
|
||||
detail.MaterialName = item.ITMDES1_0;
|
||||
detail.Lot = item.ITMDES2_0;
|
||||
detail.MaterialName = HttpUtility.HtmlDecode(item.ITMDES1_0);
|
||||
detail.Lot = HttpUtility.HtmlDecode(item.ITMDES2_0);
|
||||
detail.Qty = item.THISQTYSTU;
|
||||
detail.Unit = item.BOMSEQ_0.ToString();
|
||||
//detail.PurchasQty = item.THISQTYUOM;
|
||||
|
||||
Reference in new issue
Block a user