bug
This commit is contained in:
@@ -95,6 +95,7 @@ namespace Tnb.WarehouseMgr
|
||||
}, true)
|
||||
.ToListAsync();
|
||||
|
||||
|
||||
if (carry.carrystd_id == WmsWareHouseConst.CARRY_LJSTD_ID && mCarryIdDic?.Count > 0)
|
||||
{
|
||||
if (carryCodes.Count < mCarryIdDic.Keys?.Count)
|
||||
@@ -118,6 +119,10 @@ namespace Tnb.WarehouseMgr
|
||||
data.wmsCarryCodes = carryCodes.Adapt<List<CarryCodeQueryOutput>>();
|
||||
foreach (CarryCodeQueryOutput carryCodeQueryOutput in data.wmsCarryCodes)
|
||||
{
|
||||
if (carryCodeQueryOutput.member_carrycode == null)
|
||||
{
|
||||
throw new AppFriendlyException("载具与条码数量可能不匹配", 500);
|
||||
}
|
||||
carryCodeQueryOutput.member_carryid = mCarryIdDic2.GetOrDefault(carryCodeQueryOutput.member_carrycode).ToString();
|
||||
}
|
||||
return data;
|
||||
|
||||
Reference in New Issue
Block a user