From 763f58c61b49fe24d805a644afed5214843fd448 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=BE=E8=8D=A3=E5=9B=BD?= Date: Tue, 7 Jun 2022 22:28:19 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=E4=BF=AE=E5=A4=8DSE01=E4=B8=8D=E6=AD=A3?= =?UTF-8?q?=E7=A1=AE=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ASN_X12/Shipments/ShipmentExtensions.cs | 2 +- .../ASN_X12/Tares/TareExtensions.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WebApiService/src/Win_in.Sfs.Scp.WebApi.Domain.Shared/ASN_X12/Shipments/ShipmentExtensions.cs b/WebApiService/src/Win_in.Sfs.Scp.WebApi.Domain.Shared/ASN_X12/Shipments/ShipmentExtensions.cs index 7482a35..cd39573 100644 --- a/WebApiService/src/Win_in.Sfs.Scp.WebApi.Domain.Shared/ASN_X12/Shipments/ShipmentExtensions.cs +++ b/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; } diff --git a/WebApiService/src/Win_in.Sfs.Scp.WebApi.Domain.Shared/ASN_X12/Tares/TareExtensions.cs b/WebApiService/src/Win_in.Sfs.Scp.WebApi.Domain.Shared/ASN_X12/Tares/TareExtensions.cs index 9cf4b18..8b5d189 100644 --- a/WebApiService/src/Win_in.Sfs.Scp.WebApi.Domain.Shared/ASN_X12/Tares/TareExtensions.cs +++ b/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; }