3
This commit is contained in:
1 parent
e9f154bd06
commit
fa7b5814ba
22 files changed
+989
-168
No files matched your search
@@ -92,8 +92,9 @@ namespace HHWMS.Web.Controllers
|
||||
vm.Entity.SourceLine = (detailList.Count() + 1).ToString();
|
||||
vm.Entity.Status = 0;
|
||||
var mater = dc.Set<Material2>()
|
||||
.FirstOrDefault(x => x.Code == vm.Entity.MaterialCode);
|
||||
vm.Entity.MaterialCode = mater?.Name;
|
||||
.FirstOrDefault(x => x.ID == int.Parse(vm.Entity.MaterialCode));
|
||||
vm.Entity.MaterialCode = mater?.Code;
|
||||
vm.Entity.Unit = mater?.MasterUnit;
|
||||
vm.Entity.Batch = vm.Entity.Batch = _unitwork.GetSerialNumber("HYB", 5).Remove(3, 2);
|
||||
vm.DoAdd();
|
||||
if (!ModelState.IsValid)
|
||||
|
||||
Reference in new issue
Block a user