重写库位定义导入功能

This commit is contained in:
FanLian
2023-08-08 10:19:34 +08:00
parent abb9663485
commit ea0f71ac19
4 changed files with 87 additions and 3 deletions

View File

@@ -72,7 +72,6 @@ namespace Tnb.WarehouseMgr
{
var stdCodeKey = d["carrystd_id"].ToString();
carryStdId = carryStdDic.ContainsKey(stdCodeKey) ? carryStdDic[stdCodeKey]?.ToString() ?? "" : "";
d.Add("carrystd_code", stdCodeKey??"");
d["carrystd_id"] = carryStdId;
locCodes.Add(d["location_code"]?.ToString() ?? string.Empty);
carryH = d.Adapt<WmsCarryH>();
@@ -86,7 +85,6 @@ namespace Tnb.WarehouseMgr
var c = carrys.Find(x => x.location_code == loc);
if (c != null)
c.location_id = locs[loc].ToString();
}
}
carrys.ForEach(x =>