Browse Source

[fix]修复SE01不正确的问题

master
贾荣国 2 years ago
parent
commit
763f58c61b
  1. 2
      WebApiService/src/Win_in.Sfs.Scp.WebApi.Domain.Shared/ASN_X12/Shipments/ShipmentExtensions.cs
  2. 2
      WebApiService/src/Win_in.Sfs.Scp.WebApi.Domain.Shared/ASN_X12/Tares/TareExtensions.cs

2
WebApiService/src/Win_in.Sfs.Scp.WebApi.Domain.Shared/ASN_X12/Shipments/ShipmentExtensions.cs

@ -77,7 +77,7 @@ public static class ShipmentExtensions
orphanItem.HL.HL01 = shipNotice.GetNextHl(orphanItem.SN1.Qty);
orphanItem.HL.HL02 = shipment.HL.HL01;
shipment.OrphanItems.Add(orphanItem);
shipNotice.AddSegment(5+orphanItem.REF_LS_LTs.Count);
shipNotice.AddSegment(5+orphanItem.REF_LS_LTs.Count*2);
return shipment;
}

2
WebApiService/src/Win_in.Sfs.Scp.WebApi.Domain.Shared/ASN_X12/Tares/TareExtensions.cs

@ -23,7 +23,7 @@ public static class TareExtensions
item.HL.HL01 = shipNotice.GetNextHl(item.SN1.Qty);
item.HL.HL02 = tare.HL.HL01;
tare.Items.Add(item);
shipNotice.AddSegment(5+item.REF_LS_LTs.Count);
shipNotice.AddSegment(5+item.REF_LS_LTs.Count*2);
return tare;
}

Loading…
Cancel
Save