From ece9fe9ce9c28b65a4f8aed62391cb241fe6254a Mon Sep 17 00:00:00 2001 From: jianghaiqing Date: Mon, 28 Oct 2024 14:20:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9VOLTA=E6=94=B6=E3=80=81?= =?UTF-8?q?=E5=8F=91=E3=80=81=E9=80=9A=E5=8D=95=E8=A1=8C=E6=9C=80=E5=A4=A7?= =?UTF-8?q?=E5=AD=97=E7=AC=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../EDI/VOLTAEdiNewHelper.cs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Myshipping.Application/EDI/VOLTAEdiNewHelper.cs b/Myshipping.Application/EDI/VOLTAEdiNewHelper.cs index e540e892..6e5d6c9c 100644 --- a/Myshipping.Application/EDI/VOLTAEdiNewHelper.cs +++ b/Myshipping.Application/EDI/VOLTAEdiNewHelper.cs @@ -936,12 +936,12 @@ namespace Myshipping.Application.EDI.VOLTA Shipping = formatEdiStr("txt", bill.SHIPPER); - ShippingList = formatlengthStr(Shipping, 35); + ShippingList = formatlengthStr(Shipping, 75); if (ShippingList.Count != 0 && Shipping.Length > 0) { //2024-09-13 韩工确认最大行数6改为9 - r.WriteLine("20::" + formatListStr(ShippingList, 9) + "'"); + r.WriteLine("20::" + formatListStr(ShippingList, 6) + "'"); icount = icount + 1; } @@ -949,31 +949,31 @@ namespace Myshipping.Application.EDI.VOLTA Shipping = formatEdiStr("txt", bill.CONSIGNEE); - ShippingList = formatlengthStr(Shipping, 35); + ShippingList = formatlengthStr(Shipping, 75); if (ShippingList.Count != 0 && Shipping.Length > 0) { //2024-09-13 韩工确认最大行数6改为9 - r.WriteLine("21::" + formatListStr(ShippingList, 9) + "'"); + r.WriteLine("21::" + formatListStr(ShippingList, 6) + "'"); icount = icount + 1; } Shipping = formatEdiStr("txt", bill.NOTIFYPARTY); - ShippingList = formatlengthStr(Shipping, 35); + ShippingList = formatlengthStr(Shipping, 75); if (ShippingList.Count != 0 && Shipping.Length > 0) { //2024-09-13 韩工确认最大行数6改为9 - r.WriteLine("22::" + formatListStr(ShippingList, 9) + "'"); + r.WriteLine("22::" + formatListStr(ShippingList, 6) + "'"); icount = icount + 1; } Shipping = formatEdiStr("txt", !string.IsNullOrWhiteSpace(bill.NOTIFYPARTY2) ? bill.NOTIFYPARTY2 : ""); - ShippingList = formatlengthStr(Shipping, 35); + ShippingList = formatlengthStr(Shipping, 75); if (!string.IsNullOrWhiteSpace(Shipping)) { @@ -986,7 +986,7 @@ namespace Myshipping.Application.EDI.VOLTA } Shipping = bill.AMSCONSIGNEE; - ShippingList = formatlengthStr(Shipping, 35); + ShippingList = formatlengthStr(Shipping, 75); if (!string.IsNullOrWhiteSpace(Shipping)) { @@ -997,7 +997,7 @@ namespace Myshipping.Application.EDI.VOLTA Shipping = bill.AMSNOTIFYPARTY; - ShippingList = formatlengthStr(Shipping, 35); + ShippingList = formatlengthStr(Shipping, 75); if (!string.IsNullOrWhiteSpace(Shipping)) {