|
|
@ -317,7 +317,7 @@ namespace Myshipping.Application.EDI
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (headData.CARRIER != "YML")
|
|
|
|
if (headData.CARRIERID != "YML")
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (string.IsNullOrEmpty(headData.OpEName))
|
|
|
|
if (string.IsNullOrEmpty(headData.OpEName))
|
|
|
|
{ error = error + "<br />操作的英文名不能为空"; }
|
|
|
|
{ error = error + "<br />操作的英文名不能为空"; }
|
|
|
@ -371,7 +371,7 @@ namespace Myshipping.Application.EDI
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (headData.SIREMARK.IndexOf("PLEASE BOOK OCEAN CARRIER") > -1 || headData.SIREMARK.ToString().Trim() == "")
|
|
|
|
if (headData.SIREMARK.IndexOf("PLEASE BOOK OCEAN CARRIER") > -1 || headData.SIREMARK.ToString().Trim() == "")
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (headData.CARRIER == "COSU")
|
|
|
|
if (headData.CARRIEREDICODE == "COSU")
|
|
|
|
{
|
|
|
|
{
|
|
|
|
error = error + "<br />提单号:" + headData.MBLNO + " 请在SI备注中输入:COSCO 销售的营销代码(此代码船公司会直接提供)";
|
|
|
|
error = error + "<br />提单号:" + headData.MBLNO + " 请在SI备注中输入:COSCO 销售的营销代码(此代码船公司会直接提供)";
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -776,7 +776,7 @@ namespace Myshipping.Application.EDI
|
|
|
|
r.WriteLine("UNH+" + bill.ORDERNO + "+IFTMBF:D:99B:UN'");
|
|
|
|
r.WriteLine("UNH+" + bill.ORDERNO + "+IFTMBF:D:99B:UN'");
|
|
|
|
icount = icount + 2;
|
|
|
|
icount = icount + 2;
|
|
|
|
|
|
|
|
|
|
|
|
if (bill.CARRIERID == "HLCU")
|
|
|
|
if (bill.CARRIEREDICODE == "HLCU")
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (InttrEdi.filerole == "9")
|
|
|
|
if (InttrEdi.filerole == "9")
|
|
|
|
r.WriteLine("BGM+335+" + bill.ORDERNO + "SO+9'");
|
|
|
|
r.WriteLine("BGM+335+" + bill.ORDERNO + "SO+9'");
|
|
|
@ -866,7 +866,7 @@ namespace Myshipping.Application.EDI
|
|
|
|
icount = icount + 3;
|
|
|
|
icount = icount + 3;
|
|
|
|
|
|
|
|
|
|
|
|
//2024-04-08 这里看2.0文档显示不使用 CNT
|
|
|
|
//2024-04-08 这里看2.0文档显示不使用 CNT
|
|
|
|
if (bill.CARRIERID == "UASC")
|
|
|
|
if (bill.CARRIEREDICODE == "UASC")
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (bill.CTNLIST.Count > 0)
|
|
|
|
if (bill.CTNLIST.Count > 0)
|
|
|
|
{
|
|
|
|
{
|
|
|
|